allow dcae consumer group configuration 63/46663/1 v1.2.1
authorJorge Hernandez <jh1730@att.com>
Tue, 8 May 2018 16:53:29 +0000 (11:53 -0500)
committerJorge Hernandez <jh1730@att.com>
Tue, 8 May 2018 16:53:29 +0000 (11:53 -0500)
this allows to change the dcase onset processing
group behavior across pdp-ds.

if installation sets DCAE_CONSUMER_GROUP, all
PDP-Ds will share the same consumer group, therefore
will have exclussive processing of onsets.  Otherwise
if installation unsets it (blank), all pdp-d's will
process all onsets being placed in dcae topic on
dmaap bus

Change-Id: I4cc63005402ce66c09617b52dfad9a6094cbcb46
Issue-ID: POLICY-766
Signed-off-by: Jorge Hernandez <jh1730@att.com>
controlloop/common/feature-controlloop-amsterdam/src/main/feature/config/amsterdam-controller.properties
controlloop/common/feature-controlloop-beijing/src/main/feature/config/beijing-controller.properties

index 338e730..9bb12f8 100644 (file)
@@ -25,6 +25,7 @@ ueb.source.topics=${{DCAE_TOPIC}},APPC-CL,APPC-LCM-WRITE
 ueb.source.topics.${{DCAE_TOPIC}}.servers=${{DCAE_SERVERS}}
 ueb.source.topics.${{DCAE_TOPIC}}.apiKey=
 ueb.source.topics.${{DCAE_TOPIC}}.apiSecret=
+ueb.source.topics.${{DCAE_TOPIC}}.consumerGroup=${{DCAE_CONSUMER_GROUP}}
 ueb.source.topics.${{DCAE_TOPIC}}.events=org.onap.policy.controlloop.VirtualControlLoopEvent
 ueb.source.topics.${{DCAE_TOPIC}}.events.org.onap.policy.controlloop.VirtualControlLoopEvent.filter=closedLoopEventStatus=.*
 ueb.source.topics.${{DCAE_TOPIC}}.events.custom.gson=org.onap.policy.controlloop.util.Serialization,gson
index 0f34d76..787e90f 100644 (file)
@@ -31,6 +31,7 @@ ueb.source.topics.${{PDPD_CONFIGURATION_TOPIC}}.events.org.onap.policy.controllo
 ueb.source.topics.${{DCAE_TOPIC}}.servers=${{DCAE_SERVERS}}
 ueb.source.topics.${{DCAE_TOPIC}}.apiKey=
 ueb.source.topics.${{DCAE_TOPIC}}.apiSecret=
+ueb.source.topics.${{DCAE_TOPIC}}.consumerGroup=${{DCAE_CONSUMER_GROUP}}
 ueb.source.topics.${{DCAE_TOPIC}}.events=org.onap.policy.controlloop.VirtualControlLoopEvent
 ueb.source.topics.${{DCAE_TOPIC}}.events.org.onap.policy.controlloop.VirtualControlLoopEvent.filter=closedLoopEventStatus=.*
 ueb.source.topics.${{DCAE_TOPIC}}.events.custom.gson=org.onap.policy.controlloop.util.Serialization,gson