diff options
author | Michael Mokry <mm117s@att.com> | 2018-09-20 11:41:09 -0500 |
---|---|---|
committer | Michael Mokry <mm117s@att.com> | 2018-09-20 11:48:03 -0500 |
commit | 26eed4a43bd97265ea08ded2eaf626a23bf66ce4 (patch) | |
tree | c4b4246ad831c4802549553d9abfbaa004a044aa /BRMSGateway/src | |
parent | 767899b588f39f9f80d72699c3057af36b9318d2 (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>
Diffstat (limited to 'BRMSGateway/src')
-rw-r--r-- | BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java | 2 |
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()) { |