summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-07-31 20:19:20 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-08-01 14:57:25 +0000
commit91abd701e0e2b6b35c6bc4e42b280c60be23424c (patch)
tree56eb36b18a6c5e43d06bc38027ead3a8c453d343 /catalog-be/src/main/resources
parenta513e9de021a02397c797c7fe460d8e37765f9f7 (diff)
Introduce error message for missing properties during the service import
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic0e3afaeea09ddbd0acdc31fb2fd2ad68a22cbb1 Issue-ID: SDC-4589
Diffstat (limited to 'catalog-be/src/main/resources')
-rw-r--r--catalog-be/src/main/resources/config/error-configuration.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/config/error-configuration.yaml b/catalog-be/src/main/resources/config/error-configuration.yaml
index ad8adce5fc..395d1ca031 100644
--- a/catalog-be/src/main/resources/config/error-configuration.yaml
+++ b/catalog-be/src/main/resources/config/error-configuration.yaml
@@ -2910,3 +2910,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"
+ }