GeertBellekens / Enterprise-Architect-Toolpack

Addins and tools for Sparx Systems Enterprise Architect
https://bellekens.com/product/bellekens-enterprise-architect-toolpack/
BSD 2-Clause "Simplified" License
97 stars 39 forks source link

Feature Request: EA Validator - Store queries into EA elements #121

Closed brothercorvo closed 1 year ago

brothercorvo commented 1 year ago

As we know, in many organizations is difficult to deploy local code to users. as an alternative, the EA validator could save the queries into a stereotyped EA element.

GeertBellekens commented 1 year ago

In fact it's already possible to create rules that are stored in the model. I should probably document it a bit better. The code was added in this commit In the settings you can select a package in the model instead of a location on disk. It will read the notes of any artifact that is stored in that package. Subpackages are treated the same as subfolders image

brothercorvo commented 1 year ago

that's great! however it's not working properly for me. As soon I set the configuration to check a package I only get an empty list image on that package I have a modelDocument with the notes set to the XML image

GeertBellekens commented 1 year ago

it has to be an element of type artifact

brothercorvo commented 1 year ago

I can confirm that works setting the type as artifact and the XML into the notes of the element. thank you !