[jboss-jira] [JBoss JIRA] (DROOLS-4431) DMN REST endpoint requires stateful kie session
Matteo Mortari (Jira)
issues at jboss.org
Mon Apr 27 09:44:42 EDT 2020
[ https://issues.redhat.com/browse/DROOLS-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061408#comment-14061408 ]
Matteo Mortari commented on DROOLS-4431:
----------------------------------------
BEFORE:
A BC project containing DMN assets required that IF any KieSession was manually specified as default, that had to be a stateful one.
Justin already specified the +drawbacks+ and the +workaround+ of this when occurring on a mixed-asset type of project in this jira.
NOW:
This is no longer the case.
Moreover, now, DMN Model and DMNRuntime is resolved directly over the default KieBase, including the case where any is manually specified as a default KieBase.
> DMN REST endpoint requires stateful kie session
> -----------------------------------------------
>
> Key: DROOLS-4431
> URL: https://issues.redhat.com/browse/DROOLS-4431
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Environment: Noticed this is RHDM 7.3. Still exists in 7.4. Don't know which versions of Drools that coincides with.
> Reporter: Justin Jarae
> Assignee: Matteo Mortari
> Priority: Major
> Labels: field
> Attachments: DMN-Test.zip
>
>
> When trying to run DMN via the rest endpoint, if the default KIE session is stateless, an error is returned stating that "Cannot find a default KieSession". If the stateful session is specified as default, the DMN execution works as expected. This forces you to specify stateless for all other requests.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list