You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrote a plugin for Structurizr that creates a new Document Section in the Workspace. It works great with Structurizr-Site-Generatr as the markdown uses some of the advanced FlexMark features that were added.
Here is the code, just needs to be compiled in to a jar file and put in the 'plugins' folder of your dsl file structure. The stats are coded around a concept of nested groups in the DSL, with a parent group, portfolio groups and engineering team groups but you should be able to adjust the code as needed.
At the BOTTOM of your DSL workspace file add the following, making sure you update the name of the main group used for the enterprise. the container.sections define how you want to break down the tags for containers and the container.NAME.tags need to exist for each container section to show what tags appear in that grouping.
Note : it is very important that the plugin is the last thing in the DSL as it needs the DSL model to have been read in completely to be able to get the details needed to generate the stats.
The generated markdown will get added to the DSL's model as a documentation section and will appear in the sidebar in the generated site.
Overall stats :
Stats for the portfolios :
Stats for a single portfolio broken down by engineering team :
Container Tag Stats showing details of where to find the container:
Relationship Stats : ( this needs more work to be able to specify tags via the plugin config )
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Wrote a plugin for Structurizr that creates a new Document Section in the Workspace. It works great with Structurizr-Site-Generatr as the markdown uses some of the advanced FlexMark features that were added.
Here is the code, just needs to be compiled in to a jar file and put in the 'plugins' folder of your dsl file structure. The stats are coded around a concept of nested groups in the DSL, with a parent group, portfolio groups and engineering team groups but you should be able to adjust the code as needed.
StatsPlugin.txt
At the BOTTOM of your DSL workspace file add the following, making sure you update the name of the main group used for the enterprise. the container.sections define how you want to break down the tags for containers and the container.NAME.tags need to exist for each container section to show what tags appear in that grouping.
The generated markdown will get added to the DSL's model as a documentation section and will appear in the sidebar in the generated site.
Overall stats :
Stats for the portfolios :
Stats for a single portfolio broken down by engineering team :
Container Tag Stats showing details of where to find the container:
Relationship Stats : ( this needs more work to be able to specify tags via the plugin config )
Beta Was this translation helpful? Give feedback.
All reactions