aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-08-08 11:14:52 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-08-08 11:41:28 +0000
commit34aad2f1cf716655ddd9bb5b5db1fe022999bb3e (patch)
treeb6048eb99a67050dabf10f2972a354e5d072ca6b /catalog-be/src
parent91abd701e0e2b6b35c6bc4e42b280c60be23424c (diff)
Update error message for missing sub mapping properties
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4e7a8dec10f909f55b0f3af60d566654943ad190 Issue-ID: SDC-4592
Diffstat (limited to 'catalog-be/src')
-rw-r--r--catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml2
-rw-r--r--catalog-be/src/main/resources/config/error-configuration.yaml2
-rw-r--r--catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml2
3 files changed, 3 insertions, 3 deletions
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"
}