summaryrefslogtreecommitdiffstats
path: root/catalog-dao
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-04-21 18:19:55 +0100
committerKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-04-22 12:53:08 +0100
commit8a00bcdaa12cf68de158c7fd79929ec95e96c53f (patch)
tree96c7ca84409653c05b7be9143106159882cd743c /catalog-dao
parenta472f40284a862079edbef78cb5a5bd055edbb63 (diff)
Delete VFC - restrict deletion of system deployed VFCs
Issue-ID: SDC-3981 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ib475bb4abbaabc072180a4f1ae85c7427bbbf771
Diffstat (limited to 'catalog-dao')
-rw-r--r--catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java
index 1862f85a47..922853e8f0 100644
--- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java
+++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java
@@ -129,5 +129,7 @@ public enum ActionStatus {
//ArtifactType
ARTIFACT_TYPE_ALREADY_EXIST, FAILED_CREATE_ARTIFACTS_TYPES,
//TOSCA node types
- INVALID_NODE_TYPES_YAML
+ INVALID_NODE_TYPES_YAML,
+ //system deployed resources
+ CANNOT_DELETE_SYSTEM_DEPLOYED_RESOURCES
}