[
https://issues.jboss.org/browse/DROOLS-4431?page=com.atlassian.jira.plugi...
]
Justin Jarae updated DROOLS-4431:
---------------------------------
Steps to Reproduce:
[^DMN-Test.zip]
This project should have the correct configuration.
1) Create project
2) Create trivial DMN model
3) Change the project settings such that the default KIE session is stateless
4) Attempt to call DMN model via REST.
REST body:
{{
{
"model-namespace":
"https://kiegroup.org/dmn/_03905DFC-51E7-40B8-BC38-170BD89DA019",
"model-name": "test",
"model-id": "_02EF3E58-E9B3-428B-AFB5-48C9A31F234C",
"decision-name": null,
"decision-id": null,
"dmn-context": {
"input": "Cat"
}
}
}}
was:
[^DMN-Test.zip]
This project should have the correct configuration.
1) Create project
2) Create trivial DMN model
3) Change the project settings such that the default KIE session is stateless
4) Attempt to call DMN model via REST.
REST body:
{{{
"model-namespace":
"https://kiegroup.org/dmn/_03905DFC-51E7-40B8-BC38-170BD89DA019",
"model-name": "test",
"model-id": "_02EF3E58-E9B3-428B-AFB5-48C9A31F234C",
"decision-name": null,
"decision-id": null,
"dmn-context": {
"input": "Cat"
}
}}}
DMN REST endpoint requires stateful kie session
-----------------------------------------------
Key: DROOLS-4431
URL:
https://issues.jboss.org/browse/DROOLS-4431
Project: Drools
Issue Type: Bug
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: Mario Fusco
Priority: Major
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.12.1#712002)