Workflow artifact in distribution notification
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / impl / ServiceBusinessLogic.java
index 6c0e0c9..ba3b8df 100644 (file)
@@ -2324,7 +2324,12 @@ public class ServiceBusinessLogic extends ComponentBusinessLogic {
 
     @Override
     public void setDeploymentArtifactsPlaceHolder(Component component, User user) {
-
+        Service service = (Service) component;
+        Map<String, ArtifactDefinition> artifactMap = service.getDeploymentArtifacts();
+        if (artifactMap == null) {
+            artifactMap = new HashMap<>();
+        }
+        service.setDeploymentArtifacts(artifactMap);
     }
 
     @Override