Change-Id: Ia5aebe96b531d053e4b8eb4d7bab28de0cc916d8
Issue-ID: HOLMES-454
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
.put(getUrl(ip), Entity.json(correlationDeployRule4Engine));\r
}\r
\r
.put(getUrl(ip), Entity.json(correlationDeployRule4Engine));\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
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(SEP)\r
.append(ip)\r
.append(COLON)\r
.append(SEP)\r
.append(ip)\r
.append(COLON)\r