Skip to content
ServiceTestOrchestrationProcess.bpmn 5.89 KiB
Newer Older
Christos Tranoris's avatar
Christos Tranoris committed
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
  <process id="serviceTestOrchestrationProcess" name="Service Test Orchestration Process" isExecutable="true">
    <startEvent id="startevent1" name="Start"></startEvent>
    <serviceTask id="initializeServiceTesttask" name="Initialize Service Test Orchestration Task" activiti:delegateExpression="${initializeServiceTestOrchestration}"></serviceTask>
    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="initializeServiceTesttask"></sequenceFlow>
    <serviceTask id="checkServiceTestDeployment" name="Check Service Test Deployment Task" activiti:delegateExpression="${checkServiceTestDeployment}"></serviceTask>
    <exclusiveGateway id="exclusivegatewayCheckLSODeployment" name="Exclusive Gateway CheckLSODeployment"></exclusiveGateway>
    <sequenceFlow id="flow2" sourceRef="initializeServiceTesttask" targetRef="checkServiceTestDeployment"></sequenceFlow>
    <sequenceFlow id="flow3" sourceRef="checkServiceTestDeployment" targetRef="exclusivegatewayCheckLSODeployment"></sequenceFlow>
    <endEvent id="endevent1" name="End"></endEvent>
    <sequenceFlow id="flowserviceTestDeploymentFinished" name="Service Test Deployment Finished" sourceRef="exclusivegatewayCheckLSODeployment" targetRef="endevent1">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${serviceTestDeploymentFinished}]]></conditionExpression>
    </sequenceFlow>
    <intermediateCatchEvent id="timerintermediatecatcheventLSODeploymentCheck" name="Timer start wait 30 secs">
      <timerEventDefinition>
        <timeDuration>PT30S</timeDuration>
      </timerEventDefinition>
    </intermediateCatchEvent>
    <sequenceFlow id="flowServiceTestDeploymentNOTFinished" name="Service Test Deployment NOT Finished" sourceRef="exclusivegatewayCheckLSODeployment" targetRef="timerintermediatecatcheventLSODeploymentCheck">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!serviceTestDeploymentFinished}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flow6" sourceRef="timerintermediatecatcheventLSODeploymentCheck" targetRef="checkServiceTestDeployment"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_serviceTestOrchestrationProcess">
    <bpmndi:BPMNPlane bpmnElement="serviceTestOrchestrationProcess" id="BPMNPlane_serviceTestOrchestrationProcess">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="170.0" y="190.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="initializeServiceTesttask" id="BPMNShape_initializeServiceTesttask">
        <omgdc:Bounds height="71.0" width="111.0" x="310.0" y="172.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="checkServiceTestDeployment" id="BPMNShape_checkServiceTestDeployment">
        <omgdc:Bounds height="71.0" width="111.0" x="510.0" y="172.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="exclusivegatewayCheckLSODeployment" id="BPMNShape_exclusivegatewayCheckLSODeployment">
        <omgdc:Bounds height="40.0" width="40.0" x="720.0" y="187.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="890.0" y="190.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="timerintermediatecatcheventLSODeploymentCheck" id="BPMNShape_timerintermediatecatcheventLSODeploymentCheck">
        <omgdc:Bounds height="35.0" width="35.0" x="640.0" y="290.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="205.0" y="207.0"></omgdi:waypoint>
        <omgdi:waypoint x="310.0" y="207.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="421.0" y="207.0"></omgdi:waypoint>
        <omgdi:waypoint x="510.0" y="207.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="621.0" y="207.0"></omgdi:waypoint>
        <omgdi:waypoint x="720.0" y="207.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flowserviceTestDeploymentFinished" id="BPMNEdge_flowserviceTestDeploymentFinished">
        <omgdi:waypoint x="760.0" y="207.0"></omgdi:waypoint>
        <omgdi:waypoint x="890.0" y="207.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="42.0" width="100.0" x="760.0" y="207.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flowServiceTestDeploymentNOTFinished" id="BPMNEdge_flowServiceTestDeploymentNOTFinished">
        <omgdi:waypoint x="740.0" y="227.0"></omgdi:waypoint>
        <omgdi:waypoint x="739.0" y="307.0"></omgdi:waypoint>
        <omgdi:waypoint x="675.0" y="307.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="42.0" width="100.0" x="741.0" y="264.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
        <omgdi:waypoint x="640.0" y="307.0"></omgdi:waypoint>
        <omgdi:waypoint x="565.0" y="307.0"></omgdi:waypoint>
        <omgdi:waypoint x="565.0" y="243.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>