Change dmaap IP config 17/23317/1
authorshentao <shentao@chinamobile.com>
Mon, 13 Nov 2017 07:49:51 +0000 (15:49 +0800)
committershentao <shentao@chinamobile.com>
Mon, 13 Nov 2017 07:49:57 +0000 (15:49 +0800)
Change-Id: Icff2fbd10e239c2a669605feec1bdb53f2de80fb
Issue-Id: USECASEUI-54
Signed-off-by: shentao <shentao@chinamobile.com>
server/src/main/java/org/onap/usecaseui/server/util/DmaapSubscriber.java

index 931b0e5..199bc7e 100644 (file)
@@ -131,7 +131,7 @@ public class DmaapSubscriber implements Runnable {
         Properties p = new Properties();
         try {
             p.load(inputStream);
-            this.url = p.getProperty("http://") + System.getenv("MS_ADDR");
+            this.url = p.getProperty("dmaap.url") + System.getenv("MR_ADDR");
             this.alarmTopic = p.getProperty("dmaap.alarmTopic");
             this.performanceTopic = p.getProperty("dmaap.performanceTopic");
             this.consumerGroup = p.getProperty("dmaap.consumerGroup");