From 6060c5f90ef6b6683f911f93348b291ec347bd2a Mon Sep 17 00:00:00 2001 From: "Bonkur, Venkat (vb8416)" Date: Thu, 15 Aug 2019 00:07:09 -0400 Subject: Add SO Same deployment id on deployed custom workflows Added the change to call the DeploymentBuilder.deploy() method after going through all the custom workflows. Thus all the workflows deployed and they startup correctly. Issue-ID: SO-2210 Signed-off-by: Bonkur, Venkat (vb8416) Change-Id: Ieaa5d1447405f75744d7c05bd8f7603c16edf5ea --- .../org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/mso-infrastructure-bpmn') diff --git a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java index 093fba089d..050a2af06a 100644 --- a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java +++ b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java @@ -136,8 +136,8 @@ public class MSOInfrastructureApplication { deploymentBuilder.addString(workflowName, workflowBody); } deploymentBuilder.enableDuplicateFiltering(true); - deploymentBuilder.deploy(); } + deploymentBuilder.deploy(); } } catch (Exception e) { logger.warn("Unable to deploy custom workflows, " + e.getMessage()); -- cgit 1.2.3-korg