...
|
...
|
@@ -69,15 +69,9 @@ public class TopoSwitchCtrl { |
|
|
luaType = "aws";
|
|
|
}
|
|
|
}
|
|
|
|
|
|
logger.info("getNgixnStatus 1...");
|
|
|
|
|
|
//nginx
|
|
|
BaseResponse<Map<String, List<Map<String, Object>>>> response = httpRestClient.exchangeForget(HttpUriContants.VIEW_NGINX_CONF, new ParameterizedTypeReference<BaseResponse<Map<String, List<Map<String, Object>>>>>() {
|
|
|
}, null);
|
|
|
|
|
|
logger.info("getNgixnStatus 2...");
|
|
|
|
|
|
Map<String, List<Map<String, Object>>> map = response.getData();
|
|
|
List<Map<String, Object>> awsList = map.get("awsList");
|
|
|
List<Map<String, Object>> qcloudList = map.get("qcloudList");
|
...
|
...
|
@@ -144,9 +138,6 @@ public class TopoSwitchCtrl { |
|
|
}catch (Exception e){
|
|
|
logger.error(" TopoSwitchCtrl - getNgixnStatus - https://dnsapi.cn/Record.Info - err", e);
|
|
|
}
|
|
|
|
|
|
logger.info("getNgixnStatus 3...");
|
|
|
|
|
|
resultMap.put("luaType", luaType);
|
|
|
resultMap.put("awsApiNginx", awsApiNginx);
|
|
|
resultMap.put("awsGrayNginx", awsGrayNginx);
|
...
|
...
|
|