Fix duplicate service instance ids
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / subprocess / DoCreateVFCNetworkServiceInstance.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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2">
3   <bpmn:process id="DoCreateVFCNetworkServiceInstance" name="DoCreateVFCNetworkServiceInstance" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1">
5       <bpmn:outgoing>SequenceFlow_1qo2pln</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_1qo2pln" sourceRef="StartEvent_1" targetRef="Task_0h2p1i1" />
8     <bpmn:sequenceFlow id="SequenceFlow_0khtova" sourceRef="Task_0h2p1i1" targetRef="Task_09nzhwk" />
9     <bpmn:sequenceFlow id="SequenceFlow_1uiz85h" sourceRef="Task_09nzhwk" targetRef="ExclusiveGateway_0zfksms" />
10     <bpmn:scriptTask id="Task_09nzhwk" name="Create Network Service">
11       <bpmn:incoming>SequenceFlow_0khtova</bpmn:incoming>
12       <bpmn:outgoing>SequenceFlow_1uiz85h</bpmn:outgoing>
13       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
14 def csi = new  DoCreateE2EServiceInstance()
15 csi.preSDNCRequest(execution)]]></bpmn:script>
16     </bpmn:scriptTask>
17     <bpmn:scriptTask id="Task_0h2p1i1" name="Preprocess Incoming Request">
18       <bpmn:incoming>SequenceFlow_1qo2pln</bpmn:incoming>
19       <bpmn:outgoing>SequenceFlow_0khtova</bpmn:outgoing>
20       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
21 def csi = new  DoCreateE2EServiceInstance()
22 csi.preSDNCRequest(execution)]]></bpmn:script>
23     </bpmn:scriptTask>
24     <bpmn:scriptTask id="Task_15v20es" name="Instantiate Network Service">
25       <bpmn:incoming>SequenceFlow_1rt03zl</bpmn:incoming>
26       <bpmn:outgoing>SequenceFlow_1ywe21t</bpmn:outgoing>
27       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
28 def csi = new  DoCreateE2EServiceInstance()
29 csi.preSDNCRequest(execution)]]></bpmn:script>
30     </bpmn:scriptTask>
31     <bpmn:exclusiveGateway id="ExclusiveGateway_0zfksms" name="Create NS Success?" default="SequenceFlow_0df541u">
32       <bpmn:incoming>SequenceFlow_1uiz85h</bpmn:incoming>
33       <bpmn:outgoing>SequenceFlow_1rt03zl</bpmn:outgoing>
34       <bpmn:outgoing>SequenceFlow_0df541u</bpmn:outgoing>
35     </bpmn:exclusiveGateway>
36     <bpmn:sequenceFlow id="SequenceFlow_1rt03zl" name="yes" sourceRef="ExclusiveGateway_0zfksms" targetRef="Task_15v20es">
37       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" />
38     </bpmn:sequenceFlow>
39     <bpmn:sequenceFlow id="SequenceFlow_0df541u" name="no" sourceRef="ExclusiveGateway_0zfksms" targetRef="EndEvent_1tncafd" />
40     <bpmn:exclusiveGateway id="ExclusiveGateway_1is7zys" name="Instantiate NS Success?" default="SequenceFlow_0j7xo94">
41       <bpmn:incoming>SequenceFlow_1ywe21t</bpmn:incoming>
42       <bpmn:outgoing>SequenceFlow_0j7xo94</bpmn:outgoing>
43       <bpmn:outgoing>SequenceFlow_1ui2n9l</bpmn:outgoing>
44     </bpmn:exclusiveGateway>
45     <bpmn:sequenceFlow id="SequenceFlow_1ywe21t" sourceRef="Task_15v20es" targetRef="ExclusiveGateway_1is7zys" />
46     <bpmn:sequenceFlow id="SequenceFlow_0j7xo94" name="no" sourceRef="ExclusiveGateway_1is7zys" targetRef="EndEvent_1gkvvpn" />
47     <bpmn:sequenceFlow id="SequenceFlow_1ui2n9l" name="yes" sourceRef="ExclusiveGateway_1is7zys" targetRef="Task_0ff3d5r" />
48     <bpmn:exclusiveGateway id="ExclusiveGateway_0y0tqb7" name="Query Job Success?" default="SequenceFlow_0yegc4p">
49       <bpmn:incoming>SequenceFlow_1jaltbk</bpmn:incoming>
50       <bpmn:outgoing>SequenceFlow_0yegc4p</bpmn:outgoing>
51       <bpmn:outgoing>SequenceFlow_118dtip</bpmn:outgoing>
52     </bpmn:exclusiveGateway>
53     <bpmn:sequenceFlow id="SequenceFlow_1jaltbk" sourceRef="Task_0ff3d5r" targetRef="ExclusiveGateway_0y0tqb7" />
54     <bpmn:sequenceFlow id="SequenceFlow_0yegc4p" name="no" sourceRef="ExclusiveGateway_0y0tqb7" targetRef="EndEvent_0ev3qbb" />
55     <bpmn:exclusiveGateway id="ExclusiveGateway_15492gl" name="Instantiate Finished?" default="SequenceFlow_0omec46">
56       <bpmn:incoming>SequenceFlow_118dtip</bpmn:incoming>
57       <bpmn:outgoing>SequenceFlow_0hftgi6</bpmn:outgoing>
58       <bpmn:outgoing>SequenceFlow_0omec46</bpmn:outgoing>
59     </bpmn:exclusiveGateway>
60     <bpmn:sequenceFlow id="SequenceFlow_118dtip" name="yes" sourceRef="ExclusiveGateway_0y0tqb7" targetRef="ExclusiveGateway_15492gl" />
61     <bpmn:sequenceFlow id="SequenceFlow_0hftgi6" name="yes" sourceRef="ExclusiveGateway_15492gl" targetRef="Task_0hltnyg" />
62     <bpmn:sequenceFlow id="SequenceFlow_0omec46" name="no" sourceRef="ExclusiveGateway_15492gl" targetRef="Task_0ff3d5r" />
63     <bpmn:sequenceFlow id="SequenceFlow_0cq2q6g" sourceRef="Task_0hltnyg" targetRef="EndEvent_1x6k78c" />
64     <bpmn:endEvent id="EndEvent_1tncafd">
65       <bpmn:incoming>SequenceFlow_0df541u</bpmn:incoming>
66     </bpmn:endEvent>
67     <bpmn:endEvent id="EndEvent_1gkvvpn">
68       <bpmn:incoming>SequenceFlow_0j7xo94</bpmn:incoming>
69     </bpmn:endEvent>
70     <bpmn:endEvent id="EndEvent_0ev3qbb">
71       <bpmn:incoming>SequenceFlow_0yegc4p</bpmn:incoming>
72     </bpmn:endEvent>
73     <bpmn:endEvent id="EndEvent_1x6k78c">
74       <bpmn:incoming>SequenceFlow_0cq2q6g</bpmn:incoming>
75     </bpmn:endEvent>
76     <bpmn:scriptTask id="Task_0ff3d5r" name="Query NS Progress">
77       <bpmn:incoming>SequenceFlow_1ui2n9l</bpmn:incoming>
78       <bpmn:incoming>SequenceFlow_0omec46</bpmn:incoming>
79       <bpmn:outgoing>SequenceFlow_1jaltbk</bpmn:outgoing>
80       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
81 def csi = new  DoCreateE2EServiceInstance()
82 csi.preSDNCRequest(execution)]]></bpmn:script>
83     </bpmn:scriptTask>
84     <bpmn:scriptTask id="Task_0hltnyg" name="Finish NS Create">
85       <bpmn:incoming>SequenceFlow_0hftgi6</bpmn:incoming>
86       <bpmn:outgoing>SequenceFlow_0cq2q6g</bpmn:outgoing>
87       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
88 def csi = new  DoCreateE2EServiceInstance()
89 csi.preSDNCRequest(execution)]]></bpmn:script>
90     </bpmn:scriptTask>
91   </bpmn:process>
92   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
93     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateVFCNetworkServiceInstance">
94       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
95         <dc:Bounds x="175" y="111" width="36" height="36" />
96         <bpmndi:BPMNLabel>
97           <dc:Bounds x="148" y="147" width="90" height="20" />
98         </bpmndi:BPMNLabel>
99       </bpmndi:BPMNShape>
100       <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
101         <di:waypoint xsi:type="dc:Point" x="211" y="129" />
102         <di:waypoint xsi:type="dc:Point" x="251" y="129" />
103         <di:waypoint xsi:type="dc:Point" x="251" y="129" />
104         <di:waypoint xsi:type="dc:Point" x="293" y="129" />
105         <bpmndi:BPMNLabel>
106           <dc:Bounds x="266" y="123" width="0" height="12" />
107         </bpmndi:BPMNLabel>
108       </bpmndi:BPMNEdge>
109       <bpmndi:BPMNEdge id="SequenceFlow_0khtova_di" bpmnElement="SequenceFlow_0khtova">
110         <di:waypoint xsi:type="dc:Point" x="393" y="129" />
111         <di:waypoint xsi:type="dc:Point" x="479" y="129" />
112         <bpmndi:BPMNLabel>
113           <dc:Bounds x="436" y="108" width="0" height="12" />
114         </bpmndi:BPMNLabel>
115       </bpmndi:BPMNEdge>
116       <bpmndi:BPMNEdge id="SequenceFlow_1uiz85h_di" bpmnElement="SequenceFlow_1uiz85h">
117         <di:waypoint xsi:type="dc:Point" x="579" y="129" />
118         <di:waypoint xsi:type="dc:Point" x="683" y="129" />
119         <bpmndi:BPMNLabel>
120           <dc:Bounds x="631" y="108" width="0" height="12" />
121         </bpmndi:BPMNLabel>
122       </bpmndi:BPMNEdge>
123       <bpmndi:BPMNShape id="ScriptTask_1dw39hg_di" bpmnElement="Task_09nzhwk">
124         <dc:Bounds x="479" y="89" width="100" height="80" />
125       </bpmndi:BPMNShape>
126       <bpmndi:BPMNShape id="ScriptTask_03j6ogo_di" bpmnElement="Task_0h2p1i1">
127         <dc:Bounds x="293" y="89" width="100" height="80" />
128       </bpmndi:BPMNShape>
129       <bpmndi:BPMNShape id="ScriptTask_1qmmew8_di" bpmnElement="Task_15v20es">
130         <dc:Bounds x="839" y="89" width="100" height="80" />
131       </bpmndi:BPMNShape>
132       <bpmndi:BPMNShape id="ExclusiveGateway_0zfksms_di" bpmnElement="ExclusiveGateway_0zfksms" isMarkerVisible="true">
133         <dc:Bounds x="683" y="104" width="50" height="50" />
134         <bpmndi:BPMNLabel>
135           <dc:Bounds x="685" y="158" width="51" height="24" />
136         </bpmndi:BPMNLabel>
137       </bpmndi:BPMNShape>
138       <bpmndi:BPMNEdge id="SequenceFlow_1rt03zl_di" bpmnElement="SequenceFlow_1rt03zl">
139         <di:waypoint xsi:type="dc:Point" x="733" y="129" />
140         <di:waypoint xsi:type="dc:Point" x="839" y="129" />
141         <bpmndi:BPMNLabel>
142           <dc:Bounds x="777" y="108" width="19" height="12" />
143         </bpmndi:BPMNLabel>
144       </bpmndi:BPMNEdge>
145       <bpmndi:BPMNEdge id="SequenceFlow_0df541u_di" bpmnElement="SequenceFlow_0df541u">
146         <di:waypoint xsi:type="dc:Point" x="708" y="104" />
147         <di:waypoint xsi:type="dc:Point" x="708" y="33" />
148         <bpmndi:BPMNLabel>
149           <dc:Bounds x="717" y="63" width="12" height="12" />
150         </bpmndi:BPMNLabel>
151       </bpmndi:BPMNEdge>
152       <bpmndi:BPMNShape id="ExclusiveGateway_1is7zys_di" bpmnElement="ExclusiveGateway_1is7zys" isMarkerVisible="true">
153         <dc:Bounds x="1034" y="105" width="50" height="50" />
154         <bpmndi:BPMNLabel>
155           <dc:Bounds x="1029" y="159" width="68" height="24" />
156         </bpmndi:BPMNLabel>
157       </bpmndi:BPMNShape>
158       <bpmndi:BPMNEdge id="SequenceFlow_1ywe21t_di" bpmnElement="SequenceFlow_1ywe21t">
159         <di:waypoint xsi:type="dc:Point" x="939" y="129" />
160         <di:waypoint xsi:type="dc:Point" x="1034" y="130" />
161         <bpmndi:BPMNLabel>
162           <dc:Bounds x="986.5" y="108.5" width="0" height="12" />
163         </bpmndi:BPMNLabel>
164       </bpmndi:BPMNEdge>
165       <bpmndi:BPMNEdge id="SequenceFlow_0j7xo94_di" bpmnElement="SequenceFlow_0j7xo94">
166         <di:waypoint xsi:type="dc:Point" x="1059" y="105" />
167         <di:waypoint xsi:type="dc:Point" x="1059" y="33" />
168         <bpmndi:BPMNLabel>
169           <dc:Bounds x="1068" y="63" width="12" height="12" />
170         </bpmndi:BPMNLabel>
171       </bpmndi:BPMNEdge>
172       <bpmndi:BPMNEdge id="SequenceFlow_1ui2n9l_di" bpmnElement="SequenceFlow_1ui2n9l">
173         <di:waypoint xsi:type="dc:Point" x="1059" y="155" />
174         <di:waypoint xsi:type="dc:Point" x="1059" y="271" />
175         <bpmndi:BPMNLabel>
176           <dc:Bounds x="1066" y="207" width="18" height="12" />
177         </bpmndi:BPMNLabel>
178       </bpmndi:BPMNEdge>
179       <bpmndi:BPMNShape id="ExclusiveGateway_0y0tqb7_di" bpmnElement="ExclusiveGateway_0y0tqb7" isMarkerVisible="true">
180         <dc:Bounds x="1181" y="429" width="50" height="50" />
181         <bpmndi:BPMNLabel>
182           <dc:Bounds x="1183" y="483" width="52" height="24" />
183         </bpmndi:BPMNLabel>
184       </bpmndi:BPMNShape>
185       <bpmndi:BPMNEdge id="SequenceFlow_1jaltbk_di" bpmnElement="SequenceFlow_1jaltbk">
186         <di:waypoint xsi:type="dc:Point" x="1109" y="311" />
187         <di:waypoint xsi:type="dc:Point" x="1206" y="311" />
188         <di:waypoint xsi:type="dc:Point" x="1206" y="429" />
189         <bpmndi:BPMNLabel>
190           <dc:Bounds x="1112.5" y="290" width="90" height="12" />
191         </bpmndi:BPMNLabel>
192       </bpmndi:BPMNEdge>
193       <bpmndi:BPMNEdge id="SequenceFlow_0yegc4p_di" bpmnElement="SequenceFlow_0yegc4p">
194         <di:waypoint xsi:type="dc:Point" x="1231" y="454" />
195         <di:waypoint xsi:type="dc:Point" x="1323" y="454" />
196         <bpmndi:BPMNLabel>
197           <dc:Bounds x="1271" y="433" width="12" height="12" />
198         </bpmndi:BPMNLabel>
199       </bpmndi:BPMNEdge>
200       <bpmndi:BPMNShape id="ExclusiveGateway_15492gl_di" bpmnElement="ExclusiveGateway_15492gl" isMarkerVisible="true">
201         <dc:Bounds x="1034" y="570" width="50" height="50" />
202         <bpmndi:BPMNLabel>
203           <dc:Bounds x="1038" y="624" width="50" height="24" />
204         </bpmndi:BPMNLabel>
205       </bpmndi:BPMNShape>
206       <bpmndi:BPMNEdge id="SequenceFlow_118dtip_di" bpmnElement="SequenceFlow_118dtip">
207         <di:waypoint xsi:type="dc:Point" x="1206" y="479" />
208         <di:waypoint xsi:type="dc:Point" x="1206" y="595" />
209         <di:waypoint xsi:type="dc:Point" x="1084" y="595" />
210         <bpmndi:BPMNLabel>
211           <dc:Bounds x="1212" y="589" width="19" height="12" />
212         </bpmndi:BPMNLabel>
213       </bpmndi:BPMNEdge>
214       <bpmndi:BPMNEdge id="SequenceFlow_0hftgi6_di" bpmnElement="SequenceFlow_0hftgi6">
215         <di:waypoint xsi:type="dc:Point" x="1034" y="595" />
216         <di:waypoint xsi:type="dc:Point" x="840" y="595" />
217         <bpmndi:BPMNLabel>
218           <dc:Bounds x="929" y="574" width="18" height="12" />
219         </bpmndi:BPMNLabel>
220       </bpmndi:BPMNEdge>
221       <bpmndi:BPMNEdge id="SequenceFlow_0omec46_di" bpmnElement="SequenceFlow_0omec46">
222         <di:waypoint xsi:type="dc:Point" x="1059" y="570" />
223         <di:waypoint xsi:type="dc:Point" x="1059" y="351" />
224         <bpmndi:BPMNLabel>
225           <dc:Bounds x="1077" y="405" width="12" height="12" />
226         </bpmndi:BPMNLabel>
227       </bpmndi:BPMNEdge>
228       <bpmndi:BPMNEdge id="SequenceFlow_0cq2q6g_di" bpmnElement="SequenceFlow_0cq2q6g">
229         <di:waypoint xsi:type="dc:Point" x="740" y="595" />
230         <di:waypoint xsi:type="dc:Point" x="612" y="595" />
231         <bpmndi:BPMNLabel>
232           <dc:Bounds x="631" y="574" width="90" height="12" />
233         </bpmndi:BPMNLabel>
234       </bpmndi:BPMNEdge>
235       <bpmndi:BPMNShape id="EndEvent_1ido9wi_di" bpmnElement="EndEvent_1tncafd">
236         <dc:Bounds x="690" y="-3" width="36" height="36" />
237         <bpmndi:BPMNLabel>
238           <dc:Bounds x="663" y="37" width="0" height="12" />
239         </bpmndi:BPMNLabel>
240       </bpmndi:BPMNShape>
241       <bpmndi:BPMNShape id="EndEvent_0xgvlmx_di" bpmnElement="EndEvent_1gkvvpn">
242         <dc:Bounds x="1041" y="-3" width="36" height="36" />
243         <bpmndi:BPMNLabel>
244           <dc:Bounds x="1014" y="37" width="0" height="12" />
245         </bpmndi:BPMNLabel>
246       </bpmndi:BPMNShape>
247       <bpmndi:BPMNShape id="EndEvent_09lhjod_di" bpmnElement="EndEvent_0ev3qbb">
248         <dc:Bounds x="1323" y="436" width="36" height="36" />
249         <bpmndi:BPMNLabel>
250           <dc:Bounds x="1296" y="476" width="0" height="12" />
251         </bpmndi:BPMNLabel>
252       </bpmndi:BPMNShape>
253       <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c">
254         <dc:Bounds x="576" y="577" width="36" height="36" />
255         <bpmndi:BPMNLabel>
256           <dc:Bounds x="549" y="617" width="0" height="12" />
257         </bpmndi:BPMNLabel>
258       </bpmndi:BPMNShape>
259       <bpmndi:BPMNShape id="ScriptTask_0sxy5we_di" bpmnElement="Task_0ff3d5r">
260         <dc:Bounds x="1009" y="271" width="100" height="80" />
261       </bpmndi:BPMNShape>
262       <bpmndi:BPMNShape id="ScriptTask_0xxyfku_di" bpmnElement="Task_0hltnyg">
263         <dc:Bounds x="740" y="555" width="100" height="80" />
264       </bpmndi:BPMNShape>
265     </bpmndi:BPMNPlane>
266   </bpmndi:BPMNDiagram>
267 </bpmn:definitions>