From b3d55d3dd8508919ae48d5f60425aa13e5731ac2 Mon Sep 17 00:00:00 2001 From: aribeiro Date: Tue, 18 May 2021 16:31:28 +0100 Subject: Add Support for creating model type Add new vertex type called "model" was added to represent models Add new edge type called MODEL_ELEMENT was added to connect a tosca type to a model Add new edge type called MODEL was added to connect a resource/service to the model it is based on Issue-ID: SDC-3596 Signed-off-by: MichaelMorris Signed-off-by: aribeiro Change-Id: I310e14d0cf5a9ca0eb0bda592efe8a3baf73749c --- .../sdc-catalog-be/files/default/error-configuration.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'catalog-be/src/main/docker/backend') diff --git a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml index b49c111c79..2c6a0c852b 100644 --- a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml +++ b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml @@ -2464,4 +2464,12 @@ errors: code: 500, message: "An unexpected error occurred while updating the capability '%1'.", messageId: "SVC4143" - } \ No newline at end of file + } + + #---------SVC4144------------------------------ + # %1 - "Model name" + MODEL_ALREADY_EXISTS: { + code: 409, + message: "Error: Model name '%1' already exists.", + messageId: "SVC4144" + } -- cgit 1.2.3-korg