Implement 'Update Service by importing Tosca Template'-story
[sdc.git] / catalog-be / src / main / resources / config / error-configuration.yaml
index a4b56d5..ad8adce 100644 (file)
@@ -2877,4 +2877,36 @@ errors:
         code: 409,
         message: "Cannot change substitution node type as properties of the existing type are referenced by properties %1.",
         messageId: "SVC4017"
-    }
\ No newline at end of file
+    }
+
+    #---------SVC4018-----------------------------
+    # %1 - componentType
+    # %2 - component id
+    CANNOT_ARCHIVE_SYSTEM_DEPLOYED_RESOURCES: {
+        code: 409,
+        message: "System deployed %1 cannot be archived. Component: '%2'",
+        messageId: "SVC4018"
+    }
+
+    #---------SVC4010-----------------------------
+    # %1 - error's list
+    YAML_IS_INVALID: {
+        code: 402,
+        message: "Error: Uploaded YAML file is invalid.\n%1",
+        messageId: "SVC4010"
+    }
+
+    #---------SVC4019-----------------------------
+    # %1 - metadata property name
+    UNCHANGEABLE_PROPERTY_ERROR: {
+        code: 402,
+        message: "Error: '%1' cannot change",
+        messageId: "SVC4019"
+    }
+
+    #---------SVC4020-----------------------------
+    MISSING_SERVICE_METADATA: {
+        code: 402,
+        message: "Error: Missing metadata in Service",
+        messageId: "SVC4020"
+    }