Authored by qinchao

es项目的自动伸缩

... ... @@ -181,7 +181,7 @@
</div>
<script src="<%=basePath%>script/common/genarate_left_panel.js"></script>
<script src="<%=basePath%>script/autoscaling/autoscaling_new.js?v=20171018-2"></script>
<script src="<%=basePath%>script/autoscaling/autoscaling_new.js?v=20171018-3"></script>
<script>
$("#li_manager").addClass("active open");
$("#li_autoscaling").addClass("active");
... ...
... ... @@ -840,6 +840,9 @@ function updateAnsibleDeployForNode(showMessage){
requestError(url);
}
});
upHostCmdbInfo(showMessage);
}
//5 和 6:ip写入git
function editToGit(showMessage){
... ... @@ -985,7 +988,8 @@ function getDeployProjectNames(groupName){
function unDeploy(showMessage){
if(scalingGroupName.indexOf("nginx")>=0){
//什么都不用做
//发布完之后,显示关闭按钮
deployLaster();
}else if(scalingGroupName.indexOf("ELASTICSEARCH")>=0){
updateEsConfig(showMessage);
}else if(scalingGroupName.indexOf("PCH5")>=0){
... ... @@ -996,13 +1000,6 @@ function unDeploy(showMessage){
//5:更新git文件
editToGit(showMessage);
}
//发布完之后,显示关闭按钮
$("#closeButton").removeAttr("disabled");
//成功后清空
clear_Sour();
}
//写入消息
... ...