...
|
...
|
@@ -44,29 +44,6 @@ public class CloudToolController { |
|
|
private CloudToolService cloudToolService;
|
|
|
|
|
|
/**
|
|
|
* 伸缩组信息查询
|
|
|
* @param cloudType 云类型 1:AWS 2:QCLOUD
|
|
|
* @return
|
|
|
*/
|
|
|
/*@RequestMapping("/getAutoScalingConfig")
|
|
|
@ResponseBody
|
|
|
public BaseResponse getAutoScalingConfig(int cloudType) {
|
|
|
BaseResponse response;
|
|
|
List<CommAutoScalingGroup> autoScalingGroups = null;
|
|
|
if(1 == cloudType){
|
|
|
autoScalingGroups = awsQueryService.autoScalingConfig(null);
|
|
|
}else if(2 == cloudType){
|
|
|
autoScalingGroups = qCloudToolService.getAutoScalingConfig(null);
|
|
|
}else{
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
response = new BaseResponse();
|
|
|
response.setData(autoScalingGroups);
|
|
|
return response;
|
|
|
}*/
|
|
|
|
|
|
/**
|
|
|
* 修改伸缩组信息
|
|
|
* @param req 通用请求参数 云类型 1:AWS 2:QCLOUD
|
|
|
* @return
|
...
|
...
|
|