...
|
...
|
@@ -366,4 +366,20 @@ public class OuterIntfCtrl { |
|
|
return httpClient.defaultPost("/nginxsync/collectNginxAgentLog",jsonObject,BaseResponse.class);
|
|
|
}
|
|
|
|
|
|
/***
|
|
|
* test 接口 比较zk
|
|
|
*/
|
|
|
@RequestMapping("/compareTwoZkRootTest")
|
|
|
@ResponseBody
|
|
|
public BaseResponse compareTwoZkRootTest(String zkOne,String zkTwo,String root) {
|
|
|
if (StringUtils.isBlank(zkOne) || StringUtils.isBlank(zkTwo)) {
|
|
|
return new BaseResponse(201,"param error");
|
|
|
}
|
|
|
Map<String, String> map=new HashMap<>();
|
|
|
map.put("zkOne",zkOne);
|
|
|
map.put("zkTwo",zkTwo);
|
|
|
map.put("root",StringUtils.isBlank(root)?"":root);
|
|
|
return httpClient.defaultGet("/zkMonitor/compareTwoZkRootTest",BaseResponse.class,map);
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|