From: sanket12345 Date: Wed, 2 Nov 2022 09:00:22 +0000 (+0530) Subject: Fix for executing core NSSMF activate flow X-Git-Tag: 1.11.0^0 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=so.git;a=commitdiff_plain;h=6ac54d76c0aceb0e18a9a37be19f40198c3fabaa Fix for executing core NSSMF activate flow -Code change to execute NSSMF activate flow Issue-ID: SO-3838 Change-Id: I69f71f025d913b718f82f1b902dab0067d0d8cdb Signed-off-by: sanket12345 --- diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSI.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSI.groovy index ad9dfa3425..44a10a1adc 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSI.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSI.groovy @@ -127,7 +127,7 @@ class DoActivateCoreNSSI extends AbstractServiceTaskProcessor { logger.debug("networkServiceInstanceId: {} networkServiceInstanceName: {} ",networkServiceInstanceId, networkServiceInstanceName) execution.setVariable("networkServiceInstanceId", networkServiceInstanceId) execution.setVariable("networkServiceInstanceName", networkServiceInstanceName) - } else if("slice-profile-instance".equals(role)) { + } else if("slice-profile".equals(role)) { String orchestrationStatus= relatedServiceInstanceObj.getOrchestrationStatus() String sNssai = relatedServiceInstanceObj.getEnvironmentContext() if(sNssai.equals(execution.getVariable("sNssai"))) { @@ -682,4 +682,4 @@ class DoActivateCoreNSSI extends AbstractServiceTaskProcessor { logger.debug(Prefix + " **** Exit DoActivateCoreNSSI ::: prepareFailedOperationStatusUpdate ****") } -} \ No newline at end of file +}