summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2021-06-07 18:33:45 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2021-06-07 18:33:45 +0800
commit73d424de06f1fbd15dff7bad79934799bec91267 (patch)
treec0f530eddf1fa1ff45dc181d89289ef32eb0aa9f
parent2dbf0ef5143b6ff25d85005294f69ba403a0c7f0 (diff)
bugfix - communicatin issues between R&E modules
Change-Id: Ia5aebe96b531d053e4b8eb4d7bab28de0cc916d8 Issue-ID: HOLMES-454 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java2
1 files changed, 1 insertions, 1 deletions
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)