diff --git a/README.md b/README.md index d1cfc593103b53c9b60168a79db27bfd56acdd72..df83436885d559e7c2f415ebc6a64a53b3736cf7 100644 --- a/README.md +++ b/README.md @@ -55,3 +55,14 @@ Hopefully, this feature will be automatically translated to Tecnalia's Gitlab wh (Example: https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/testDiagram.puml renders only text) +**03/2025**: Updated to GitLab Community Edition v17.9.1 +Now, the puml files render as diagrams!! + +Examples: +https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/testDiagram.puml renders only text) + +https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/included_part.iuml + +https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/bad_including.puml (includes a wrong ```!including``` clause, and gives an error :-()) + +https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/including.puml (includes a correct (https://) ```!including``` clause!) \ No newline at end of file diff --git a/bad_including.puml b/bad_including.puml new file mode 100644 index 0000000000000000000000000000000000000000..fb418e66fa99860072bda92227a3dcfad4644b9e --- /dev/null +++ b/bad_including.puml @@ -0,0 +1,3 @@ +'This include wont work. The renderer doesn't found the file locally + +!include included_part.iuml \ No newline at end of file diff --git a/including.puml b/including.puml new file mode 100644 index 0000000000000000000000000000000000000000..f0f58b0942d711f1d877659fad4f88a8a9ac864d --- /dev/null +++ b/including.puml @@ -0,0 +1,5 @@ +!include https://git.code.tecnalia.dev/emerald/public/puml-includes/-/blob/master/included_part.iuml + + +'Copied from: +'https://gitlab.com/schurzi/playground/-/raw/main/plantuml_include/master.puml diff --git a/roles.puml b/roles.puml index 9818c5c552f74adee200b92eebbebda4f55d9380..0659cb1ebb3d4d9aa2cb2027adda739648efac04 100644 --- a/roles.puml +++ b/roles.puml @@ -1,2 +1,2 @@ -!define InternalAuditor "Internal Auditor" -!define ComplianceManager "Compliance Manager" \ No newline at end of file +!define InternalA "Internal Auditor" +!define ComplianceM "Compliance Manager" \ No newline at end of file diff --git a/testDiagram.md b/testDiagram.md index e989443d795385d3de8d46b024cfdbc6cd15e4da..bfb489b8de1144e528c564d26976dde1cb1e53a0 100644 --- a/testDiagram.md +++ b/testDiagram.md @@ -1,5 +1,6 @@ @startuml -```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 @@ -8,6 +9,10 @@ participant "Runtime Controller (PRC)" as RTPRC participant PerformanceMonitoring as IAMON participant SecurityMonitoring as SECMON +'Testing !include +== TESTING HTTPS INCLUDE == +InternalA -> ComplianceM + == DESIGN TIME == group Catalogue update DESIDE -> IECDB: Element endorsement (26) @@ -37,5 +42,5 @@ end 'note over InfrastruturalElementsCatalogue:Is the IOP always called by RuntimeController? -``` + @enduml