aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks
diff options
context:
space:
mode:
authorsanket12345 <SX00562924@techmahindra.com>2021-08-25 17:27:59 +0530
committersanket12345 <SX00562924@techmahindra.com>2021-08-25 17:29:03 +0530
commit834a687fc5d277dd95cb4a40441f4c65076822e1 (patch)
treef2db2dbae40f65a946088accad76a9cfff36b361 /bpmn/so-bpmn-building-blocks
parent9e597da1e74ab81a27879f6100335e6815ff1702 (diff)
Implementation of HealthCheckBB
Code changes to implement HealthCheckBB Issue-ID: SO-3691 Change-Id: I88d22f125c122d813f42f0b800aeb6530d7c6acf Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
Diffstat (limited to 'bpmn/so-bpmn-building-blocks')
-rwxr-xr-xbpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/HealthCheckBB.bpmn102
1 files changed, 102 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/HealthCheckBB.bpmn b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/HealthCheckBB.bpmn
new file mode 100755
index 0000000000..8272bd3750
--- /dev/null
+++ b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/HealthCheckBB.bpmn
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1bvx7yi" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.0.0">
+ <bpmn:process id="HealthCheckBB" name="HealthCheckBB" isExecutable="true">
+ <bpmn:startEvent id="StartEvent_1" name="HealthCheckBB_start">
+ <bpmn:outgoing>Flow_0gd6hy6</bpmn:outgoing>
+ </bpmn:startEvent>
+ <bpmn:endEvent id="Event_1dklvvk" name="HealthCheckBB_end">
+ <bpmn:incoming>Flow_0xiyno7</bpmn:incoming>
+ </bpmn:endEvent>
+ <bpmn:sequenceFlow id="Flow_0gd6hy6" sourceRef="StartEvent_1" targetRef="Activity_11hkwkn" />
+ <bpmn:subProcess id="Activity_1pto2qh" name="Error Handling&#10;&#10;" triggeredByEvent="true">
+ <bpmn:startEvent id="Event_0929aqj">
+ <bpmn:outgoing>Flow_05rbrsm</bpmn:outgoing>
+ <bpmn:errorEventDefinition id="ErrorEventDefinition_0k0ly65" />
+ </bpmn:startEvent>
+ <bpmn:endEvent id="Event_1s698ql">
+ <bpmn:incoming>Flow_05rbrsm</bpmn:incoming>
+ <bpmn:terminateEventDefinition id="TerminateEventDefinition_0mn6xgi" />
+ </bpmn:endEvent>
+ <bpmn:sequenceFlow id="Flow_05rbrsm" sourceRef="Event_0929aqj" targetRef="Event_1s698ql" />
+ </bpmn:subProcess>
+ <bpmn:serviceTask id="Activity_11hkwkn" name="Prepare Cnf Adapter request" camunda:expression="${CnfHealthCheckTasks.prepareCnfAdaperRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
+ <bpmn:incoming>Flow_0gd6hy6</bpmn:incoming>
+ <bpmn:outgoing>Flow_1aqdd5k</bpmn:outgoing>
+ </bpmn:serviceTask>
+ <bpmn:sequenceFlow id="Flow_1aqdd5k" sourceRef="Activity_11hkwkn" targetRef="Activity_08mgs1k" />
+ <bpmn:callActivity id="Activity_08mgs1k" name="Call CNFAdapterAsyncCall" calledElement="CNFAdapterAsyncCall">
+ <bpmn:extensionElements>
+ <camunda:in source="apiPath" target="apiPath" />
+ <camunda:in source="cnfRequestPayload" target="cnfRequestPayload" />
+ <camunda:in source="mso-request-id" target="correlator" />
+ <camunda:in source="timeout" target="timeout" />
+ <camunda:out source="WorkflowException" target="WorkflowException" />
+ <camunda:out source="asyncCallbackResponse" target="asyncCallbackResponse" />
+ <camunda:in source="messageType" target="messageType" />
+ <camunda:in source="true" target="isDebugLogEnabled" />
+ </bpmn:extensionElements>
+ <bpmn:incoming>Flow_1aqdd5k</bpmn:incoming>
+ <bpmn:outgoing>Flow_1jeui7e</bpmn:outgoing>
+ </bpmn:callActivity>
+ <bpmn:serviceTask id="Activity_0w4hy3d" name="Process Response" camunda:expression="${CnfHealthCheckTasks.processAsyncResponse(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
+ <bpmn:incoming>Flow_1jeui7e</bpmn:incoming>
+ <bpmn:outgoing>Flow_0xiyno7</bpmn:outgoing>
+ </bpmn:serviceTask>
+ <bpmn:sequenceFlow id="Flow_0xiyno7" sourceRef="Activity_0w4hy3d" targetRef="Event_1dklvvk" />
+ <bpmn:sequenceFlow id="Flow_1jeui7e" sourceRef="Activity_08mgs1k" targetRef="Activity_0w4hy3d" />
+ </bpmn:process>
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="HealthCheckBB">
+ <bpmndi:BPMNEdge id="Flow_1jeui7e_di" bpmnElement="Flow_1jeui7e">
+ <di:waypoint x="600" y="120" />
+ <di:waypoint x="680" y="120" />
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="Flow_0xiyno7_di" bpmnElement="Flow_0xiyno7">
+ <di:waypoint x="780" y="120" />
+ <di:waypoint x="842" y="120" />
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="Flow_1aqdd5k_di" bpmnElement="Flow_1aqdd5k">
+ <di:waypoint x="400" y="120" />
+ <di:waypoint x="500" y="120" />
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="Flow_0gd6hy6_di" bpmnElement="Flow_0gd6hy6">
+ <di:waypoint x="218" y="120" />
+ <di:waypoint x="300" y="120" />
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNShape id="Event_1dklvvk_di" bpmnElement="Event_1dklvvk">
+ <dc:Bounds x="842" y="102" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="820" y="145" width="85" height="27" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
+ <dc:Bounds x="182" y="102" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="156" y="145" width="90" height="27" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="Activity_11hkwkn_di" bpmnElement="Activity_11hkwkn">
+ <dc:Bounds x="300" y="80" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="Activity_0f7poou_di" bpmnElement="Activity_08mgs1k">
+ <dc:Bounds x="500" y="80" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="Activity_0w4hy3d_di" bpmnElement="Activity_0w4hy3d">
+ <dc:Bounds x="680" y="80" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="Activity_1pto2qh_di" bpmnElement="Activity_1pto2qh" isExpanded="true">
+ <dc:Bounds x="280" y="250" width="460" height="135" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNEdge id="Flow_05rbrsm_di" bpmnElement="Flow_05rbrsm">
+ <di:waypoint x="398" y="324" />
+ <di:waypoint x="632" y="324" />
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNShape id="Event_0929aqj_di" bpmnElement="Event_0929aqj">
+ <dc:Bounds x="362" y="306" width="36" height="36" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="Event_1s698ql_di" bpmnElement="Event_1s698ql">
+ <dc:Bounds x="632" y="306" width="36" height="36" />
+ </bpmndi:BPMNShape>
+ </bpmndi:BPMNPlane>
+ </bpmndi:BPMNDiagram>
+</bpmn:definitions>