diff options
author | waqas.ikram <waqas.ikram@est.tech> | 2023-01-27 13:59:55 +0000 |
---|---|---|
committer | waqas.ikram <waqas.ikram@est.tech> | 2023-01-27 14:03:05 +0000 |
commit | 7142578a39982381c16b06a901fbbfd23c1e1c03 (patch) | |
tree | 0c72e6da3d29ea18f68b3920cb88cd751df5604b /so-cnfm/so-cnfm-lcm/so-cnfm-lcm-bpmn-flows/src/main/resources/MonitorHelmInstallStatus.bpmn | |
parent | 5789cdb2073db0a01fce9474affdb58230c71c46 (diff) |
Adding AS Instantiaion support
Change-Id: Ieeb0b8febe392bf8a4c770335cd5b9d302c15347
Issue-ID: SO-4052
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'so-cnfm/so-cnfm-lcm/so-cnfm-lcm-bpmn-flows/src/main/resources/MonitorHelmInstallStatus.bpmn')
-rw-r--r-- | so-cnfm/so-cnfm-lcm/so-cnfm-lcm-bpmn-flows/src/main/resources/MonitorHelmInstallStatus.bpmn | 172 |
1 files changed, 172 insertions, 0 deletions
diff --git a/so-cnfm/so-cnfm-lcm/so-cnfm-lcm-bpmn-flows/src/main/resources/MonitorHelmInstallStatus.bpmn b/so-cnfm/so-cnfm-lcm/so-cnfm-lcm-bpmn-flows/src/main/resources/MonitorHelmInstallStatus.bpmn new file mode 100644 index 0000000..92b8ee2 --- /dev/null +++ b/so-cnfm/so-cnfm-lcm/so-cnfm-lcm-bpmn-flows/src/main/resources/MonitorHelmInstallStatus.bpmn @@ -0,0 +1,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=" Is Resource Ready " 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=" Time Out Log Failure " 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=" Check if operation was successful " 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> |