bugfix - communicatin issues between R&E modules 15/121715/1
authorGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 7 Jun 2021 10:33:45 +0000 (18:33 +0800)
committerGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 7 Jun 2021 10:33:45 +0000 (18:33 +0800)
Change-Id: Ia5aebe96b531d053e4b8eb4d7bab28de0cc916d8
Issue-ID: HOLMES-454
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
rulemgt/src/main/java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java

index 794ea93..87d9e55 100644 (file)
@@ -51,13 +51,13 @@ public class EngineService {
                 .put(getUrl(ip), Entity.json(correlationDeployRule4Engine));\r
     }\r
 \r
-\r
     private String getRequestPref() {\r
         return CommonUtils.isHttpsEnabled() ? JerseyClient.PROTOCOL_HTTPS : JerseyClient.PROTOCOL_HTTP;\r
     }\r
 \r
     private String getUrl(String ip) {\r
         return new StringBuilder(getRequestPref())\r
+                .append(COLON)\r
                 .append(SEP)\r
                 .append(ip)\r
                 .append(COLON)\r