diff options
author | Liam Fallon <liam.fallon@est.tech> | 2023-09-29 13:22:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-09-29 13:22:40 +0000 |
commit | e4f747f56d333dc056b5a3f6ec185a211f8163ad (patch) | |
tree | 9ab74d40a5c5101b01f99ed82fac8f459576ebb9 /docs/clamp/acm/acm-user-guide.rst | |
parent | 262d5c211fa2b4f3964c304c46e87e2adba05ad0 (diff) | |
parent | fa75c54798e1320c1f3e33eb177fb9bd2ec3ac47 (diff) |
Merge "Update Documentation for migration"
Diffstat (limited to 'docs/clamp/acm/acm-user-guide.rst')
-rwxr-xr-x | docs/clamp/acm/acm-user-guide.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/clamp/acm/acm-user-guide.rst b/docs/clamp/acm/acm-user-guide.rst index 0a033b50..6e247f7c 100755 --- a/docs/clamp/acm/acm-user-guide.rst +++ b/docs/clamp/acm/acm-user-guide.rst @@ -275,6 +275,24 @@ required operation. Note: Please refer the request payload section for updating the instance properties before deployment. +Migrate AC instance +------------------- +After the AC instance is deployed, the user can migrate it to other composition definition. +The target composition have to be primed and have to contain the same element definitions present in the source composition. +The user can update the instance property values if needed. + +.. code-block:: bash + + Invoke a POST request + 'http://policy_runtime_ip:port/onap/policy/clamp/acm/v2/compositions/${compositionId}/instances' + +Request Payload + +Example payload to migrate and update the base url of the http request + +.. literalinclude:: files/AC-migrate.json + :language: json + UnDeploy AutomationComposition ------------------------------ The AC instances can be undeployed from the system by the participants. @@ -378,10 +396,12 @@ The Json below is an example of configuration: "unlockSuccess": true, "deleteSuccess": true, "updateSuccess": true, + "migrateSuccess": true, "primeSuccess": true, "deprimeSuccess": true, "deployTimerMs": 1000, "undeployTimerMs": 1000, + "migrateTimerMs": 100, "lockTimerMs": 100, "unlockTimerMs": 100, "updateTimerMs": 100, |