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 --- catalog-ui/src/assets/languages/en_US.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'catalog-ui/src/assets/languages') diff --git a/catalog-ui/src/assets/languages/en_US.json b/catalog-ui/src/assets/languages/en_US.json index 3c659dcf06..0aef293c9c 100644 --- a/catalog-ui/src/assets/languages/en_US.json +++ b/catalog-ui/src/assets/languages/en_US.json @@ -364,6 +364,8 @@ "=========== FAILURE MESSAGES ===========": "", "DELETE_FAILURE_MESSAGE_TEXT": "Deletion Failed", "DELETE_FAILURE_MESSAGE_TITLE": "Delete", + "FAILURE_LABEL": "Failure", + "TOSCA_FUNCTION_SELECT_ERROR": "Failed to select/deselect a TOSCA function from property: {{propertyName}}. Error: {{error}}", "=========== ON BOARDING MODAL ===========": "", "ON_BOARDING_MODAL_SUB_TITLE": "Select one of the software product component below:", "ON_BOARDING_GENERAL_INFO": "Displays a table of VSPs created using Onboarding.\nEach row displays details for a single VSP.\nWhen expanded you can either import CSAR files that are yet to be imported or update CSAR files that were previously imported.", @@ -510,8 +512,11 @@ "DELETE_POLICY_MSG": "Are you sure you want to delete policy '{{policyName}}'?", "=========== PROPERTIES ASSIGNMENT TOSCA FUNCTION BUTTON ===========": "", "TOSCA_FUNCTION_LABEL": "TOSCA function", - "DESELECT_INPUT_LABEL": "Deselect Input", + "CLEAR_VALUE_LABEL": "Clear Value", "INPUT_DROPDOWN_LABEL": "Input", + "TOSCA_FUNCTION_PROPERTY_DROPDOWN_LABEL": "Property", + "TOSCA_FUNCTION_NO_INPUT_FOUND": "No input found with type {{type}}", + "TOSCA_FUNCTION_NO_PROPERTY_FOUND": "No property found with type {{type}}", "=========== AUTOMATED UPGRADE ===========": "", "RESOURCE_UPGRADE_TITLE": "Upgrade Services", "SERVICE_UPGRADE_TITLE": "Update Service References", -- cgit 1.2.3-korg