From 73d424de06f1fbd15dff7bad79934799bec91267 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Mon, 7 Jun 2021 18:33:45 +0800 Subject: bugfix - communicatin issues between R&E modules Change-Id: Ia5aebe96b531d053e4b8eb4d7bab28de0cc916d8 Issue-ID: HOLMES-454 Signed-off-by: GuangrongFu --- .../java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java index 794ea93..87d9e55 100644 --- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java +++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java @@ -51,13 +51,13 @@ public class EngineService { .put(getUrl(ip), Entity.json(correlationDeployRule4Engine)); } - private String getRequestPref() { return CommonUtils.isHttpsEnabled() ? JerseyClient.PROTOCOL_HTTPS : JerseyClient.PROTOCOL_HTTP; } private String getUrl(String ip) { return new StringBuilder(getRequestPref()) + .append(COLON) .append(SEP) .append(ip) .append(COLON) -- cgit 1.2.3-korg