From 26eed4a43bd97265ea08ded2eaf626a23bf66ce4 Mon Sep 17 00:00:00 2001 From: Michael Mokry Date: Thu, 20 Sep 2018 11:41:09 -0500 Subject: 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 --- BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BRMSGateway/src') 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()) { -- cgit 1.2.3-korg