property names correction 31/57531/1
authorLukasz Muszkieta <lukasz.muszkieta@nokia.com>
Wed, 25 Jul 2018 12:17:11 +0000 (14:17 +0200)
committerLukasz Muszkieta <lukasz.muszkieta@nokia.com>
Wed, 25 Jul 2018 12:17:11 +0000 (14:17 +0200)
Change-Id: I4cbdb4f9ad5af26502619cb9358086bbf667bc0f
Issue-ID: SO-719
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java
bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClientTest.java

index 2c7309d..2b3a60f 100644 (file)
@@ -61,9 +61,9 @@ public class PnfEventReadyDmaapClient implements DmaapClient {
         httpClient = HttpClientBuilder.create().build();
         pnfCorrelationIdToThreadMap = new ConcurrentHashMap<>();
         dmaapHost = PropertyConfiguration.getInstance().getProperties(PropertyConfiguration.MSO_BPMN_URN_PROPERTIES)
-                .get("dmaapHost");
+                .get("mso.dmaap.host");
         dmaapPort = Integer.parseInt(PropertyConfiguration.getInstance()
-                .getProperties(PropertyConfiguration.MSO_BPMN_URN_PROPERTIES).get("dmaapPort"));
+                .getProperties(PropertyConfiguration.MSO_BPMN_URN_PROPERTIES).get("mso.dmaap.port"));
         executor = null;
         getRequest = new HttpGet(buildURI());
     }
index 6ded47d..c4d2570 100644 (file)
@@ -191,8 +191,8 @@ public class PnfEventReadyDmaapClientTest {
 
     private Map<String, String> createProperties() {
         Map<String, String> map = new HashMap<>();
-        map.put("dmaapHost", HOST);
-        map.put("dmaapPort", String.valueOf(PORT));
+        map.put("mso.dmaap.host", HOST);
+        map.put("mso.dmaap.port", String.valueOf(PORT));
         return map;
     }