From da7f8d67286291ff3c477afc666d5fc691a168b5 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Mon, 27 Oct 2025 18:03:33 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=90=8E=E7=AB=AF-?= =?UTF-8?q?=E8=B6=85=E7=BA=A7=E6=B5=81=E6=B0=B4=E7=BA=BF=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E6=95=B4=E4=BD=93=E4=BF=9D=E5=AD=98=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1541385189031936]后端-超级流水线作业整体保存校验 http://192.168.0.96:8090/demo/rdm.html#/task-detail/939050947543040/939050947543050/1541385189031936 --- .../framework/deploy/dto/pipeline/PipelineVo.java | 11 +++++++++++ .../DeployPipelineParamCannotBeEmptyException.java | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/main/java/neatlogic/framework/deploy/exception/pipeline/DeployPipelineParamCannotBeEmptyException.java diff --git a/src/main/java/neatlogic/framework/deploy/dto/pipeline/PipelineVo.java b/src/main/java/neatlogic/framework/deploy/dto/pipeline/PipelineVo.java index b5d24ae..0054aef 100644 --- a/src/main/java/neatlogic/framework/deploy/dto/pipeline/PipelineVo.java +++ b/src/main/java/neatlogic/framework/deploy/dto/pipeline/PipelineVo.java @@ -17,6 +17,7 @@ package neatlogic.framework.deploy.dto.pipeline; import neatlogic.framework.common.constvalue.ApiParamType; import neatlogic.framework.deploy.constvalue.PipelineType; +import neatlogic.framework.deploy.dto.app.DeployAppConfigVo; import neatlogic.framework.restful.annotation.EntityField; import neatlogic.framework.util.SnowflakeUtil; import org.apache.commons.lang3.StringUtils; @@ -58,6 +59,8 @@ public class PipelineVo { private int isHasBuildTypeTool = 0; @EntityField(name = "是否拥有DEPLOY类型的工具库工具", type = ApiParamType.INTEGER) private int isHasDeployTypeTool = 0; + @EntityField(name = "应用流水线列表", type = ApiParamType.JSONARRAY) + private List appConfigList; public Long getId() { if (id == null) { @@ -192,4 +195,12 @@ public class PipelineVo { public void setIsHasDeployTypeTool(int isHasDeployTypeTool) { this.isHasDeployTypeTool = isHasDeployTypeTool; } + + public List getAppConfigList() { + return appConfigList; + } + + public void setAppConfigList(List appConfigList) { + this.appConfigList = appConfigList; + } } diff --git a/src/main/java/neatlogic/framework/deploy/exception/pipeline/DeployPipelineParamCannotBeEmptyException.java b/src/main/java/neatlogic/framework/deploy/exception/pipeline/DeployPipelineParamCannotBeEmptyException.java new file mode 100644 index 0000000..e9d9b7a --- /dev/null +++ b/src/main/java/neatlogic/framework/deploy/exception/pipeline/DeployPipelineParamCannotBeEmptyException.java @@ -0,0 +1,12 @@ +package neatlogic.framework.deploy.exception.pipeline; + +import neatlogic.framework.exception.core.ApiRuntimeException; + +public class DeployPipelineParamCannotBeEmptyException extends ApiRuntimeException { + + private static final long serialVersionUID = -977868475722886186L; + + public DeployPipelineParamCannotBeEmptyException(int LaneSort, int groupSort, int jobTemplateSort, String name, String key) { + super("nfdep.deploypipelineparamcannotbeemptyexception.deploypipelineparamcannotbeemptyexception", LaneSort, groupSort, jobTemplateSort, name, key); + } +} -- Gitee