From db740ac7829d2c69a84e4f822f5c5786087587ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Etxaniz=20Errazkin=2C=20I=C3=B1aki?= <inaki.etxaniz@tecnalia.com> Date: Thu, 6 Mar 2025 10:14:08 +0100 Subject: [PATCH] Update 4 files - /roles.puml - /bad_including.puml - /included_part.iuml - /testDiagram.md --- bad_including.puml | 2 +- included_part.iuml | 2 +- roles.puml | 4 ++-- testDiagram.md | 29 ++++++++++++++++++++++++----- 4 files changed, 28 insertions(+), 9 deletions(-) diff --git a/bad_including.puml b/bad_including.puml index fb418e6..2f19c58 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 1a234e0..35c6413 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 0659cb1..023022e 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 a677165..33c0679 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 -- GitLab