diff --git a/bad_including.puml b/bad_including.puml index fb418e66fa99860072bda92227a3dcfad4644b9e..2f19c589938ad918e35252809fc18464138ddabf 100644 --- a/bad_including.puml +++ b/bad_including.puml @@ -1,3 +1,3 @@ -'This include wont work. The renderer doesn't found the file locally +'This include wont work (The renderer looks the file locally, and doesn't found it) !include included_part.iuml \ No newline at end of file diff --git a/included_part.iuml b/included_part.iuml index 1a234e0adaf622543e7885bbc807adcc1efcf959..35c6413617aab017f8f210c9523267c84a5d8492 100644 --- a/included_part.iuml +++ b/included_part.iuml @@ -1,6 +1,6 @@ @startuml -'Check also https://gitlab.com/schurzi/playground/-/blob/main/plantuml_include/included_part.iuml +'Copied from https://gitlab.com/schurzi/playground/-/blob/main/plantuml_include/included_part.iuml interface List List : int size() diff --git a/roles.puml b/roles.puml index 0659cb1ebb3d4d9aa2cb2027adda739648efac04..023022eb84b286e7b4039988ac8bfd43fee6b48e 100644 --- a/roles.puml +++ b/roles.puml @@ -1,2 +1,2 @@ -!define InternalA "Internal Auditor" -!define ComplianceM "Compliance Manager" \ No newline at end of file +!define Int-Au "Internal Auditor" +!define Comp-Mg "Compliance Manager" \ No newline at end of file diff --git a/testDiagram.md b/testDiagram.md index a677165f854bc2b5772fc81b1d3460755cb144bc..33c0679185a9223ffaf8af10cd11fe77c50436a2 100644 --- a/testDiagram.md +++ b/testDiagram.md @@ -1,8 +1,6 @@ ```plantuml this is for tecnalia plantuml plugin -'!include https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/roles.puml - participant "GUI/IDE eclipse" as DESIDE participant "Infrastructural\nElements\nCatalogue" as IECDB #99FF99 participant "IaC Optimizer Platform (IOP)" as IAIOP @@ -10,9 +8,30 @@ participant "Runtime Controller (PRC)" as RTPRC participant PerformanceMonitoring as IAMON participant SecurityMonitoring as SECMON -'Testing !include -== TESTING HTTPS INCLUDE == -InternalA -> ComplianceM +'Testing HTTP !include +'!include https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/roles.puml +group Testing !include +Int-Au -> Comp-Mg +note left: If the names are \n "Int-Au" and "Comp-Mg" \n the "!include http..." didn't work in a markdown file (*.md) +Int-Au <- Comp-Mg +end + +'Testing filename !include +'!include roles.puml +group Testing !include +Int-Au -> Comp-Mg +note left: If the names are \n "Internal Auditor" and "Compliance-Mnager" \n the "!include filename" works in a markdown file (*.md) +Int-Au <- Comp-Mg +end + +'Testing markdown !include +'!include roles.puml +group Testing !include +Int-Au -> Comp-Mg +note left: If the names are \n "Internal Auditor" and "Compliance-Mnager" \n the "::include{file=diagram.puml}" works in a markdown file (*.md) +Int-Au <- Comp-Mg +end + == DESIGN TIME == group Catalogue update