From 34aad2f1cf716655ddd9bb5b5db1fe022999bb3e Mon Sep 17 00:00:00 2001 From: vasraz Date: Tue, 8 Aug 2023 11:14:52 +0100 Subject: Update error message for missing sub mapping properties Signed-off-by: Vasyl Razinkov Change-Id: I4e7a8dec10f909f55b0f3af60d566654943ad190 Issue-ID: SDC-4592 --- .../cookbooks/sdc-catalog-be/files/default/error-configuration.yaml | 2 +- catalog-be/src/main/resources/config/error-configuration.yaml | 2 +- .../src/test/resources/config/catalog-be/error-configuration.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'catalog-be') 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" } -- cgit 1.2.3-korg