From c4609d95d729d65b6c8b26416a84fd1e3265ddb0 Mon Sep 17 00:00:00 2001
From: "Diaz de Arcaya Serrano, Josu" <josu.diazdearcaya@tecnalia.com>
Date: Tue, 15 Nov 2022 11:20:46 +0100
Subject: [PATCH] Add new file

---
 .../51-start-undeployment.puml                | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 doc/sequence-diagrams/51-start-undeployment.puml

diff --git a/doc/sequence-diagrams/51-start-undeployment.puml b/doc/sequence-diagrams/51-start-undeployment.puml
new file mode 100644
index 0000000..8d30a4d
--- /dev/null
+++ b/doc/sequence-diagrams/51-start-undeployment.puml
@@ -0,0 +1,41 @@
+@startuml
+
+title Initiate Undeployment
+
+participant "Runtime Controller (PRC)" as RTPRC
+
+box "IaC Execution Manager" #LightBlue
+participant "Rest API" as RTIEM_api #99FF99
+participant Core as RTIEM_core #99FF99
+participant Persistence as RTIEM_db #99FF99
+end box
+
+participant "DOML & IaC\nrepository" as DBDOMLIAC
+
+participant "Executor" as executor
+
+collections "Resource Provider" as infraresource
+
+RTPRC -> RTIEM_api: Undeployment Request
+RTPRC <-- RTIEM_api: Undeployment Response
+
+RTIEM_api -> RTIEM_core: Undeployment Request
+
+RTIEM_core -> RTIEM_db: Save Undeployment Started
+
+RTIEM_core -> DBDOMLIAC: IaC Undeployment Request
+
+RTIEM_core <-- DBDOMLIAC: IaC Undeployment Response
+
+RTIEM_core -> executor: Undeployment Request
+
+executor -> infraresource: Uneploy Commands
+executor -> infraresource: ...
+executor -> infraresource: Undeploy Commands
+
+executor -> RTIEM_core: Undeployment Response
+
+RTIEM_core -> RTIEM_db: Save Undeployment Status
+
+@enduml
+
-- 
GitLab