summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/acm-user-guide.rst
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2024-02-26 15:41:55 +0000
committerFrancesco Fiora <francesco.fiora@est.tech>2024-02-28 09:26:40 +0000
commitc1721b5a60b358777207e1d25ab39abe99363208 (patch)
treecbf14c4129cc9e741380a5d6c0d32e4af9ad469e /docs/clamp/acm/acm-user-guide.rst
parent5c5c3f33e18a06d6a2f6bb4343ea16a30ecc84b3 (diff)
Update doc for improvement of participant simulator
Issue-ID: POLICY-4940 Change-Id: I915142a43d548fab808ac2977ee1a9cd88273439 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'docs/clamp/acm/acm-user-guide.rst')
-rw-r--r--[-rwxr-xr-x]docs/clamp/acm/acm-user-guide.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/clamp/acm/acm-user-guide.rst b/docs/clamp/acm/acm-user-guide.rst
index 588b3b53..842032eb 100755..100644
--- a/docs/clamp/acm/acm-user-guide.rst
+++ b/docs/clamp/acm/acm-user-guide.rst
@@ -363,6 +363,7 @@ Functionality covered:
#. read all AC Definition inProperties/outProperties information by Rest-Api.
#. update useState, operationalState and outProperties and send to ACM-runtime by Rest-Api.
#. read all AC instance elements information by Rest-Api.
+#. log of all information for each operation.
Mock a participant using docker-compose
---------------------------------------
@@ -484,3 +485,10 @@ could be read using the following endpoint:
.. code-block:: bash
Invoke a GET request 'http://participant_sim_ip:port/onap/policy/clamp/acm/simparticipant/v2/instances'
+
+Log of all information for each operation
+-----------------------------------------
+All information for each operation are logged, so the developer can monitoring what data are passed through the calls. Example of log during deploy.
+
+26-02-2024 09:55:38.547 [pool-4-thread-4] DEBUG o.o.p.c.a.p.s.m.h.AutomationCompositionElementHandler.deploy **- deploy call**
+**compositionElement: CompositionElementDto[** compositionId=6502ba5e-1939-42b0-8bd2-bf89f0d51be6, elementDefinitionId=onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement 1.2.3, inProperties={ ... }, outProperties={} **], instanceElement: InstanceElementDto[** instanceId=022b3dee-a878-4b32-8544-de86e67e7335, elementId=2d614898-4945-41c7-9127-947b401aa753, toscaServiceTemplateFragment=ToscaServiceTemplate( ... ), inProperties={ ... }, outProperties={} **]**