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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0gwymqy" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.7.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.14.0">
3 <bpmn:process id="HealthCheckBB" name="HealthCheckBB" isExecutable="true">
4 <bpmn:startEvent id="Event_0rgusxn" name="HealthCheckBB_start">
5 <bpmn:outgoing>Flow_0udh4cd</bpmn:outgoing>
7 <bpmn:endEvent id="Event_0o1nl3y" name="HealthCheckBB_end">
8 <bpmn:incoming>Flow_0n17e0q</bpmn:incoming>
9 <bpmn:incoming>Flow_131rwms</bpmn:incoming>
11 <bpmn:subProcess id="Activity_0tw4ak3" name="Error Handling " triggeredByEvent="true">
12 <bpmn:startEvent id="Event_1v6jbfd">
13 <bpmn:outgoing>Flow_03ogqmx</bpmn:outgoing>
14 <bpmn:errorEventDefinition id="ErrorEventDefinition_1xw7dq4" />
16 <bpmn:endEvent id="Event_0wwzune">
17 <bpmn:incoming>Flow_03ogqmx</bpmn:incoming>
18 <bpmn:terminateEventDefinition id="TerminateEventDefinition_0c07ott" />
20 <bpmn:sequenceFlow id="Flow_03ogqmx" sourceRef="Event_1v6jbfd" targetRef="Event_0wwzune" />
22 <bpmn:serviceTask id="Activity_0pnb21p" name="Prepare Cnf Adapter request" camunda:expression="${CnfHealthCheckTasks.prepareCnfAdaperRequest(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
23 <bpmn:incoming>Flow_0jxw1lb</bpmn:incoming>
24 <bpmn:outgoing>Flow_0uoe9ga</bpmn:outgoing>
26 <bpmn:callActivity id="Activity_07txikn" name="Call CNFAdapterAsyncCall" calledElement="CNFAdapterAsyncCall">
27 <bpmn:extensionElements>
28 <camunda:in source="apiPath" target="apiPath" />
29 <camunda:in source="cnfRequestPayload" target="cnfRequestPayload" />
30 <camunda:in source="mso-request-id" target="correlator" />
31 <camunda:in source="timeout" target="timeout" />
32 <camunda:out source="WorkflowException" target="WorkflowException" />
33 <camunda:out source="asyncCallbackResponse" target="asyncCallbackResponse" />
34 <camunda:in source="messageType" target="messageType" />
35 <camunda:in source="true" target="isDebugLogEnabled" />
36 </bpmn:extensionElements>
37 <bpmn:incoming>Flow_0uoe9ga</bpmn:incoming>
38 <bpmn:outgoing>Flow_0t6f6l8</bpmn:outgoing>
40 <bpmn:serviceTask id="Activity_1qd7k3z" name="Process Response" camunda:expression="${CnfHealthCheckTasks.processAsyncResponse(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
41 <bpmn:incoming>Flow_0t6f6l8</bpmn:incoming>
42 <bpmn:outgoing>Flow_0n17e0q</bpmn:outgoing>
44 <bpmn:exclusiveGateway id="Gateway_07e5xls" name="Check If Is Helm" default="Flow_131rwms">
45 <bpmn:incoming>Flow_0udh4cd</bpmn:incoming>
46 <bpmn:outgoing>Flow_131rwms</bpmn:outgoing>
47 <bpmn:outgoing>Flow_0jxw1lb</bpmn:outgoing>
48 </bpmn:exclusiveGateway>
49 <bpmn:sequenceFlow id="Flow_0udh4cd" sourceRef="Event_0rgusxn" targetRef="Gateway_07e5xls" />
50 <bpmn:sequenceFlow id="Flow_0n17e0q" sourceRef="Activity_1qd7k3z" targetRef="Event_0o1nl3y" />
51 <bpmn:sequenceFlow id="Flow_131rwms" name="No Helm" sourceRef="Gateway_07e5xls" targetRef="Event_0o1nl3y" />
52 <bpmn:sequenceFlow id="Flow_0jxw1lb" name="Yes Helm" sourceRef="Gateway_07e5xls" targetRef="Activity_0pnb21p">
53 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("isHelm")}</bpmn:conditionExpression>
55 <bpmn:sequenceFlow id="Flow_0uoe9ga" sourceRef="Activity_0pnb21p" targetRef="Activity_07txikn" />
56 <bpmn:sequenceFlow id="Flow_0t6f6l8" sourceRef="Activity_07txikn" targetRef="Activity_1qd7k3z" />
58 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
59 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="HealthCheckBB">
60 <bpmndi:BPMNEdge id="Flow_0udh4cd_di" bpmnElement="Flow_0udh4cd">
61 <di:waypoint x="218" y="150" />
62 <di:waypoint x="245" y="150" />
64 <bpmndi:BPMNEdge id="Flow_0n17e0q_di" bpmnElement="Flow_0n17e0q">
65 <di:waypoint x="780" y="150" />
66 <di:waypoint x="870" y="150" />
67 <di:waypoint x="870" y="202" />
69 <bpmndi:BPMNEdge id="Flow_131rwms_di" bpmnElement="Flow_131rwms">
70 <di:waypoint x="270" y="175" />
71 <di:waypoint x="270" y="220" />
72 <di:waypoint x="852" y="220" />
74 <dc:Bounds x="264" y="195" width="43" height="14" />
77 <bpmndi:BPMNEdge id="Flow_0jxw1lb_di" bpmnElement="Flow_0jxw1lb">
78 <di:waypoint x="295" y="150" />
79 <di:waypoint x="350" y="150" />
81 <dc:Bounds x="299" y="132" width="47" height="14" />
84 <bpmndi:BPMNEdge id="Flow_0uoe9ga_di" bpmnElement="Flow_0uoe9ga">
85 <di:waypoint x="450" y="150" />
86 <di:waypoint x="500" y="150" />
88 <bpmndi:BPMNEdge id="Flow_0t6f6l8_di" bpmnElement="Flow_0t6f6l8">
89 <di:waypoint x="600" y="150" />
90 <di:waypoint x="680" y="150" />
92 <bpmndi:BPMNShape id="Event_0rgusxn_di" bpmnElement="Event_0rgusxn">
93 <dc:Bounds x="182" y="132" width="36" height="36" />
95 <dc:Bounds x="156" y="175" width="90" height="27" />
98 <bpmndi:BPMNShape id="Event_0o1nl3y_di" bpmnElement="Event_0o1nl3y">
99 <dc:Bounds x="852" y="202" width="36" height="36" />
101 <dc:Bounds x="831" y="245" width="84" height="27" />
104 <bpmndi:BPMNShape id="Activity_0pnb21p_di" bpmnElement="Activity_0pnb21p">
105 <dc:Bounds x="350" y="110" width="100" height="80" />
107 <bpmndi:BPMNShape id="Activity_07txikn_di" bpmnElement="Activity_07txikn">
108 <dc:Bounds x="500" y="110" width="100" height="80" />
110 <bpmndi:BPMNShape id="Activity_1qd7k3z_di" bpmnElement="Activity_1qd7k3z">
111 <dc:Bounds x="680" y="110" width="100" height="80" />
113 <bpmndi:BPMNShape id="Gateway_07e5xls_di" bpmnElement="Gateway_07e5xls" isMarkerVisible="true">
114 <dc:Bounds x="245" y="125" width="50" height="50" />
116 <dc:Bounds x="230" y="95" width="81" height="14" />
119 <bpmndi:BPMNShape id="Activity_0tw4ak3_di" bpmnElement="Activity_0tw4ak3" isExpanded="true">
120 <dc:Bounds x="280" y="280" width="460" height="135" />
122 <bpmndi:BPMNEdge id="Flow_03ogqmx_di" bpmnElement="Flow_03ogqmx">
123 <di:waypoint x="398" y="354" />
124 <di:waypoint x="632" y="354" />
126 <bpmndi:BPMNShape id="Event_1v6jbfd_di" bpmnElement="Event_1v6jbfd">
127 <dc:Bounds x="362" y="336" width="36" height="36" />
129 <bpmndi:BPMNShape id="Event_0wwzune_di" bpmnElement="Event_0wwzune">
130 <dc:Bounds x="632" y="336" width="36" height="36" />
133 </bpmndi:BPMNDiagram>