From b43eb22f91ffdc1e2ba5d82b3dc1a2c4250d06e0 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Wed, 18 May 2022 22:09:25 +0100 Subject: 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 --- .../src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'catalog-dao') 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 } -- cgit 1.2.3-korg