8fababaffe266f6a0edd6f880e6b0c21e522dc41
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / MonitorVnfmDeleteNodeStatus.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_15jp7td" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.2.4">
3   <bpmn:process id="MonitorVnfmDeleteNodeStatus" name="MonitorVnfmDeleteNodeStatus" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_0f7nbs2">
5       <bpmn:outgoing>SequenceFlow_0spr34x</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:subProcess id="SubProcess_1q8fnjx">
8       <bpmn:incoming>SequenceFlow_0spr34x</bpmn:incoming>
9       <bpmn:startEvent id="StartEvent_06pbazr">
10         <bpmn:outgoing>SequenceFlow_17vvpzi</bpmn:outgoing>
11       </bpmn:startEvent>
12       <bpmn:exclusiveGateway id="ExclusiveGateway_1j9jbtk" default="SequenceFlow_0zlblru">
13         <bpmn:incoming>SequenceFlow_1unicf9</bpmn:incoming>
14         <bpmn:outgoing>SequenceFlow_03pp1ee</bpmn:outgoing>
15         <bpmn:outgoing>SequenceFlow_0zlblru</bpmn:outgoing>
16       </bpmn:exclusiveGateway>
17       <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_15yl23y" name="Wait between checks" camunda:asyncAfter="true">
18         <bpmn:incoming>SequenceFlow_0zlblru</bpmn:incoming>
19         <bpmn:outgoing>SequenceFlow_11rfobu</bpmn:outgoing>
20         <bpmn:timerEventDefinition id="TimerEventDefinition_0o69kn7">
21           <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT15S</bpmn:timeDuration>
22         </bpmn:timerEventDefinition>
23       </bpmn:intermediateCatchEvent>
24       <bpmn:endEvent id="EndEvent_1hukjy3">
25         <bpmn:incoming>SequenceFlow_03pp1ee</bpmn:incoming>
26       </bpmn:endEvent>
27       <bpmn:sequenceFlow id="SequenceFlow_03pp1ee" name="&#10;&#10;&#10;delete vnf success&#10;&#10;" sourceRef="ExclusiveGateway_1j9jbtk" targetRef="EndEvent_1hukjy3">
28         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("deleteVnfNodeStatus")}</bpmn:conditionExpression>
29       </bpmn:sequenceFlow>
30       <bpmn:sequenceFlow id="SequenceFlow_0zlblru" sourceRef="ExclusiveGateway_1j9jbtk" targetRef="IntermediateCatchEvent_15yl23y" />
31       <bpmn:serviceTask id="ServiceTask_1ksqjjf" name="&#10;Get node status &#10;" camunda:asyncAfter="true" camunda:expression="${MonitorVnfmNodeTask.getNodeStatus(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
32         <bpmn:incoming>SequenceFlow_17vvpzi</bpmn:incoming>
33         <bpmn:incoming>SequenceFlow_11rfobu</bpmn:incoming>
34         <bpmn:outgoing>SequenceFlow_1unicf9</bpmn:outgoing>
35       </bpmn:serviceTask>
36       <bpmn:sequenceFlow id="SequenceFlow_17vvpzi" sourceRef="StartEvent_06pbazr" targetRef="ServiceTask_1ksqjjf" />
37       <bpmn:sequenceFlow id="SequenceFlow_1unicf9" sourceRef="ServiceTask_1ksqjjf" targetRef="ExclusiveGateway_1j9jbtk" />
38       <bpmn:sequenceFlow id="SequenceFlow_11rfobu" sourceRef="IntermediateCatchEvent_15yl23y" targetRef="ServiceTask_1ksqjjf" />
39     </bpmn:subProcess>
40     <bpmn:endEvent id="EndEvent_1bhjbb4" name="Timeout Exception">
41       <bpmn:incoming>SequenceFlow_1o7p21a</bpmn:incoming>
42       <bpmn:terminateEventDefinition id="TerminateEventDefinition_1bme4ej" />
43     </bpmn:endEvent>
44     <bpmn:serviceTask id="ServiceTask_1wmy8ge" name="&#10;Time Out Log Failure&#10;" camunda:asyncAfter="true" camunda:expression="${MonitorVnfmNodeTask.timeOutLogFailue(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
45       <bpmn:incoming>SequenceFlow_1suioy7</bpmn:incoming>
46       <bpmn:outgoing>SequenceFlow_1o7p21a</bpmn:outgoing>
47     </bpmn:serviceTask>
48     <bpmn:boundaryEvent id="BoundaryEvent_1frhcyq" name="Overall Wait" attachedToRef="SubProcess_1q8fnjx">
49       <bpmn:outgoing>SequenceFlow_1suioy7</bpmn:outgoing>
50       <bpmn:timerEventDefinition id="TimerEventDefinition_1ish98h">
51         <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT3H</bpmn:timeDuration>
52       </bpmn:timerEventDefinition>
53     </bpmn:boundaryEvent>
54     <bpmn:sequenceFlow id="SequenceFlow_0spr34x" sourceRef="StartEvent_0f7nbs2" targetRef="SubProcess_1q8fnjx" />
55     <bpmn:sequenceFlow id="SequenceFlow_1o7p21a" sourceRef="ServiceTask_1wmy8ge" targetRef="EndEvent_1bhjbb4" />
56     <bpmn:sequenceFlow id="SequenceFlow_1suioy7" sourceRef="BoundaryEvent_1frhcyq" targetRef="ServiceTask_1wmy8ge" />
57   </bpmn:process>
58   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
59     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="MonitorVnfmDeleteNodeStatus">
60       <bpmndi:BPMNShape id="StartEvent_0f7nbs2_di" bpmnElement="StartEvent_0f7nbs2">
61         <dc:Bounds x="154" y="313" width="36" height="36" />
62       </bpmndi:BPMNShape>
63       <bpmndi:BPMNShape id="SubProcess_1q8fnjx_di" bpmnElement="SubProcess_1q8fnjx" isExpanded="true">
64         <dc:Bounds x="293" y="231" width="523" height="200" />
65       </bpmndi:BPMNShape>
66       <bpmndi:BPMNShape id="EndEvent_1bhjbb4_di" bpmnElement="EndEvent_1bhjbb4">
67         <dc:Bounds x="1095" y="305" width="36" height="36" />
68         <bpmndi:BPMNLabel>
69           <dc:Bounds x="1088" y="265" width="49" height="27" />
70         </bpmndi:BPMNLabel>
71       </bpmndi:BPMNShape>
72       <bpmndi:BPMNShape id="ServiceTask_1wmy8ge_di" bpmnElement="ServiceTask_1wmy8ge">
73         <dc:Bounds x="916" y="283" width="100" height="80" />
74       </bpmndi:BPMNShape>
75       <bpmndi:BPMNShape id="ServiceTask_1ksqjjf_di" bpmnElement="ServiceTask_1ksqjjf">
76         <dc:Bounds x="411" y="267" width="100" height="80" />
77       </bpmndi:BPMNShape>
78       <bpmndi:BPMNShape id="BoundaryEvent_1frhcyq_di" bpmnElement="BoundaryEvent_1frhcyq">
79         <dc:Bounds x="799" y="305" width="36" height="36" />
80         <bpmndi:BPMNLabel>
81           <dc:Bounds x="787" y="344" width="60" height="14" />
82         </bpmndi:BPMNLabel>
83       </bpmndi:BPMNShape>
84       <bpmndi:BPMNEdge id="SequenceFlow_0spr34x_di" bpmnElement="SequenceFlow_0spr34x">
85         <di:waypoint x="190" y="331" />
86         <di:waypoint x="293" y="331" />
87       </bpmndi:BPMNEdge>
88       <bpmndi:BPMNEdge id="SequenceFlow_1o7p21a_di" bpmnElement="SequenceFlow_1o7p21a">
89         <di:waypoint x="1016" y="323" />
90         <di:waypoint x="1095" y="323" />
91       </bpmndi:BPMNEdge>
92       <bpmndi:BPMNEdge id="SequenceFlow_1suioy7_di" bpmnElement="SequenceFlow_1suioy7">
93         <di:waypoint x="835" y="323" />
94         <di:waypoint x="916" y="323" />
95       </bpmndi:BPMNEdge>
96       <bpmndi:BPMNShape id="StartEvent_06pbazr_di" bpmnElement="StartEvent_06pbazr">
97         <dc:Bounds x="323" y="289" width="36" height="36" />
98       </bpmndi:BPMNShape>
99       <bpmndi:BPMNShape id="ExclusiveGateway_1j9jbtk_di" bpmnElement="ExclusiveGateway_1j9jbtk" isMarkerVisible="true">
100         <dc:Bounds x="602" y="282" width="50" height="50" />
101       </bpmndi:BPMNShape>
102       <bpmndi:BPMNShape id="IntermediateCatchEvent_15yl23y_di" bpmnElement="IntermediateCatchEvent_15yl23y">
103         <dc:Bounds x="543" y="361" width="36" height="36" />
104         <bpmndi:BPMNLabel>
105           <dc:Bounds x="530" y="404" width="67" height="27" />
106         </bpmndi:BPMNLabel>
107       </bpmndi:BPMNShape>
108       <bpmndi:BPMNShape id="EndEvent_1hukjy3_di" bpmnElement="EndEvent_1hukjy3">
109         <dc:Bounds x="715" y="289" width="36" height="36" />
110       </bpmndi:BPMNShape>
111       <bpmndi:BPMNEdge id="SequenceFlow_03pp1ee_di" bpmnElement="SequenceFlow_03pp1ee">
112         <di:waypoint x="652" y="307" />
113         <di:waypoint x="715" y="307" />
114         <bpmndi:BPMNLabel>
115           <dc:Bounds x="660" y="289" width="49" height="93" />
116         </bpmndi:BPMNLabel>
117       </bpmndi:BPMNEdge>
118       <bpmndi:BPMNEdge id="SequenceFlow_0zlblru_di" bpmnElement="SequenceFlow_0zlblru">
119         <di:waypoint x="627" y="332" />
120         <di:waypoint x="627" y="379" />
121         <di:waypoint x="579" y="379" />
122       </bpmndi:BPMNEdge>
123       <bpmndi:BPMNEdge id="SequenceFlow_17vvpzi_di" bpmnElement="SequenceFlow_17vvpzi">
124         <di:waypoint x="359" y="307" />
125         <di:waypoint x="411" y="307" />
126       </bpmndi:BPMNEdge>
127       <bpmndi:BPMNEdge id="SequenceFlow_1unicf9_di" bpmnElement="SequenceFlow_1unicf9">
128         <di:waypoint x="511" y="307" />
129         <di:waypoint x="602" y="307" />
130       </bpmndi:BPMNEdge>
131       <bpmndi:BPMNEdge id="SequenceFlow_11rfobu_di" bpmnElement="SequenceFlow_11rfobu">
132         <di:waypoint x="543" y="379" />
133         <di:waypoint x="450" y="379" />
134         <di:waypoint x="451" y="347" />
135       </bpmndi:BPMNEdge>
136     </bpmndi:BPMNPlane>
137   </bpmndi:BPMNDiagram>
138 </bpmn:definitions>