diff --git a/src/main/java/neatlogic/framework/cmdb/dto/resourcecenter/AppModuleVo.java b/src/main/java/neatlogic/framework/cmdb/dto/resourcecenter/AppModuleVo.java
index e2cb71789d5f821f56fcabea9d8696f1e5605f44..7acbbe7b1ce35d161843a4bcd216969cfcd4b638 100644
--- a/src/main/java/neatlogic/framework/cmdb/dto/resourcecenter/AppModuleVo.java
+++ b/src/main/java/neatlogic/framework/cmdb/dto/resourcecenter/AppModuleVo.java
@@ -15,10 +15,12 @@ along with this program. If not, see .*/
package neatlogic.framework.cmdb.dto.resourcecenter;
+import neatlogic.framework.cmdb.dto.ci.CiVo;
import neatlogic.framework.common.constvalue.ApiParamType;
import neatlogic.framework.restful.annotation.EntityField;
import java.io.Serializable;
+import java.util.List;
public class AppModuleVo implements Serializable {
private static final long serialVersionUID = 3794860793337591802L;
@@ -34,6 +36,9 @@ public class AppModuleVo implements Serializable {
@EntityField(name = "term.cmdb.ishasenv", type = ApiParamType.INTEGER)
private Integer isHasEnv = 0;
+ @EntityField(name = "term.cmdb.cilist", type = ApiParamType.JSONARRAY)
+ private List ciList;
+
public Long getId() {
return id;
}
@@ -74,4 +79,11 @@ public class AppModuleVo implements Serializable {
this.isHasEnv = isHasEnv;
}
+ public List getCiList() {
+ return ciList;
+ }
+
+ public void setCiList(List ciList) {
+ this.ciList = ciList;
+ }
}
diff --git a/src/main/java/neatlogic/framework/cmdb/exception/attr/AttrValueIrregularException.java b/src/main/java/neatlogic/framework/cmdb/exception/attr/AttrValueIrregularException.java
index 9fb5f7b75ff9404549ee9e053f9ba9a44f250f09..f2c3868c95003cbf35f4442b9235326b17a7285d 100644
--- a/src/main/java/neatlogic/framework/cmdb/exception/attr/AttrValueIrregularException.java
+++ b/src/main/java/neatlogic/framework/cmdb/exception/attr/AttrValueIrregularException.java
@@ -24,10 +24,6 @@ public class AttrValueIrregularException extends ApiRuntimeException {
super("nfcea.attrvalueirregularexception.attrvalueirregularexception_a", attrVo.getCiLabel(), attrVo.getCiName(), attrVo.getLabel(), attrVo.getName(), value, attrVo.getTypeText());
}
- public AttrValueIrregularException(AttrVo attrVo, String value, String configurationPath, String actualPath) {
- super("nfcea.attrvalueirregularexception.attrvalueirregularexception_b", attrVo.getCiLabel(), attrVo.getCiName(), attrVo.getLabel(), attrVo.getName(), value, attrVo.getTypeText(), configurationPath, actualPath);
- }
-
public AttrValueIrregularException(AttrVo attrVo, IllegalArgumentException error) {
super("模型“{0}({1})”属性“{2}({3})”的值格式异常:{4}", attrVo.getCiLabel(), attrVo.getCiName(), attrVo.getLabel(), attrVo.getName(), error.getMessage());
}
diff --git a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiIsAbstractedException.java b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiIsAbstractedException.java
index cbaeeea99a104a70a3445554f8b1031d4362634d..e97def84dbf55e838a0c9195c521b6aab92c19c2 100644
--- a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiIsAbstractedException.java
+++ b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiIsAbstractedException.java
@@ -15,7 +15,6 @@ along with this program. If not, see .*/
package neatlogic.framework.cmdb.exception.ci;
-import neatlogic.framework.cmdb.dto.ci.CiVo;
import neatlogic.framework.exception.core.ApiRuntimeException;
import neatlogic.framework.util.$;
@@ -29,10 +28,6 @@ public class CiIsAbstractedException extends ApiRuntimeException {
super(getMessage(type, ciName));
}
- public CiIsAbstractedException(CiVo ciVo, String configurationPath, String actualPath) {
- super("nfcec.ciisabstractedexception.ciisabstractedexception_a", ciVo.getLabel(), ciVo.getName(), configurationPath, actualPath);
- }
-
private static String getMessage(Type type, String ciName) {
if (type == Type.DATA) {
return $.t("nfcec.ciisabstractedexception.data", ciName);
diff --git a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiNotFoundException.java b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiNotFoundException.java
index b541ac1e3f60f4a527573e7bdf0dc1037d246079..b6207b7f26ec53e48b0dc9f336e582ea7bc90f8c 100644
--- a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiNotFoundException.java
+++ b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiNotFoundException.java
@@ -29,8 +29,4 @@ public class CiNotFoundException extends ApiRuntimeException {
public CiNotFoundException(String ciName) {
super("nfcec.cinotfoundexception.cinotfoundexception_a", ciName);
}
-
- public CiNotFoundException(String ciName, String configurationPath, String actualPath) {
- super("nfcec.cinotfoundexception.cinotfoundexception_b", ciName, configurationPath, actualPath);
- }
}
diff --git a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueAttrNotFoundException.java b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueAttrNotFoundException.java
index dd1f1a4b042db43377ced99620cef039e21447c1..8f7083cdbae78e54c79f02be3d8fd88d622a4f7c 100644
--- a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueAttrNotFoundException.java
+++ b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueAttrNotFoundException.java
@@ -37,10 +37,6 @@ public class CiUniqueAttrNotFoundException extends ApiRuntimeException {
super("nfcec.ciuniqueattrnotfoundexception.ciuniqueattrnotfoundexception_c", attrVo.getCiLabel(), attrVo.getCiName(), attrVo.getLabel(), attrVo.getName());
}
- public CiUniqueAttrNotFoundException(AttrVo attrVo, String configurationPath, String actualPath) {
- super("nfcec.ciuniqueattrnotfoundexception.ciuniqueattrnotfoundexception_f", attrVo.getCiLabel(), attrVo.getCiName(), attrVo.getLabel(), attrVo.getName(), configurationPath, actualPath);
- }
-
public CiUniqueAttrNotFoundException(Long ciId, Long attrId) {
super("nfcec.ciuniqueattrnotfoundexception.ciuniqueattrnotfoundexception_d", ciId, attrId);
}
diff --git a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueRuleAttrTypeIrregularException.java b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueRuleAttrTypeIrregularException.java
index f5c7fb951ca4c128500b59ce9dbcee966f3f86da..84e6fd312aa95ed9f28624a8120f57b56e536cb7 100644
--- a/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueRuleAttrTypeIrregularException.java
+++ b/src/main/java/neatlogic/framework/cmdb/exception/ci/CiUniqueRuleAttrTypeIrregularException.java
@@ -27,8 +27,4 @@ public class CiUniqueRuleAttrTypeIrregularException extends ApiRuntimeException
public CiUniqueRuleAttrTypeIrregularException(AttrVo attrVo) {
super("nfcec.ciuniqueruleattrtypeirregularexception.ciuniqueruleattrtypeirregularexception_b", attrVo.getCiLabel(), attrVo.getCiName(), attrVo.getLabel(), attrVo.getName());
}
-
- public CiUniqueRuleAttrTypeIrregularException(AttrVo attrVo, String configurationPath, String actualPath) {
- super("nfcec.ciuniqueruleattrtypeirregularexception.ciuniqueruleattrtypeirregularexception_c", attrVo.getCiLabel(), attrVo.getCiName(), attrVo.getLabel(), attrVo.getName(), configurationPath, actualPath);
- }
}
diff --git a/src/main/java/neatlogic/framework/cmdb/exception/ci/DownwardCiNotFoundException.java b/src/main/java/neatlogic/framework/cmdb/exception/ci/DownwardCiNotFoundException.java
index b9fd45fbbfd47c151aa7f54a01d5d6c9d54be0b8..cdbe631008e38d57cf7563415ed88225df146f99 100644
--- a/src/main/java/neatlogic/framework/cmdb/exception/ci/DownwardCiNotFoundException.java
+++ b/src/main/java/neatlogic/framework/cmdb/exception/ci/DownwardCiNotFoundException.java
@@ -8,8 +8,4 @@ public class DownwardCiNotFoundException extends ApiRuntimeException {
public DownwardCiNotFoundException(CiVo rootCi, String ciName) {
super("nfcec.downwardcinotfoundexception.downwardcinotfoundexception", rootCi.getLabel(), rootCi.getName(), ciName);
}
-
- public DownwardCiNotFoundException(CiVo rootCi, String ciName, String configurationPath, String actualPath) {
- super("nfcec.downwardcinotfoundexception.downwardcinotfoundexception_b", rootCi.getLabel(), rootCi.getName(), ciName, configurationPath, actualPath);
- }
}
diff --git a/src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java b/src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java
index 2842604ff53825e186cfd1439e21b0fb034bc07d..a29bcfda3e13e3ffd2fb84d4c2e45494e5c29424 100644
--- a/src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java
+++ b/src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java
@@ -9,10 +9,6 @@ public class GlobalAttrValueIrregularException extends ApiRuntimeException {
super("nfceg.globalattrvalueirregularexception.globalattrvalueirregularexception", globalAttrVo.getLabel(), globalAttrVo.getName(), value);
}
- public GlobalAttrValueIrregularException(String ciLabel, String ciName, GlobalAttrVo globalAttrVo, String value, String configurationPath, String actualPath) {
- super("nfceg.globalattrvalueirregularexception.globalattrvalueirregularexception_b", ciLabel, ciName, globalAttrVo.getLabel(), globalAttrVo.getName(), value, configurationPath, actualPath);
- }
-
static public class MultipleException extends ApiRuntimeException {
public MultipleException(GlobalAttrVo globalAttrVo) {
super("全局属性“" + globalAttrVo.getLabel() + "”不支持多选");
diff --git a/src/main/java/neatlogic/framework/cmdb/resourcecenter/datasource/core/IResourceCenterDataSource.java b/src/main/java/neatlogic/framework/cmdb/resourcecenter/datasource/core/IResourceCenterDataSource.java
index c54b8f6d3dd4f73ca77a23d552d5d6092f7a35da..c71b536d9eca7e36a7537d492b8c479ec105486c 100644
--- a/src/main/java/neatlogic/framework/cmdb/resourcecenter/datasource/core/IResourceCenterDataSource.java
+++ b/src/main/java/neatlogic/framework/cmdb/resourcecenter/datasource/core/IResourceCenterDataSource.java
@@ -67,7 +67,7 @@ public interface IResourceCenterDataSource {
List getAppEnvListForSelect(BasePageVo searchVo, boolean needPage);
- List getAppEnvListByAppSystemIdAndInspectStatusList(Long appSystemId, List inspectStatusList);
+ List getAppEnvListByAppSystemIdAndAppModuleIdAndInspectStatusList(Long appSystemId, Long appModuleId, List inspectStatusList);
List getStateListForSelect(BasePageVo searchVo);