Open saig0 opened 3 years ago
Interesting feature.
Idea:
parse(dmn)
+ eval(parsed-dmn)
deploy(dmn)
+ eval()
decision-repository
deploy()
+ findByName()
+ findById()
+ findAll()
+ remove()
in-memory-decision-repository
The primary concepts that DMN offers for calling imported elements are BKM and Decision Service invocations.
There should be examples in the machine-readable files included with the spec as well as in the DMN TCK. If not, those would be great test cases to add ;-)
Yes, the DMN TCK has two test cases. Both are linked with this issue.
There is an open contribution to implement this feature: #215.
I also drafted a PoC to show how the feature can be implemented but with a different approach: #222.
I can import other decisions from another DMN file. I can evaluate these decisions with the given import name as a prefix.
(DMN 1.4, section 6.3.3, page 34)