summaryrefslogtreecommitdiffstats
path: root/engine-d
diff options
context:
space:
mode:
authorShiwei Tian <tian.shiwei@zte.com.cn>2017-10-20 09:28:07 +0800
committerShiwei Tian <tian.shiwei@zte.com.cn>2017-10-20 10:26:47 +0800
commit517b9b3e72b78e5bd537b0abe7d348fd1d642080 (patch)
treed2050f9497db5da2ccd6643c3325e76ebd11b40c /engine-d
parent4383d0f0649f68d418aa5351917b7755266a2b7a (diff)
modify bug
Issue-ID: HOLMES-71 Change-Id: I8afb81df83421c6b4f0f96ce1067a549d5af4b7e Signed-off-by: Shiwei Tian <tian.shiwei@zte.com.cn>
Diffstat (limited to 'engine-d')
-rw-r--r--engine-d/src/main/java/org/onap/holmes/engine/dcaepolling/DcaeConfigurationPolling.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine-d/src/main/java/org/onap/holmes/engine/dcaepolling/DcaeConfigurationPolling.java b/engine-d/src/main/java/org/onap/holmes/engine/dcaepolling/DcaeConfigurationPolling.java
index 23030d2..9fa153e 100644
--- a/engine-d/src/main/java/org/onap/holmes/engine/dcaepolling/DcaeConfigurationPolling.java
+++ b/engine-d/src/main/java/org/onap/holmes/engine/dcaepolling/DcaeConfigurationPolling.java
@@ -56,6 +56,7 @@ public class DcaeConfigurationPolling implements Runnable{
SubscriberAction subscriberAction = ServiceLocatorHolder.getLocator()
.getService(SubscriberAction.class);
Subscriber subscriber = new Subscriber();
+ subscriber.setTopic(subscriberKey);
subscriber.setUrl(dcaeConfigurations.getSubSecInfo(subscriberKey).getDmaapInfo()
.getTopicUrl());
subscriberAction.addSubscriber(subscriber);