summaryrefslogtreecommitdiffstats
path: root/asdctool/src/main/resources/config
diff options
context:
space:
mode:
authormojahidi <mojahidul.islam@amdocs.com>2019-03-01 17:50:15 +0530
committerOren Kleks <orenkle@amdocs.com>2019-03-04 10:57:03 +0000
commit1f7c57414533b9886962ede7b19a29669fe7a59a (patch)
tree77bbf8f4f339a8f6a61f96e70ca701e2007a6ee3 /asdctool/src/main/resources/config
parente0c98681f9fcbae59eab32822784ae95c4768d40 (diff)
Requirement and capabilities feature
1. Enhance Service/VF/PNF to support Req & Cap 2. Added Type fetch APIs to fetch types from global types Change-Id: I2b749ec9da34e488421b8ebe311ccf03c4b7c0fd Issue-ID: SDC-2142 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
Diffstat (limited to 'asdctool/src/main/resources/config')
-rw-r--r--asdctool/src/main/resources/config/error-configuration.yaml113
1 files changed, 113 insertions, 0 deletions
diff --git a/asdctool/src/main/resources/config/error-configuration.yaml b/asdctool/src/main/resources/config/error-configuration.yaml
index 92ba0610ae..01f8ea4785 100644
--- a/asdctool/src/main/resources/config/error-configuration.yaml
+++ b/asdctool/src/main/resources/config/error-configuration.yaml
@@ -1689,4 +1689,117 @@ errors:
message: "Error: The server was acting as a gateway or proxy and received an invalid response from the upstream server",
messageId: "SVC4674"
}
+#---------SVC4675------------------------------
+# %1 - resource Id
+ CAPABILITY_NOT_FOUND: {
+ code: 400,
+ message: "Error: Capability not found in the resource '%1'.",
+ messageId: "SVC4675"
+ }
+#---------SVC4676------------------------------
+# %1 - resource Id
+ REQUIREMENT_NOT_FOUND: {
+ code: 400,
+ message: "Error: Requirement not found in the resource '%1'.",
+ messageId: "SVC4676"
+ }
+#---------SVC4677-----------------------------
+ CAPABILITY_NAME_MANDATORY: {
+ code: 404,
+ message: "Error: Capability name is mandatory, Capability name can't be empty.",
+ messageId: "SVC4677"
+ }
+#---------SVC4678-----------------------------
+ CAPABILITY_TYPE_MANDATORY: {
+ code: 404,
+ message: "Error: Capability type is mandatory, Capability type can't be empty.",
+ messageId: "SVC4678"
+ }
+#---------SVC4679-----------------------------
+# %1 - Capability Name
+ CAPABILITY_NAME_ALREADY_IN_USE: {
+ code: 400,
+ message: "Error: Capability name '%1' already in use, Your current changes will not be saved.",
+ messageId: "SVC4679"
+ }
+
+#---------SVC4680-----------------------------
+ REQUIREMENT_NAME_MANDATORY: {
+ code: 404,
+ message: "Error: Requirement name is mandatory, Requirement name can't be empty.",
+ messageId: "SVC4680"
+ }
+#---------SVC4681-----------------------------
+ REQUIREMENT_CAPABILITY_MANDATORY: {
+ code: 404,
+ message: "Error: Requirement capability is mandatory, Requirement capability can't be empty.",
+ messageId: "SVC4681"
+ }
+#---------SVC4682-----------------------------
+# %1 - Requirement Name
+ REQUIREMENT_NAME_ALREADY_IN_USE: {
+ code: 400,
+ message: "Error: Requirement name '%1' already in use, Your current changes will not be saved.",
+ messageId: "SVC4682"
+ }
+#---------SVC4683-----------------------------
+ MAX_OCCURRENCES_SHOULD_BE_GREATER_THAN_MIN_OCCURRENCES: {
+ code: 400,
+ message: "Error: maxOccurrences should be greater than minOccurrences",
+ messageId: "SVC4683"
+ }
+#---------SVC4684-----------------------------
+# %1 - Capability name
+ CAPABILITY_DELETION_NOT_ALLOWED_USED_IN_COMPOSITION: {
+ code: 409,
+ message: "Error: Capability '%1' can't be deleted, since it is used in service composition",
+ messageId: "SVC4684"
+ }
+#---------SVC4685-----------------------------
+# %1 - Requirement name
+ REQUIREMENT_DELETION_NOT_ALLOWED_USED_IN_COMPOSITION: {
+ code: 409,
+ message: "Error: Requirement '%1' can't be deleted, since it is used in service composition",
+ messageId: "SVC4685"
+ }
+#---------SVC4686-----------------------------
+ CAPABILITY_UPDATE_NOT_ALLOWED_USED_IN_COMPOSITION: {
+ code: 409,
+ message: "Error: Capability can't be updated, since it is used in service composition",
+ messageId: "SVC4686"
+ }
+
+#---------SVC4687-----------------------------
+ REQUIREMENT_UPDATE_NOT_ALLOWED_USED_IN_COMPOSITION: {
+ code: 409,
+ message: "Error: Requirement can't be updated, since it is used in service composition",
+ messageId: "SVC4687"
+ }
+#---------SVC4688-----------------------------
+ CAPABILITY_TYPE_CANNOT_BE_EMPTY: {
+ code: 500,
+ message: "Error: Capability types are empty. Please import the capability types.",
+ messageId: "SVC4688"
+ }
+#---------SVC4689-----------------------------
+ RELATIONSHIP_TYPE_ALREADY_EXIST: {
+ code: 409,
+ message: "Error: Relationship Type with name '%1' already exists.",
+ messageId: "SVC4689"
+ }
+#---------SVC4690-----------------------------
+# %1 - Requirement name
+ INVALID_REQUIREMENT_NAME: {
+ code: 400,
+ message: "Requirement name '%1' is invalid, Only alphanumeric chars, underscore and dot allowed",
+ messageId: "SVC4690"
+ }
+
+#---------SVC4691-----------------------------
+# %1 - Capability name
+ INVALID_CAPABILITY_NAME: {
+ code: 400,
+ message: "Capability name '%1' is invalid, Only alphanumeric chars, underscore and dot allowed",
+ messageId: "SVC4691"
+ } \ No newline at end of file