diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-06-07 18:33:45 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-06-07 18:33:45 +0800 |
commit | 73d424de06f1fbd15dff7bad79934799bec91267 (patch) | |
tree | c0f530eddf1fa1ff45dc181d89289ef32eb0aa9f /rulemgt | |
parent | 2dbf0ef5143b6ff25d85005294f69ba403a0c7f0 (diff) |
bugfix - communicatin issues between R&E modules
Change-Id: Ia5aebe96b531d053e4b8eb4d7bab28de0cc916d8
Issue-ID: HOLMES-454
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt')
-rw-r--r-- | rulemgt/src/main/java/org/onap/holmes/rulemgt/bolt/enginebolt/EngineService.java | 2 |
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)
|