diff options
author | Steve Smokowski <ss835w@att.com> | 2019-02-01 13:16:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-01 13:16:02 +0000 |
commit | b7ea3fe50e6c685a21f8c119d690ea3b1458ac6f (patch) | |
tree | f3352b5905354d653c11a8c9bc63cdf0dfb8d984 /bpmn/so-bpmn-tasks | |
parent | 71c4708528c635dcc12575d5e3118e01b32d46cc (diff) | |
parent | b0e28282a1bb8f09141f6d93438a75d25df0b942 (diff) |
Merge "added list of flows to execution for cockpit"
Diffstat (limited to 'bpmn/so-bpmn-tasks')
-rw-r--r-- | bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java index bff320a0b6..0c0e1464b2 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java @@ -321,12 +321,13 @@ public class WorkflowAction { if (flowsToExecute.isEmpty()) { throw new IllegalStateException("Macro did not come up with a valid execution path."); } - + List<String> flowNames = new ArrayList<>(); logger.info("List of BuildingBlocks to execute:"); for (ExecuteBuildingBlock ebb : flowsToExecute) { logger.info(ebb.getBuildingBlock().getBpmnFlowName()); + flowNames.add(ebb.getBuildingBlock().getBpmnFlowName()); } - + execution.setVariable("flowNames", flowNames); execution.setVariable(G_CURRENT_SEQUENCE, 0); execution.setVariable("retryCount", 0); execution.setVariable("isRollback", false); |