summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/design-impl/clamp-runtime-acm.rst
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-09-28 11:00:38 +0100
committerFrancescoFioraEst <francesco.fiora@est.tech>2023-09-29 09:42:01 +0100
commitfa75c54798e1320c1f3e33eb177fb9bd2ec3ac47 (patch)
tree8ed464ed80c655cead954655342633ba003e04c9 /docs/clamp/acm/design-impl/clamp-runtime-acm.rst
parent47d41204a962e150e479f858fbfbcc2ef838caac (diff)
Update Documentation for migration
Issue-ID: POLICY-4812 Change-Id: I8adbb39765bba68d0ca33d048c4b96c991129669 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'docs/clamp/acm/design-impl/clamp-runtime-acm.rst')
-rwxr-xr-x[-rw-r--r--]docs/clamp/acm/design-impl/clamp-runtime-acm.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/clamp/acm/design-impl/clamp-runtime-acm.rst b/docs/clamp/acm/design-impl/clamp-runtime-acm.rst
index 0c54ecc1..215ddc59 100644..100755
--- a/docs/clamp/acm/design-impl/clamp-runtime-acm.rst
+++ b/docs/clamp/acm/design-impl/clamp-runtime-acm.rst
@@ -78,7 +78,18 @@ Update of a Automation Composition Instance
- It checks that AC Instance is in UNDEPLOYED/DEPLOYED deployState
- It updates the Automation Composition to DB
- the Rest-Api call returns the instanceId and the list of AC Element Instance
-- the runtime sends an update event to the participants which inturn performs the update operation on the deployed instances.
+- the runtime sends an update event to the participants which performs the update operation on the deployed instances.
+
+Migrate of a Automation Composition Instance
+++++++++++++++++++++++++++++++++++++++++++++
+- GUI has already a new composition definition primed
+- GUI calls POST "/onap/policy/clamp/acm/v2/compositions/{compositionId}/instances" endpoint with a Automation Composition Instance as body. It have to contain the compositionId, the compositionTargetId and the instanceId
+- runtime-ACM receives the call by Rest-Api (InstantiationController)
+- It checks that AC Instance is in DEPLOYED deployState
+- It checks that compositionTargetId is related to a primed composition definition
+- It updates the Automation Composition to DB
+- the Rest-Api call returns the instanceId and the list of AC Element Instance
+- the runtime sends a migrate event to the participants which performs the migrate operation on the deployed instances.
Issues AC instance to change status
+++++++++++++++++++++++++++++++++++