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

NO-ISSUE: Removing an Included Model should remove all references of it on the current model #2365

Merged

Conversation

ljmotta
Copy link
Contributor

@ljmotta ljmotta commented May 23, 2024

This PR adds two new maps on the diagram data. The externalNodesByNamespace collects a list of external nodes that are present on the DRD, and the externalEdgesByNamespace has a list of edges that reference external nodes. The deleteImport now iterates over the nodes and edges lists erasing all references.

@ljmotta ljmotta self-assigned this May 23, 2024
@ljmotta ljmotta added the pr: waiting-for-review Waiting for peer reviews label May 23, 2024
Copy link
Contributor

@jomarko jomarko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

During my manual checks, no issue was found. Thank you for this PR.

@ljmotta
Copy link
Contributor Author

ljmotta commented May 27, 2024

@gitgabrio @yesamer I've added messages for removing included DMNs and PMMLs.

image

image

@gitgabrio
Copy link
Contributor

👍

@ljmotta ljmotta merged commit 326a19b into apache:main May 27, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dmn pr: waiting-for-review Waiting for peer reviews
Projects
Status: 🎯 Done
Development

Successfully merging this pull request may close these issues.

6 participants