From fa75c54798e1320c1f3e33eb177fb9bd2ec3ac47 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Thu, 28 Sep 2023 11:00:38 +0100 Subject: Update Documentation for migration Issue-ID: POLICY-4812 Change-Id: I8adbb39765bba68d0ca33d048c4b96c991129669 Signed-off-by: FrancescoFioraEst --- docs/clamp/acm/design-impl/clamp-runtime-acm.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) mode change 100644 => 100755 docs/clamp/acm/design-impl/clamp-runtime-acm.rst (limited to 'docs/clamp/acm/design-impl/clamp-runtime-acm.rst') diff --git a/docs/clamp/acm/design-impl/clamp-runtime-acm.rst b/docs/clamp/acm/design-impl/clamp-runtime-acm.rst old mode 100644 new mode 100755 index 0c54ecc1..215ddc59 --- 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 +++++++++++++++++++++++++++++++++++ -- cgit 1.2.3-korg