summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/acm-user-guide.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/acm-user-guide.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/acm-user-guide.rst')
-rwxr-xr-xdocs/clamp/acm/acm-user-guide.rst20
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,