[MSO-8] Update the maven dependency
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / process / CreateVnfInfra.bpmn
1 <?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" id="_DkzPAHB4EeaJwpcpVN5gXw" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="CreateVnfInfra" name="CreateVnfInfra" isExecutable="true">
4     <bpmn2:startEvent id="StartEvent_1">
5       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
6     </bpmn2:startEvent>
7     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="initialization" />
8     <bpmn2:scriptTask id="initialization" name="Initialization" scriptFormat="groovy">
9       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
10       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
11       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
12 CreateVnfInfra createVnf = new CreateVnfInfra()
13 createVnf.preProcessRequest(execution)]]></bpmn2:script>
14     </bpmn2:scriptTask>
15     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="initialization" targetRef="sendResponse" />
16     <bpmn2:scriptTask id="sendResponse" name="Send Sync Response" scriptFormat="groovy">
17       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
18       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
19       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
20 CreateVnfInfra createVnf = new CreateVnfInfra()
21 createVnf.sendSyncResponse(execution)]]></bpmn2:script>
22     </bpmn2:scriptTask>
23     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="sendResponse" targetRef="CreateVNF" />
24     <bpmn2:callActivity id="CreateVNF" name="Create VNF" calledElement="DoCreateVnf">
25       <bpmn2:extensionElements>
26         <camunda:in source="CREVI_requestId" target="requestId" />
27         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
28         <camunda:in source="CREVI_serviceInstanceId" target="serviceInstanceId" />
29         <camunda:in source="CREVI_suppressRollback" target="disableRollback" />
30         <camunda:in source="CREVI_vnfModelInfo" target="vnfModelInfo" />
31         <camunda:in source="CREVI_vnfType" target="vnfType" />
32         <camunda:in source="CREVI_vnfName" target="vnfName" />
33         <camunda:in source="CREVI_vnfId" target="vnfId" />
34         <camunda:in source="CREVI_cloudConfiguration" target="cloudConfiguration" />
35         <camunda:in source="CREVI_serviceId" target="productFamilyId" />
36         <camunda:in source="CREVI_vnfInputParameters" target="vnfInputParameters" />
37         <camunda:out source="vnfId" target="CREVI_vnfId" />
38         <camunda:out source="vnfOutputParameters" target="CREVI_vnfOutputParameters" />
39         <camunda:out source="WorkflowException" target="WorkflowException" />
40       </bpmn2:extensionElements>
41       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
42       <bpmn2:outgoing>SequenceFlow_0lso26t</bpmn2:outgoing>
43     </bpmn2:callActivity>
44     <bpmn2:subProcess id="javaErrorHandlingSubProcess" name="Java Exception Handling Sub Process" triggeredByEvent="true">
45       <bpmn2:scriptTask id="processJavaError" name="Process Error" scriptFormat="groovy">
46         <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
47         <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
48         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
49 ExceptionUtil exceptionUtil = new ExceptionUtil()
50 exceptionUtil.processJavaException(execution)]]></bpmn2:script>
51       </bpmn2:scriptTask>
52       <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="processJavaError" targetRef="EndEvent_4" />
53       <bpmn2:endEvent id="EndEvent_4">
54         <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
55       </bpmn2:endEvent>
56       <bpmn2:startEvent id="StartEvent_2">
57         <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
58         <bpmn2:errorEventDefinition id="ErrorEventDefinition_3" errorRef="Error_1" />
59       </bpmn2:startEvent>
60       <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="StartEvent_2" targetRef="processJavaError" />
61     </bpmn2:subProcess>
62     <bpmn2:subProcess id="bpmnErrorHandlingSubProcess" name="Error Handling Sub Process" triggeredByEvent="true">
63       <bpmn2:callActivity id="callFalloutHandler" name="Call\r&#10;&#10;FalloutHandler" calledElement="FalloutHandler">
64         <bpmn2:extensionElements>
65           <camunda:in source="CREVI_falloutRequest" target="FalloutHandlerRequest" />
66           <camunda:in source="CREVI_requestId" target="requestId" />
67           <camunda:in source="CREVI_serviceInstanceId" target="serviceInstanceId" />
68         </bpmn2:extensionElements>
69         <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
70         <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
71       </bpmn2:callActivity>
72       <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="callFalloutHandler" targetRef="EndEvent_5" />
73       <bpmn2:scriptTask id="processError" name="Process Error" scriptFormat="groovy">
74         <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
75         <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
76         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
77
78 CreateVnfInfra createVnf = new CreateVnfInfra()
79 createVnf.prepareFalloutRequest(execution)]]></bpmn2:script>
80       </bpmn2:scriptTask>
81       <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="processError" targetRef="callFalloutHandler" />
82       <bpmn2:endEvent id="EndEvent_5">
83         <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
84         <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_34" />
85       </bpmn2:endEvent>
86       <bpmn2:scriptTask id="sendErrorResponse" name="Send Error Response" scriptFormat="groovy">
87         <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
88         <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
89         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
90 CreateVnfInfra createVnf = new CreateVnfInfra()
91 createVnf.sendErrorResponse(execution)]]></bpmn2:script>
92       </bpmn2:scriptTask>
93       <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="sendErrorResponse" targetRef="processError" />
94       <bpmn2:startEvent id="StartEvent_3">
95         <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
96         <bpmn2:errorEventDefinition id="ErrorEventDefinition_4" />
97       </bpmn2:startEvent>
98       <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="StartEvent_3" targetRef="sendErrorResponse" />
99     </bpmn2:subProcess>
100     <bpmn2:scriptTask id="postProcess" name="Prepare Completion Handler" scriptFormat="groovy">
101       <bpmn2:incoming>SequenceFlow_0lso26t</bpmn2:incoming>
102       <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>
103       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
104 CreateVnfInfra createVnf = new CreateVnfInfra()
105 createVnf.prepareCompletionHandlerRequest(execution)]]></bpmn2:script>
106     </bpmn2:scriptTask>
107     <bpmn2:sequenceFlow id="SequenceFlow_16" name="" sourceRef="postProcess" targetRef="callCompletionHandler" />
108     <bpmn2:endEvent id="EndEvent_3">
109       <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
110       <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_35" />
111     </bpmn2:endEvent>
112     <bpmn2:callActivity id="callCompletionHandler" name="Completion\r&#10;&#10;Handler" calledElement="CompleteMsoProcess">
113       <bpmn2:extensionElements>
114         <camunda:in source="CREVI_completionHandlerRequest" target="CompleteMsoProcessRequest" />
115         <camunda:in source="CREVI_requestId" target="mso-request-id" />
116         <camunda:in source="CREVI_serviceInstanceId" target="mso-service-instance-id" />
117         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
118       </bpmn2:extensionElements>
119       <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>
120       <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
121     </bpmn2:callActivity>
122     <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="callCompletionHandler" targetRef="EndEvent_3" />
123     <bpmn2:sequenceFlow id="SequenceFlow_0lso26t" sourceRef="CreateVNF" targetRef="postProcess" />
124   </bpmn2:process>
125   <bpmn2:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" />
126   <bpmn2:error id="Error_2" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
127   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
128     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateVnfInfra">
129       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_68" bpmnElement="StartEvent_1">
130         <dc:Bounds x="96" y="222" width="36" height="36" />
131         <bpmndi:BPMNLabel>
132           <dc:Bounds x="114" y="263" width="0" height="0" />
133         </bpmndi:BPMNLabel>
134       </bpmndi:BPMNShape>
135       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_285" bpmnElement="initialization">
136         <dc:Bounds x="216" y="200" width="100" height="80" />
137       </bpmndi:BPMNShape>
138       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_68" targetElement="_BPMNShape_ScriptTask_285">
139         <di:waypoint xsi:type="dc:Point" x="132" y="240" />
140         <di:waypoint xsi:type="dc:Point" x="216" y="240" />
141         <bpmndi:BPMNLabel>
142           <dc:Bounds x="165" y="240" width="6" height="6" />
143         </bpmndi:BPMNLabel>
144       </bpmndi:BPMNEdge>
145       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_286" bpmnElement="sendResponse">
146         <dc:Bounds x="360" y="200" width="100" height="80" />
147       </bpmndi:BPMNShape>
148       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_285" targetElement="_BPMNShape_ScriptTask_286">
149         <di:waypoint xsi:type="dc:Point" x="316" y="240" />
150         <di:waypoint xsi:type="dc:Point" x="360" y="240" />
151         <bpmndi:BPMNLabel>
152           <dc:Bounds x="347" y="240" width="6" height="6" />
153         </bpmndi:BPMNLabel>
154       </bpmndi:BPMNEdge>
155       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_59" bpmnElement="CreateVNF">
156         <dc:Bounds x="504" y="200" width="100" height="80" />
157       </bpmndi:BPMNShape>
158       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_286" targetElement="_BPMNShape_CallActivity_59">
159         <di:waypoint xsi:type="dc:Point" x="460" y="240" />
160         <di:waypoint xsi:type="dc:Point" x="504" y="240" />
161         <bpmndi:BPMNLabel>
162           <dc:Bounds x="485" y="240" width="6" height="6" />
163         </bpmndi:BPMNLabel>
164       </bpmndi:BPMNEdge>
165       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_228" bpmnElement="EndEvent_3">
166         <dc:Bounds x="985" y="222" width="36" height="36" />
167         <bpmndi:BPMNLabel>
168           <dc:Bounds x="1003" y="263" width="0" height="0" />
169         </bpmndi:BPMNLabel>
170       </bpmndi:BPMNShape>
171       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_32" bpmnElement="javaErrorHandlingSubProcess" isExpanded="true">
172         <dc:Bounds x="253" y="696" width="313" height="169" />
173       </bpmndi:BPMNShape>
174       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_76" bpmnElement="StartEvent_2">
175         <dc:Bounds x="277" y="763" width="36" height="36" />
176         <bpmndi:BPMNLabel>
177           <dc:Bounds x="295" y="804" width="0" height="0" />
178         </bpmndi:BPMNLabel>
179       </bpmndi:BPMNShape>
180       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_308" bpmnElement="processJavaError">
181         <dc:Bounds x="360" y="741" width="100" height="80" />
182       </bpmndi:BPMNShape>
183       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_234" bpmnElement="EndEvent_4">
184         <dc:Bounds x="505" y="763" width="36" height="36" />
185         <bpmndi:BPMNLabel>
186           <dc:Bounds x="523" y="804" width="0" height="0" />
187         </bpmndi:BPMNLabel>
188       </bpmndi:BPMNShape>
189       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_StartEvent_76" targetElement="_BPMNShape_ScriptTask_308">
190         <di:waypoint xsi:type="dc:Point" x="313" y="781" />
191         <di:waypoint xsi:type="dc:Point" x="360" y="781" />
192         <bpmndi:BPMNLabel>
193           <dc:Bounds x="331" y="781" width="6" height="6" />
194         </bpmndi:BPMNLabel>
195       </bpmndi:BPMNEdge>
196       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ScriptTask_308" targetElement="_BPMNShape_EndEvent_234">
197         <di:waypoint xsi:type="dc:Point" x="460" y="781" />
198         <di:waypoint xsi:type="dc:Point" x="505" y="781" />
199         <bpmndi:BPMNLabel>
200           <dc:Bounds x="477" y="781" width="6" height="6" />
201         </bpmndi:BPMNLabel>
202       </bpmndi:BPMNEdge>
203       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_33" bpmnElement="bpmnErrorHandlingSubProcess" isExpanded="true">
204         <dc:Bounds x="109" y="433" width="601" height="232" />
205       </bpmndi:BPMNShape>
206       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_77" bpmnElement="StartEvent_3">
207         <dc:Bounds x="133" y="532" width="36" height="36" />
208         <bpmndi:BPMNLabel>
209           <dc:Bounds x="151" y="573" width="0" height="0" />
210         </bpmndi:BPMNLabel>
211       </bpmndi:BPMNShape>
212       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_235" bpmnElement="EndEvent_5">
213         <dc:Bounds x="649" y="532" width="36" height="36" />
214         <bpmndi:BPMNLabel>
215           <dc:Bounds x="667" y="573" width="0" height="0" />
216         </bpmndi:BPMNLabel>
217       </bpmndi:BPMNShape>
218       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_62" bpmnElement="callFalloutHandler">
219         <dc:Bounds x="493" y="510" width="100" height="80" />
220       </bpmndi:BPMNShape>
221       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_309" bpmnElement="processError">
222         <dc:Bounds x="361" y="510" width="100" height="80" />
223       </bpmndi:BPMNShape>
224       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_StartEvent_77" targetElement="_BPMNShape_ScriptTask_312">
225         <di:waypoint xsi:type="dc:Point" x="169" y="550" />
226         <di:waypoint xsi:type="dc:Point" x="229" y="550" />
227         <bpmndi:BPMNLabel>
228           <dc:Bounds x="172" y="550" width="6" height="6" />
229         </bpmndi:BPMNLabel>
230       </bpmndi:BPMNEdge>
231       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_309" targetElement="_BPMNShape_CallActivity_62">
232         <di:waypoint xsi:type="dc:Point" x="461" y="550" />
233         <di:waypoint xsi:type="dc:Point" x="493" y="550" />
234         <bpmndi:BPMNLabel>
235           <dc:Bounds x="486" y="550" width="6" height="6" />
236         </bpmndi:BPMNLabel>
237       </bpmndi:BPMNEdge>
238       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_CallActivity_62" targetElement="_BPMNShape_EndEvent_235">
239         <di:waypoint xsi:type="dc:Point" x="593" y="550" />
240         <di:waypoint xsi:type="dc:Point" x="649" y="550" />
241         <bpmndi:BPMNLabel>
242           <dc:Bounds x="618" y="550" width="6" height="6" />
243         </bpmndi:BPMNLabel>
244       </bpmndi:BPMNEdge>
245       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_312" bpmnElement="sendErrorResponse">
246         <dc:Bounds x="229" y="510" width="100" height="80" />
247       </bpmndi:BPMNShape>
248       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ScriptTask_312" targetElement="_BPMNShape_ScriptTask_309">
249         <di:waypoint xsi:type="dc:Point" x="329" y="550" />
250         <di:waypoint xsi:type="dc:Point" x="361" y="550" />
251         <bpmndi:BPMNLabel>
252           <dc:Bounds x="342" y="550" width="6" height="6" />
253         </bpmndi:BPMNLabel>
254       </bpmndi:BPMNEdge>
255       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_325" bpmnElement="postProcess">
256         <dc:Bounds x="663" y="200" width="100" height="80" />
257       </bpmndi:BPMNShape>
258       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_16" sourceElement="_BPMNShape_ScriptTask_325" targetElement="_BPMNShape_CallActivity_69">
259         <di:waypoint xsi:type="dc:Point" x="763" y="240" />
260         <di:waypoint xsi:type="dc:Point" x="816" y="240" />
261         <bpmndi:BPMNLabel>
262           <dc:Bounds x="790" y="225" width="0" height="0" />
263         </bpmndi:BPMNLabel>
264       </bpmndi:BPMNEdge>
265       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_69" bpmnElement="callCompletionHandler">
266         <dc:Bounds x="816" y="200" width="100" height="80" />
267       </bpmndi:BPMNShape>
268       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_CallActivity_69" targetElement="_BPMNShape_EndEvent_228">
269         <di:waypoint xsi:type="dc:Point" x="916" y="240" />
270         <di:waypoint xsi:type="dc:Point" x="985" y="240" />
271         <bpmndi:BPMNLabel>
272           <dc:Bounds x="951" y="225" width="0" height="0" />
273         </bpmndi:BPMNLabel>
274       </bpmndi:BPMNEdge>
275       <bpmndi:BPMNEdge id="SequenceFlow_0lso26t_di" bpmnElement="SequenceFlow_0lso26t">
276         <di:waypoint xsi:type="dc:Point" x="604" y="240" />
277         <di:waypoint xsi:type="dc:Point" x="663" y="240" />
278         <bpmndi:BPMNLabel>
279           <dc:Bounds x="634" y="215" width="0" height="0" />
280         </bpmndi:BPMNLabel>
281       </bpmndi:BPMNEdge>
282     </bpmndi:BPMNPlane>
283   </bpmndi:BPMNDiagram>
284 </bpmn2:definitions>