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

Commit 47f07f6

Browse files
Removed support for Structurizr Express (which has now been discontinued).
1 parent 4508e03 commit 47f07f6

File tree

7 files changed

+5
-112
lines changed

7 files changed

+5
-112
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.structurizr.confluence</groupId>
66
<artifactId>structurizr-confluence</artifactId>
7-
<version>2.1.0</version>
7+
<version>2.2.0</version>
88
<organization>
99
<name>Structurizr Limited</name>
1010
<url>https://structurizr.com</url>

src/main/java/com/structurizr/confluence/AbstractStructurizrMacro.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ protected String getDiagramSelector(Map<String, String> parameters) {
7070
return diagramSelector;
7171
}
7272

73-
}
73+
}

src/main/java/com/structurizr/confluence/StructurizrExpressEmbedMacro.java

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/main/java/com/structurizr/confluence/StructurizrWorkspaceEmbedMacro.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public String execute(Map<String, String> parameters, String bodyContent, Conver
4545
}
4646
}
4747

48-
protected String createFormId(long workspaceId, String diagramKey) {
48+
private String createFormId(long workspaceId, String diagramKey) {
4949
return String.format("structurizrEmbedForm_%d_%s", workspaceId, sanitizeElementIdPart(diagramKey));
5050
}
5151

52-
}
52+
}

src/main/resources/atlassian-plugin.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,6 @@
3838
</parameters>
3939
</xhtml-macro>
4040

41-
<xhtml-macro name="structurizr-express"
42-
class="com.structurizr.confluence.StructurizrExpressEmbedMacro"
43-
documentation-url="https://www.structurizr.com/help/atlassian-confluence"
44-
icon="/download/resources/${project.groupId}.${project.artifactId}/images/structurizr-logo.png"
45-
key="structurizr-express">
46-
<category name="external-content" />
47-
<parameters>
48-
<parameter name="structurizrUrl" type="string" required="true" default="https://structurizr.com">
49-
<option key="showNameInPlaceholder" value="true" />
50-
<option key="showValueInPlaceholder" value="true" />
51-
</parameter>
52-
</parameters>
53-
</xhtml-macro>
54-
5541
<!-- add our i18n resource -->
5642
<resource type="i18n" name="i18n" location="structurizr-confluence"/>
5743

src/main/resources/structurizr-confluence.properties

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,4 @@ com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.di
1010
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.diagramSelector.label=Diagram selector
1111
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.diagramSelector.desc=Include the diagram selector component.
1212
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.structurizrUrl.label=Structurizr URL
13-
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.structurizrUrl.desc=The URL of the Structurizr installation.
14-
15-
# structurizr-express
16-
com.structurizr.confluence.structurizr-confluence.structurizr-express.label=Structurizr Express embed
17-
com.structurizr.confluence.structurizr-confluence.structurizr-express.desc=Embeds the Structurizr Express diagram defined in the macro body.
18-
com.structurizr.confluence.structurizr-confluence.structurizr-express.param.structurizrUrl.label=Structurizr URL
19-
com.structurizr.confluence.structurizr-confluence.structurizr-express.param.structurizrUrl.desc=The URL of the Structurizr installation.
13+
com.structurizr.confluence.structurizr-confluence.structurizr-workspace.param.structurizrUrl.desc=The URL of the Structurizr installation.

src/test/java/com/structurizr/confluence/StructurizrExpressEmbedMacroTests.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)