DEV-375: added process model for creating backups

- databaseEngines: postgres,maria
feature/DEV-380
Sven Ketelsen 4 years ago
parent 194d3461e6
commit 197bcfd4ea

@ -12,19 +12,6 @@
<bpmn2:startEvent id="Event_0wqvypp"> <bpmn2:startEvent id="Event_0wqvypp">
<bpmn2:outgoing>Flow_1a8vxf0</bpmn2:outgoing> <bpmn2:outgoing>Flow_1a8vxf0</bpmn2:outgoing>
</bpmn2:startEvent> </bpmn2:startEvent>
<bpmn2:endEvent id="Event_14fmnl2">
<bpmn2:incoming>Flow_0ufs5lg</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:intermediateThrowEvent id="Event_1l1qtec" name="set state &#34;done&#34;" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="vorgang_status">${999}</camunda:outputParameter>
<camunda:outputParameter name="vorgang_status_text">done</camunda:outputParameter>
</camunda:inputOutput>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_1hsnadn</bpmn2:incoming>
<bpmn2:outgoing>Flow_0ufs5lg</bpmn2:outgoing>
</bpmn2:intermediateThrowEvent>
<bpmn2:intermediateThrowEvent id="Event_1ho1j80" name="set state &#34;new&#34;" camunda:asyncAfter="true"> <bpmn2:intermediateThrowEvent id="Event_1ho1j80" name="set state &#34;new&#34;" camunda:asyncAfter="true">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:inputOutput> <camunda:inputOutput>
@ -87,6 +74,19 @@
<bpmn2:sequenceFlow id="Flow_1hsnadn" sourceRef="Activity_1igl4tq" targetRef="Event_1l1qtec" /> <bpmn2:sequenceFlow id="Flow_1hsnadn" sourceRef="Activity_1igl4tq" targetRef="Event_1l1qtec" />
<bpmn2:sequenceFlow id="Flow_0ufs5lg" sourceRef="Event_1l1qtec" targetRef="Event_14fmnl2" /> <bpmn2:sequenceFlow id="Flow_0ufs5lg" sourceRef="Event_1l1qtec" targetRef="Event_14fmnl2" />
<bpmn2:sequenceFlow id="Flow_1a8vxf0" sourceRef="Event_0wqvypp" targetRef="Activity_12c4494" /> <bpmn2:sequenceFlow id="Flow_1a8vxf0" sourceRef="Event_0wqvypp" targetRef="Activity_12c4494" />
<bpmn2:intermediateThrowEvent id="Event_1l1qtec" name="set state &#34;done&#34;" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="vorgang_status">${999}</camunda:outputParameter>
<camunda:outputParameter name="vorgang_status_text">done</camunda:outputParameter>
</camunda:inputOutput>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_1hsnadn</bpmn2:incoming>
<bpmn2:outgoing>Flow_0ufs5lg</bpmn2:outgoing>
</bpmn2:intermediateThrowEvent>
<bpmn2:endEvent id="Event_14fmnl2">
<bpmn2:incoming>Flow_0ufs5lg</bpmn2:incoming>
</bpmn2:endEvent>
</bpmn2:process> </bpmn2:process>
<bpmn2:process id="smardigo-management-action" name="Smardigo Management Action" isExecutable="true"> <bpmn2:process id="smardigo-management-action" name="Smardigo Management Action" isExecutable="true">
<bpmn2:startEvent id="Event_01o224p"> <bpmn2:startEvent id="Event_01o224p">
@ -187,63 +187,41 @@
<bpmn2:sequenceFlow id="Flow_1nplu24" sourceRef="Event_0cntm51" targetRef="Activity_00iw76a" /> <bpmn2:sequenceFlow id="Flow_1nplu24" sourceRef="Event_0cntm51" targetRef="Activity_00iw76a" />
</bpmn2:process> </bpmn2:process>
<bpmn2:process id="smardigo-backup-process" isExecutable="true"> <bpmn2:process id="smardigo-backup-process" isExecutable="true">
<bpmn2:intermediateThrowEvent id="Event_0pbfi3y" name="set state &#34;new&#34;" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="vorgang_status">${10}</camunda:outputParameter>
<camunda:outputParameter name="vorgang_status_text">new</camunda:outputParameter>
</camunda:inputOutput>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_04zgivk</bpmn2:incoming>
<bpmn2:outgoing>Flow_09o63g2</bpmn2:outgoing>
</bpmn2:intermediateThrowEvent>
<bpmn2:startEvent id="Event_0mra24h"> <bpmn2:startEvent id="Event_0mra24h">
<bpmn2:outgoing>Flow_04zgivk</bpmn2:outgoing> <bpmn2:outgoing>Flow_04zgivk</bpmn2:outgoing>
</bpmn2:startEvent> </bpmn2:startEvent>
<bpmn2:callActivity id="Activity_1j05a8t" name="Backup erstellen" calledElement="smardigo-management-action"> <bpmn2:sequenceFlow id="Flow_1sb0o0i" sourceRef="Activity_1j05a8t" targetRef="Event_0kgcs0l" />
<bpmn2:sequenceFlow id="Flow_04zgivk" sourceRef="Event_0mra24h" targetRef="Activity_1j05a8t" />
<bpmn2:callActivity id="Activity_1j05a8t" name="Database Backup erstellen" calledElement="smardigo-management-action">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:in businessKey="#{execution.processBusinessKey}" /> <camunda:in businessKey="#{execution.processBusinessKey}" />
<camunda:in variables="all" /> <camunda:in variables="all" />
<camunda:in sourceExpression="create-remote-database-backup" target="smardigoManagementAction" /> <camunda:in sourceExpression="create-remote-database-backup" target="smardigoManagementAction" />
<camunda:in sourceExpression="Backup erstellen" target="comment" /> <camunda:in sourceExpression="Backup erstellen" target="comment" />
</bpmn2:extensionElements> </bpmn2:extensionElements>
<bpmn2:incoming>Flow_09o63g2</bpmn2:incoming> <bpmn2:incoming>Flow_04zgivk</bpmn2:incoming>
<bpmn2:outgoing>Flow_1sb0o0i</bpmn2:outgoing> <bpmn2:outgoing>Flow_1sb0o0i</bpmn2:outgoing>
</bpmn2:callActivity> </bpmn2:callActivity>
<bpmn2:sequenceFlow id="Flow_1sb0o0i" sourceRef="Activity_1j05a8t" targetRef="Event_0nmnfhf" />
<bpmn2:sequenceFlow id="Flow_09o63g2" sourceRef="Event_0pbfi3y" targetRef="Activity_1j05a8t" />
<bpmn2:sequenceFlow id="Flow_1wv6nty" sourceRef="Event_0nmnfhf" targetRef="Event_0kgcs0l" />
<bpmn2:sequenceFlow id="Flow_04zgivk" sourceRef="Event_0mra24h" targetRef="Event_0pbfi3y" />
<bpmn2:intermediateThrowEvent id="Event_0nmnfhf" name="set state &#34;done&#34;" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="vorgang_status">${999}</camunda:outputParameter>
<camunda:outputParameter name="vorgang_status_text">done</camunda:outputParameter>
</camunda:inputOutput>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_1sb0o0i</bpmn2:incoming>
<bpmn2:outgoing>Flow_1wv6nty</bpmn2:outgoing>
</bpmn2:intermediateThrowEvent>
<bpmn2:endEvent id="Event_0kgcs0l"> <bpmn2:endEvent id="Event_0kgcs0l">
<bpmn2:incoming>Flow_1wv6nty</bpmn2:incoming> <bpmn2:incoming>Flow_1sb0o0i</bpmn2:incoming>
</bpmn2:endEvent> </bpmn2:endEvent>
</bpmn2:process> </bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> <bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0oahy0i"> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0oahy0i">
<bpmndi:BPMNShape id="Participant_19lpjee_di" bpmnElement="Participant_19lpjee" isHorizontal="true"> <bpmndi:BPMNShape id="Participant_19lpjee_di" bpmnElement="Participant_19lpjee" isHorizontal="true">
<dc:Bounds x="160" y="80" width="1320" height="370" /> <dc:Bounds x="160" y="80" width="1030" height="370" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1a8vxf0_di" bpmnElement="Flow_1a8vxf0"> <bpmndi:BPMNEdge id="Flow_1a8vxf0_di" bpmnElement="Flow_1a8vxf0">
<di:waypoint x="308" y="260" /> <di:waypoint x="308" y="260" />
<di:waypoint x="360" y="260" /> <di:waypoint x="360" y="260" />
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ufs5lg_di" bpmnElement="Flow_0ufs5lg"> <bpmndi:BPMNEdge id="Flow_0ufs5lg_di" bpmnElement="Flow_0ufs5lg">
<di:waypoint x="1158" y="260" /> <di:waypoint x="1048" y="260" />
<di:waypoint x="1252" y="260" /> <di:waypoint x="1092" y="260" />
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1hsnadn_di" bpmnElement="Flow_1hsnadn"> <bpmndi:BPMNEdge id="Flow_1hsnadn_di" bpmnElement="Flow_1hsnadn">
<di:waypoint x="1040" y="260" /> <di:waypoint x="950" y="260" />
<di:waypoint x="1122" y="260" /> <di:waypoint x="1012" y="260" />
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1vjr74e_di" bpmnElement="Flow_1vjr74e"> <bpmndi:BPMNEdge id="Flow_1vjr74e_di" bpmnElement="Flow_1vjr74e">
<di:waypoint x="460" y="260" /> <di:waypoint x="460" y="260" />
@ -256,43 +234,43 @@
<bpmndi:BPMNShape id="Event_04q3ydu_di" bpmnElement="Event_0wqvypp"> <bpmndi:BPMNShape id="Event_04q3ydu_di" bpmnElement="Event_0wqvypp">
<dc:Bounds x="272" y="242" width="36" height="36" /> <dc:Bounds x="272" y="242" width="36" height="36" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14fmnl2_di" bpmnElement="Event_14fmnl2">
<dc:Bounds x="1252" y="242" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l1qtec_di" bpmnElement="Event_1l1qtec">
<dc:Bounds x="1122" y="242" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1103" y="288" width="77" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ho1j80_di" bpmnElement="Event_1ho1j80"> <bpmndi:BPMNShape id="Event_1ho1j80_di" bpmnElement="Event_1ho1j80">
<dc:Bounds x="502" y="242" width="36" height="36" /> <dc:Bounds x="502" y="242" width="36" height="36" />
<bpmndi:BPMNLabel> <bpmndi:BPMNLabel>
<dc:Bounds x="483" y="218" width="73" height="14" /> <dc:Bounds x="483" y="293" width="73" height="14" />
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_12c4494_di" bpmnElement="Activity_12c4494"> <bpmndi:BPMNShape id="Activity_12c4494_di" bpmnElement="Activity_12c4494">
<dc:Bounds x="360" y="220" width="100" height="80" /> <dc:Bounds x="360" y="220" width="100" height="80" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1igl4tq_di" bpmnElement="Activity_1igl4tq" isExpanded="true"> <bpmndi:BPMNShape id="Activity_1igl4tq_di" bpmnElement="Activity_1igl4tq" isExpanded="true">
<dc:Bounds x="600" y="160" width="440" height="200" /> <dc:Bounds x="600" y="160" width="350" height="200" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0284cem_di" bpmnElement="Flow_0284cem"> <bpmndi:BPMNEdge id="Flow_0284cem_di" bpmnElement="Flow_0284cem">
<di:waypoint x="870" y="260" /> <di:waypoint x="820" y="260" />
<di:waypoint x="932" y="260" /> <di:waypoint x="872" y="260" />
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18mi4w5_di" bpmnElement="Flow_18mi4w5"> <bpmndi:BPMNEdge id="Flow_18mi4w5_di" bpmnElement="Flow_18mi4w5">
<di:waypoint x="708" y="260" /> <di:waypoint x="678" y="260" />
<di:waypoint x="770" y="260" /> <di:waypoint x="720" y="260" />
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_034s0kg_di" bpmnElement="Event_034s0kg"> <bpmndi:BPMNShape id="Event_034s0kg_di" bpmnElement="Event_034s0kg">
<dc:Bounds x="672" y="242" width="36" height="36" /> <dc:Bounds x="642" y="242" width="36" height="36" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_00ab9z8_di" bpmnElement="Event_00ab9z8"> <bpmndi:BPMNShape id="Event_00ab9z8_di" bpmnElement="Event_00ab9z8">
<dc:Bounds x="932" y="242" width="36" height="36" /> <dc:Bounds x="872" y="242" width="36" height="36" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_07xlk4g_di" bpmnElement="Activity_07xlk4g" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)"> <bpmndi:BPMNShape id="Activity_07xlk4g_di" bpmnElement="Activity_07xlk4g" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
<dc:Bounds x="770" y="220" width="100" height="80" /> <dc:Bounds x="720" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l1qtec_di" bpmnElement="Event_1l1qtec">
<dc:Bounds x="1012" y="242" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="993" y="293" width="77" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14fmnl2_di" bpmnElement="Event_14fmnl2">
<dc:Bounds x="1092" y="242" width="36" height="36" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Participant_138furn_di" bpmnElement="Participant_138furn" isHorizontal="true"> <bpmndi:BPMNShape id="Participant_138furn_di" bpmnElement="Participant_138furn" isHorizontal="true">
<dc:Bounds x="160" y="760" width="1320" height="380" /> <dc:Bounds x="160" y="760" width="1320" height="380" />
@ -380,44 +358,27 @@
<dc:Bounds x="1782" y="932" width="36" height="36" /> <dc:Bounds x="1782" y="932" width="36" height="36" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Participant_1ylv8bm_di" bpmnElement="Participant_1ylv8bm" isHorizontal="true"> <bpmndi:BPMNShape id="Participant_1ylv8bm_di" bpmnElement="Participant_1ylv8bm" isHorizontal="true">
<dc:Bounds x="160" y="470" width="1320" height="280" /> <dc:Bounds x="160" y="470" width="370" height="280" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_04zgivk_di" bpmnElement="Flow_04zgivk"> <bpmndi:BPMNEdge id="Flow_04zgivk_di" bpmnElement="Flow_04zgivk">
<di:waypoint x="248" y="610" /> <di:waypoint x="248" y="610" />
<di:waypoint x="482" y="610" /> <di:waypoint x="290" y="610" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1wv6nty_di" bpmnElement="Flow_1wv6nty">
<di:waypoint x="828" y="610" />
<di:waypoint x="922" y="610" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_09o63g2_di" bpmnElement="Flow_09o63g2">
<di:waypoint x="518" y="610" />
<di:waypoint x="610" y="610" />
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1sb0o0i_di" bpmnElement="Flow_1sb0o0i"> <bpmndi:BPMNEdge id="Flow_1sb0o0i_di" bpmnElement="Flow_1sb0o0i">
<di:waypoint x="710" y="610" /> <di:waypoint x="390" y="610" />
<di:waypoint x="792" y="610" /> <di:waypoint x="442" y="610" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_0pbfi3y_di" bpmnElement="Event_0pbfi3y">
<dc:Bounds x="482" y="592" width="36" height="36" />
<bpmndi:BPMNLabel> <bpmndi:BPMNLabel>
<dc:Bounds x="465" y="638" width="73" height="14" /> <dc:Bounds x="540" y="560" width="84" height="40" />
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_0mra24h_di" bpmnElement="Event_0mra24h"> <bpmndi:BPMNShape id="Event_0mra24h_di" bpmnElement="Event_0mra24h">
<dc:Bounds x="212" y="592" width="36" height="36" /> <dc:Bounds x="212" y="592" width="36" height="36" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1j05a8t_di" bpmnElement="Activity_1j05a8t" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)"> <bpmndi:BPMNShape id="Activity_1j05a8t_di" bpmnElement="Activity_1j05a8t" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
<dc:Bounds x="610" y="570" width="100" height="80" /> <dc:Bounds x="290" y="570" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0nmnfhf_di" bpmnElement="Event_0nmnfhf">
<dc:Bounds x="792" y="592" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="773" y="638" width="77" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0kgcs0l_di" bpmnElement="Event_0kgcs0l"> <bpmndi:BPMNShape id="Event_0kgcs0l_di" bpmnElement="Event_0kgcs0l">
<dc:Bounds x="922" y="592" width="36" height="36" /> <dc:Bounds x="442" y="592" width="36" height="36" />
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
</bpmndi:BPMNPlane> </bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram> </bpmndi:BPMNDiagram>

Loading…
Cancel
Save