[jboss-jira] [JBoss JIRA] (DROOLS-5028) Support incremental update for function with executable model

Toshiya Kobayashi (Jira) issues at jboss.org
Mon Mar 16 03:02:11 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toshiya Kobayashi updated DROOLS-5028:
--------------------------------------
    Sprint: 2020 Week 10-12 (from Mar 2)


> Support incremental update for function with executable model
> -------------------------------------------------------------
>
>                 Key: DROOLS-5028
>                 URL: https://issues.redhat.com/browse/DROOLS-5028
>             Project: Drools
>          Issue Type: Task
>          Components: executable model
>    Affects Versions: 7.32.0.Final
>            Reporter: Toshiya Kobayashi
>            Assignee: Toshiya Kobayashi
>            Priority: Major
>              Labels: good-first-issue
>
> When you do incremental compilation with executable model, if a function is updated, you will get this error.
> {noformat}
> [ERROR] testKJarUpgradeWithChangedFunction[PATTERN_DSL](org.drools.modelcompiler.IncrementalCompilationTest)  Time elapsed: 2.682 s  <<< ERROR!
> java.lang.IllegalArgumentException: Unsupported change type: function!
> 	at org.drools.modelcompiler.builder.CanonicalKieBaseUpdater.run(CanonicalKieBaseUpdater.java:148)
> 	at org.drools.core.impl.KnowledgeBaseImpl.enqueueModification(KnowledgeBaseImpl.java:745)
> 	at org.drools.compiler.kie.builder.impl.KieContainerImpl.update(KieContainerImpl.java:266)
> 	at org.drools.compiler.kie.builder.impl.KieContainerImpl.update(KieContainerImpl.java:236)
> 	at org.drools.compiler.kie.builder.impl.KieContainerImpl.updateToVersion(KieContainerImpl.java:194)
> 	at org.drools.modelcompiler.IncrementalCompilationTest.testKJarUpgradeWithChangedFunction(IncrementalCompilationTest.java:359)
> 	...
> {noformat}
> This is an explicit limitation at the moment but I filed this JIRA to support a function update.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list