Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMN - Allow importing into the default namespace #852

Closed
yesamer opened this issue Jan 24, 2024 · 0 comments · Fixed by apache/incubator-kie-drools#5684
Closed

DMN - Allow importing into the default namespace #852

yesamer opened this issue Jan 24, 2024 · 0 comments · Fixed by apache/incubator-kie-drools#5684
Assignees
Labels
area:dmn Related to DMN area:engine Related to the runtime engines type:new-feature Something is missing, we need to build it!

Comments

@yesamer
Copy link

yesamer commented Jan 24, 2024

Currently, it is not possible to import a DMN file into another DMN file, specifying an empty string in the name attribute for the import. Implement the possibility to specify the name attribute as an empty string, with importing into the default namespace. That way, the imported decisions, etc. can be used without specifying the name prefix.

Conflict resolution - if the imported model contains an element with the same name as an element from the DMN model, the imported element is ignored. All other non-conflicting elements are imported properly. If there are multiple imports into the default namespace, and there are conflicts between the element names in the individual imports, the precedence of which element to import is specified by the order of the import definitions.

Acceptance criteria:

DMN engine can evaluate elements imported into the default namespace.
New tests are added to cover use cases by importing into the default namespace.
DMN editor can import a DMN model into the default namespace.

@yesamer yesamer added area:dmn Related to DMN type:new-feature Something is missing, we need to build it! area:engine Related to the runtime engines labels Jan 24, 2024
@yesamer yesamer moved this from 📋 Backlog to ⏳ In Progress in 🦉 KIE Podling Board Jan 24, 2024
@github-project-automation github-project-automation bot moved this from ⏳ In Progress to 🎯 Done in 🦉 KIE Podling Board Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dmn Related to DMN area:engine Related to the runtime engines type:new-feature Something is missing, we need to build it!
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants