...
|
...
|
@@ -669,6 +669,14 @@ public class AutoScalingCtrl { |
|
|
h.setAlias(String.format("%s-%s-%s",(cloudType == 1 ? "AWS":"Qcloud"), "java-"+ scalingGroupName,ip));
|
|
|
}
|
|
|
h.setCloudType(cloudType);
|
|
|
|
|
|
//暂时无法确定腾讯云的可用区
|
|
|
if(1==h.getCloudType()){
|
|
|
h.setCloudDetailType(1);
|
|
|
}else if(2==h.getCloudType()){
|
|
|
h.setCloudDetailType(2);
|
|
|
}
|
|
|
|
|
|
hostInfos.add(h);
|
|
|
}
|
|
|
resp = httpClient.defaultPost(HttpUriContants.SAVE_HOST_LIST_INFOS ,hostInfos,BaseResponse.class);
|
...
|
...
|
|