Implementation of HealthCheckBB
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / HealthCheckBB.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <bpmn:process id="HealthCheckBB" name="HealthCheckBB" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1" name="HealthCheckBB_start">
5       <bpmn:outgoing>Flow_0gd6hy6</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:endEvent id="Event_1dklvvk" name="HealthCheckBB_end">
8       <bpmn:incoming>Flow_0xiyno7</bpmn:incoming>
9     </bpmn:endEvent>
10     <bpmn:sequenceFlow id="Flow_0gd6hy6" sourceRef="StartEvent_1" targetRef="Activity_11hkwkn" />
11     <bpmn:subProcess id="Activity_1pto2qh" name="Error Handling&#10;&#10;" triggeredByEvent="true">
12       <bpmn:startEvent id="Event_0929aqj">
13         <bpmn:outgoing>Flow_05rbrsm</bpmn:outgoing>
14         <bpmn:errorEventDefinition id="ErrorEventDefinition_0k0ly65" />
15       </bpmn:startEvent>
16       <bpmn:endEvent id="Event_1s698ql">
17         <bpmn:incoming>Flow_05rbrsm</bpmn:incoming>
18         <bpmn:terminateEventDefinition id="TerminateEventDefinition_0mn6xgi" />
19       </bpmn:endEvent>
20       <bpmn:sequenceFlow id="Flow_05rbrsm" sourceRef="Event_0929aqj" targetRef="Event_1s698ql" />
21     </bpmn:subProcess>
22     <bpmn:serviceTask id="Activity_11hkwkn" name="Prepare Cnf Adapter request" camunda:expression="${CnfHealthCheckTasks.prepareCnfAdaperRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
23       <bpmn:incoming>Flow_0gd6hy6</bpmn:incoming>
24       <bpmn:outgoing>Flow_1aqdd5k</bpmn:outgoing>
25     </bpmn:serviceTask>
26     <bpmn:sequenceFlow id="Flow_1aqdd5k" sourceRef="Activity_11hkwkn" targetRef="Activity_08mgs1k" />
27     <bpmn:callActivity id="Activity_08mgs1k" name="Call CNFAdapterAsyncCall" calledElement="CNFAdapterAsyncCall">
28       <bpmn:extensionElements>
29         <camunda:in source="apiPath" target="apiPath" />
30         <camunda:in source="cnfRequestPayload" target="cnfRequestPayload" />
31         <camunda:in source="mso-request-id" target="correlator" />
32         <camunda:in source="timeout" target="timeout" />
33         <camunda:out source="WorkflowException" target="WorkflowException" />
34         <camunda:out source="asyncCallbackResponse" target="asyncCallbackResponse" />
35         <camunda:in source="messageType" target="messageType" />
36         <camunda:in source="true" target="isDebugLogEnabled" />
37       </bpmn:extensionElements>
38       <bpmn:incoming>Flow_1aqdd5k</bpmn:incoming>
39       <bpmn:outgoing>Flow_1jeui7e</bpmn:outgoing>
40     </bpmn:callActivity>
41     <bpmn:serviceTask id="Activity_0w4hy3d" name="Process Response" camunda:expression="${CnfHealthCheckTasks.processAsyncResponse(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
42       <bpmn:incoming>Flow_1jeui7e</bpmn:incoming>
43       <bpmn:outgoing>Flow_0xiyno7</bpmn:outgoing>
44     </bpmn:serviceTask>
45     <bpmn:sequenceFlow id="Flow_0xiyno7" sourceRef="Activity_0w4hy3d" targetRef="Event_1dklvvk" />
46     <bpmn:sequenceFlow id="Flow_1jeui7e" sourceRef="Activity_08mgs1k" targetRef="Activity_0w4hy3d" />
47   </bpmn:process>
48   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
49     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="HealthCheckBB">
50       <bpmndi:BPMNEdge id="Flow_1jeui7e_di" bpmnElement="Flow_1jeui7e">
51         <di:waypoint x="600" y="120" />
52         <di:waypoint x="680" y="120" />
53       </bpmndi:BPMNEdge>
54       <bpmndi:BPMNEdge id="Flow_0xiyno7_di" bpmnElement="Flow_0xiyno7">
55         <di:waypoint x="780" y="120" />
56         <di:waypoint x="842" y="120" />
57       </bpmndi:BPMNEdge>
58       <bpmndi:BPMNEdge id="Flow_1aqdd5k_di" bpmnElement="Flow_1aqdd5k">
59         <di:waypoint x="400" y="120" />
60         <di:waypoint x="500" y="120" />
61       </bpmndi:BPMNEdge>
62       <bpmndi:BPMNEdge id="Flow_0gd6hy6_di" bpmnElement="Flow_0gd6hy6">
63         <di:waypoint x="218" y="120" />
64         <di:waypoint x="300" y="120" />
65       </bpmndi:BPMNEdge>
66       <bpmndi:BPMNShape id="Event_1dklvvk_di" bpmnElement="Event_1dklvvk">
67         <dc:Bounds x="842" y="102" width="36" height="36" />
68         <bpmndi:BPMNLabel>
69           <dc:Bounds x="820" y="145" width="85" height="27" />
70         </bpmndi:BPMNLabel>
71       </bpmndi:BPMNShape>
72       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
73         <dc:Bounds x="182" y="102" width="36" height="36" />
74         <bpmndi:BPMNLabel>
75           <dc:Bounds x="156" y="145" width="90" height="27" />
76         </bpmndi:BPMNLabel>
77       </bpmndi:BPMNShape>
78       <bpmndi:BPMNShape id="Activity_11hkwkn_di" bpmnElement="Activity_11hkwkn">
79         <dc:Bounds x="300" y="80" width="100" height="80" />
80       </bpmndi:BPMNShape>
81       <bpmndi:BPMNShape id="Activity_0f7poou_di" bpmnElement="Activity_08mgs1k">
82         <dc:Bounds x="500" y="80" width="100" height="80" />
83       </bpmndi:BPMNShape>
84       <bpmndi:BPMNShape id="Activity_0w4hy3d_di" bpmnElement="Activity_0w4hy3d">
85         <dc:Bounds x="680" y="80" width="100" height="80" />
86       </bpmndi:BPMNShape>
87       <bpmndi:BPMNShape id="Activity_1pto2qh_di" bpmnElement="Activity_1pto2qh" isExpanded="true">
88         <dc:Bounds x="280" y="250" width="460" height="135" />
89       </bpmndi:BPMNShape>
90       <bpmndi:BPMNEdge id="Flow_05rbrsm_di" bpmnElement="Flow_05rbrsm">
91         <di:waypoint x="398" y="324" />
92         <di:waypoint x="632" y="324" />
93       </bpmndi:BPMNEdge>
94       <bpmndi:BPMNShape id="Event_0929aqj_di" bpmnElement="Event_0929aqj">
95         <dc:Bounds x="362" y="306" width="36" height="36" />
96       </bpmndi:BPMNShape>
97       <bpmndi:BPMNShape id="Event_1s698ql_di" bpmnElement="Event_1s698ql">
98         <dc:Bounds x="632" y="306" width="36" height="36" />
99       </bpmndi:BPMNShape>
100     </bpmndi:BPMNPlane>
101   </bpmndi:BPMNDiagram>
102 </bpmn:definitions>