X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=catalog-be%2Fsrc%2Fmain%2Fresources%2Fconfig%2Ferror-configuration.yaml;h=54097500cf36d321e4a99226370e39765bc7f13e;hb=11ffaa62b28c517e2eb3b765ab6ec54f18f1ef6a;hp=c53efc21b11a3696b85a121da2711aecdce44765;hpb=cf04a1a714ef4a1df973929dc750232b4d67d7b4;p=sdc.git diff --git a/catalog-be/src/main/resources/config/error-configuration.yaml b/catalog-be/src/main/resources/config/error-configuration.yaml index c53efc21b1..54097500cf 100644 --- a/catalog-be/src/main/resources/config/error-configuration.yaml +++ b/catalog-be/src/main/resources/config/error-configuration.yaml @@ -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------------------------------ @@ -2862,4 +2862,59 @@ errors: CAPABILITY_NOT_FOUND: code: 404 message: "Capability '%1' was not found for model '%2'." - messageId: "SVC4014" \ No newline at end of file + messageId: "SVC4014" + + #---------SVC4015----------------------------- + CANNOT_CHANGE_CONSTRAINTS: { + code: 400, + message: "Cannot change this properties constraints as the resource is an instance.", + messageId: "SVC4015" + } + + #---------SVC4017----------------------------- + # %1 - Map of component instance and properties + SUBSTITUTION_NODE_TYPE_PROPERTY_IN_USE: { + code: 409, + message: "Cannot change substitution node type as properties of the existing type are referenced by properties %1.", + messageId: "SVC4017" + } + + #---------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" + } + + #---------SVC4021----------------------------- + # %1 - missing properties list + MISSING_PROPERTIES_ERROR: { + code: 402, + 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" + }