summaryrefslogtreecommitdiff
path: root/calamus-engine/src/main/resources/Deploy.bpmn2
diff options
context:
space:
mode:
Diffstat (limited to 'calamus-engine/src/main/resources/Deploy.bpmn2')
-rw-r--r--calamus-engine/src/main/resources/Deploy.bpmn2132
1 files changed, 132 insertions, 0 deletions
diff --git a/calamus-engine/src/main/resources/Deploy.bpmn2 b/calamus-engine/src/main/resources/Deploy.bpmn2
new file mode 100644
index 0000000..2e29859
--- /dev/null
+++ b/calamus-engine/src/main/resources/Deploy.bpmn2
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:tns="http://www.jboss.org/drools" xmlns="http://www.jboss.org/drools" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd" id="Definition" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
+ <bpmn2:itemDefinition id="_ItemDefinition_118" structureRef="io.trygvis.engine.service.AppService"/>
+ <bpmn2:itemDefinition id="ItemDefinition_1" structureRef="io.trygvis.engine.service.AppInstance"/>
+ <bpmn2:itemDefinition id="ItemDefinition_2" structureRef="StringDataType"/>
+ <bpmn2:signal id="Signal_1" name="New build available"/>
+ <bpmn2:message id="AppInstance" itemRef="ItemDefinition_1" name="AppInstance"/>
+ <bpmn2:interface id="Interface_2" implementationRef="io.trygvis.engine.service.AppService" name="io.trygvis.jbpm.service.AppService">
+ <bpmn2:operation id="_Operation_70" name="installApp">
+ <bpmn2:inMessageRef>AppInstance</bpmn2:inMessageRef>
+ </bpmn2:operation>
+ <bpmn2:operation id="_Operation_71" name="restartApp">
+ <bpmn2:inMessageRef>AppInstance</bpmn2:inMessageRef>
+ </bpmn2:operation>
+ <bpmn2:operation id="_Operation_72" name="waitForUp">
+ <bpmn2:inMessageRef>AppInstance</bpmn2:inMessageRef>
+ </bpmn2:operation>
+ </bpmn2:interface>
+ <bpmn2:process id="io.trygvis.bpm.Deploy" tns:version="1" tns:packageName="io.trygvis.bpm" tns:adHoc="false" name="Deploy" isExecutable="true" processType="Private">
+ <bpmn2:documentation id="Documentation_79">asd</bpmn2:documentation>
+ <bpmn2:extensionElements>
+ <tns:import name="io.trygvis.jbpm.service.AppService"/>
+ <tns:import name="io.trygvis.jbpm.service.AppInstance"/>
+ </bpmn2:extensionElements>
+ <bpmn2:property id="appInstance" itemSubjectRef="ItemDefinition_1"/>
+ <bpmn2:startEvent id="StartEvent_2" name="">
+ <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
+ <bpmn2:outputSet id="OutputSet_4" name="Output Set 4"/>
+ </bpmn2:startEvent>
+ <bpmn2:sequenceFlow id="SequenceFlow_1" tns:priority="1" sourceRef="StartEvent_2" targetRef="Task_1"/>
+ <bpmn2:task id="Task_1" tns:taskName="Upgrade App" tns:displayName="Upgrade app" tns:icon="task.png" name="Upgrade App">
+ <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
+ <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
+ <bpmn2:ioSpecification id="_InputOutputSpecification_5">
+ <bpmn2:dataInput id="_DataInput_18" itemSubjectRef="ItemDefinition_2" name="Host"/>
+ <bpmn2:dataInput id="_DataInput_19" itemSubjectRef="ItemDefinition_2" name="Path"/>
+ <bpmn2:inputSet id="_InputSet_5" name="New Input Set">
+ <bpmn2:dataInputRefs>_DataInput_18</bpmn2:dataInputRefs>
+ <bpmn2:dataInputRefs>_DataInput_19</bpmn2:dataInputRefs>
+ </bpmn2:inputSet>
+ <bpmn2:outputSet id="OutputSet_1" name="Output Set 1"/>
+ </bpmn2:ioSpecification>
+ <bpmn2:dataInputAssociation id="_DataInputAssociation_18">
+ <bpmn2:targetRef>_DataInput_18</bpmn2:targetRef>
+ </bpmn2:dataInputAssociation>
+ <bpmn2:dataInputAssociation id="_DataInputAssociation_19">
+ <bpmn2:targetRef>_DataInput_19</bpmn2:targetRef>
+ </bpmn2:dataInputAssociation>
+ </bpmn2:task>
+ <bpmn2:sequenceFlow id="SequenceFlow_3" tns:priority="1" sourceRef="Task_1" targetRef="Task_2"/>
+ <bpmn2:task id="Task_2" tns:taskName="Restart App" tns:displayName="Restart app" tns:icon="task.png" name="Restart App">
+ <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
+ <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
+ <bpmn2:ioSpecification id="_InputOutputSpecification_6">
+ <bpmn2:dataInput id="_DataInput_20" itemSubjectRef="ItemDefinition_2" name="Host"/>
+ <bpmn2:dataInput id="_DataInput_21" itemSubjectRef="ItemDefinition_2" name="Path"/>
+ <bpmn2:inputSet id="_InputSet_6" name="New Input Set">
+ <bpmn2:dataInputRefs>_DataInput_20</bpmn2:dataInputRefs>
+ <bpmn2:dataInputRefs>_DataInput_21</bpmn2:dataInputRefs>
+ </bpmn2:inputSet>
+ <bpmn2:outputSet id="OutputSet_2" name="Output Set 2"/>
+ </bpmn2:ioSpecification>
+ <bpmn2:dataInputAssociation id="_DataInputAssociation_20">
+ <bpmn2:targetRef>_DataInput_20</bpmn2:targetRef>
+ </bpmn2:dataInputAssociation>
+ <bpmn2:dataInputAssociation id="_DataInputAssociation_21">
+ <bpmn2:targetRef>_DataInput_21</bpmn2:targetRef>
+ </bpmn2:dataInputAssociation>
+ </bpmn2:task>
+ <bpmn2:sequenceFlow id="SequenceFlow_4" tns:priority="1" sourceRef="Task_2" targetRef="IntermediateCatchEvent_3"/>
+ <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_3" name="Wait for application to start">
+ <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
+ <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
+ <bpmn2:dataOutput id="DataOutput_4" itemSubjectRef="ItemDefinition_1" name="Message_3_Output"/>
+ <bpmn2:dataOutputAssociation id="DataOutputAssociation_4">
+ <bpmn2:sourceRef>DataOutput_4</bpmn2:sourceRef>
+ <bpmn2:targetRef>appInstance</bpmn2:targetRef>
+ </bpmn2:dataOutputAssociation>
+ <bpmn2:outputSet id="OutputSet_7" name="Output Set 7">
+ <bpmn2:dataOutputRefs>DataOutput_4</bpmn2:dataOutputRefs>
+ </bpmn2:outputSet>
+ <bpmn2:messageEventDefinition id="MessageEventDefinition_3" messageRef="AppInstance"/>
+ </bpmn2:intermediateCatchEvent>
+ <bpmn2:sequenceFlow id="SequenceFlow_5" tns:priority="1" sourceRef="IntermediateCatchEvent_3" targetRef="EndEvent_1"/>
+ <bpmn2:endEvent id="EndEvent_1" name="">
+ <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
+ </bpmn2:endEvent>
+ </bpmn2:process>
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
+ <bpmndi:BPMNPlane id="BPMNPlane_Process_1" bpmnElement="io.trygvis.bpm.Deploy">
+ <bpmndi:BPMNShape id="BPMNShape_StartEvent_2" bpmnElement="StartEvent_2">
+ <dc:Bounds height="36.0" width="36.0" x="40.0" y="205.0"/>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="BPMNShape_EndEvent_1" bpmnElement="EndEvent_1">
+ <dc:Bounds height="36.0" width="36.0" x="730.0" y="205.0"/>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_3" bpmnElement="IntermediateCatchEvent_3">
+ <dc:Bounds height="36.0" width="36.0" x="620.0" y="205.0"/>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="BPMNShape_Task_1" bpmnElement="Task_1">
+ <dc:Bounds height="50.0" width="110.0" x="180.0" y="198.0"/>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="BPMNShape_Task_2" bpmnElement="Task_2">
+ <dc:Bounds height="50.0" width="110.0" x="408.0" y="198.0"/>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="BPMNShape_StartEvent_2" targetElement="BPMNShape_Task_1">
+ <di:waypoint xsi:type="dc:Point" x="76.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="122.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="122.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="180.0" y="223.0"/>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="BPMNShape_Task_1" targetElement="BPMNShape_Task_2">
+ <di:waypoint xsi:type="dc:Point" x="290.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="343.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="343.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="408.0" y="223.0"/>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="BPMNShape_Task_2" targetElement="BPMNShape_IntermediateCatchEvent_3">
+ <di:waypoint xsi:type="dc:Point" x="518.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="563.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="563.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="620.0" y="223.0"/>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="BPMNShape_IntermediateCatchEvent_3" targetElement="BPMNShape_EndEvent_1">
+ <di:waypoint xsi:type="dc:Point" x="656.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="689.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="689.0" y="223.0"/>
+ <di:waypoint xsi:type="dc:Point" x="730.0" y="223.0"/>
+ </bpmndi:BPMNEdge>
+ </bpmndi:BPMNPlane>
+ </bpmndi:BPMNDiagram>
+</bpmn2:definitions> \ No newline at end of file