blob: 1d20bd099cc07bed1479750b64f00be9ce686c24 [file] [log] [blame]
xg353yb6b7bef2017-04-11 13:30:42 +02001<?xml version="1.0" encoding="UTF-8"?>
2<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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_F0omAMXGEeW834CKd-K10Q" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://camunda.org/schema/1.0/bpmn">
3 <bpmn2:process id="UpdateVfModuleInfra" name="UpdateVfModuleInfra" isExecutable="true">
4 <bpmn2:scriptTask id="ScriptTask_1" name="Send Synch Response" scriptFormat="groovy">
5 <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
6 <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
7 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
ChrisC025301d2017-01-31 11:40:03 +01008def uvfm = new UpdateVfModuleInfra()
xg353yb6b7bef2017-04-11 13:30:42 +02009uvfm.sendSynchResponse(execution)]]></bpmn2:script>
10 </bpmn2:scriptTask>
11 <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ScriptTask_1" targetRef="ScriptTask_7"/>
12 <bpmn2:scriptTask id="ScriptTask_2" name="Pre-Process Request" scriptFormat="groovy">
13 <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
14 <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
15 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
ChrisC025301d2017-01-31 11:40:03 +010016def uvfm = new UpdateVfModuleInfra()
17uvfm.preProcessRequest(execution)
xg353yb6b7bef2017-04-11 13:30:42 +020018]]></bpmn2:script>
19 </bpmn2:scriptTask>
20 <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ScriptTask_2" targetRef="ScriptTask_1"/>
21 <bpmn2:scriptTask id="ScriptTask_7" name="DoUpdateVfModule (prep)" scriptFormat="groovy">
22 <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
23 <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
24 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
ChrisC025301d2017-01-31 11:40:03 +010025def uvfm = new UpdateVfModuleInfra()
xg353yb6b7bef2017-04-11 13:30:42 +020026uvfm.prepDoUpdateVfModule(execution)]]></bpmn2:script>
27 </bpmn2:scriptTask>
28 <bpmn2:callActivity id="ScriptTask_6" name="DoUpdateVfModule" calledElement="DoUpdateVfModule">
29 <bpmn2:extensionElements>
30 <camunda:in source="UPDVfModI_Request" target="DoUpdateVfModuleRequest"/>
31 <camunda:in source="mso-request-id" target="mso-request-id"/>
32 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id"/>
33 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled"/>
34 <camunda:out source="WorkflowException" target="WorkflowException"/>
35 </bpmn2:extensionElements>
36 <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
37 <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
38 </bpmn2:callActivity>
39 <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="ScriptTask_7" targetRef="ScriptTask_6"/>
40 <bpmn2:callActivity id="CallActivity_1" name="Completion Handler" calledElement="CompleteMsoProcess">
41 <bpmn2:extensionElements>
42 <camunda:in source="UPDVfModI_CompletionHandlerRequest" target="CompleteMsoProcessRequest"/>
43 <camunda:in source="mso-request-id" target="mso-request-id"/>
44 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id"/>
45 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled"/>
46 </bpmn2:extensionElements>
47 <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
48 <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
49 </bpmn2:callActivity>
50 <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="CallActivity_1" targetRef="ScriptTask_4"/>
51 <bpmn2:endEvent id="EndEvent_1" name="TheEnd">
52 <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
53 <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_5"/>
54 </bpmn2:endEvent>
55 <bpmn2:scriptTask id="ScriptTask_4" name="Set Success Indicator" scriptFormat="groovy">
56 <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
57 <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
ChrisC025301d2017-01-31 11:40:03 +010058 <bpmn2:script><![CDATA[// The following variable is checked by the unit test
xg353yb6b7bef2017-04-11 13:30:42 +020059execution.setVariable("UpdateVfModuleInfraSuccessIndicator", true)]]></bpmn2:script>
60 </bpmn2:scriptTask>
61 <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="ScriptTask_4" targetRef="EndEvent_1"/>
62 <bpmn2:scriptTask id="ScriptTask_10" name="Completion Handler (prep)" scriptFormat="groovy">
63 <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
64 <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
65 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
ChrisC025301d2017-01-31 11:40:03 +010066def uvfm = new UpdateVfModuleInfra()
67uvfm.completionHandlerPrep(execution, 'UPDVfModI_CompletionHandlerRequest')
xg353yb6b7bef2017-04-11 13:30:42 +020068]]></bpmn2:script>
69 </bpmn2:scriptTask>
70 <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="ScriptTask_10" targetRef="CallActivity_1"/>
71 <bpmn2:subProcess id="SubProcess_1" name="Error Handler" triggeredByEvent="true">
72 <bpmn2:startEvent id="StartEvent_3" name="Catch All Errors">
73 <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
74 <bpmn2:errorEventDefinition id="ErrorEventDefinition_1"/>
75 </bpmn2:startEvent>
76 <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_3" targetRef="ScriptTask_3"/>
77 <bpmn2:scriptTask id="ScriptTask_3" name="Fallout Handler (prep)" scriptFormat="groovy">
78 <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
79 <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
80 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
ChrisC025301d2017-01-31 11:40:03 +010081def uvfm = new UpdateVfModuleInfra()
82uvfm.falloutHandlerPrep(execution, 'UPDVfModI_FalloutHandlerRequest')
xg353yb6b7bef2017-04-11 13:30:42 +020083]]></bpmn2:script>
84 </bpmn2:scriptTask>
85 <bpmn2:sequenceFlow id="SequenceFlow_7" sourceRef="ScriptTask_3" targetRef="CallActivity_2"/>
86 <bpmn2:callActivity id="CallActivity_2" name="Fallout Handler" calledElement="FalloutHandler">
87 <bpmn2:extensionElements>
88 <camunda:in source="UPDVfModI_FalloutHandlerRequest" target="FalloutHandlerRequest"/>
89 <camunda:in source="mso-request-id" target="mso-request-id"/>
90 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id"/>
91 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled"/>
92 </bpmn2:extensionElements>
93 <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
94 <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
95 </bpmn2:callActivity>
96 <bpmn2:endEvent id="EndEvent_2">
97 <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
98 <bpmn2:terminateEventDefinition id="TerminateEventDefinition_1"/>
99 </bpmn2:endEvent>
100 <bpmn2:sequenceFlow id="SequenceFlow_19" name="" sourceRef="CallActivity_2" targetRef="EndEvent_2"/>
101 </bpmn2:subProcess>
102 <bpmn2:endEvent id="EndEvent_3">
103 <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
104 <bpmn2:terminateEventDefinition id="TerminateEventDefinition_2"/>
105 </bpmn2:endEvent>
106 <bpmn2:boundaryEvent id="BoundaryEvent_1" name="" attachedToRef="SubProcess_1">
107 <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
108 <bpmn2:errorEventDefinition id="ErrorEventDefinition_2"/>
109 </bpmn2:boundaryEvent>
110 <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="BoundaryEvent_1" targetRef="EndEvent_3"/>
111 <bpmn2:startEvent id="StartEvent_1" name="Start">
112 <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
113 </bpmn2:startEvent>
114 <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_2"/>
115 <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="ScriptTask_6" targetRef="ScriptTask_10"/>
116 </bpmn2:process>
117 <bpmn2:error id="Error_1" errorCode="MSOWorkflowException" name="MSOWorkflowException"/>
118 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
119 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateVfModuleInfra">
120 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_50" bpmnElement="StartEvent_1">
121 <dc:Bounds height="36.0" width="36.0" x="149.0" y="72.0"/>
122 <bpmndi:BPMNLabel>
123 <dc:Bounds height="22.0" width="34.0" x="150.0" y="113.0"/>
124 </bpmndi:BPMNLabel>
125 </bpmndi:BPMNShape>
126 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_125" bpmnElement="EndEvent_1">
127 <dc:Bounds height="36.0" width="36.0" x="605.0" y="370.0"/>
128 <bpmndi:BPMNLabel>
129 <dc:Bounds height="22.0" width="50.0" x="598.0" y="411.0"/>
130 </bpmndi:BPMNLabel>
131 </bpmndi:BPMNShape>
132 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_StartEvent_50" targetElement="_BPMNShape_ScriptTask_124">
133 <di:waypoint xsi:type="dc:Point" x="185.0" y="90.0"/>
134 <di:waypoint xsi:type="dc:Point" x="299.0" y="90.0"/>
135 <bpmndi:BPMNLabel>
136 <dc:Bounds height="6.0" width="6.0" x="235.0" y="90.0"/>
137 </bpmndi:BPMNLabel>
138 </bpmndi:BPMNEdge>
139 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_124" bpmnElement="ScriptTask_2">
140 <dc:Bounds height="80.0" width="100.0" x="299.0" y="50.0"/>
141 </bpmndi:BPMNShape>
142 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_124" targetElement="_BPMNShape_ScriptTask_125">
143 <di:waypoint xsi:type="dc:Point" x="399.0" y="90.0"/>
144 <di:waypoint xsi:type="dc:Point" x="449.0" y="90.0"/>
145 <bpmndi:BPMNLabel>
146 <dc:Bounds height="6.0" width="6.0" x="433.0" y="90.0"/>
147 </bpmndi:BPMNLabel>
148 </bpmndi:BPMNEdge>
149 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_125" bpmnElement="ScriptTask_1">
150 <dc:Bounds height="80.0" width="100.0" x="449.0" y="50.0"/>
151 </bpmndi:BPMNShape>
152 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_125" targetElement="_BPMNShape_ScriptTask_130">
153 <di:waypoint xsi:type="dc:Point" x="498.0" y="130.0"/>
154 <di:waypoint xsi:type="dc:Point" x="498.0" y="160.0"/>
155 <di:waypoint xsi:type="dc:Point" x="199.0" y="160.0"/>
156 <di:waypoint xsi:type="dc:Point" x="199.0" y="190.0"/>
157 <bpmndi:BPMNLabel>
158 <dc:Bounds height="6.0" width="6.0" x="717.0" y="169.0"/>
159 </bpmndi:BPMNLabel>
160 </bpmndi:BPMNEdge>
161 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_127" bpmnElement="ScriptTask_4">
162 <dc:Bounds height="80.0" width="100.0" x="449.0" y="348.0"/>
163 </bpmndi:BPMNShape>
164 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_127" targetElement="_BPMNShape_EndEvent_125">
165 <di:waypoint xsi:type="dc:Point" x="549.0" y="388.0"/>
166 <di:waypoint xsi:type="dc:Point" x="605.0" y="388.0"/>
167 <bpmndi:BPMNLabel>
168 <dc:Bounds height="6.0" width="6.0" x="723.0" y="186.0"/>
169 </bpmndi:BPMNLabel>
170 </bpmndi:BPMNEdge>
171 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_130" bpmnElement="ScriptTask_7">
172 <dc:Bounds height="80.0" width="100.0" x="149.0" y="190.0"/>
173 </bpmndi:BPMNShape>
174 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_133" bpmnElement="ScriptTask_10">
175 <dc:Bounds height="80.0" width="100.0" x="149.0" y="348.0"/>
176 </bpmndi:BPMNShape>
177 <bpmndi:BPMNShape id="_BPMNShape_CallActivity_27" bpmnElement="CallActivity_1">
178 <dc:Bounds height="80.0" width="100.0" x="299.0" y="348.0"/>
179 </bpmndi:BPMNShape>
180 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ScriptTask_133" targetElement="_BPMNShape_CallActivity_27">
181 <di:waypoint xsi:type="dc:Point" x="249.0" y="388.0"/>
182 <di:waypoint xsi:type="dc:Point" x="299.0" y="388.0"/>
183 <bpmndi:BPMNLabel>
184 <dc:Bounds height="6.0" width="6.0" x="271.0" y="394.0"/>
185 </bpmndi:BPMNLabel>
186 </bpmndi:BPMNEdge>
187 <bpmndi:BPMNShape id="_BPMNShape_SubProcess_17" bpmnElement="SubProcess_1" isExpanded="true">
188 <dc:Bounds height="241.0" width="565.0" x="65.0" y="536.0"/>
189 </bpmndi:BPMNShape>
190 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_52" bpmnElement="StartEvent_3">
191 <dc:Bounds height="36.0" width="36.0" x="129.0" y="630.0"/>
192 <bpmndi:BPMNLabel>
193 <dc:Bounds height="22.0" width="98.0" x="98.0" y="671.0"/>
194 </bpmndi:BPMNLabel>
195 </bpmndi:BPMNShape>
196 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_136" bpmnElement="ScriptTask_3">
197 <dc:Bounds height="80.0" width="100.0" x="209.0" y="608.0"/>
198 </bpmndi:BPMNShape>
199 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_52" targetElement="_BPMNShape_ScriptTask_136">
200 <di:waypoint xsi:type="dc:Point" x="165.0" y="648.0"/>
201 <di:waypoint xsi:type="dc:Point" x="209.0" y="648.0"/>
202 <bpmndi:BPMNLabel>
203 <dc:Bounds height="6.0" width="6.0" x="209.0" y="948.0"/>
204 </bpmndi:BPMNLabel>
205 </bpmndi:BPMNEdge>
206 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_136" targetElement="_BPMNShape_CallActivity_28">
207 <di:waypoint xsi:type="dc:Point" x="309.0" y="648.0"/>
208 <di:waypoint xsi:type="dc:Point" x="377.0" y="648.0"/>
209 <bpmndi:BPMNLabel>
210 <dc:Bounds height="0.0" width="0.0" x="325.0" y="648.0"/>
211 </bpmndi:BPMNLabel>
212 </bpmndi:BPMNEdge>
213 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_126" bpmnElement="EndEvent_2">
214 <dc:Bounds height="36.0" width="36.0" x="533.0" y="630.0"/>
215 <bpmndi:BPMNLabel>
216 <dc:Bounds height="0.0" width="0.0" x="551.0" y="671.0"/>
217 </bpmndi:BPMNLabel>
218 </bpmndi:BPMNShape>
219 <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_43" bpmnElement="BoundaryEvent_1">
220 <dc:Bounds height="36.0" width="36.0" x="612.0" y="630.0"/>
221 <bpmndi:BPMNLabel>
222 <dc:Bounds height="6.0" width="6.0" x="627.0" y="671.0"/>
223 </bpmndi:BPMNLabel>
224 </bpmndi:BPMNShape>
225 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_127" bpmnElement="EndEvent_3">
226 <dc:Bounds height="36.0" width="36.0" x="704.0" y="630.0"/>
227 <bpmndi:BPMNLabel>
228 <dc:Bounds height="0.0" width="0.0" x="722.0" y="671.0"/>
229 </bpmndi:BPMNLabel>
230 </bpmndi:BPMNShape>
231 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_BoundaryEvent_43" targetElement="_BPMNShape_EndEvent_127">
232 <di:waypoint xsi:type="dc:Point" x="648.0" y="648.0"/>
233 <di:waypoint xsi:type="dc:Point" x="704.0" y="648.0"/>
234 <bpmndi:BPMNLabel>
235 <dc:Bounds height="6.0" width="6.0" x="693.0" y="948.0"/>
236 </bpmndi:BPMNLabel>
237 </bpmndi:BPMNEdge>
238 <bpmndi:BPMNShape id="_BPMNShape_CallActivity_28" bpmnElement="CallActivity_2">
239 <dc:Bounds height="80.0" width="100.0" x="377.0" y="608.0"/>
240 </bpmndi:BPMNShape>
241 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_CallActivity_27" targetElement="_BPMNShape_ScriptTask_127">
242 <di:waypoint xsi:type="dc:Point" x="399.0" y="388.0"/>
243 <di:waypoint xsi:type="dc:Point" x="449.0" y="388.0"/>
244 <bpmndi:BPMNLabel>
245 <dc:Bounds height="6.0" width="6.0" x="439.0" y="356.0"/>
246 </bpmndi:BPMNLabel>
247 </bpmndi:BPMNEdge>
248 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_CallActivity_28" targetElement="_BPMNShape_EndEvent_126">
249 <di:waypoint xsi:type="dc:Point" x="477.0" y="648.0"/>
250 <di:waypoint xsi:type="dc:Point" x="533.0" y="648.0"/>
251 <bpmndi:BPMNLabel>
252 <dc:Bounds height="6.0" width="6.0" x="373.0" y="456.0"/>
253 </bpmndi:BPMNLabel>
254 </bpmndi:BPMNEdge>
255 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_181" bpmnElement="ScriptTask_6">
256 <dc:Bounds height="80.0" width="100.0" x="299.0" y="190.0"/>
257 </bpmndi:BPMNShape>
258 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ScriptTask_130" targetElement="_BPMNShape_ScriptTask_181">
259 <di:waypoint xsi:type="dc:Point" x="249.0" y="230.0"/>
260 <di:waypoint xsi:type="dc:Point" x="299.0" y="230.0"/>
261 </bpmndi:BPMNEdge>
262 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_181" targetElement="_BPMNShape_ScriptTask_133">
263 <di:waypoint xsi:type="dc:Point" x="399.0" y="231.0"/>
264 <di:waypoint xsi:type="dc:Point" x="624.0" y="233.0"/>
265 <di:waypoint xsi:type="dc:Point" x="624.0" y="294.0"/>
266 <di:waypoint xsi:type="dc:Point" x="99.0" y="294.0"/>
267 <di:waypoint xsi:type="dc:Point" x="99.0" y="388.0"/>
268 <di:waypoint xsi:type="dc:Point" x="149.0" y="388.0"/>
269 <bpmndi:BPMNLabel>
270 <dc:Bounds height="6.0" width="6.0" x="500.0" y="232.0"/>
271 </bpmndi:BPMNLabel>
272 </bpmndi:BPMNEdge>
273 </bpmndi:BPMNPlane>
274 </bpmndi:BPMNDiagram>
ChrisC025301d2017-01-31 11:40:03 +0100275</bpmn2:definitions>