aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2024-04-02 12:46:30 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2024-04-03 09:17:53 +0000
commit565294ace7d0903d1e285c4976525e71216be1c5 (patch)
tree3811cb98ee52b9c0faf484c0b99c379410b30ecf
parent4611db47f0e8d41f637d3ebebe21950a1c00d810 (diff)
Update docs for backward compatibility support
Update docs for backward compatibility support in Participant Simulator. Issue-ID: POLICY-4956 Change-Id: Ib9fb6f20da25df6721bc6aa7a01be0741caecdd0 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
-rw-r--r--docs/clamp/acm/acm-user-guide.rst30
1 files changed, 25 insertions, 5 deletions
diff --git a/docs/clamp/acm/acm-user-guide.rst b/docs/clamp/acm/acm-user-guide.rst
index 9bf668fe..faab7e61 100644
--- a/docs/clamp/acm/acm-user-guide.rst
+++ b/docs/clamp/acm/acm-user-guide.rst
@@ -359,11 +359,12 @@ Functionality covered:
#. Set participantId and supportedElementType by properties file or by parameter environment.
#. Set a delay for each operation at runtime by Rest-Api.
#. Set success or fail for each operation at runtime by Rest-Api.
-#. update composition outProperties and send to ACM-runtime by Rest-Api.
-#. 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.
+#. Update composition outProperties and send to ACM-runtime by Rest-Api.
+#. 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.
+#. Set the 'AcElementListenerV' version by properties file.
Mock a participant using docker-compose
---------------------------------------
@@ -492,3 +493,22 @@ All information for each operation are logged, so the developer can monitoring w
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={} **]**
+
+Set specific AcElementListenerV version
+---------------------------------------
+Set 'element.handler' property in properties file in order to test a specific AcElementListenerV version.
+Default value of 'element.handler' is the most recent version.
+
+==================== ====================
+** Property Value ** ** Abstract Class **
+==================== ====================
+AcElementHandlerV1 AcElementListenerV1
+AcElementHandlerV2 AcElementListenerV2
+==================== ====================
+
+Example:
+
+.. code-block:: yaml
+
+ element:
+ handler: AcElementHandlerV1