From dfee1bcf4c439591367ed1fe7a040944c84eabee Mon Sep 17 00:00:00 2001 From: hetengjiao Date: Wed, 26 Feb 2020 17:22:45 +0800 Subject: Add CheckServiceProcessStatus workflow Issue-ID: SO-2368 Change-Id: I33b7b21907f98f4934dc410e9bd3a252210bc58e Signed-off-by: hetengjiao --- .../subprocess/CheckServiceProcessStatus.bpmn | 225 +++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/CheckServiceProcessStatus.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/CheckServiceProcessStatus.bpmn') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/CheckServiceProcessStatus.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/CheckServiceProcessStatus.bpmn new file mode 100644 index 0000000000..279dd2a4ad --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/CheckServiceProcessStatus.bpmn @@ -0,0 +1,225 @@ + + + + + SequenceFlow_1g4lx01 + + + SequenceFlow_0e29y0f + SequenceFlow_1n5nl53 + SequenceFlow_0r1x26k + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new CheckServiceProcessStatus() +csi.preCheckServiceStatusReq(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${getOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_0r1x26k + SequenceFlow_009p8v1 + + + SequenceFlow_009p8v1 + SequenceFlow_0yws8fh + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new CheckServiceProcessStatus() +csi.handlerServiceStatusResp(execution) + + + SequenceFlow_0yws8fh + SequenceFlow_18jgpa8 + SequenceFlow_01o92x6 + + + SequenceFlow_1pxnqsp + SequenceFlow_1ktr440 + SequenceFlow_0e29y0f + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new CheckServiceProcessStatus() +csi.timeWaitDelay(execution) + + + + + + + #{(execution.getVariable("isAllFinished") == "true") || (execution.getVariable("isTimeOut") == "YES")} + + + SequenceFlow_18jgpa8 + + + + + SequenceFlow_1g4lx01 + SequenceFlow_1n5nl53 + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new CheckServiceProcessStatus() +csi.preProcessRequest(execution) + + + SequenceFlow_0591ght + SequenceFlow_1q8dls4 + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new CheckServiceProcessStatus() +csi.preUpdateOperationProgress(execution) + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_1q8dls4 + SequenceFlow_1pxnqsp + + + + + SequenceFlow_01o92x6 + SequenceFlow_0591ght + SequenceFlow_1ktr440 + + + #{(execution.getVariable("isNeedUpdateDB" ) == true)} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg