+ private void sendAllNotificationForCsarHandler(INotificationData iNotif, CsarHandler csar,\r
+ NotificationType notificationType, DistributionStatusEnum distributionStatus, String errorMessage) {\r
+ if (csar != null) {\r
+ // Notify for the CSAR\r
+ this.sendSdcNotification(notificationType, csar.getArtifactElement().getArtifactURL(),\r
+ sdcConfig.getConsumerID(), iNotif.getDistributionID(), distributionStatus, errorMessage,\r
+ System.currentTimeMillis());\r
+ // Notify for all VF resources found\r
+ for (Entry<String, BlueprintArtifact> blueprint : csar.getMapOfBlueprints().entrySet()) {\r
+ // Normally always 1 artifact in resource for Clamp as we\r
+ // specified\r
+ // only VF_METADATA type\r
+ this.sendSdcNotification(notificationType,\r
+ blueprint.getValue().getResourceAttached().getArtifacts().get(0).getArtifactURL(),\r
+ sdcConfig.getConsumerID(), iNotif.getDistributionID(), distributionStatus, errorMessage,\r
+ System.currentTimeMillis());\r
+ }\r
+ } else {\r
+ this.sendSdcNotification(notificationType, null, sdcConfig.getConsumerID(), iNotif.getDistributionID(),\r
+ distributionStatus, errorMessage, System.currentTimeMillis());\r
+ }\r
+ }\r
+\r