X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fclamp%2Facm%2Fdesign-impl%2Fclamp-runtime-acm.rst;h=215ddc59589bb8b3166aeb3ed072acdff72eba7c;hb=fa75c54798e1320c1f3e33eb177fb9bd2ec3ac47;hp=0c54ecc1837111672ca4a22f42f13ad74f8b3f0d;hpb=47d41204a962e150e479f858fbfbcc2ef838caac;p=policy%2Fparent.git 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 +++++++++++++++++++++++++++++++++++