healed version of VSP is missing a Description 65/35765/3
authorolegb <olegb@amdocs.com>
Wed, 14 Mar 2018 13:54:22 +0000 (15:54 +0200)
committerAvi Gaffa <avi.gaffa@amdocs.com>
Thu, 15 Mar 2018 07:45:52 +0000 (07:45 +0000)
Change-Id: I71dcd3c40681de8e5a47ff6d36c140edc433af80
Issue-ID: SDC-1134
Signed-off-by: olegb <olegb@amdocs.com>
openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-core/src/main/java/org/openecomp/sdc/healing/impl/HealingManagerImpl.java

index c13e89c..942bc43 100644 (file)
@@ -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) {