Skip to content

Commit

Permalink
Merge pull request #246 from avisi-cloud/renovate/com.structurizr-str…
Browse files Browse the repository at this point in the history
…ucturizr-export-1.x

Update dependency com.structurizr:structurizr-export to v1.15.0
  • Loading branch information
dirkgroot authored Jun 21, 2023
2 parents e381c9a + 7c258dc commit ef2e6f0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {

implementation("com.structurizr:structurizr-core:1.24.1")
implementation("com.structurizr:structurizr-dsl:1.30.2")
implementation("com.structurizr:structurizr-export:1.14.0")
implementation("com.structurizr:structurizr-export:1.15.0")

implementation("net.sourceforge.plantuml:plantuml:1.2023.9")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class C4PlantUmlExporterWithElementLinksTest {

assertThat(diagram.definition.withoutHeaderAndFooter()).isEqualTo(
"""
System(System1, "System 1", "", ${'$'}tags="")
System(System1, "System 1", ${'$'}descr="", ${'$'}tags="", ${'$'}link="")
""".trimIndent()
)
}
Expand All @@ -54,7 +54,7 @@ class C4PlantUmlExporterWithElementLinksTest {

assertThat(diagram.definition.withoutHeaderAndFooter()).isEqualTo(
"""
System(System1, "System 1", "", ${'$'}tags="")[[../system-1/container/]]
System(System1, "System 1", ${'$'}descr="", ${'$'}tags="", ${'$'}link="../system-1/container/")
""".trimIndent()
)
}
Expand All @@ -68,10 +68,10 @@ class C4PlantUmlExporterWithElementLinksTest {

assertThat(diagram.definition.withoutHeaderAndFooter()).isEqualTo(
"""
System(System1, "System 1", "", ${'$'}tags="")[[../system-1/container/]]
System(System2, "System 2", "", ${'$'}tags="")[[../system-2/context/]]
System(System1, "System 1", ${'$'}descr="", ${'$'}tags="", ${'$'}link="../system-1/container/")
System(System2, "System 2", ${'$'}descr="", ${'$'}tags="", ${'$'}link="../system-2/context/")
Rel_D(System2, System1, "uses", ${'$'}tags="")
Rel_D(System2, System1, "uses", ${'$'}techn="", ${'$'}tags="", ${'$'}link="")
""".trimIndent()
)
}
Expand All @@ -87,7 +87,7 @@ class C4PlantUmlExporterWithElementLinksTest {
"""
skinparam preserveAspectRatio meet
System_Boundary("System1_boundary", "System 1", ${'$'}tags="") {
Container(System1.Container1, "Container 1", "", ${'$'}tags="")[[../system-1/component/]]
Container(System1.Container1, "Container 1", ${'$'}techn="", ${'$'}descr="", ${'$'}tags="", ${'$'}link="../system-1/component/")
}
""".trimIndent()
)
Expand All @@ -102,7 +102,7 @@ class C4PlantUmlExporterWithElementLinksTest {
container1.addComponent("Component 1").apply { uses(container2, "uses") }
container2.addComponent("Component 2")

val view = workspace.views.createComponentView(container1,"Component2","")
val view = workspace.views.createComponentView(container1, "Component2", "")
.apply { addAllElements() }

val diagram = C4PlantUmlExporterWithElementLinks("/system-1/component/")
Expand All @@ -112,13 +112,13 @@ class C4PlantUmlExporterWithElementLinksTest {
"""
skinparam svgDimensionStyle false
skinparam preserveAspectRatio meet
Container(System1.Container2, "Container 2", "", ${'$'}tags="")
Container(System1.Container2, "Container 2", ${'$'}techn="", ${'$'}descr="", ${'$'}tags="", ${'$'}link="")
Container_Boundary("System1.Container1_boundary", "Container 1", ${'$'}tags="") {
Component(System1.Container1.Component1, "Component 1", "", ${'$'}tags="")
Component(System1.Container1.Component1, "Component 1", ${'$'}techn="", ${'$'}descr="", ${'$'}tags="", ${'$'}link="")
}
Rel_D(System1.Container1.Component1, System1.Container2, "uses", ${'$'}tags="")
Rel_D(System1.Container1.Component1, System1.Container2, "uses", ${'$'}techn="", ${'$'}tags="", ${'$'}link="")
""".trimIndent()
)
}
Expand All @@ -132,10 +132,10 @@ class C4PlantUmlExporterWithElementLinksTest {

assertThat(diagram.definition.withoutHeaderAndFooter()).isEqualTo(
"""
System(System1, "System 1", "", ${'$'}tags="")
System(System2, "System 2", "", ${'$'}tags="")[[../system-2/context/]]
System(System1, "System 1", ${'$'}descr="", ${'$'}tags="", ${'$'}link="")
System(System2, "System 2", ${'$'}descr="", ${'$'}tags="", ${'$'}link="../system-2/context/")
Rel_D(System2, System1, "uses", ${'$'}tags="")
Rel_D(System2, System1, "uses", ${'$'}techn="", ${'$'}tags="", ${'$'}link="")
""".trimIndent()
)
}
Expand All @@ -149,10 +149,10 @@ class C4PlantUmlExporterWithElementLinksTest {

assertThat(diagram.definition.withoutHeaderAndFooter()).isEqualTo(
"""
System(System1, "System 1", "", ${'$'}tags="")
System(System2, "System 2", "", ${'$'}tags="")[[../../system-2/context/]]
System(System1, "System 1", ${'$'}descr="", ${'$'}tags="", ${'$'}link="")
System(System2, "System 2", ${'$'}descr="", ${'$'}tags="", ${'$'}link="../../system-2/context/")
Rel_D(System2, System1, "uses", ${'$'}tags="")
Rel_D(System2, System1, "uses", ${'$'}techn="", ${'$'}tags="", ${'$'}link="")
""".trimIndent()
)
}
Expand Down Expand Up @@ -203,7 +203,7 @@ class C4PlantUmlExporterWithElementLinksTest {
workspace.views.createSystemContextView(system, "Context 1", "")
.apply { addAllElements() }

workspace.views.createComponentView(container,"Component1","")
workspace.views.createComponentView(container, "Component1", "")

return workspace.views.createContainerView(system, "Container1", "")
.apply { addAllElements() }
Expand Down

0 comments on commit ef2e6f0

Please sign in to comment.