From 91abd701e0e2b6b35c6bc4e42b280c60be23424c Mon Sep 17 00:00:00 2001 From: vasraz Date: Mon, 31 Jul 2023 20:19:20 +0100 Subject: Introduce error message for missing properties during the service import Signed-off-by: Vasyl Razinkov Change-Id: Ic0e3afaeea09ddbd0acdc31fb2fd2ad68a22cbb1 Issue-ID: SDC-4589 --- .../sdc-catalog-be/files/default/error-configuration.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml') 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 b91e378239..4a9b5d34f4 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 @@ -2918,3 +2918,11 @@ errors: message: "Error: Missing metadata in Service", messageId: "SVC4020" } + + #---------SVC4021----------------------------- + # %1 - missing properties list + MISSING_PROPERTIES_ERROR: { + code: 402, + message: "Error: Following properties are missing in CSAR:\n%1", + messageId: "SVC4021" + } -- cgit 1.2.3-korg