archimatetool / archi-scripting-plugin

jArchi - Scripting for Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
122 stars 33 forks source link

[feature request] Capability to output navigable model context information (e.g. ValidatorView) #93

Open pschoepf opened 3 years ago

pschoepf commented 3 years ago

jArchi is really cool and powerful, and we are using it extensively for all sorts of things like integration with external systems or validation tasks. Thanks for that ! Logging to console is ok, but its lacking the ability to provide certain context to existing Archi model objects. It would be really nice to be able to write to the existing ValidatorView (which provides seamless model integration via its object column) or to have a similar new view as part of jArchi plugin for structured scripting output with contextual mode information. (I would prefer reuse of the existing ValidatorView as it seems to have everything needed but that's a matter of taste)

I did already implement a small prototype (just be importing the hammer plugin dependency into jArchi and wrapping around IssueType and ValidatorView) to test if its useful and we found that especially for validation-kind jArchi scripts its nice to provide the validation results with navigable context instead of just console logs.