From b8e09541437ff14e9f89c2211aafdee348d07bc9 Mon Sep 17 00:00:00 2001 From: sebdet Date: Mon, 12 Oct 2020 14:31:49 +0200 Subject: Fix sdc notif when already_deployed Send also a notif when the deployment has already been done Issue-ID: CLAMP-955 Signed-off-by: sebdet Change-Id: Ic58a93d44506928166500d801891ebe8044adf28 --- .../java/org/onap/clamp/clds/sdc/controller/SdcSingleController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/org/onap/clamp/clds/sdc/controller/SdcSingleController.java b/src/main/java/org/onap/clamp/clds/sdc/controller/SdcSingleController.java index 1885cc491..f9b43abb7 100644 --- a/src/main/java/org/onap/clamp/clds/sdc/controller/SdcSingleController.java +++ b/src/main/java/org/onap/clamp/clds/sdc/controller/SdcSingleController.java @@ -280,8 +280,8 @@ public class SdcSingleController { csarInstaller.installTheCsar(csar); sendAllNotificationForCsarHandler(notificationData, csar, NotificationType.DEPLOY, DistributionStatusEnum.DEPLOY_OK, null); - this.sendComponentStatus(notificationData, DistributionStatusEnum.COMPONENT_DONE_OK, null); } + this.sendComponentStatus(notificationData, DistributionStatusEnum.COMPONENT_DONE_OK, null); } catch (SdcArtifactInstallerException | SdcToscaParserException e) { logger.error("SdcArtifactInstallerException exception caught during the notification processing", e); sendAllNotificationForCsarHandler(notificationData, csar, NotificationType.DEPLOY, -- cgit 1.2.3-korg