From 3d3bec8ee1d6c8cd13de961c4baee803f76ce15e Mon Sep 17 00:00:00 2001 From: hetengjiao Date: Thu, 5 Mar 2020 16:24:28 +0800 Subject: Add BPMN for DoSendCommandToNSSMF workflow Issue-ID: SO-2368 Change-Id: I85e0f50ac2efce57ae8d39a31526bbbbdb730a31 Signed-off-by: hetengjiao --- .../resources/subprocess/DoSendCommandToNSSMF.bpmn | 344 +++++++++++++++++++++ 1 file changed, 344 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoSendCommandToNSSMF.bpmn diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoSendCommandToNSSMF.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoSendCommandToNSSMF.bpmn new file mode 100644 index 0000000000..4f12ca7f41 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoSendCommandToNSSMF.bpmn @@ -0,0 +1,344 @@ + + + + + + + + SequenceFlow_0umnozs + SequenceFlow_1vuuuhr + SequenceFlow_1ea3pk8 + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new DoSendCommandToNSSMF() +csi.getNSSIformlist(execution) + + + SequenceFlow_1yjsv5s + SequenceFlow_1qxmooy + SequenceFlow_1lh0it1 + SequenceFlow_0swcqw8 + + + SequenceFlow_1ea3pk8 + SequenceFlow_080lgb0 + SequenceFlow_1oi86yc + + + + + + + #{execution.getVariable("isActivateSuccessfull") == "waitting"} + + + #{execution.getVariable("isActivateSuccessfull") == "false"} + + + #{execution.getVariable("isActivateSuccessfull") == "true"} + + + #{execution.getVariable("isGetSuccessfull") == "true"} + + + + #{execution.getVariable("isNSSIActivated") == "true"} + + + #{execution.getVariable("isNSSIActivated") == "false"} + + + + + #{execution.getVariable("isGetSuccessfull") == "false"} + + + SequenceFlow_1oi86yc + + + SequenceFlow_1pfo460 + + + SequenceFlow_1pfo460 + SequenceFlow_0umnozs + import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoSendCommandToNSSMF() +dcso.preProcessRequest(execution) + + + + SequenceFlow_0oiiwjo + + + + SequenceFlow_0uckyao + + + + + SequenceFlow_0oiiwjo + SequenceFlow_0uckyao + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new DoSendCommandToNSSMF() +csi.sendSyncError(execution) + + + + + + SequenceFlow_020xvv4 + SequenceFlow_1lh0it1 + + + + SequenceFlow_1s2oozd + SequenceFlow_0swcqw8 + SequenceFlow_10162l8 + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new DoSendCommandToNSSMF() +csi.WaitForReturn(execution) + + + SequenceFlow_10162l8 + SequenceFlow_1yjsv5s + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new DoSendCommandToNSSMF() +csi.GetTheStatusOfActivation(execution) + + + SequenceFlow_08xfw41 + SequenceFlow_1s2oozd + SequenceFlow_020xvv4 + + + SequenceFlow_1a6iu8c + SequenceFlow_08xfw41 + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new DoSendCommandToNSSMF() +csi.SendCommandToNssmf(execution) + + + + + + + + + + SequenceFlow_080lgb0 + SequenceFlow_1ucjcm1 + + + SequenceFlow_1ucjcm1 + SequenceFlow_1a6iu8c + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new DoSendCommandToNSSMF() +csi.processDecomposition(execution) + + + + + + + ${CVFMI_dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${CVFMI_updateServiceOperStatusRequest} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_1oeexsj + SequenceFlow_1vuuuhr + + + SequenceFlow_1qxmooy + SequenceFlow_1oeexsj + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new DoSendCommandToNSSMF() +csi.UpdateIndex(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg