Merge "Fixes for bugs found in Transport Slicing integration"
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / subprocess / DoAllocateNSIandNSSI.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" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.4.1">
3   <bpmn:process id="DoAllocateNSIandNSSI" name="DoAllocateNSIandNSSI" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1ym3sha" name="Start">
5       <bpmn:outgoing>SequenceFlow_0xgfj7z</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_0xgfj7z" sourceRef="StartEvent_1ym3sha" targetRef="Task_027u6m6" />
8     <bpmn:scriptTask id="Task_027u6m6" name="Preprocess Request" scriptFormat="groovy">
9       <bpmn:incoming>SequenceFlow_0xgfj7z</bpmn:incoming>
10       <bpmn:outgoing>SequenceFlow_00aukg6</bpmn:outgoing>
11       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
12 def dansi = new DoAllocateNSIandNSSI()
13 dansi.preProcessRequest(execution)</bpmn:script>
14     </bpmn:scriptTask>
15     <bpmn:scriptTask id="ScriptTask_0qorxd9" name="Process NSI options" scriptFormat="groovy">
16       <bpmn:incoming>SequenceFlow_00aukg6</bpmn:incoming>
17       <bpmn:outgoing>SequenceFlow_1ggo6s5</bpmn:outgoing>
18       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
19 def dansi = new DoAllocateNSIandNSSI()
20 dansi.retriveSliceOption(execution)</bpmn:script>
21     </bpmn:scriptTask>
22     <bpmn:sequenceFlow id="SequenceFlow_00aukg6" sourceRef="Task_027u6m6" targetRef="ScriptTask_0qorxd9" />
23     <bpmn:exclusiveGateway id="ExclusiveGateway_00pt1ek" name="Is nsi option available?" default="SequenceFlow_0c986i9">
24       <bpmn:incoming>SequenceFlow_1ggo6s5</bpmn:incoming>
25       <bpmn:outgoing>SequenceFlow_0c986i9</bpmn:outgoing>
26       <bpmn:outgoing>SequenceFlow_03ye8m4</bpmn:outgoing>
27     </bpmn:exclusiveGateway>
28     <bpmn:sequenceFlow id="SequenceFlow_1ggo6s5" sourceRef="ScriptTask_0qorxd9" targetRef="ExclusiveGateway_00pt1ek" />
29     <bpmn:sequenceFlow id="SequenceFlow_0c986i9" sourceRef="ExclusiveGateway_00pt1ek" targetRef="ScriptTask_1tizl6b" />
30     <bpmn:scriptTask id="ScriptTask_1tizl6b" name="create NSI in AAI and Update relationship" scriptFormat="groovy">
31       <bpmn:incoming>SequenceFlow_0c986i9</bpmn:incoming>
32       <bpmn:outgoing>SequenceFlow_1k3cspv</bpmn:outgoing>
33       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
34 def dcnsio = new DoAllocateNSIandNSSI()
35 dcnsio.createNSIinAAI(execution)</bpmn:script>
36     </bpmn:scriptTask>
37     <bpmn:sequenceFlow id="SequenceFlow_1k3cspv" sourceRef="ScriptTask_1tizl6b" targetRef="ScriptTask_1r6kuwy" />
38     <bpmn:sequenceFlow id="SequenceFlow_03ye8m4" sourceRef="ExclusiveGateway_00pt1ek" targetRef="ScriptTask_07sgklo">
39       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("isNSIOptionAvailable" )  == true)}</bpmn:conditionExpression>
40     </bpmn:sequenceFlow>
41     <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_0fx1nyj" name="GoTo Create Slice Profile">
42       <bpmn:incoming>SequenceFlow_0t0wddg</bpmn:incoming>
43       <bpmn:incoming>SequenceFlow_05ovikm</bpmn:incoming>
44       <bpmn:linkEventDefinition name="CreateSliceProfile" />
45     </bpmn:intermediateThrowEvent>
46     <bpmn:intermediateCatchEvent id="IntermediateThrowEvent_0k54pph" name="Create Slice Profile">
47       <bpmn:outgoing>SequenceFlow_0ct8yh4</bpmn:outgoing>
48       <bpmn:linkEventDefinition name="CreateSliceProfile" />
49     </bpmn:intermediateCatchEvent>
50     <bpmn:sequenceFlow id="SequenceFlow_0ct8yh4" sourceRef="IntermediateThrowEvent_0k54pph" targetRef="ExclusiveGateway_00ufetn" />
51     <bpmn:parallelGateway id="ExclusiveGateway_00ufetn">
52       <bpmn:incoming>SequenceFlow_0ct8yh4</bpmn:incoming>
53       <bpmn:outgoing>SequenceFlow_1m68yca</bpmn:outgoing>
54       <bpmn:outgoing>SequenceFlow_0k5iu2n</bpmn:outgoing>
55     </bpmn:parallelGateway>
56     <bpmn:sequenceFlow id="SequenceFlow_1m68yca" sourceRef="ExclusiveGateway_00ufetn" targetRef="Task_1tv7jy5" />
57     <bpmn:sequenceFlow id="SequenceFlow_0k5iu2n" sourceRef="ExclusiveGateway_00ufetn" targetRef="Task_1en3luv" />
58     <bpmn:callActivity id="CallActivity_1yh9tiq" name="Call DoAllocateNSSI(RAN)" calledElement="DoAllocateNSSI">
59       <bpmn:extensionElements>
60         <camunda:in source="msoRequestId" target="msoRequestId" />
61         <camunda:out source="WorkflowException" target="WorkflowException" />
62         <camunda:in source="nsstInput" target="nsstInput" />
63         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
64         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
65         <camunda:in source="uuiRequest" target="uuiRequest" />
66         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
67         <camunda:in source="taskId" target="CSSOT_taskId" />
68         <camunda:in source="taskName" target="CSSOT_name" />
69         <camunda:in source="taskStatus" target="CSSOT_status" />
70         <camunda:in source="isManual" target="CSSOT_isManual" />
71         <camunda:in source="isNSIOptionAvailable" target="isNSIOptionAvailable" />
72         <camunda:in source="anSliceTaskInfo" target="sliceTaskInfo" />
73         <camunda:out source="nssiAllocateResult" target="anNssiAllocateResult" />
74         <camunda:in source="AnAllocateNssiNbiRequest" target="nbiRequest" />
75         <camunda:out source="sliceTaskParams" target="sliceTaskParams" />
76         <camunda:in source="anSubnetType" target="subnetType" />
77       </bpmn:extensionElements>
78       <bpmn:incoming>SequenceFlow_0npsyye</bpmn:incoming>
79       <bpmn:outgoing>SequenceFlow_1xb5nx1</bpmn:outgoing>
80     </bpmn:callActivity>
81     <bpmn:sequenceFlow id="SequenceFlow_1hfjn79" sourceRef="Task_1tv7jy5" targetRef="ScriptTask_1r2li91" />
82     <bpmn:callActivity id="CallActivity_1ixah3o" name="Call DoAllocateNSSI(Core)" calledElement="DoAllocateNSSI">
83       <bpmn:extensionElements>
84         <camunda:in source="msoRequestId" target="msoRequestId" />
85         <camunda:out source="WorkflowException" target="WorkflowException" />
86         <camunda:in source="nsstInput" target="nsstInput" />
87         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
88         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
89         <camunda:in source="uuiRequest" target="uuiRequest" />
90         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
91         <camunda:in source="taskId" target="CSSOT_taskId" />
92         <camunda:in source="taskName" target="CSSOT_name" />
93         <camunda:in source="taskStatus" target="CSSOT_status" />
94         <camunda:in source="isManual" target="CSSOT_isManual" />
95         <camunda:in source="isNSIOptionAvailable" target="isNSIOptionAvailable" />
96         <camunda:in source="cnSliceTaskInfo" target="sliceTaskInfo" />
97         <camunda:in source="domainType" target="domainType" />
98         <camunda:out source="nssiAllocateResult" target="cnNssiAllocateResult" />
99         <camunda:in source="CnAllocateNssiNbiRequest" target="nbiRequest" />
100         <camunda:out source="sliceTaskParams" target="sliceTaskParams" />
101         <camunda:in source="cnSubnetType" target="subnetType" />
102       </bpmn:extensionElements>
103       <bpmn:incoming>SequenceFlow_0cwbtmr</bpmn:incoming>
104       <bpmn:outgoing>SequenceFlow_1l74seh</bpmn:outgoing>
105     </bpmn:callActivity>
106     <bpmn:sequenceFlow id="SequenceFlow_0f36cu2" sourceRef="Task_1en3luv" targetRef="Task_1g8n8iz" />
107     <bpmn:sequenceFlow id="SequenceFlow_1xb5nx1" sourceRef="CallActivity_1yh9tiq" targetRef="ScriptTask_0mls87v" />
108     <bpmn:parallelGateway id="ExclusiveGateway_19ru3hp">
109       <bpmn:incoming>SequenceFlow_0xx5bwa</bpmn:incoming>
110       <bpmn:incoming>SequenceFlow_0jqxxjq</bpmn:incoming>
111       <bpmn:outgoing>SequenceFlow_0ax2c4p</bpmn:outgoing>
112     </bpmn:parallelGateway>
113     <bpmn:scriptTask id="ScriptTask_07sgklo" name="Update relationship between NSI and Service Profile" scriptFormat="groovy">
114       <bpmn:incoming>SequenceFlow_03ye8m4</bpmn:incoming>
115       <bpmn:outgoing>SequenceFlow_0t0wddg</bpmn:outgoing>
116       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
117 def dcnsio = new DoAllocateNSIandNSSI()
118 dcnsio.updateRelationship(execution)</bpmn:script>
119     </bpmn:scriptTask>
120     <bpmn:sequenceFlow id="SequenceFlow_0t0wddg" sourceRef="ScriptTask_07sgklo" targetRef="IntermediateThrowEvent_0fx1nyj" />
121     <bpmn:scriptTask id="ScriptTask_1r6kuwy" name="create relationship between nsi and SP" scriptFormat="groovy">
122       <bpmn:incoming>SequenceFlow_1k3cspv</bpmn:incoming>
123       <bpmn:outgoing>SequenceFlow_05ovikm</bpmn:outgoing>
124       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
125 def dcnsio = new DoAllocateNSIandNSSI()
126 dcnsio.createRelationship(execution)</bpmn:script>
127     </bpmn:scriptTask>
128     <bpmn:sequenceFlow id="SequenceFlow_05ovikm" sourceRef="ScriptTask_1r6kuwy" targetRef="IntermediateThrowEvent_0fx1nyj" />
129     <bpmn:scriptTask id="Task_1tv7jy5" name="Create RAN Slice Profile Instance" scriptFormat="groovy">
130       <bpmn:incoming>SequenceFlow_1m68yca</bpmn:incoming>
131       <bpmn:outgoing>SequenceFlow_1hfjn79</bpmn:outgoing>
132       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
133 def dcnsio = new DoAllocateNSIandNSSI()
134 dcnsio.createAnSliceProfileInstance(execution)</bpmn:script>
135     </bpmn:scriptTask>
136     <bpmn:scriptTask id="ScriptTask_1r2li91" name="Create RAN Slice Profile" scriptFormat="groovy">
137       <bpmn:incoming>SequenceFlow_1hfjn79</bpmn:incoming>
138       <bpmn:outgoing>SequenceFlow_0zbd2tq</bpmn:outgoing>
139       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
140 def dcnsio = new DoAllocateNSIandNSSI()
141 dcnsio.createAnSliceProfile(execution)</bpmn:script>
142     </bpmn:scriptTask>
143     <bpmn:sequenceFlow id="SequenceFlow_0zbd2tq" sourceRef="ScriptTask_1r2li91" targetRef="Task_0dkfe9n" />
144     <bpmn:scriptTask id="Task_1en3luv" name="Create Core Slice Profile Instance" scriptFormat="groovy">
145       <bpmn:incoming>SequenceFlow_0k5iu2n</bpmn:incoming>
146       <bpmn:outgoing>SequenceFlow_0f36cu2</bpmn:outgoing>
147       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
148 def dcnsio = new DoAllocateNSIandNSSI()
149 dcnsio.createCnSliceProfileInstance(execution)</bpmn:script>
150     </bpmn:scriptTask>
151     <bpmn:scriptTask id="Task_1g8n8iz" name="Create Core Slice Profile" scriptFormat="groovy">
152       <bpmn:incoming>SequenceFlow_0f36cu2</bpmn:incoming>
153       <bpmn:outgoing>SequenceFlow_1wffel4</bpmn:outgoing>
154       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
155 def dcnsio = new DoAllocateNSIandNSSI()
156 dcnsio.createCnSliceProfile(execution)</bpmn:script>
157     </bpmn:scriptTask>
158     <bpmn:sequenceFlow id="SequenceFlow_0ax2c4p" sourceRef="ExclusiveGateway_19ru3hp" targetRef="EndEvent_02c8wsp" />
159     <bpmn:scriptTask id="ScriptTask_0stnvp3" name="Create TN (BH) Slice Profile" scriptFormat="groovy">
160       <bpmn:incoming>SequenceFlow_0paqrtx</bpmn:incoming>
161       <bpmn:outgoing>SequenceFlow_1d48cil</bpmn:outgoing>
162       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
163 def dcnsio = new DoAllocateNSIandNSSI()
164 dcnsio.createTnBHSliceProfileInstance(execution)</bpmn:script>
165     </bpmn:scriptTask>
166     <bpmn:scriptTask id="ScriptTask_1f4o46q" name="Create TN(BH) Slice Profile" scriptFormat="groovy">
167       <bpmn:incoming>SequenceFlow_1d48cil</bpmn:incoming>
168       <bpmn:outgoing>SequenceFlow_00dexhy</bpmn:outgoing>
169       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
170 def dcnsio = new DoAllocateNSIandNSSI()
171 dcnsio.createTnBHSliceProfile(execution)</bpmn:script>
172     </bpmn:scriptTask>
173     <bpmn:callActivity id="CallActivity_0b28wlb" name="Call DoAllocateNSSI(TN)" calledElement="DoAllocateNSSI">
174       <bpmn:extensionElements>
175         <camunda:in source="msoRequestId" target="msoRequestId" />
176         <camunda:out source="WorkflowException" target="WorkflowException" />
177         <camunda:in source="nsstInput" target="nsstInput" />
178         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
179         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
180         <camunda:in source="uuiRequest" target="uuiRequest" />
181         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
182         <camunda:in source="taskId" target="CSSOT_taskId" />
183         <camunda:in source="taskName" target="CSSOT_name" />
184         <camunda:in source="taskStatus" target="CSSOT_status" />
185         <camunda:in source="isManual" target="CSSOT_isManual" />
186         <camunda:in source="isNSIOptionAvailable" target="isNSIOptionAvailable" />
187         <camunda:in source="tnBHSliceTaskInfo" target="sliceTaskInfo" />
188         <camunda:out source="nssiAllocateResult" target="tnBHNssiAllocateResult" />
189         <camunda:in source="TnBHAllocateNssiNbiRequest" target="nbiRequest" />
190         <camunda:out source="sliceTaskParams" target="sliceTaskParams" />
191         <camunda:in source="tnBHSubnetType" target="subnetType" />
192       </bpmn:extensionElements>
193       <bpmn:incoming>SequenceFlow_01isn2q</bpmn:incoming>
194       <bpmn:outgoing>SequenceFlow_1omynpt</bpmn:outgoing>
195     </bpmn:callActivity>
196     <bpmn:sequenceFlow id="SequenceFlow_1d48cil" sourceRef="ScriptTask_0stnvp3" targetRef="ScriptTask_1f4o46q" />
197     <bpmn:sequenceFlow id="SequenceFlow_00dexhy" sourceRef="ScriptTask_1f4o46q" targetRef="ScriptTask_0ci5g6y" />
198     <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_08wpvhs" name="Create Tn SliceProfile">
199       <bpmn:outgoing>SequenceFlow_0paqrtx</bpmn:outgoing>
200       <bpmn:linkEventDefinition id="LinkEventDefinition_1beugxy" name="CreateTnSliceProfile" />
201     </bpmn:intermediateCatchEvent>
202     <bpmn:sequenceFlow id="SequenceFlow_0paqrtx" sourceRef="IntermediateCatchEvent_08wpvhs" targetRef="ScriptTask_0stnvp3" />
203     <bpmn:scriptTask id="ScriptTask_0sssiii" name="Update relationship between NSI and NSSI" scriptFormat="groovy">
204       <bpmn:incoming>SequenceFlow_1omynpt</bpmn:incoming>
205       <bpmn:outgoing>SequenceFlow_150xio1</bpmn:outgoing>
206       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
207 def dcnsio = new DoAllocateNSIandNSSI()
208 dcnsio.updateTnBHRelationship(execution)</bpmn:script>
209     </bpmn:scriptTask>
210     <bpmn:sequenceFlow id="SequenceFlow_150xio1" sourceRef="ScriptTask_0sssiii" targetRef="EndEvent_0elqlhv" />
211     <bpmn:scriptTask id="ScriptTask_0mls87v" name="Update relationship between NSI and NSSI" scriptFormat="groovy">
212       <bpmn:incoming>SequenceFlow_1xb5nx1</bpmn:incoming>
213       <bpmn:outgoing>SequenceFlow_0xx5bwa</bpmn:outgoing>
214       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
215 def dcnsio = new DoAllocateNSIandNSSI()
216 dcnsio.updateAnRelationship(execution)</bpmn:script>
217     </bpmn:scriptTask>
218     <bpmn:sequenceFlow id="SequenceFlow_0xx5bwa" sourceRef="ScriptTask_0mls87v" targetRef="ExclusiveGateway_19ru3hp" />
219     <bpmn:scriptTask id="ScriptTask_0z9x5uh" name="Update relationship between NSI and NSSI" scriptFormat="groovy">
220       <bpmn:incoming>SequenceFlow_1l74seh</bpmn:incoming>
221       <bpmn:outgoing>SequenceFlow_0jqxxjq</bpmn:outgoing>
222       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
223 def dcnsio = new DoAllocateNSIandNSSI()
224 dcnsio.updateCnRelationship(execution)</bpmn:script>
225     </bpmn:scriptTask>
226     <bpmn:sequenceFlow id="SequenceFlow_1l74seh" sourceRef="CallActivity_1ixah3o" targetRef="ScriptTask_0z9x5uh" />
227     <bpmn:sequenceFlow id="SequenceFlow_0jqxxjq" sourceRef="ScriptTask_0z9x5uh" targetRef="ExclusiveGateway_19ru3hp" />
228     <bpmn:sequenceFlow id="SequenceFlow_1omynpt" sourceRef="CallActivity_0b28wlb" targetRef="ScriptTask_0sssiii" />
229     <bpmn:endEvent id="EndEvent_0elqlhv">
230       <bpmn:incoming>SequenceFlow_150xio1</bpmn:incoming>
231     </bpmn:endEvent>
232     <bpmn:intermediateThrowEvent id="EndEvent_02c8wsp" name="GoTo Create Tn SliceProfile">
233       <bpmn:incoming>SequenceFlow_0ax2c4p</bpmn:incoming>
234       <bpmn:linkEventDefinition name="CreateTnSliceProfile" />
235     </bpmn:intermediateThrowEvent>
236     <bpmn:scriptTask id="ScriptTask_0s8vhha" name="prepare Allocate An Nssi" scriptFormat="groovy">
237       <bpmn:incoming>SequenceFlow_1rwy8q7</bpmn:incoming>
238       <bpmn:outgoing>SequenceFlow_0npsyye</bpmn:outgoing>
239       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
240 def dcnsio = new DoAllocateNSIandNSSI()
241 dcnsio.prepareAllocateAnNssi(execution)</bpmn:script>
242     </bpmn:scriptTask>
243     <bpmn:sequenceFlow id="SequenceFlow_0npsyye" sourceRef="ScriptTask_0s8vhha" targetRef="CallActivity_1yh9tiq" />
244     <bpmn:scriptTask id="ScriptTask_0z0ec5b" name="prepare Allocate Cn Nssi" scriptFormat="groovy">
245       <bpmn:incoming>SequenceFlow_17r1oa0</bpmn:incoming>
246       <bpmn:outgoing>SequenceFlow_0cwbtmr</bpmn:outgoing>
247       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
248 def dcnsio = new DoAllocateNSIandNSSI()
249 dcnsio.prepareAllocateCnNssi(execution)</bpmn:script>
250     </bpmn:scriptTask>
251     <bpmn:sequenceFlow id="SequenceFlow_0cwbtmr" sourceRef="ScriptTask_0z0ec5b" targetRef="CallActivity_1ixah3o" />
252     <bpmn:sequenceFlow id="SequenceFlow_1wffel4" sourceRef="Task_1g8n8iz" targetRef="Task_0fwhsq2" />
253     <bpmn:scriptTask id="ScriptTask_0ci5g6y" name="prepare Allocate Tn-BH Nssi" scriptFormat="groovy">
254       <bpmn:incoming>SequenceFlow_00dexhy</bpmn:incoming>
255       <bpmn:outgoing>SequenceFlow_01isn2q</bpmn:outgoing>
256       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
257 def dcnsio = new DoAllocateNSIandNSSI()
258 dcnsio.prepareAllocateTnBHNssi(execution)</bpmn:script>
259     </bpmn:scriptTask>
260     <bpmn:sequenceFlow id="SequenceFlow_01isn2q" sourceRef="ScriptTask_0ci5g6y" targetRef="CallActivity_0b28wlb" />
261     <bpmn:sequenceFlow id="SequenceFlow_1rwy8q7" sourceRef="Task_0dkfe9n" targetRef="ScriptTask_0s8vhha" />
262     <bpmn:scriptTask id="Task_0dkfe9n" name="Create AN EP" scriptFormat="groovy">
263       <bpmn:incoming>SequenceFlow_0zbd2tq</bpmn:incoming>
264       <bpmn:outgoing>SequenceFlow_1rwy8q7</bpmn:outgoing>
265       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
266 def dcnsio = new DoAllocateNSIandNSSI()
267 dcnsio.createANEndpoint(execution)</bpmn:script>
268     </bpmn:scriptTask>
269     <bpmn:sequenceFlow id="SequenceFlow_17r1oa0" sourceRef="Task_0fwhsq2" targetRef="ScriptTask_0z0ec5b" />
270     <bpmn:scriptTask id="Task_0fwhsq2" name="Create CN EP" scriptFormat="groovy">
271       <bpmn:incoming>SequenceFlow_1wffel4</bpmn:incoming>
272       <bpmn:outgoing>SequenceFlow_17r1oa0</bpmn:outgoing>
273       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
274 def dcnsio = new DoAllocateNSIandNSSI()
275 dcnsio.createCNEndpoint(execution)</bpmn:script>
276     </bpmn:scriptTask>
277   </bpmn:process>
278   <bpmn:message id="Message_1i10pf1" name="Message_2mc69tg" />
279   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
280     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoAllocateNSIandNSSI">
281       <bpmndi:BPMNShape id="StartEvent_1ym3sha_di" bpmnElement="StartEvent_1ym3sha">
282         <dc:Bounds x="138" y="122" width="36" height="36" />
283         <bpmndi:BPMNLabel>
284           <dc:Bounds x="144" y="165" width="25" height="14" />
285         </bpmndi:BPMNLabel>
286       </bpmndi:BPMNShape>
287       <bpmndi:BPMNEdge id="SequenceFlow_0xgfj7z_di" bpmnElement="SequenceFlow_0xgfj7z">
288         <di:waypoint x="174" y="140" />
289         <di:waypoint x="224" y="140" />
290       </bpmndi:BPMNEdge>
291       <bpmndi:BPMNShape id="ScriptTask_0q0td74_di" bpmnElement="Task_027u6m6">
292         <dc:Bounds x="224" y="100" width="100" height="80" />
293       </bpmndi:BPMNShape>
294       <bpmndi:BPMNShape id="ScriptTask_0qorxd9_di" bpmnElement="ScriptTask_0qorxd9">
295         <dc:Bounds x="404" y="100" width="100" height="80" />
296       </bpmndi:BPMNShape>
297       <bpmndi:BPMNEdge id="SequenceFlow_00aukg6_di" bpmnElement="SequenceFlow_00aukg6">
298         <di:waypoint x="324" y="140" />
299         <di:waypoint x="404" y="140" />
300       </bpmndi:BPMNEdge>
301       <bpmndi:BPMNShape id="ExclusiveGateway_00pt1ek_di" bpmnElement="ExclusiveGateway_00pt1ek" isMarkerVisible="true">
302         <dc:Bounds x="609" y="115" width="50" height="50" />
303         <bpmndi:BPMNLabel>
304           <dc:Bounds x="604" y="78" width="59" height="27" />
305         </bpmndi:BPMNLabel>
306       </bpmndi:BPMNShape>
307       <bpmndi:BPMNEdge id="SequenceFlow_1ggo6s5_di" bpmnElement="SequenceFlow_1ggo6s5">
308         <di:waypoint x="504" y="140" />
309         <di:waypoint x="609" y="140" />
310       </bpmndi:BPMNEdge>
311       <bpmndi:BPMNEdge id="SequenceFlow_0c986i9_di" bpmnElement="SequenceFlow_0c986i9">
312         <di:waypoint x="659" y="140" />
313         <di:waypoint x="800" y="140" />
314       </bpmndi:BPMNEdge>
315       <bpmndi:BPMNShape id="ScriptTask_1tizl6b_di" bpmnElement="ScriptTask_1tizl6b">
316         <dc:Bounds x="800" y="100" width="100" height="80" />
317       </bpmndi:BPMNShape>
318       <bpmndi:BPMNEdge id="SequenceFlow_1k3cspv_di" bpmnElement="SequenceFlow_1k3cspv">
319         <di:waypoint x="900" y="140" />
320         <di:waypoint x="970" y="140" />
321       </bpmndi:BPMNEdge>
322       <bpmndi:BPMNEdge id="SequenceFlow_03ye8m4_di" bpmnElement="SequenceFlow_03ye8m4">
323         <di:waypoint x="634" y="165" />
324         <di:waypoint x="634" y="260" />
325         <di:waypoint x="930" y="260" />
326       </bpmndi:BPMNEdge>
327       <bpmndi:BPMNShape id="IntermediateThrowEvent_0zuxkap_di" bpmnElement="IntermediateThrowEvent_0fx1nyj">
328         <dc:Bounds x="1412" y="122" width="36" height="36" />
329         <bpmndi:BPMNLabel>
330           <dc:Bounds x="1388" y="92" width="90" height="27" />
331         </bpmndi:BPMNLabel>
332       </bpmndi:BPMNShape>
333       <bpmndi:BPMNShape id="IntermediateCatchEvent_1u7g80x_di" bpmnElement="IntermediateThrowEvent_0k54pph">
334         <dc:Bounds x="138" y="502" width="36" height="36" />
335         <bpmndi:BPMNLabel>
336           <dc:Bounds x="126" y="545" width="60" height="27" />
337         </bpmndi:BPMNLabel>
338       </bpmndi:BPMNShape>
339       <bpmndi:BPMNEdge id="SequenceFlow_0ct8yh4_di" bpmnElement="SequenceFlow_0ct8yh4">
340         <di:waypoint x="174" y="520" />
341         <di:waypoint x="239" y="520" />
342       </bpmndi:BPMNEdge>
343       <bpmndi:BPMNShape id="ParallelGateway_0q9h79n_di" bpmnElement="ExclusiveGateway_00ufetn">
344         <dc:Bounds x="239" y="495" width="50" height="50" />
345       </bpmndi:BPMNShape>
346       <bpmndi:BPMNEdge id="SequenceFlow_1m68yca_di" bpmnElement="SequenceFlow_1m68yca">
347         <di:waypoint x="264" y="495" />
348         <di:waypoint x="264" y="440" />
349         <di:waypoint x="310" y="440" />
350       </bpmndi:BPMNEdge>
351       <bpmndi:BPMNEdge id="SequenceFlow_0k5iu2n_di" bpmnElement="SequenceFlow_0k5iu2n">
352         <di:waypoint x="264" y="545" />
353         <di:waypoint x="264" y="630" />
354         <di:waypoint x="310" y="630" />
355       </bpmndi:BPMNEdge>
356       <bpmndi:BPMNShape id="CallActivity_1yh9tiq_di" bpmnElement="CallActivity_1yh9tiq">
357         <dc:Bounds x="1030" y="400" width="100" height="80" />
358       </bpmndi:BPMNShape>
359       <bpmndi:BPMNEdge id="SequenceFlow_1hfjn79_di" bpmnElement="SequenceFlow_1hfjn79">
360         <di:waypoint x="410" y="440" />
361         <di:waypoint x="480" y="440" />
362       </bpmndi:BPMNEdge>
363       <bpmndi:BPMNShape id="CallActivity_1ixah3o_di" bpmnElement="CallActivity_1ixah3o">
364         <dc:Bounds x="1030" y="590" width="100" height="80" />
365       </bpmndi:BPMNShape>
366       <bpmndi:BPMNEdge id="SequenceFlow_0f36cu2_di" bpmnElement="SequenceFlow_0f36cu2">
367         <di:waypoint x="410" y="630" />
368         <di:waypoint x="480" y="630" />
369       </bpmndi:BPMNEdge>
370       <bpmndi:BPMNEdge id="SequenceFlow_1xb5nx1_di" bpmnElement="SequenceFlow_1xb5nx1">
371         <di:waypoint x="1130" y="440" />
372         <di:waypoint x="1210" y="440" />
373       </bpmndi:BPMNEdge>
374       <bpmndi:BPMNShape id="ParallelGateway_15vgf7c_di" bpmnElement="ExclusiveGateway_19ru3hp">
375         <dc:Bounds x="1405" y="505" width="50" height="50" />
376       </bpmndi:BPMNShape>
377       <bpmndi:BPMNShape id="ScriptTask_07sgklo_di" bpmnElement="ScriptTask_07sgklo">
378         <dc:Bounds x="930" y="220" width="100" height="80" />
379       </bpmndi:BPMNShape>
380       <bpmndi:BPMNEdge id="SequenceFlow_0t0wddg_di" bpmnElement="SequenceFlow_0t0wddg">
381         <di:waypoint x="1030" y="260" />
382         <di:waypoint x="1430" y="260" />
383         <di:waypoint x="1430" y="158" />
384       </bpmndi:BPMNEdge>
385       <bpmndi:BPMNShape id="ScriptTask_1r6kuwy_di" bpmnElement="ScriptTask_1r6kuwy">
386         <dc:Bounds x="970" y="100" width="100" height="80" />
387       </bpmndi:BPMNShape>
388       <bpmndi:BPMNEdge id="SequenceFlow_05ovikm_di" bpmnElement="SequenceFlow_05ovikm">
389         <di:waypoint x="1070" y="140" />
390         <di:waypoint x="1412" y="140" />
391       </bpmndi:BPMNEdge>
392       <bpmndi:BPMNShape id="ScriptTask_17cq3xj_di" bpmnElement="Task_1tv7jy5">
393         <dc:Bounds x="310" y="400" width="100" height="80" />
394       </bpmndi:BPMNShape>
395       <bpmndi:BPMNShape id="ScriptTask_1r2li91_di" bpmnElement="ScriptTask_1r2li91">
396         <dc:Bounds x="480" y="400" width="100" height="80" />
397       </bpmndi:BPMNShape>
398       <bpmndi:BPMNEdge id="SequenceFlow_0zbd2tq_di" bpmnElement="SequenceFlow_0zbd2tq">
399         <di:waypoint x="580" y="440" />
400         <di:waypoint x="650" y="440" />
401       </bpmndi:BPMNEdge>
402       <bpmndi:BPMNShape id="ScriptTask_01n5nmt_di" bpmnElement="Task_1en3luv">
403         <dc:Bounds x="310" y="590" width="100" height="80" />
404       </bpmndi:BPMNShape>
405       <bpmndi:BPMNShape id="ScriptTask_0juh1xy_di" bpmnElement="Task_1g8n8iz">
406         <dc:Bounds x="480" y="590" width="100" height="80" />
407       </bpmndi:BPMNShape>
408       <bpmndi:BPMNEdge id="SequenceFlow_0ax2c4p_di" bpmnElement="SequenceFlow_0ax2c4p">
409         <di:waypoint x="1455" y="530" />
410         <di:waypoint x="1512" y="530" />
411       </bpmndi:BPMNEdge>
412       <bpmndi:BPMNShape id="ScriptTask_0stnvp3_di" bpmnElement="ScriptTask_0stnvp3">
413         <dc:Bounds x="310" y="840" width="100" height="80" />
414       </bpmndi:BPMNShape>
415       <bpmndi:BPMNShape id="ScriptTask_1f4o46q_di" bpmnElement="ScriptTask_1f4o46q">
416         <dc:Bounds x="530" y="840" width="100" height="80" />
417       </bpmndi:BPMNShape>
418       <bpmndi:BPMNShape id="CallActivity_0b28wlb_di" bpmnElement="CallActivity_0b28wlb">
419         <dc:Bounds x="930" y="840" width="100" height="80" />
420       </bpmndi:BPMNShape>
421       <bpmndi:BPMNEdge id="SequenceFlow_1d48cil_di" bpmnElement="SequenceFlow_1d48cil">
422         <di:waypoint x="410" y="880" />
423         <di:waypoint x="530" y="880" />
424       </bpmndi:BPMNEdge>
425       <bpmndi:BPMNEdge id="SequenceFlow_00dexhy_di" bpmnElement="SequenceFlow_00dexhy">
426         <di:waypoint x="630" y="880" />
427         <di:waypoint x="730" y="880" />
428       </bpmndi:BPMNEdge>
429       <bpmndi:BPMNShape id="IntermediateCatchEvent_08wpvhs_di" bpmnElement="IntermediateCatchEvent_08wpvhs">
430         <dc:Bounds x="138" y="862" width="36" height="36" />
431         <bpmndi:BPMNLabel>
432           <dc:Bounds x="129" y="905" width="56" height="27" />
433         </bpmndi:BPMNLabel>
434       </bpmndi:BPMNShape>
435       <bpmndi:BPMNEdge id="SequenceFlow_0paqrtx_di" bpmnElement="SequenceFlow_0paqrtx">
436         <di:waypoint x="174" y="880" />
437         <di:waypoint x="310" y="880" />
438       </bpmndi:BPMNEdge>
439       <bpmndi:BPMNShape id="ScriptTask_0sssiii_di" bpmnElement="ScriptTask_0sssiii">
440         <dc:Bounds x="1140" y="840" width="100" height="80" />
441       </bpmndi:BPMNShape>
442       <bpmndi:BPMNEdge id="SequenceFlow_150xio1_di" bpmnElement="SequenceFlow_150xio1">
443         <di:waypoint x="1240" y="880" />
444         <di:waypoint x="1412" y="880" />
445       </bpmndi:BPMNEdge>
446       <bpmndi:BPMNShape id="ScriptTask_0mls87v_di" bpmnElement="ScriptTask_0mls87v">
447         <dc:Bounds x="1210" y="400" width="100" height="80" />
448       </bpmndi:BPMNShape>
449       <bpmndi:BPMNEdge id="SequenceFlow_0xx5bwa_di" bpmnElement="SequenceFlow_0xx5bwa">
450         <di:waypoint x="1310" y="440" />
451         <di:waypoint x="1430" y="440" />
452         <di:waypoint x="1430" y="505" />
453       </bpmndi:BPMNEdge>
454       <bpmndi:BPMNShape id="ScriptTask_0z9x5uh_di" bpmnElement="ScriptTask_0z9x5uh">
455         <dc:Bounds x="1210" y="590" width="100" height="80" />
456       </bpmndi:BPMNShape>
457       <bpmndi:BPMNEdge id="SequenceFlow_1l74seh_di" bpmnElement="SequenceFlow_1l74seh">
458         <di:waypoint x="1130" y="630" />
459         <di:waypoint x="1210" y="630" />
460       </bpmndi:BPMNEdge>
461       <bpmndi:BPMNEdge id="SequenceFlow_0jqxxjq_di" bpmnElement="SequenceFlow_0jqxxjq">
462         <di:waypoint x="1310" y="630" />
463         <di:waypoint x="1430" y="630" />
464         <di:waypoint x="1430" y="555" />
465       </bpmndi:BPMNEdge>
466       <bpmndi:BPMNEdge id="SequenceFlow_1omynpt_di" bpmnElement="SequenceFlow_1omynpt">
467         <di:waypoint x="1030" y="880" />
468         <di:waypoint x="1140" y="880" />
469       </bpmndi:BPMNEdge>
470       <bpmndi:BPMNShape id="EndEvent_0elqlhv_di" bpmnElement="EndEvent_0elqlhv">
471         <dc:Bounds x="1412" y="862" width="36" height="36" />
472       </bpmndi:BPMNShape>
473       <bpmndi:BPMNShape id="IntermediateThrowEvent_0gz4vi6_di" bpmnElement="EndEvent_02c8wsp">
474         <dc:Bounds x="1512" y="512" width="36" height="36" />
475         <bpmndi:BPMNLabel>
476           <dc:Bounds x="1492" y="555" width="79" height="27" />
477         </bpmndi:BPMNLabel>
478       </bpmndi:BPMNShape>
479       <bpmndi:BPMNShape id="ScriptTask_0s8vhha_di" bpmnElement="ScriptTask_0s8vhha">
480         <dc:Bounds x="830" y="400" width="100" height="80" />
481       </bpmndi:BPMNShape>
482       <bpmndi:BPMNEdge id="SequenceFlow_0npsyye_di" bpmnElement="SequenceFlow_0npsyye">
483         <di:waypoint x="930" y="440" />
484         <di:waypoint x="1030" y="440" />
485       </bpmndi:BPMNEdge>
486       <bpmndi:BPMNShape id="ScriptTask_0z0ec5b_di" bpmnElement="ScriptTask_0z0ec5b">
487         <dc:Bounds x="830" y="590" width="100" height="80" />
488       </bpmndi:BPMNShape>
489       <bpmndi:BPMNEdge id="SequenceFlow_0cwbtmr_di" bpmnElement="SequenceFlow_0cwbtmr">
490         <di:waypoint x="930" y="630" />
491         <di:waypoint x="1030" y="630" />
492       </bpmndi:BPMNEdge>
493       <bpmndi:BPMNEdge id="SequenceFlow_1wffel4_di" bpmnElement="SequenceFlow_1wffel4">
494         <di:waypoint x="580" y="630" />
495         <di:waypoint x="650" y="630" />
496       </bpmndi:BPMNEdge>
497       <bpmndi:BPMNShape id="ScriptTask_0ci5g6y_di" bpmnElement="ScriptTask_0ci5g6y">
498         <dc:Bounds x="730" y="840" width="100" height="80" />
499       </bpmndi:BPMNShape>
500       <bpmndi:BPMNEdge id="SequenceFlow_01isn2q_di" bpmnElement="SequenceFlow_01isn2q">
501         <di:waypoint x="830" y="880" />
502         <di:waypoint x="930" y="880" />
503       </bpmndi:BPMNEdge>
504       <bpmndi:BPMNEdge id="SequenceFlow_1rwy8q7_di" bpmnElement="SequenceFlow_1rwy8q7">
505         <di:waypoint x="750" y="440" />
506         <di:waypoint x="830" y="440" />
507       </bpmndi:BPMNEdge>
508       <bpmndi:BPMNShape id="ScriptTask_0x8r537_di" bpmnElement="Task_0dkfe9n">
509         <dc:Bounds x="650" y="400" width="100" height="80" />
510       </bpmndi:BPMNShape>
511       <bpmndi:BPMNEdge id="SequenceFlow_17r1oa0_di" bpmnElement="SequenceFlow_17r1oa0">
512         <di:waypoint x="750" y="630" />
513         <di:waypoint x="830" y="630" />
514       </bpmndi:BPMNEdge>
515       <bpmndi:BPMNShape id="ScriptTask_0mlyx1u_di" bpmnElement="Task_0fwhsq2">
516         <dc:Bounds x="650" y="590" width="100" height="80" />
517       </bpmndi:BPMNShape>
518     </bpmndi:BPMNPlane>
519   </bpmndi:BPMNDiagram>
520 </bpmn:definitions>