[jboss-jira] [JBoss JIRA] (DROOLS-3986) [DMN Editor] Unable to Execute model with imported nodes
Guilherme Gomes (Jira)
issues at jboss.org
Tue May 7 18:49:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-3986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730726#comment-13730726 ]
Guilherme Gomes edited comment on DROOLS-3986 at 5/7/19 6:48 PM:
-----------------------------------------------------------------
I've tried to reproduce, and I got this response:
{code:json}
{
"type" : "SUCCESS",
"msg" : "OK from container 'dmn.imports.0.2'",
"result" : {
"dmn-evaluation-result" : {
"messages" : [ {
"dmn-message-severity" : "ERROR",
"message" : "Required dependency 'Cars Per Hour' not found on node 'Traffic'",
"message-type" : "REQ_NOT_FOUND",
"source-id" : "_6BA74389-CBF7-4D6A-99B1-9F494DCC323A"
} ],
"model-namespace" : "https://github.com/kiegroup/drools/kie-dmn/_547C193C-0B52-45F5-877E-F74A7DD29838",
"model-name" : "routes",
"decision-name" : "Traffic.Traffic",
"dmn-context" : {
"Traffic" : { },
"cars per hour" : 10
},
"decision-results" : {
"_AE1DED99-8216-4543-8092-56F8EBDA2869" : {
"messages" : [ ],
"decision-id" : "_AE1DED99-8216-4543-8092-56F8EBDA2869",
"decision-name" : "Traffic",
"result" : null,
"status" : "NOT_EVALUATED"
},
"https://github.com/kiegroup/drools/kie-dmn/_1876D3A2-0972-4AE8-AF59-A56AD8D4FF5F#_6BA74389-CBF7-4D6A-99B1-9F494DCC323A" : {
"messages" : [ {
"dmn-message-severity" : "ERROR",
"message" : "Required dependency 'Cars Per Hour' not found on node 'Traffic'",
"message-type" : "REQ_NOT_FOUND",
"source-id" : "_6BA74389-CBF7-4D6A-99B1-9F494DCC323A"
} ],
"decision-id" : "https://github.com/kiegroup/drools/kie-dmn/_1876D3A2-0972-4AE8-AF59-A56AD8D4FF5F#_6BA74389-CBF7-4D6A-99B1-9F494DCC323A",
"decision-name" : "Traffic.Traffic",
"result" : null,
"status" : "SKIPPED"
}
}
}
}
}
{code}
It do seems like a problem, but I think it's addressed by the https://issues.jboss.org/browse/DROOLS-3985.
was (Author: karreiro):
I've tried to reproduce, and I got this message:
{code:json}
{
"type" : "SUCCESS",
"msg" : "OK from container 'dmn.imports.0.2'",
"result" : {
"dmn-evaluation-result" : {
"messages" : [ {
"dmn-message-severity" : "ERROR",
"message" : "Required dependency 'Cars Per Hour' not found on node 'Traffic'",
"message-type" : "REQ_NOT_FOUND",
"source-id" : "_6BA74389-CBF7-4D6A-99B1-9F494DCC323A"
} ],
"model-namespace" : "https://github.com/kiegroup/drools/kie-dmn/_547C193C-0B52-45F5-877E-F74A7DD29838",
"model-name" : "routes",
"decision-name" : "Traffic.Traffic",
"dmn-context" : {
"Traffic" : { },
"cars per hour" : 10
},
"decision-results" : {
"_AE1DED99-8216-4543-8092-56F8EBDA2869" : {
"messages" : [ ],
"decision-id" : "_AE1DED99-8216-4543-8092-56F8EBDA2869",
"decision-name" : "Traffic",
"result" : null,
"status" : "NOT_EVALUATED"
},
"https://github.com/kiegroup/drools/kie-dmn/_1876D3A2-0972-4AE8-AF59-A56AD8D4FF5F#_6BA74389-CBF7-4D6A-99B1-9F494DCC323A" : {
"messages" : [ {
"dmn-message-severity" : "ERROR",
"message" : "Required dependency 'Cars Per Hour' not found on node 'Traffic'",
"message-type" : "REQ_NOT_FOUND",
"source-id" : "_6BA74389-CBF7-4D6A-99B1-9F494DCC323A"
} ],
"decision-id" : "https://github.com/kiegroup/drools/kie-dmn/_1876D3A2-0972-4AE8-AF59-A56AD8D4FF5F#_6BA74389-CBF7-4D6A-99B1-9F494DCC323A",
"decision-name" : "Traffic.Traffic",
"result" : null,
"status" : "SKIPPED"
}
}
}
}
}
{code}
> [DMN Editor] Unable to Execute model with imported nodes
> --------------------------------------------------------
>
> Key: DROOLS-3986
> URL: https://issues.jboss.org/browse/DROOLS-3986
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.22.0.Final
> Reporter: Jozef Marko
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_dmn.imports (1).zip, error.log
>
>
> This Iss was spotted during review of [PR|https://github.com/kiegroup/kie-wb-common/pull/2620] for DROOLS-3829 and DROOLS-3934.
> User is not able to execute model with imported nodes.
> h3. Steps To Reproduce
> # Deploy the attached project to kie server
> # Try to execute the model as:
> {code:sh}
> curl -u testadmin:'admin1234;' -H "accept: application/json" -H "content-type: application/json" -X POST "http://localhost:8080/kie-server/services/rest/server/containers/dmn.imports/dmn" -d "{ \"model-namespace\" : \"https://github.com/kiegroup/drools/kie-dmn/_547C193C-0B52-45F5-877E-F74A7DD29838\", \"model-name\" : \"routes\", \"decision-name\" : [\"Traffic.Traffic\" ], \"decision-id\" : [ ], \"dmn-context\" : {\"cars per hour\" : 10}}"
> {code}
> # You will get result:
> {code:json}
> {
> "type" : "FAILURE",
> "msg" : "Error from container 'dmn.imports'Unable to locate DMN Model to evaluate",
> "result" : null
> }{code}
> # Error appears in server log: [^error.log]
> h3. Actual result
> There is response error message and error in server log
> h3. Expected result
> Model is executed
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list