X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fclamp%2Facm%2Facm-participant-guide.rst;h=a98e66b83e5a39e78469fe1fb32daba7be67b597;hb=30ad30c5a31df96e35d2276d095a72b5e3954b39;hp=baf61d50a3057c61f8e81f89ef8c185069343fa6;hpb=c1721b5a60b358777207e1d25ab39abe99363208;p=policy%2Fparent.git 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