From: vasraz Date: Tue, 8 Aug 2023 10:14:52 +0000 (+0100) Subject: Update error message for missing sub mapping properties X-Git-Tag: 1.13.4~31 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdc.git;a=commitdiff_plain;h=34aad2f1cf716655ddd9bb5b5db1fe022999bb3e Update error message for missing sub mapping properties Signed-off-by: Vasyl Razinkov Change-Id: I4e7a8dec10f909f55b0f3af60d566654943ad190 Issue-ID: SDC-4592 --- diff --git a/asdctool/src/main/resources/config/error-configuration.yaml b/asdctool/src/main/resources/config/error-configuration.yaml index 3e31fa35b1..23170b55b7 100644 --- a/asdctool/src/main/resources/config/error-configuration.yaml +++ b/asdctool/src/main/resources/config/error-configuration.yaml @@ -2906,6 +2906,6 @@ errors: # %1 - missing properties list MISSING_PROPERTIES_ERROR: { code: 402, - message: "Error: Following properties are missing in CSAR:\n%1", + 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" } 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 4a9b5d34f4..c5b417d725 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 @@ -2923,6 +2923,6 @@ errors: # %1 - missing properties list MISSING_PROPERTIES_ERROR: { code: 402, - message: "Error: Following properties are missing in CSAR:\n%1", + 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" } diff --git a/catalog-be/src/main/resources/config/error-configuration.yaml b/catalog-be/src/main/resources/config/error-configuration.yaml index 395d1ca031..d51b39184d 100644 --- a/catalog-be/src/main/resources/config/error-configuration.yaml +++ b/catalog-be/src/main/resources/config/error-configuration.yaml @@ -2915,6 +2915,6 @@ errors: # %1 - missing properties list MISSING_PROPERTIES_ERROR: { code: 402, - message: "Error: Following properties are missing in CSAR:\n%1", + 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" } diff --git a/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml b/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml index b4c2c7aa81..e2ddd95378 100644 --- a/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml +++ b/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml @@ -2901,6 +2901,6 @@ errors: # %1 - missing properties list MISSING_PROPERTIES_ERROR: { code: 402, - message: "Error: Following properties are missing in CSAR:\n%1", + 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" }