From: Bonkur, Venkat (vb8416) Date: Thu, 15 Aug 2019 04:07:09 +0000 (-0400) Subject: Add SO Same deployment id on deployed custom workflows X-Git-Tag: 1.5.2~66^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F93605%2F2;p=so.git 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 --- 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());