diff options
author | Gamboa, Gilbert <gilbert.g.gamboa@att.com> | 2020-07-01 17:02:06 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@att.com> | 2020-07-01 17:02:07 -0400 |
commit | 2db4b6c011703e68fd4da3ef231bbc7aeb54b7c1 (patch) | |
tree | 5e62e1a56044b199624ce28fa99fcd064d3acc5e /bpmn/so-bpmn-tasks/src/main/java | |
parent | 2507d0553146ff8c61e6361fa9bfcc8794f6447a (diff) |
Do not edit calling argument
Generated configuration id is reused for all flows
Modified code to clone original WorkflowResourceIds object
Issue-ID: SO-3016
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: I02c82a1a89524258ef00ec11b35deea322d7d781
Diffstat (limited to 'bpmn/so-bpmn-tasks/src/main/java')
-rw-r--r-- | bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionBBTasks.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionBBTasks.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionBBTasks.java index 9d68b5a3f0..be2abb21a2 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionBBTasks.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionBBTasks.java @@ -491,7 +491,7 @@ public class WorkflowActionBBTasks { BuildingBlock buildingBlock = new BuildingBlock().setBpmnFlowName(bbName).setMsoId(UUID.randomUUID().toString()); - WorkflowResourceIds workflowResourceIds = ebb.getWorkflowResourceIds(); + WorkflowResourceIds workflowResourceIds = new WorkflowResourceIds(ebb.getWorkflowResourceIds()); workflowResourceIds.setConfigurationId(configurationId); ExecuteBuildingBlock configBB = new ExecuteBuildingBlock().setaLaCarte(ebb.isaLaCarte()) .setApiVersion(ebb.getApiVersion()).setRequestAction(ebb.getRequestAction()) |