SequenceFlow_1n61wit isNetworkActiveNo_SequenceFlow isAAIQueryNameNo_SequenceFlow SequenceFlow_21 SequenceFlow_21 isNameSentNo_SequenceFlow SequenceFlow_32 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTQueryAAICloudRegion(execution) isSdncRpc1No_SequenceFlow1 SequenceFlow_11 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareSDNCRequest(execution) SequenceFlow_12 SequenceFlow_0d93bqw SequenceFlow_5 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.validateSDNCResponse(execution) SequenceFlow_5 sdncTopoNo_SequenceFlow sdncTopoYes_SequenceFlow #{execution.getVariable("CRENWKI_sdncResponseSuccess" ) == true} SequenceFlow_34 sdncTopoNo_SequenceFlow SequenceFlow_34 sdncTopoYes_SequenceFlow SequenceFlow_16 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTQueryAAINetworkId(execution) SequenceFlow_11 SequenceFlow_12 SequenceFlow_59 SequenceFlow_13 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.validateCreateNetworkResponse(execution) isAAIQueryNameYes_SequenceFlow isNetworkActiveYes_SequenceFlow isNetworkActiveNo_SequenceFlow #{execution.getVariable("CRENWKI_orchestrationStatus") == "ACTIVE"} SequenceFlow_6 isAAIQueryNameNo_SequenceFlow isAAIQueryNameYes_SequenceFlow #{execution.getVariable("CRENWKI_isAAIqueryNameGood") == true} SequenceFlow_23 isRollbackOn_SequenceFlow_Yes isPONR_Yes_SequenceFlow isPONR_No_SequenceFlow #{execution.getVariable("CRENWKI_isPONR") == true} SequenceFlow_0k7y7b5 sdncOk_Yeso_ExclusiveGateway sdncOk_No_ExclusiveGateway #{execution.getVariable("CRENWKI_isSdncRollbackNeeded" ) == true} isSdncRpc4No_SequenceFlow4 SequenceFlow_0lndbvr import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareSDNCRollbackRequest(execution) isPONR_No_SequenceFlow SequenceFlow_0cly7z2 SequenceFlow_12tlymf #{execution.getVariable("CRENWKI_isSdncActivateRollbackNeeded" ) == true} sdncOk_Yeso_ExclusiveGateway isSdncRpc4Yes_SequenceFlow4 isSdncRpc4No_SequenceFlow4 #{execution.getVariable("sdncVersion") != '1610'} isSdncRpc4Yes_SequenceFlow4 SequenceFlow_0bwpkkb import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareRpcSDNCRollbackRequest(execution) SequenceFlow_1qwubew SequenceFlow_15sffxc SequenceFlow_096tad6 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareRollbackData(execution) SequenceFlow_0cly7z2 SequenceFlow_0b8j5rw import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareRpcSDNCActivateRollback(execution) SequenceFlow_096tad6 SequenceFlow_0vzsyrd SequenceFlow_0vzsyrd SequenceFlow_17nx822 SequenceFlow_1qwubew import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.postProcessResponse(execution) SequenceFlow_10ttvwn isRollbackOn_SequenceFlow_Yes isRollbackOn_SequenceFlow_No #{execution.getVariable("CRENWKI_rollbackEnabled") == true && execution.getVariable("CRENWKI_isSdncRollbackNeeded") == true} SequenceFlow_0lndbvr sdncOk_No_ExclusiveGateway SequenceFlow_0bwpkkb SequenceFlow_15sffxc SequenceFlow_0b8j5rw SequenceFlow_12tlymf SequenceFlow_0k7y7b5 isPONR_Yes_SequenceFlow isRollbackOn_SequenceFlow_No SequenceFlow_17nx822 SequenceFlow_23 SequenceFlow_10ttvwn import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.setExceptionFlag(execution)    Include ONLY inputs/varrables:   rollbackData, as Map -rollbackSDNCRequest -rollbackActivateSDNCRequest -rollbackNetworkRequest WorkflowException   PO Network Rollback is created in validation. ${CRENWKI_createNetworkRequest} ${UrnPropertiesReader.getVariable("mso.adapters.network.rest.endpoint", execution)} #{BasicAuthHeaderValuePO} application/xml POST ${statusCode} ${response} http-connector SequenceFlow_61 SequenceFlow_59 SequenceFlow_13 SequenceFlow_35 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTReQueryAAINetworkId(execution) SequenceFlow_35 SequenceFlow_1ipz2ze import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTUpdateContrailAAINetwork(execution) SequenceFlow_10 SequenceFlow_14 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.processJavaException(execution) SequenceFlow_10 SequenceFlow_14 isNameSentYes_SequenceFlow SequenceFlow_6 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTQueryAAINetworkName(execution) SequenceFlow_16 SequenceFlow_15 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTQueryAAINetworkVpnBinding(execution) SequenceFlow_15 SequenceFlow_38 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTQueryAAINetworkPolicy(execution) SequenceFlow_20 SequenceFlow_61 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareCreateNetworkRequest(execution) SequenceFlow_38 SequenceFlow_20 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.callRESTQueryAAINetworkTableRef(execution) SequenceFlow_1n61wit SequenceFlow_0ftylq3 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.preProcessRequest(execution) SequenceFlow_3 isNameSentYes_SequenceFlow isNameSentNo_SequenceFlow #{execution.getVariable("CRENWKI_networkName") != ""} SequenceFlow_13deudk SequenceFlow_08qibb9 isSdncRpc2Yes_SequenceFlow2 SequenceFlow_13deudk import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareRpcSDNCActivateRequest(execution) SequenceFlow_1t03rs2 SequenceFlow_1jia57e SequenceFlow_18ybfu5 #{execution.getVariable("CRENWKI_sdncResponseSuccess" ) == true} SequenceFlow_08qibb9 SequenceFlow_1t03rs2 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.validateRpcSDNCActivateResponse(execution) SequenceFlow_0s51ns0 SequenceFlow_18ybfu5 SequenceFlow_0s51ns0 SequenceFlow_32 isSdncRpc1No_SequenceFlow1 isSdncRpc1Yes_SequenceFlow1 #{execution.getVariable("sdncVersion") != '1610'} SequenceFlow_0j8bxnb SequenceFlow_0d93bqw SequenceFlow_1ipz2ze isSdncRpc2Yes_SequenceFlow2 isSdncRpc2No_SequenceFlow2 #{execution.getVariable("sdncVersion") != '1610'} isSdncRpc1Yes_SequenceFlow1 SequenceFlow_0j8bxnb import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.prepareRpcSDNCRequest(execution) SequenceFlow_1s8b1m1 SequenceFlow_18ylufb SequenceFlow_1jia57e isSdncRpc2No_SequenceFlow2 SequenceFlow_1s8b1m1 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.postProcessResponse(execution) isNetworkActiveYes_SequenceFlow SequenceFlow_18ylufb import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.postProcessResponse(execution) SequenceFlow_0ftylq3 SequenceFlow_3 import org.onap.so.bpmn.infrastructure.scripts.* def DoCreateNetworkInstance = new DoCreateNetworkInstance() DoCreateNetworkInstance.getServiceInstance(execution) if '200', Prepare PO Network Rollback