Merge "Fix for executing core NSSMF activate flow"
authorSeshu Kumar Mudiganti <seshukumar.mudiganti@windriver.com>
Wed, 2 Nov 2022 12:37:59 +0000 (12:37 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 2 Nov 2022 12:37:59 +0000 (12:37 +0000)
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSI.groovy

index ad9dfa3..44a10a1 100644 (file)
@@ -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
+}