aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeshu Kumar Mudiganti <seshukumar.mudiganti@windriver.com>2022-11-02 12:37:59 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-02 12:37:59 +0000
commitbd3dc93968213d75bda6eeb6a8a8f524bfe38a4a (patch)
treef75542ee253d1a37294d9809ef27b2b86cbef841
parenta43dd96cf991ef7772c08f4c2cff82e113ebc762 (diff)
parent6ac54d76c0aceb0e18a9a37be19f40198c3fabaa (diff)
Merge "Fix for executing core NSSMF activate flow"
-rw-r--r--bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSI.groovy4
1 files changed, 2 insertions, 2 deletions
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
+}