summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/api-protocol
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-06-08 09:01:22 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2023-06-08 10:17:08 +0000
commitd3ea2362501e3b51a709f8e2671f97ec5aad1349 (patch)
treee7c820b4121ddc426d17275bc0d383ab8006f766 /docs/clamp/acm/api-protocol
parentd4f8ac0768b95d2f9da8f84de82b88c80a6705b6 (diff)
Add extend instance deletion support in ACM docs
Issue-ID: POLICY-4730 Change-Id: Ifbbd2369b9ef0032f9066b287f98fc2fcbd4d550 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'docs/clamp/acm/api-protocol')
-rw-r--r--docs/clamp/acm/api-protocol/acm-participant-protocol.rst2
-rw-r--r--docs/clamp/acm/api-protocol/system-level-dialogues.rst9
2 files changed, 10 insertions, 1 deletions
diff --git a/docs/clamp/acm/api-protocol/acm-participant-protocol.rst b/docs/clamp/acm/api-protocol/acm-participant-protocol.rst
index 2dae2b00..b4755ae2 100644
--- a/docs/clamp/acm/api-protocol/acm-participant-protocol.rst
+++ b/docs/clamp/acm/api-protocol/acm-participant-protocol.rst
@@ -101,7 +101,7 @@ message.
.. image:: ../images/acm-participants-protocol/acm-state-change.png
-The flow of the DEPLOY/UNDEPLOY state change messages are shown below. But the same flow is true for LOCK/UNLOCK
+The flow of the DEPLOY/UNDEPLOY state change messages are shown below. But the same flow is true for LOCK/UNLOCK and DELETE
.. note:: More details of the state machine are available on :ref:`ACM States <acm-states-label>`
diff --git a/docs/clamp/acm/api-protocol/system-level-dialogues.rst b/docs/clamp/acm/api-protocol/system-level-dialogues.rst
index 4ffcbe69..c5105313 100644
--- a/docs/clamp/acm/api-protocol/system-level-dialogues.rst
+++ b/docs/clamp/acm/api-protocol/system-level-dialogues.rst
@@ -114,9 +114,18 @@ Note that this dialogue creates the Automation Composition Instance in the ACM d
3.2 Delete an Automation Composition Instance
---------------------------------------------
+The user requests the AC Instance to be deleted using a REST endpoint. The ACM Runtime orders the AC Instance to be deleted.
.. image:: ../images/system-dialogues/DeleteAcInstance.png
+Each participant deletes its AC Element Instances from the AC Instance
+
+.. image:: ../images/system-dialogues/DeleteInstanceElements.png
+
+The ACM Runtime receives and stores the responses, when all instances element are deleted, it delete the instance.
+
+.. image:: ../images/system-dialogues/DeleteResponseStored.png
+
3.3 Deploy Automation Composition Instance
------------------------------------------
The user requests the AC Instance to be deployed using a REST endpoint. The ACM Runtime orders the AC Instance to be deployed to Participants.