summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-10-12 14:31:49 +0200
committersebdet <sebastien.determe@intl.att.com>2020-10-12 14:31:49 +0200
commitb8e09541437ff14e9f89c2211aafdee348d07bc9 (patch)
tree5442b5fea557a6d915e51bd3521ff1758cba4a35
parentdbf8757410e7bc8b1db6bd8890144ec822ce810e (diff)
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 <sebastien.determe@intl.att.com> Change-Id: Ic58a93d44506928166500d801891ebe8044adf28
-rw-r--r--src/main/java/org/onap/clamp/clds/sdc/controller/SdcSingleController.java2
1 files changed, 1 insertions, 1 deletions
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,