From 5979cf87e450fc2b47360cdfced44808dc2d82bf Mon Sep 17 00:00:00 2001 From: olegb Date: Wed, 14 Mar 2018 15:54:22 +0200 Subject: healed version of VSP is missing a Description Change-Id: I71dcd3c40681de8e5a47ff6d36c140edc433af80 Issue-ID: SDC-1134 Signed-off-by: olegb --- .../main/java/org/openecomp/sdc/healing/impl/HealingManagerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openecomp-be') 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 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) { -- cgit 1.2.3-korg