From db8c5258cbae99abb8e7cb4d1e3f5341bed7608f Mon Sep 17 00:00:00 2001 From: "Kuleshov, Elena" Date: Mon, 7 Oct 2019 09:53:20 -0400 Subject: Add model info on CHANGEASSIGN req to SDNC Add model info on CHANGEASSIGN req to SDNC Issue-ID: SO-2397 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Ieaf61e065273581512d797055dd7aef6f2a942d7 --- .../so/client/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bpmn/so-bpmn-tasks/src/main') diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java index 6ddb292a6c..a41c79b171 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java @@ -96,6 +96,10 @@ public class VfModuleTopologyOperationRequestMapper { genericResourceApiSvcAction = GenericResourceApiSvcActionEnumeration.UNASSIGN; requestAction = GenericResourceApiRequestActionEnumeration.DELETEVFMODULEINSTANCE; includeModelInformation = false; + } else if (svcAction.equals(SDNCSvcAction.CHANGE_ASSIGN)) { + genericResourceApiSvcAction = GenericResourceApiSvcActionEnumeration.CHANGEASSIGN; + requestAction = GenericResourceApiRequestActionEnumeration.CREATEVFMODULEINSTANCE; + includeModelInformation = true; } String sdncReqId = UUID.randomUUID().toString(); -- cgit 1.2.3-korg