Add SO Same deployment id on deployed custom workflows 05/93605/2
authorBonkur, Venkat (vb8416) <vb8416@att.com>
Thu, 15 Aug 2019 04:07:09 +0000 (00:07 -0400)
committerBonkur, Venkat (vb8416) <vb8416@att.com>
Thu, 15 Aug 2019 13:08:25 +0000 (09:08 -0400)
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) <vb8416@att.com>
Change-Id: Ieaa5d1447405f75744d7c05bd8f7603c16edf5ea

bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java

index 093fba0..050a2af 100644 (file)
@@ -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());