提交 0ae9672d authored 作者: chenshiying's avatar chenshiying

[新增] 部署脚本更新

上级 5b138ae7
...@@ -108,3 +108,10 @@ pssh -h /home/soft/deploy/server/host_ip_push_script.txt -i bash /home/soft/copy ...@@ -108,3 +108,10 @@ pssh -h /home/soft/deploy/server/host_ip_push_script.txt -i bash /home/soft/copy
curl -s -XPOST 'http://192.169.201.14:12012/createItem?name=loit-auto-csy-2' \
-u "<username>:<API_TOKEN>" \
--data-binary "@<mylocalconfig.xml>" \
-H "Content-Type: text/xml"
http://192.169.201.14:12012/
...@@ -51,16 +51,21 @@ public class DeployInfoDataDTO implements Serializable { ...@@ -51,16 +51,21 @@ public class DeployInfoDataDTO implements Serializable {
private String springProfilesActive; private String springProfilesActive;
@ApiModelProperty(value = "nginxConfigName") @ApiModelProperty(value = "前端 nginx 配置文件名称")
@ExcelField(title = "nginxConfigName", sort = 10) @ExcelField(title = "nginxConfigName", sort = 10)
private String nginxConfigName; private String nginxConfigName;
@ApiModelProperty(value = "frontGroup") @ApiModelProperty(value = "前端分组 灰度、正常")
@ExcelField(title = "frontGroup", sort = 11) @ExcelField(title = "frontGroup", sort = 11)
private String frontGroup; private String frontGroup;
@ApiModelProperty(value = "是否需要生产初始化脚本")
@ExcelField(title = "needCreateInstanceSql", sort = 12)
private String needCreateInstanceSql;
public String getFixedIp() { public String getFixedIp() {
return fixedIp; return fixedIp;
} }
...@@ -148,4 +153,12 @@ public class DeployInfoDataDTO implements Serializable { ...@@ -148,4 +153,12 @@ public class DeployInfoDataDTO implements Serializable {
public void setFrontGroup(String frontGroup) { public void setFrontGroup(String frontGroup) {
this.frontGroup = frontGroup; this.frontGroup = frontGroup;
} }
public String getNeedCreateInstanceSql() {
return needCreateInstanceSql;
}
public void setNeedCreateInstanceSql(String needCreateInstanceSql) {
this.needCreateInstanceSql = needCreateInstanceSql;
}
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论