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 b5d24ae201debd78ad258b1a9d3ba43d0deef8f7..0054aefee7be875a0633d9e87e8a106ad3dfeeee 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 0000000000000000000000000000000000000000..e9d9b7a6e70bfd51644fbc9dfa446b3ded95aca5 --- /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); + } +}