re base code
[sdc.git] / catalog-be / src / test / resources / config / catalog-be / error-configuration.yaml
index 69fef0f..7212f16 100644 (file)
@@ -575,13 +575,6 @@ errors:
         message: "Error: Invalid distribution environment.",
         messageId: "SVC4138"
     }
-#---------SVC4139------------------------------
-# %1 - service name
-    DISTRIBUTION_ARTIFACT_NOT_FOUND: {
-        code: 409,
-        message: "Error: Service '%1' cannot be distributed due to missing deployment artifacts.",
-        messageId: "SVC4139"
-    }
 #---------SVC4200------------------------------
 # %1 - Service/Resource
 # %2 - max icon name length
@@ -1498,7 +1491,7 @@ errors:
 # %2 - VF name
 # %3 - component type [VF ]
     GROUP_IS_MISSING: {
-        code: 400,
+        code: 404,
         message: "Error: Invalid Content. The groups '%1' cannot be found under %2 %3.",
         messageId: "SVC4624"
     }
@@ -1848,90 +1841,6 @@ errors:
         message: "Error: Artifact name is invalid.",
         messageId: "SVC4670"
     }
-#---------SVC4671------------------------------
-# %1 - VSP name
-# %2 - VFC name
-    CFVC_LOOP_DETECTED: {
-        code: 400,
-        message: 'Error: VSP %1 cannot be imported. The VSP contains internal loop in VFC %2',
-        messageId: "SVC4671"
-    }
-#---------SVC4672------------------------------
-# %1 - capability uniqueId
-# %2 - instance uniqueId
-# %3 - container uniqueId
-    CAPABILITY_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: {
-        code: 404,
-        message: "Error: Requested capability %1 of instance %2 was not found on the container %3.",
-        messageId: "SVC4672"
-    }
-#---------SVC4673------------------------------
-# %1 - requirement uniqueId
-# %2 - instance uniqueId
-# %3 - container uniqueId
-    REQUIREMENT_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: {
-        code: 404,
-        message: "Error: Requested requirement %1 of instance %2 was not found on the container %3.",
-        messageId: "SVC4673"
-    }
-#---------SVC4674-----------------------------
-# %1 - relation Id
-# %2 - container uniqueId
-    RELATION_NOT_FOUND: {
-        code: 404,
-        message: "Error: Requested relation %1 was not found on the container %2.",
-        messageId: "SVC4674"
-    }
-
-
-#---------SVC4675------------------------------
-    INVALID_SERVICE_STATE: {
-        code: 409,
-        message: "Service state is invalid for this action",
-        messageId: "SVC4675"
-    }
-
-#---------SVC4676------------------------------
-    INVALID_RESPONSE_FROM_PROXY: {
-        code: 502,
-        message: "Error: The server was acting as a gateway or proxy and received an invalid response from the upstream server",
-        messageId: "SVC4676"
-    }
-
-#---------SVC4677------------------------------
-    API_RESOURCE_NOT_FOUND: {
-        code: 404,
-        message: "Error: Requested '%1' was not found.",
-        messageId: "SVC4677"
-    }
-
-#---------SVC4678------------------------------
-    BAD_REQUEST_MISSING_RESOURCE: {
-        code: 400,
-        message: "Error: The required resource name/id  is missing in the request",
-        messageId: "SVC4678"
-    }
-#---------SVC4679------------------------------
-# %1 invalid forwarding path name
-    FORWARDING_PATH_INVALID_NAME: {
-        code: 400,
-        message: "Invalid forwarding path name : '%1'.",
-        messageId: "SVC4679"
-    }
-#---------SVC4680------------------------------
-# %1 Forwarding path name
-    FORWARDING_PATH_INVALID_UNIQUE_NAME: {
-        code: 400,
-        message: "Forwarding path name is not unique : '%1'.",
-        messageId: "SVC4680"
-    }
-#---------SVC4681------------------------------
-# %1 Forwarding path missing name
-    FORWARDING_PATH_MISSING_NAME: {
-        code: 400,
-        message: "Forwarding path name is missing.",
-        messageId: "SVC4681"
-    }
 #---------SVC4671------------------------------ 
 # %1 - VSP name
 # %2 - VFC name