Authored by qinchao

自动伸缩

... ... @@ -39,7 +39,7 @@ public class AutoScalingFetcher {
group.setId(autoScalingGroup.getAutoScalingGroupARN());
group.setTagForName(getGroupNameForTag(autoScalingGroup));
group.setName(group.getTagForName());
//group.setName(autoScalingGroup.getAutoScalingGroupName());
group.setAwsGroupName(autoScalingGroup.getAutoScalingGroupName());
group.setMax(autoScalingGroup.getMaxSize());
group.setMin(autoScalingGroup.getMinSize());
group.setDesired(autoScalingGroup.getDesiredCapacity());
... ...
... ... @@ -18,6 +18,7 @@ import java.util.stream.Collectors;
public class AutoScalingGroup {
private String name;
private String awsGroupName;
private String tagForName;
private List<AutoScalingHost> autoScalingHosts = new LinkedList<>();
private String id;
... ...