aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolegb <olegb@amdocs.com>2018-03-14 15:54:22 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-03-15 07:45:52 +0000
commit5979cf87e450fc2b47360cdfced44808dc2d82bf (patch)
tree4aa2874ca56bacbe3bfe1fc24c7e2cc1df219b88
parent700e84d56afcdf66c06b1980782be54d9e57fa3e (diff)
healed version of VSP is missing a Description
Change-Id: I71dcd3c40681de8e5a47ff6d36c140edc433af80 Issue-ID: SDC-1134 Signed-off-by: olegb <olegb@amdocs.com>
-rw-r--r--openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-core/src/main/java/org/openecomp/sdc/healing/impl/HealingManagerImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-core/src/main/java/org/openecomp/sdc/healing/impl/HealingManagerImpl.java b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-core/src/main/java/org/openecomp/sdc/healing/impl/HealingManagerImpl.java
index c13e89cb76..942bc43fd8 100644
--- a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-core/src/main/java/org/openecomp/sdc/healing/impl/HealingManagerImpl.java
+++ b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-core/src/main/java/org/openecomp/sdc/healing/impl/HealingManagerImpl.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -110,6 +110,7 @@ public class HealingManagerImpl implements HealingManager {
private Optional<Version> createNewVersion(String itemId, String versionId) {
Version newVersion = new Version();
newVersion.setBaseId(versionId);
+ newVersion.setDescription("Version is created by healing process");
try {
return Optional.of(versioningManager.create(itemId, newVersion, VersionCreationMethod.major));
} catch (Exception e) {