diff options
author | talig <talig@amdocs.com> | 2018-11-15 15:45:57 +0200 |
---|---|---|
committer | talig <talig@amdocs.com> | 2018-11-15 15:45:57 +0200 |
commit | b9540bd120416956a8a0b58fee04d04c465cb1ae (patch) | |
tree | e2f71bd553b7bf63b041b00a60b885f6f8fc1584 /workflow-designer-be/src | |
parent | b2f59dcd76a7f5fc515b5ad4763121bb95f8c49a (diff) |
Fix bug in update input/output parameters
Change-Id: I52a50ab4730b021d190a3a9bcd3830bfaf749871
Issue-ID: SDC-1915
Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'workflow-designer-be/src')
-rw-r--r-- | workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java index 75629d0b..f2f8c276 100644 --- a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java +++ b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java @@ -266,6 +266,7 @@ public class WorkflowVersionManagerImpl implements WorkflowVersionManager { if (retrievedParam == null) { parameterRepository.create(workflowId, versionId, role, parameter); } else { + parameter.setId(retrievedParam.getId()); parameterRepository.update(workflowId, versionId, role, parameter); namesOfParamsToKeep.add(parameter.getName()); } |