aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/HealthCheckBB.bpmn
blob: fad2e5506cdcb7dcc11694e9bb1e11475b687d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?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: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">
  <bpmn:process id="HealthCheckBB" name="HealthCheckBB" isExecutable="true">
    <bpmn:startEvent id="Event_0rgusxn" name="HealthCheckBB_start">
      <bpmn:outgoing>Flow_0udh4cd</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:endEvent id="Event_0o1nl3y" name="HealthCheckBB_end">
      <bpmn:incoming>Flow_0n17e0q</bpmn:incoming>
      <bpmn:incoming>Flow_131rwms</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:subProcess id="Activity_0tw4ak3" name="Error Handling&#10;&#10;" triggeredByEvent="true">
      <bpmn:startEvent id="Event_1v6jbfd">
        <bpmn:outgoing>Flow_03ogqmx</bpmn:outgoing>
        <bpmn:errorEventDefinition id="ErrorEventDefinition_1xw7dq4" />
      </bpmn:startEvent>
      <bpmn:endEvent id="Event_0wwzune">
        <bpmn:incoming>Flow_03ogqmx</bpmn:incoming>
        <bpmn:terminateEventDefinition id="TerminateEventDefinition_0c07ott" />
      </bpmn:endEvent>
      <bpmn:sequenceFlow id="Flow_03ogqmx" sourceRef="Event_1v6jbfd" targetRef="Event_0wwzune" />
    </bpmn:subProcess>
    <bpmn:serviceTask id="Activity_0pnb21p" name="Prepare Cnf Adapter request" camunda:expression="${CnfHealthCheckTasks.prepareCnfAdaperRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>Flow_0jxw1lb</bpmn:incoming>
      <bpmn:outgoing>Flow_0uoe9ga</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:callActivity id="Activity_07txikn" 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_0uoe9ga</bpmn:incoming>
      <bpmn:outgoing>Flow_0t6f6l8</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:serviceTask id="Activity_1qd7k3z" name="Process Response" camunda:expression="${CnfHealthCheckTasks.processAsyncResponse(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>Flow_0t6f6l8</bpmn:incoming>
      <bpmn:outgoing>Flow_0n17e0q</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:exclusiveGateway id="Gateway_07e5xls" name="Check If Is Helm" default="Flow_131rwms">
      <bpmn:incoming>Flow_0udh4cd</bpmn:incoming>
      <bpmn:outgoing>Flow_131rwms</bpmn:outgoing>
      <bpmn:outgoing>Flow_0jxw1lb</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_0udh4cd" sourceRef="Event_0rgusxn" targetRef="Gateway_07e5xls" />
    <bpmn:sequenceFlow id="Flow_0n17e0q" sourceRef="Activity_1qd7k3z" targetRef="Event_0o1nl3y" />
    <bpmn:sequenceFlow id="Flow_131rwms" name="No Helm" sourceRef="Gateway_07e5xls" targetRef="Event_0o1nl3y" />
    <bpmn:sequenceFlow id="Flow_0jxw1lb" name="Yes Helm" sourceRef="Gateway_07e5xls" targetRef="Activity_0pnb21p">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("isHelm")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_0uoe9ga" sourceRef="Activity_0pnb21p" targetRef="Activity_07txikn" />
    <bpmn:sequenceFlow id="Flow_0t6f6l8" sourceRef="Activity_07txikn" targetRef="Activity_1qd7k3z" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="HealthCheckBB">
      <bpmndi:BPMNEdge id="Flow_0udh4cd_di" bpmnElement="Flow_0udh4cd">
        <di:waypoint x="218" y="150" />
        <di:waypoint x="245" y="150" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0n17e0q_di" bpmnElement="Flow_0n17e0q">
        <di:waypoint x="780" y="150" />
        <di:waypoint x="870" y="150" />
        <di:waypoint x="870" y="202" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_131rwms_di" bpmnElement="Flow_131rwms">
        <di:waypoint x="270" y="175" />
        <di:waypoint x="270" y="220" />
        <di:waypoint x="852" y="220" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="264" y="195" width="43" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0jxw1lb_di" bpmnElement="Flow_0jxw1lb">
        <di:waypoint x="295" y="150" />
        <di:waypoint x="350" y="150" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="299" y="132" width="47" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0uoe9ga_di" bpmnElement="Flow_0uoe9ga">
        <di:waypoint x="450" y="150" />
        <di:waypoint x="500" y="150" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0t6f6l8_di" bpmnElement="Flow_0t6f6l8">
        <di:waypoint x="600" y="150" />
        <di:waypoint x="680" y="150" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_0rgusxn_di" bpmnElement="Event_0rgusxn">
        <dc:Bounds x="182" y="132" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="156" y="175" width="90" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0o1nl3y_di" bpmnElement="Event_0o1nl3y">
        <dc:Bounds x="852" y="202" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="831" y="245" width="84" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0pnb21p_di" bpmnElement="Activity_0pnb21p">
        <dc:Bounds x="350" y="110" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_07txikn_di" bpmnElement="Activity_07txikn">
        <dc:Bounds x="500" y="110" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1qd7k3z_di" bpmnElement="Activity_1qd7k3z">
        <dc:Bounds x="680" y="110" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_07e5xls_di" bpmnElement="Gateway_07e5xls" isMarkerVisible="true">
        <dc:Bounds x="245" y="125" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="230" y="95" width="81" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0tw4ak3_di" bpmnElement="Activity_0tw4ak3" isExpanded="true">
        <dc:Bounds x="280" y="280" width="460" height="135" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_03ogqmx_di" bpmnElement="Flow_03ogqmx">
        <di:waypoint x="398" y="354" />
        <di:waypoint x="632" y="354" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_1v6jbfd_di" bpmnElement="Event_1v6jbfd">
        <dc:Bounds x="362" y="336" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0wwzune_di" bpmnElement="Event_0wwzune">
        <dc:Bounds x="632" y="336" width="36" height="36" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>