Fix 'Order of TOSCA.meta field is hardcoded'-bug
[sdc.git] / catalog-be / src / main / docker / backend / chef-repo / cookbooks / sdc-catalog-be / files / default / error-configuration.yaml
index 4a9b5d3..1b4a9b1 100644 (file)
@@ -1327,7 +1327,7 @@ errors:
     # %1 - csar file name
     CSAR_INVALID_FORMAT: {
         code: 400,
-        message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.",
+        message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.\n%2",
         messageId: "SVC4605"
     }
     #---------SVC4606------------------------------
@@ -2923,6 +2923,14 @@ errors:
     # %1 - missing properties list
     MISSING_PROPERTIES_ERROR: {
         code: 402,
-        message: "Error: Following properties are missing in CSAR:\n%1",
+        message: "Error: The following properties:\n%1\nused in the substitution mapping node type in CSAR are missing from the system. Please add these to the node in the SDC catalog prior to importing the template",
         messageId: "SVC4021"
     }
+
+    # %1 - Output name
+    #---------SVC4022-----------------------------
+    OUTPUT_NAME_ALREADY_EXIST: {
+        code: 400,
+        message: "Output name '%1' already exist.",
+        messageId: "SVC4022"
+    }