From 2db4b6c011703e68fd4da3ef231bbc7aeb54b7c1 Mon Sep 17 00:00:00 2001 From: "Gamboa, Gilbert" Date: Wed, 1 Jul 2020 17:02:06 -0400 Subject: 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) Change-Id: I02c82a1a89524258ef00ec11b35deea322d7d781 --- .../so/bpmn/infrastructure/workflow/tasks/WorkflowActionBBTasks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/so-bpmn-tasks/src/main/java') 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()) -- cgit 1.2.3-korg