summaryrefslogtreecommitdiffstats
path: root/catalog-dao
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2022-05-18 22:09:25 +0100
committerMichael Morris <michael.morris@est.tech>2022-05-30 12:38:12 +0000
commitb43eb22f91ffdc1e2ba5d82b3dc1a2c4250d06e0 (patch)
tree3161ca6acc065c8aeacc37e650279ee392612fa8 /catalog-dao
parentc64297165be8ea0a07ba762dfcdb156e3f08e956 (diff)
Support of get_property in property assignment
Refactors the current way store a get_input function allowing to support different get functions (get_property in this case). The information stored allows recreating and correctly validating the get function. Fix get function schema validation, the schema was being ignored. Improve validation error status and messages. Improve tosca get function dialog. Change-Id: I5de5f96dfba3c7a0fbb458885af5528bea7835aa Issue-ID: SDC-4014 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-dao')
-rw-r--r--catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java8
1 files changed, 7 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 3b5c9955d2..6b911e036e 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
@@ -131,5 +131,11 @@ public enum ActionStatus {
//TOSCA node types
INVALID_NODE_TYPES_YAML,
//system deployed resources
- CANNOT_DELETE_SYSTEM_DEPLOYED_RESOURCES
+ CANNOT_DELETE_SYSTEM_DEPLOYED_RESOURCES,
+ TOSCA_GET_FUNCTION_INPUTS_ONLY_SELF_ERROR,
+ TOSCA_GET_FUNCTION_INPUTS_NOT_FOUND,
+ TOSCA_GET_FUNCTION_TYPE_DIVERGE,
+ TOSCA_GET_FUNCTION_SCHEMA_DIVERGE,
+ TOSCA_GET_FUNCTION_PROPERTY_DATA_TYPE_NOT_FOUND,
+ TOSCA_GET_FUNCTION_PROPERTY_NOT_FOUND
}