summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Mokry <mm117s@att.com>2018-09-20 11:41:09 -0500
committerMichael Mokry <mm117s@att.com>2018-09-20 11:48:03 -0500
commit26eed4a43bd97265ea08ded2eaf626a23bf66ce4 (patch)
treec4b4246ad831c4802549553d9abfbaa004a044aa
parent767899b588f39f9f80d72699c3057af36b9318d2 (diff)
BRMSGW HTTPS support for DMaaP/UEB interfaces
Modified BrmsPush UEB interface implementation to use HTTPS Change-Id: Id8ae68f23ee371142da3f9d8aa0a2b2e7988ff36 Issue-ID: POLICY-942 Signed-off-by: Michael Mokry <mm117s@att.com>
-rw-r--r--BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java b/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
index 507e17fea..8181c0004 100644
--- a/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
+++ b/BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
@@ -342,7 +342,7 @@ public class BrmsPush {
uebList = uebList.trim();
pubTopic = pubTopic.trim();
pubBuilder = new CambriaClientBuilders.PublisherBuilder();
- pubBuilder.usingHosts(uebList).onTopic(pubTopic);
+ pubBuilder.usingHosts(uebList).onTopic(pubTopic).usingHttps(true);
String apiKey = config.getProperty("UEB_API_KEY");
String apiSecret = config.getProperty("UEB_API_SECRET");
if (apiKey != null && !apiKey.isEmpty() && apiSecret != null && !apiSecret.isEmpty()) {