Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Removed support for Structurizr Express (which has now been discontin…
Browse files Browse the repository at this point in the history
…ued).
  • Loading branch information
simonbrowndotje committed Jul 2, 2020
1 parent 4508e03 commit 47f07f6
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 112 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.structurizr.confluence</groupId>
<artifactId>structurizr-confluence</artifactId>
<version>2.1.0</version>
<version>2.2.0</version>
<organization>
<name>Structurizr Limited</name>
<url>https://structurizr.com</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ protected String getDiagramSelector(Map<String, String> parameters) {
return diagramSelector;
}

}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public String execute(Map<String, String> parameters, String bodyContent, Conver
}
}

protected String createFormId(long workspaceId, String diagramKey) {
private String createFormId(long workspaceId, String diagramKey) {
return String.format("structurizrEmbedForm_%d_%s", workspaceId, sanitizeElementIdPart(diagramKey));
}

}
}
14 changes: 0 additions & 14 deletions src/main/resources/atlassian-plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,6 @@
</parameters>
</xhtml-macro>

<xhtml-macro name="structurizr-express"
class="com.structurizr.confluence.StructurizrExpressEmbedMacro"
documentation-url="https://www.structurizr.com/help/atlassian-confluence"
icon="/download/resources/${project.groupId}.${project.artifactId}/images/structurizr-logo.png"
key="structurizr-express">
<category name="external-content" />
<parameters>
<parameter name="structurizrUrl" type="string" required="true" default="https://structurizr.com">
<option key="showNameInPlaceholder" value="true" />
<option key="showValueInPlaceholder" value="true" />
</parameter>
</parameters>
</xhtml-macro>

<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="structurizr-confluence"/>

Expand Down
8 changes: 1 addition & 7 deletions src/main/resources/structurizr-confluence.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,4 @@ com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.di
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.diagramSelector.label=Diagram selector
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.diagramSelector.desc=Include the diagram selector component.
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.structurizrUrl.label=Structurizr URL
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.structurizrUrl.desc=The URL of the Structurizr installation.

# structurizr-express
com.structurizr.confluence.structurizr-confluence.structurizr-express.label=Structurizr Express embed
com.structurizr.confluence.structurizr-confluence.structurizr-express.desc=Embeds the Structurizr Express diagram defined in the macro body.
com.structurizr.confluence.structurizr-confluence.structurizr-express.param.structurizrUrl.label=Structurizr URL
com.structurizr.confluence.structurizr-confluence.structurizr-express.param.structurizrUrl.desc=The URL of the Structurizr installation.
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.structurizrUrl.desc=The URL of the Structurizr installation.

This file was deleted.

0 comments on commit 47f07f6

Please sign in to comment.