summaryrefslogtreecommitdiffstats
path: root/so-cnfm/so-cnfm-lcm/so-cnfm-lcm-bpmn-flows/src/main/resources/MonitorHelmInstallStatus.bpmn
blob: 92b8ee2e105a8978703799c614f55911fd784ce3 (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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?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_07q5pn8" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.0.0">
  <bpmn:process id="MonitorHelmInstallStatus" name="MonitorHelmInstallStatus" isExecutable="true">
    <bpmn:endEvent id="Event_0v9a531">
      <bpmn:incoming>Flow_1f87oz7</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:subProcess id="Activity_1exvnm9" name="${kind}">
      <bpmn:incoming>Flow_0f5dibe</bpmn:incoming>
      <bpmn:outgoing>Flow_1kpnioc</bpmn:outgoing>
      <bpmn:startEvent id="Event_1m6vi78">
        <bpmn:outgoing>Flow_1kekeh7</bpmn:outgoing>
      </bpmn:startEvent>
      <bpmn:exclusiveGateway id="Gateway_0neju2q" default="Flow_1g3xchu">
        <bpmn:incoming>Flow_0kdhub4</bpmn:incoming>
        <bpmn:outgoing>Flow_0n6qu57</bpmn:outgoing>
        <bpmn:outgoing>Flow_1g3xchu</bpmn:outgoing>
      </bpmn:exclusiveGateway>
      <bpmn:intermediateCatchEvent id="Event_0lx9pd7" name="Wait between checks" camunda:asyncAfter="true">
        <bpmn:incoming>Flow_1g3xchu</bpmn:incoming>
        <bpmn:outgoing>Flow_0tqwb9b</bpmn:outgoing>
        <bpmn:timerEventDefinition id="TimerEventDefinition_1icke43">
          <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT15S</bpmn:timeDuration>
        </bpmn:timerEventDefinition>
      </bpmn:intermediateCatchEvent>
      <bpmn:endEvent id="Event_1pka4w4">
        <bpmn:incoming>Flow_0n6qu57</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:serviceTask id="Activity_0rxj50o" name="&#10;Is Resource Ready&#10;" camunda:asyncAfter="true" camunda:expression="${MonitorHelmInstallStatusTask.isResourceReady(execution)}">
        <bpmn:incoming>Flow_0tqwb9b</bpmn:incoming>
        <bpmn:incoming>Flow_11mzqci</bpmn:incoming>
        <bpmn:outgoing>Flow_0kdhub4</bpmn:outgoing>
      </bpmn:serviceTask>
      <bpmn:sequenceFlow id="Flow_0kdhub4" sourceRef="Activity_0rxj50o" targetRef="Gateway_0neju2q" />
      <bpmn:sequenceFlow id="Flow_0n6qu57" sourceRef="Gateway_0neju2q" targetRef="Event_1pka4w4">
        <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{isResourceReady}</bpmn:conditionExpression>
      </bpmn:sequenceFlow>
      <bpmn:sequenceFlow id="Flow_1g3xchu" sourceRef="Gateway_0neju2q" targetRef="Event_0lx9pd7" />
      <bpmn:sequenceFlow id="Flow_0tqwb9b" sourceRef="Event_0lx9pd7" targetRef="Activity_0rxj50o" />
      <bpmn:sequenceFlow id="Flow_1kekeh7" sourceRef="Event_1m6vi78" targetRef="Activity_1cc0pq6" />
      <bpmn:serviceTask id="Activity_1cc0pq6" name="Update Job Status" camunda:expression="${MonitorHelmInstallStatusTask.updateJobStatus(execution)}">
        <bpmn:incoming>Flow_1kekeh7</bpmn:incoming>
        <bpmn:outgoing>Flow_11mzqci</bpmn:outgoing>
      </bpmn:serviceTask>
      <bpmn:sequenceFlow id="Flow_11mzqci" sourceRef="Activity_1cc0pq6" targetRef="Activity_0rxj50o" />
    </bpmn:subProcess>
    <bpmn:endEvent id="Event_119znxi" name="Timeout Exception">
      <bpmn:incoming>Flow_0qm63h0</bpmn:incoming>
      <bpmn:terminateEventDefinition id="TerminateEventDefinition_14qywzg" />
    </bpmn:endEvent>
    <bpmn:serviceTask id="Activity_09s0jak" name="&#10;Time Out Log Failure&#10;" camunda:asyncAfter="true" camunda:expression="${MonitorHelmInstallStatusTask.timeOutLogFailue(execution)}">
      <bpmn:incoming>Flow_1719q6v</bpmn:incoming>
      <bpmn:outgoing>Flow_0qm63h0</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="Activity_0a4jpkd" name="&#10;Check if operation was successful&#10;" camunda:asyncAfter="true" camunda:expression="${MonitorHelmInstallStatusTask.checkIfOperationWasSuccessful(execution)}">
      <bpmn:incoming>Flow_1kpnioc</bpmn:incoming>
      <bpmn:outgoing>Flow_1f87oz7</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:boundaryEvent id="Event_0cfcuv3" name="Overall Wait" attachedToRef="Activity_1exvnm9">
      <bpmn:outgoing>Flow_1719q6v</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_1258pyb">
        <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT20M</bpmn:timeDuration>
      </bpmn:timerEventDefinition>
    </bpmn:boundaryEvent>
    <bpmn:sequenceFlow id="Flow_1f87oz7" sourceRef="Activity_0a4jpkd" targetRef="Event_0v9a531" />
    <bpmn:sequenceFlow id="Flow_1kpnioc" sourceRef="Activity_1exvnm9" targetRef="Activity_0a4jpkd" />
    <bpmn:sequenceFlow id="Flow_0qm63h0" sourceRef="Activity_09s0jak" targetRef="Event_119znxi" />
    <bpmn:sequenceFlow id="Flow_1719q6v" sourceRef="Event_0cfcuv3" targetRef="Activity_09s0jak" />
    <bpmn:startEvent id="Event_1kp76of">
      <bpmn:outgoing>Flow_0f5dibe</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_0f5dibe" sourceRef="Event_1kp76of" targetRef="Activity_1exvnm9" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="MonitorHelmInstallStatus">
      <bpmndi:BPMNEdge id="Flow_0f5dibe_di" bpmnElement="Flow_0f5dibe">
        <di:waypoint x="188" y="350" />
        <di:waypoint x="270" y="350" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1719q6v_di" bpmnElement="Flow_1719q6v">
        <di:waypoint x="963" y="342" />
        <di:waypoint x="1044" y="342" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0qm63h0_di" bpmnElement="Flow_0qm63h0">
        <di:waypoint x="1144" y="342" />
        <di:waypoint x="1223" y="342" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1kpnioc_di" bpmnElement="Flow_1kpnioc">
        <di:waypoint x="684" y="240" />
        <di:waypoint x="684" y="120" />
        <di:waypoint x="1044" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1f87oz7_di" bpmnElement="Flow_1f87oz7">
        <di:waypoint x="1144" y="120" />
        <di:waypoint x="1223" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_0v9a531_di" bpmnElement="Event_0v9a531">
        <dc:Bounds x="1223" y="102" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1exvnm9_di" bpmnElement="Activity_1exvnm9" isExpanded="true">
        <dc:Bounds x="270" y="240" width="675" height="220" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_11mzqci_di" bpmnElement="Flow_11mzqci">
        <di:waypoint x="490" y="326" />
        <di:waypoint x="546" y="326" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1kekeh7_di" bpmnElement="Flow_1kekeh7">
        <di:waypoint x="338" y="326" />
        <di:waypoint x="390" y="326" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0tqwb9b_di" bpmnElement="Flow_0tqwb9b">
        <di:waypoint x="671" y="398" />
        <di:waypoint x="607" y="398" />
        <di:waypoint x="607" y="369" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1g3xchu_di" bpmnElement="Flow_1g3xchu">
        <di:waypoint x="755" y="351" />
        <di:waypoint x="755" y="398" />
        <di:waypoint x="707" y="398" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0n6qu57_di" bpmnElement="Flow_0n6qu57">
        <di:waypoint x="780" y="326" />
        <di:waypoint x="843" y="326" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0kdhub4_di" bpmnElement="Flow_0kdhub4">
        <di:waypoint x="646" y="326" />
        <di:waypoint x="730" y="326" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_1m6vi78_di" bpmnElement="Event_1m6vi78">
        <dc:Bounds x="302" y="308" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0neju2q_di" bpmnElement="Gateway_0neju2q" isMarkerVisible="true">
        <dc:Bounds x="730" y="301" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0lx9pd7_di" bpmnElement="Event_0lx9pd7">
        <dc:Bounds x="671" y="380" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="658" y="423" width="67" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1pka4w4_di" bpmnElement="Event_1pka4w4">
        <dc:Bounds x="843" y="308" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0rxj50o_di" bpmnElement="Activity_0rxj50o">
        <dc:Bounds x="546" y="286" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_153w092_di" bpmnElement="Activity_1cc0pq6">
        <dc:Bounds x="390" y="286" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_119znxi_di" bpmnElement="Event_119znxi">
        <dc:Bounds x="1223" y="324" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1216" y="284" width="49" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_09s0jak_di" bpmnElement="Activity_09s0jak">
        <dc:Bounds x="1044" y="302" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0a4jpkd_di" bpmnElement="Activity_0a4jpkd">
        <dc:Bounds x="1044" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1kp76of_di" bpmnElement="Event_1kp76of">
        <dc:Bounds x="152" y="332" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0cfcuv3_di" bpmnElement="Event_0cfcuv3">
        <dc:Bounds x="927" y="324" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="916" y="363" width="60" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>