From 878a6668ed9031e61c672d5554573fb13ae05cde Mon Sep 17 00:00:00 2001 From: sanket12345 Date: Tue, 18 Oct 2022 17:13:00 +0530 Subject: Adding CNF Upgrade Code Enhancements -Code Enhanced for CNF- Upgrade. -Code changes Deactivate older version of VfModule & VNFs while upgradation by giving older version inputs to SDNC. -Enabled onap-model-info true for Deactivate, which can be now seen in logs while Deactivation of VfModule/VNF. -New changes enable to fetch data from UserParams instead of RelatedInstanceList, which will further simplify the payload. Issue-ID: SO-3857 Change-Id: I99f71f025d813b413f82f1a802bab8867d0a9cbb Signed-off-by: sanket12345 --- .../sdnc/mapper/VfModuleTopologyOperationRequestMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/so-bpmn-tasks') diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java index 901187e231..5852767957 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/sdnc/mapper/VfModuleTopologyOperationRequestMapper.java @@ -87,7 +87,7 @@ public class VfModuleTopologyOperationRequestMapper { } else if (svcAction.equals(SDNCSvcAction.DEACTIVATE)) { genericResourceApiSvcAction = GenericResourceApiSvcActionEnumeration.DEACTIVATE; requestAction = GenericResourceApiRequestActionEnumeration.DELETEVFMODULEINSTANCE; - includeModelInformation = false; + includeModelInformation = true; } else if (svcAction.equals(SDNCSvcAction.DELETE)) { genericResourceApiSvcAction = GenericResourceApiSvcActionEnumeration.DELETE; requestAction = GenericResourceApiRequestActionEnumeration.DELETEVFMODULEINSTANCE; -- cgit 1.2.3-korg