diff options
author | 2023-09-29 13:22:40 +0000 | |
---|---|---|
committer | 2023-09-29 13:22:40 +0000 | |
commit | e4f747f56d333dc056b5a3f6ec185a211f8163ad (patch) | |
tree | 9ab74d40a5c5101b01f99ed82fac8f459576ebb9 /docs/clamp/acm/design-impl/clamp-runtime-acm.rst | |
parent | 262d5c211fa2b4f3964c304c46e87e2adba05ad0 (diff) | |
parent | fa75c54798e1320c1f3e33eb177fb9bd2ec3ac47 (diff) |
Merge "Update Documentation for migration"
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.rst | 13 |
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 +++++++++++++++++++++++++++++++++++ |