summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/acm-participant-guide.rst
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2024-03-04 12:26:29 +0000
committerFrancesco Fiora <francesco.fiora@est.tech>2024-03-04 13:16:34 +0000
commit30ad30c5a31df96e35d2276d095a72b5e3954b39 (patch)
tree22f1bca7ae9e8f3ed0dc5be14e3166f1977c2b9d /docs/clamp/acm/acm-participant-guide.rst
parentc1721b5a60b358777207e1d25ab39abe99363208 (diff)
Update dmaap references in policy documentation files
Issue-ID: POLICY-4942 Change-Id: I08d9ab8e5028eab0a20999ce174d3a2fbad67967 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'docs/clamp/acm/acm-participant-guide.rst')
-rw-r--r--docs/clamp/acm/acm-participant-guide.rst20
1 files changed, 11 insertions, 9 deletions
diff --git a/docs/clamp/acm/acm-participant-guide.rst b/docs/clamp/acm/acm-participant-guide.rst
index baf61d50..a98e66b8 100644
--- a/docs/clamp/acm/acm-participant-guide.rst
+++ b/docs/clamp/acm/acm-participant-guide.rst
@@ -42,7 +42,9 @@ and the same is configured for the 'ParticipantIntermediaryParameters' object in
1. participantId - A unique participant UUID that is used by the runtime to identify the participant.
2. ReportingTimeIntervalMs - Time inertval the participant should report the status/heartbeat to the runtime.
3. clampAutomationCompositionTopics - This property takes in the kafka topic names and servers for the intermediary module to use.
- These values should be provided for both source and sink configs. The following example shows the topic parameters set for using DMaap.
+ These values should be provided for both source and sink configs.
+ (**Note**: In order to avoid a connection to Kafka when Unit Tests are running, set topicCommInfrastructure: NOOP in properties file for tests).
+ The following example shows the topic parameters set for using Kafka.
.. code-block:: bash
@@ -51,15 +53,15 @@ and the same is configured for the 'ParticipantIntermediaryParameters' object in
-
topic: POLICY-ACRUNTIME-PARTICIPANT
servers:
- - ${topicServer:localhost}
- topicCommInfrastructure: dmaap
+ - ${topicServer:localhost}:9092
+ topicCommInfrastructure: kafka
fetchTimeout: 15000
topicSinks:
-
topic: POLICY-ACRUNTIME-PARTICIPANT
servers:
- - ${topicServer:localhost}
- topicCommInfrastructure: dmaap
+ - ${topicServer:localhost}:9092
+ topicCommInfrastructure: kafka
4. participantSupportedElementTypes - This property takes a list of typeName and typeVersion fields to define the types of AC elements the participant deals with.
These are user defined name and version and the same should be defined for the AC elements that are included in the TOSCA based AC definitions.
@@ -410,14 +412,14 @@ The following example shows the topic parameters and the additional 'myparameter
topicSources:
- topic: POLICY-ACRUNTIME-PARTICIPANT
servers:
- - ${topicServer:localhost}
- topicCommInfrastructure: dmaap
+ - ${topicServer:localhost}:9092
+ topicCommInfrastructure: kafka
fetchTimeout: 15000
topicSinks:
- topic: POLICY-ACRUNTIME-PARTICIPANT
servers:
- - ${topicServer:localhost}
- topicCommInfrastructure: dmaap
+ - ${topicServer:localhost}:9092
+ topicCommInfrastructure: kafka
participantSupportedElementTypes:
-
typeName: org.onap.policy.clamp.acm.MyFirstAutomationCompositionElement