aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2021-01-20 13:59:46 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-01-22 12:34:31 +0000
commit640bf9874707c23de7c4110c0fd1c40f6c2023bf (patch)
tree8be947c853b870a42914c7abf1c1e3b177b3a22b /catalog-be/src
parent1d8517d50cef8b6e115748541a927227fe06500f (diff)
Fix updating of category specific metadata
When updating a previously set value for a category specific metadata entry, the new value was not being persisted Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3441 Change-Id: Id47d53f4fddd3bfbdaf83ed354494602013f58fe
Diffstat (limited to 'catalog-be/src')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceBusinessLogic.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceBusinessLogic.java
index a38ffe9ee0..dfc9166064 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceBusinessLogic.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceBusinessLogic.java
@@ -1326,6 +1326,7 @@ public class ServiceBusinessLogic extends ComponentBusinessLogic {
validateAndUpdateEcompNaming(currentService, serviceUpdate);
currentService.setEnvironmentContext(serviceUpdate.getEnvironmentContext());
+ currentService.setCategorySpecificMetadata(serviceUpdate.getCategorySpecificMetadata());
return Either.left(currentService);
} catch (ComponentException exception) {