Skip to content

simonbrowndotje/structurizr-onpremises-plugin-example

Repository files navigation

Structurizr on-premises plugin example

This Java project shows an example of how to build a plugin for the Structurizr on-premises installation. A plugin is an implementation of the com.structurizr.onpremises.plugin.WorkspaceEventListener interface, with the beforeSave() method being called before the workspace is saved. See ExampleWorkspaceEventListener.java for an example.

Building the plugin

./gradlew clean build

(tested with Java 17)

Deploying the plugin

  • Create a plugins directory in your Structurizr data directory.
  • Copy the build/libs/example-plugin-1.0.0.jar file to $STRUCTURIZR_DATA_DIRECTORY/plugins/.
  • Modify your structurizr.properties file to include the following line: structurizr.plugin.workspaceEventListener=org.example.ExampleWorkspaceEventListener
  • Restart your on-premises installation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages