You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "gitgabrio (via GitHub)" <gi...@apache.org> on 2024/10/15 13:15:32 UTC
[I] Add “evaluationHitIds” to the response of jitexecutor-dmn’s “/dmnresult” route [incubator-kie-issues]
gitgabrio opened a new issue, #1541:
URL: https://github.com/apache/incubator-kie-issues/issues/1541
Modify jitexecutor-dmn| so that the execution rest endpoint (/jitdmn/dmnresult) returns information about executed branches of the DMN model.
The format of returned json should be (e.g.)
```json
{
"namespace": "https://kie.org/dmn/_A3317FB1-7BF8-4904-A5F4-2CD63AF3AEC9",
"modelName": "DMN_A77074C1-21FE-4F7E-9753-F84661569AFC",
"dmnContext": {
"Risk Score": 20,
"DTI": 15,
"Loan Pre-Qualification": "Qualified",
"id": "_CD8A1707-4F28-4F99-9D07-340F8E1A82AC",
"Credit Score": "Excellent"
},
"messages": [],
"decisionResults": [
{
"decisionId": "_6C207FD6-14EA-4480-A90D-074ABC97B54B",
"decisionName": "Risk Score",
"result": 20,
"messages": [],
"evaluationHitIds": [<rule_id1>, <rule_id2>],
"evaluationStatus": "SUCCEEDED"
},
{
"decisionId": "_A1236581-4334-43F1-82A0-72CE204F07F9",
"decisionName": "Loan Pre-Qualification",
"result": "Qualified",
"messages": [],
"evaluationHitIds": [<expression_id1>],
"evaluationStatus": "SUCCEEDED"
}
]
}
```
where `<rule_id1>, <rule_id2>` referes to id of rows executed inside decision tables, and `<expression_id1>` refers to branches (then/else) of `conditional` element
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Add “evaluationHitIds” to the response of jitexecutor-dmn’s “/dmnresult” route [incubator-kie-issues]
Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio closed issue #1541: Add “evaluationHitIds” to the response of jitexecutor-dmn’s “/dmnresult” route
URL: https://github.com/apache/incubator-kie-issues/issues/1541
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Add “evaluationHitIds” to the response of jitexecutor-dmn’s “/dmnresult” route [incubator-kie-issues]
Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on issue #1541:
URL: https://github.com/apache/incubator-kie-issues/issues/1541#issuecomment-2419753264
@jomarko Depends on the DMN. If you write it manually, IDs can be any string that you want. Our DMN Editors always use UUIDs by default, though.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Add “evaluationHitIds” to the response of jitexecutor-dmn’s “/dmnresult” route [incubator-kie-issues]
Posted by "jomarko (via GitHub)" <gi...@apache.org>.
jomarko commented on issue #1541:
URL: https://github.com/apache/incubator-kie-issues/issues/1541#issuecomment-2416063550
Thank you for the ticket @gitgabrio . Maybe just for the record, the `evaluationHitIds` will be UUID? e.g. `_A1236581-4334-43F1-82A0-72CE204F07F9` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org