From cd4fb580ecdc65ba0e31f8c1004d2f78b79b1664 Mon Sep 17 00:00:00 2001 From: Lukasz Muszkieta Date: Wed, 25 Jul 2018 14:17:11 +0200 Subject: property names correction Change-Id: I4cbdb4f9ad5af26502619cb9358086bbf667bc0f Issue-ID: SO-719 Signed-off-by: Lukasz Muszkieta --- .../mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java | 4 ++-- .../bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClientTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bpmn') diff --git a/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java b/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java index 2c7309def4..2b3a60fa20 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java +++ b/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java @@ -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()); } diff --git a/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClientTest.java b/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClientTest.java index 6ded47d5fa..c4d2570adb 100644 --- a/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClientTest.java +++ b/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClientTest.java @@ -191,8 +191,8 @@ public class PnfEventReadyDmaapClientTest { private Map createProperties() { Map 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; } -- cgit 1.2.3-korg