a093beae91b5895bfabe212bcdbb90cf24c7e270
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / subprocess / DoCreateVnf.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.10.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="DoCreateVnf" name="DoCreateVnf" 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.onap.so.bpmn.infrastructure.scripts.*
12 DoCreateVnf createVnf = new DoCreateVnf()
13 createVnf.preProcessRequest(execution)]]></bpmn2:script>
14     </bpmn2:scriptTask>
15     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="initialization" targetRef="callGetService" />
16     <bpmn2:exclusiveGateway id="vnfExist" name="Vnf Already Exist?" default="vnfExistYes">
17       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
18       <bpmn2:outgoing>vnfExistYes</bpmn2:outgoing>
19       <bpmn2:outgoing>vnfExistNo</bpmn2:outgoing>
20     </bpmn2:exclusiveGateway>
21     <bpmn2:sequenceFlow id="vnfExistYes" name="Yes" sourceRef="vnfExist" targetRef="vnfExistWorkflowException" />
22     <bpmn2:sequenceFlow id="vnfExistNo" name="No" sourceRef="vnfExist" targetRef="prepareCreateGenericVnf">
23       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("GENGV_FoundIndicator" ) == false && execution.getVariable("GENGV_SuccessIndicator" ) == true}]]></bpmn2:conditionExpression>
24     </bpmn2:sequenceFlow>
25     <bpmn2:callActivity id="callGetVnf" name="Get&#10;&#10;Generic Vnf" calledElement="GenericGetVnf">
26       <bpmn2:extensionElements>
27         <camunda:in source="DoCVNF_vnfName" target="GENGV_vnfName" />
28         <camunda:in source="DoCVNF_type" target="GENGV_type" />
29         <camunda:out source="GENGV_vnf" target="CRTVI_genericVnf" />
30         <camunda:out source="GENGV_FoundIndicator" target="GENGV_FoundIndicator" />
31         <camunda:out source="GENGV_SuccessIndicator" target="GENGV_SuccessIndicator" />
32         <camunda:out source="WorkflowException" target="WorkflowException" />
33         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
34       </bpmn2:extensionElements>
35       <bpmn2:incoming>VnfNameSpecified1</bpmn2:incoming>
36       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
37     </bpmn2:callActivity>
38     <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="callGetVnf" targetRef="vnfExist" />
39     <bpmn2:scriptTask id="vnfExistWorkflowException" name="Create Workflow Exception" scriptFormat="groovy">
40       <bpmn2:incoming>vnfExistYes</bpmn2:incoming>
41       <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
42       <bpmn2:script><![CDATA[import org.onap.so.bpmn.common.scripts.*
43 ExceptionUtil exceptionUtil = new ExceptionUtil()
44 exceptionUtil.buildWorkflowException(execution, 5000, "Generic Vnf Already Exist.")]]></bpmn2:script>
45     </bpmn2:scriptTask>
46     <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="vnfExistWorkflowException" targetRef="EndEvent_2" />
47     <bpmn2:endEvent id="EndEvent_2">
48       <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
49       <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" errorRef="Error_2" />
50     </bpmn2:endEvent>
51     <bpmn2:scriptTask id="prepareCreateGenericVnf" name="&#10;AAI&#10;Create&#10;(generic vnf)&#10;" scriptFormat="groovy">
52       <bpmn2:incoming>vnfExistNo</bpmn2:incoming>
53       <bpmn2:incoming>VnfNameNotSpecified1</bpmn2:incoming>
54       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
55       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
56 DoCreateVnf createVnf = new DoCreateVnf()
57 createVnf.createGenericVnf(execution)]]></bpmn2:script>
58     </bpmn2:scriptTask>
59     <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="prepareCreateGenericVnf" targetRef="postProcessCreateGenericVnf" />
60     <bpmn2:subProcess id="javaErrorHandlingSubProcess" name="Java Exception Handling Sub Process" triggeredByEvent="true">
61       <bpmn2:scriptTask id="processJavaError" name="Process Error" scriptFormat="groovy">
62         <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
63         <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
64         <bpmn2:script><![CDATA[import org.onap.so.bpmn.common.scripts.*
65 ExceptionUtil exceptionUtil = new ExceptionUtil()
66 exceptionUtil.processJavaException(execution)]]></bpmn2:script>
67       </bpmn2:scriptTask>
68       <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="processJavaError" targetRef="EndEvent_4" />
69       <bpmn2:endEvent id="EndEvent_4">
70         <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
71       </bpmn2:endEvent>
72       <bpmn2:startEvent id="StartEvent_2">
73         <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
74         <bpmn2:errorEventDefinition id="ErrorEventDefinition_3" errorRef="Error_1" />
75       </bpmn2:startEvent>
76       <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="StartEvent_2" targetRef="processJavaError" />
77     </bpmn2:subProcess>
78     <bpmn2:endEvent id="EndEvent_3">
79       <bpmn2:incoming>SdncInteractionNotEnabled</bpmn2:incoming>
80       <bpmn2:incoming>SequenceFlow_0bj7c4s</bpmn2:incoming>
81       <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_35" />
82     </bpmn2:endEvent>
83     <bpmn2:sequenceFlow id="SequenceFlow_1q6udwm" sourceRef="preProcessSDNCAssignRequest" targetRef="callSDNCAdapterVNFTopologyAssign" />
84     <bpmn2:sequenceFlow id="SequenceFlow_15knw0q" sourceRef="callSDNCAdapterVNFTopologyAssign" targetRef="postProcessSDNCAssignRequest" />
85     <bpmn2:sequenceFlow id="SequenceFlow_1lalmvp" sourceRef="preProcessSDNCActivateRequest" targetRef="callSDNCAdapterVNFTopologyActivate" />
86     <bpmn2:sequenceFlow id="SequenceFlow_0eb41vb" sourceRef="callSDNCAdapterVNFTopologyActivate" targetRef="postProcessSDNCActivateRequest" />
87     <bpmn2:sequenceFlow id="SequenceFlow_15z3gpq" sourceRef="postProcessSDNCActivateRequest" targetRef="Task_053tb0h" />
88     <bpmn2:scriptTask id="preProcessSDNCAssignRequest" name="PreProcess SDNC Assign Request" scriptFormat="groovy">
89       <bpmn2:incoming>SdncInteractionEnabled</bpmn2:incoming>
90       <bpmn2:outgoing>SequenceFlow_1q6udwm</bpmn2:outgoing>
91       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
92 DoCreateVnf createVnf = new DoCreateVnf()
93 createVnf.preProcessSDNCAssignRequest(execution)]]></bpmn2:script>
94     </bpmn2:scriptTask>
95     <bpmn2:callActivity id="callSDNCAdapterVNFTopologyAssign" name="Call SDNC Adapter VNF Topology Assign" calledElement="sdncAdapter">
96       <bpmn2:extensionElements>
97         <camunda:in source="DoCVNF_assignSDNCRequest" target="sdncAdapterWorkflowRequest" />
98         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
99         <camunda:in source="mso-request-id" target="mso-request-id" />
100         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
101         <camunda:out source="WorkflowException" target="WorkflowException" />
102         <camunda:out source="sdncAdapterResponse" target="DoCVNF_assignSDNCAdapterResponse" />
103         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
104       </bpmn2:extensionElements>
105       <bpmn2:incoming>SequenceFlow_1q6udwm</bpmn2:incoming>
106       <bpmn2:outgoing>SequenceFlow_15knw0q</bpmn2:outgoing>
107     </bpmn2:callActivity>
108     <bpmn2:scriptTask id="postProcessSDNCAssignRequest" name="PostProcess SDNC Assign Request" scriptFormat="groovy">
109       <bpmn2:incoming>SequenceFlow_15knw0q</bpmn2:incoming>
110       <bpmn2:outgoing>SequenceFlow_0lnh79j</bpmn2:outgoing>
111       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
112 String response = execution.getVariable("DoCVNF_assignSDNCAdapterResponse")
113
114 def createVnfInfra = new DoCreateVnf()
115 createVnfInfra.validateSDNCResponse(execution, response, "assign")]]></bpmn2:script>
116     </bpmn2:scriptTask>
117     <bpmn2:scriptTask id="preProcessSDNCActivateRequest" name="PreProcess SDNC Activate Request" scriptFormat="groovy">
118       <bpmn2:incoming>SequenceFlow_1q1poly</bpmn2:incoming>
119       <bpmn2:incoming>VnfNameSpecified2</bpmn2:incoming>
120       <bpmn2:outgoing>SequenceFlow_1lalmvp</bpmn2:outgoing>
121       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
122 DoCreateVnf createVnf = new DoCreateVnf()
123 createVnf.preProcessSDNCActivateRequest(execution)]]></bpmn2:script>
124     </bpmn2:scriptTask>
125     <bpmn2:callActivity id="callSDNCAdapterVNFTopologyActivate" name="Call SDNC Adapter VNF Topology Activate" calledElement="sdncAdapter">
126       <bpmn2:extensionElements>
127         <camunda:in source="DoCVNF_activateSDNCRequest" target="sdncAdapterWorkflowRequest" />
128         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
129         <camunda:in source="mso-reqeuest-id" target="mso-request-id" />
130         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
131         <camunda:out source="WorkflowException" target="WorkflowException" />
132         <camunda:out source="sdncAdapterResponse" target="DoCVNF_activateSDNCAdapterResponse" />
133         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
134       </bpmn2:extensionElements>
135       <bpmn2:incoming>SequenceFlow_1lalmvp</bpmn2:incoming>
136       <bpmn2:outgoing>SequenceFlow_0eb41vb</bpmn2:outgoing>
137     </bpmn2:callActivity>
138     <bpmn2:scriptTask id="postProcessSDNCActivateRequest" name="PostProcess SDNC Activate Request" scriptFormat="groovy">
139       <bpmn2:incoming>SequenceFlow_0eb41vb</bpmn2:incoming>
140       <bpmn2:outgoing>SequenceFlow_15z3gpq</bpmn2:outgoing>
141       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
142
143 String response = execution.getVariable("DoCVNF_assignSDNCAdapterResponse")
144
145 def createVnfInfra = new DoCreateVnf()
146 createVnfInfra.validateSDNCResponse(execution, response, "activate")]]></bpmn2:script>
147     </bpmn2:scriptTask>
148     <bpmn2:exclusiveGateway id="ExclusiveGateway_045rm8i" name="Is SDNC Interaction Enabled?" default="SdncInteractionNotEnabled">
149       <bpmn2:incoming>SequenceFlow_1gc18ih</bpmn2:incoming>
150       <bpmn2:outgoing>SdncInteractionEnabled</bpmn2:outgoing>
151       <bpmn2:outgoing>SdncInteractionNotEnabled</bpmn2:outgoing>
152     </bpmn2:exclusiveGateway>
153     <bpmn2:sequenceFlow id="SdncInteractionEnabled" name="Yes" sourceRef="ExclusiveGateway_045rm8i" targetRef="preProcessSDNCAssignRequest">
154       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DoCVNF_sdncVersion" ) != '1702'}]]></bpmn2:conditionExpression>
155     </bpmn2:sequenceFlow>
156     <bpmn2:sequenceFlow id="SdncInteractionNotEnabled" name="No" sourceRef="ExclusiveGateway_045rm8i" targetRef="EndEvent_3" />
157     <bpmn2:sequenceFlow id="SequenceFlow_1gc18ih" sourceRef="postProcessCreateGenericVnf" targetRef="ExclusiveGateway_045rm8i" />
158     <bpmn2:scriptTask id="postProcessCreateGenericVnf" name="PostProcess Create Generic Vnf" scriptFormat="groovy">
159       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
160       <bpmn2:outgoing>SequenceFlow_1gc18ih</bpmn2:outgoing>
161       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
162 DoCreateVnf createVnf = new DoCreateVnf()
163 createVnf.postProcessCreateGenericVnf(execution)]]></bpmn2:script>
164     </bpmn2:scriptTask>
165     <bpmn2:exclusiveGateway id="ExclusiveGateway_0j73e7c" name="Vnf-name specified?" default="VnfNameSpecified1">
166       <bpmn2:incoming>SequenceFlow_1mvplyi</bpmn2:incoming>
167       <bpmn2:outgoing>VnfNameNotSpecified1</bpmn2:outgoing>
168       <bpmn2:outgoing>VnfNameSpecified1</bpmn2:outgoing>
169     </bpmn2:exclusiveGateway>
170     <bpmn2:sequenceFlow id="VnfNameNotSpecified1" name="No" sourceRef="ExclusiveGateway_0j73e7c" targetRef="prepareCreateGenericVnf">
171       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DoCVNF_vnfName" ) == null}]]></bpmn2:conditionExpression>
172     </bpmn2:sequenceFlow>
173     <bpmn2:sequenceFlow id="VnfNameSpecified1" name="Yes" sourceRef="ExclusiveGateway_0j73e7c" targetRef="callGetVnf" />
174     <bpmn2:sequenceFlow id="SequenceFlow_1h9jdgr" sourceRef="PreProcessSDNCGetRequest" targetRef="CallSDNCAdapterVNFTopologyGet" />
175     <bpmn2:sequenceFlow id="SequenceFlow_14xac2y" sourceRef="CallSDNCAdapterVNFTopologyGet" targetRef="PostProcessSDNCGetRequest" />
176     <bpmn2:sequenceFlow id="SequenceFlow_1q1poly" sourceRef="PostProcessSDNCGetRequest" targetRef="preProcessSDNCActivateRequest" />
177     <bpmn2:exclusiveGateway id="ExclusiveGateway_0qnhlm1" name="Vnf-name specified?" default="VnfNameSpecified2">
178       <bpmn2:incoming>SequenceFlow_0lnh79j</bpmn2:incoming>
179       <bpmn2:outgoing>VnfNameNotSpecified2</bpmn2:outgoing>
180       <bpmn2:outgoing>VnfNameSpecified2</bpmn2:outgoing>
181     </bpmn2:exclusiveGateway>
182     <bpmn2:sequenceFlow id="SequenceFlow_0lnh79j" sourceRef="postProcessSDNCAssignRequest" targetRef="ExclusiveGateway_0qnhlm1" />
183     <bpmn2:sequenceFlow id="VnfNameNotSpecified2" name="No" sourceRef="ExclusiveGateway_0qnhlm1" targetRef="PreProcessSDNCGetRequest">
184       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DoCVNF_vnfName" ) == null}]]></bpmn2:conditionExpression>
185     </bpmn2:sequenceFlow>
186     <bpmn2:sequenceFlow id="VnfNameSpecified2" name="Yes" sourceRef="ExclusiveGateway_0qnhlm1" targetRef="preProcessSDNCActivateRequest" />
187     <bpmn2:scriptTask id="PreProcessSDNCGetRequest" name="PreProcess SDNC Get Request" scriptFormat="groovy">
188       <bpmn2:incoming>VnfNameNotSpecified2</bpmn2:incoming>
189       <bpmn2:outgoing>SequenceFlow_1h9jdgr</bpmn2:outgoing>
190       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
191 DoCreateVnf createVnf = new DoCreateVnf()
192 createVnf.preProcessSDNCGetRequest(execution)]]></bpmn2:script>
193     </bpmn2:scriptTask>
194     <bpmn2:callActivity id="CallSDNCAdapterVNFTopologyGet" name="Call SDNC Adapter VNF Topology Get" calledElement="sdncAdapter">
195       <bpmn2:extensionElements>
196         <camunda:in source="DoCVNF_getSDNCRequest" target="sdncAdapterWorkflowRequest" />
197         <camunda:in source="mso-request-id" target="mso-request-id" />
198         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
199         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
200         <camunda:out source="WorkflowException" target="WorkflowException" />
201         <camunda:out source="sdncAdapterResponse" target="DoCVNF_getSDNCAdapterResponse" />
202         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
203       </bpmn2:extensionElements>
204       <bpmn2:incoming>SequenceFlow_1h9jdgr</bpmn2:incoming>
205       <bpmn2:outgoing>SequenceFlow_14xac2y</bpmn2:outgoing>
206     </bpmn2:callActivity>
207     <bpmn2:scriptTask id="PostProcessSDNCGetRequest" name="PostProcess SDNC Get Request" scriptFormat="groovy">
208       <bpmn2:incoming>SequenceFlow_14xac2y</bpmn2:incoming>
209       <bpmn2:outgoing>SequenceFlow_1q1poly</bpmn2:outgoing>
210       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
211
212 String response = execution.getVariable("DoCVNF_getSDNCAdapterResponse")
213
214 def createVnfInfra = new DoCreateVnf()
215 createVnfInfra.validateSDNCResponse(execution, response, "get")]]></bpmn2:script>
216     </bpmn2:scriptTask>
217     <bpmn2:sequenceFlow id="SequenceFlow_0bj7c4s" sourceRef="UpdateAAIOrchestrationStatus" targetRef="EndEvent_3" />
218     <bpmn2:callActivity id="UpdateAAIOrchestrationStatus" name="Update AAI Orchestration Status to Active" calledElement="UpdateAAIGenericVnf">
219       <bpmn2:extensionElements>
220         <camunda:in source="DoCVNF_updateAAIGenericVnfRequest" target="UpdateAAIGenericVnfRequest" />
221         <camunda:in source="mso-request-id" target="mso-request-id" />
222         <camunda:in source="mso-service-id" target="mso-service-id" />
223         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
224         <camunda:out source="WorkflowException" target="WorkflowException" />
225       </bpmn2:extensionElements>
226       <bpmn2:incoming>SequenceFlow_0nhsdmj</bpmn2:incoming>
227       <bpmn2:outgoing>SequenceFlow_0bj7c4s</bpmn2:outgoing>
228     </bpmn2:callActivity>
229     <bpmn2:sequenceFlow id="SequenceFlow_0nhsdmj" sourceRef="Task_053tb0h" targetRef="UpdateAAIOrchestrationStatus" />
230     <bpmn2:scriptTask id="Task_053tb0h" name="Prepare Update AAI Generic VNF" scriptFormat="groovy">
231       <bpmn2:incoming>SequenceFlow_15z3gpq</bpmn2:incoming>
232       <bpmn2:outgoing>SequenceFlow_0nhsdmj</bpmn2:outgoing>
233       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
234 def doCreateVnf = new DoCreateVnf()
235 doCreateVnf.prepUpdateAAIGenericVnf(execution)]]></bpmn2:script>
236     </bpmn2:scriptTask>
237     <bpmn2:scriptTask id="callGetService" name="AAI&#10;Query&#10;(svc instance)" scriptFormat="groovy">
238       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
239       <bpmn2:outgoing>SequenceFlow_1mvplyi</bpmn2:outgoing>
240       <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
241 DoCreateVnf createVnf = new DoCreateVnf()
242 createVnf.getServiceInstance(execution)]]></bpmn2:script>
243     </bpmn2:scriptTask>
244     <bpmn2:sequenceFlow id="SequenceFlow_1mvplyi" sourceRef="callGetService" targetRef="ExclusiveGateway_0j73e7c" />
245   </bpmn2:process>
246   <bpmn2:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" />
247   <bpmn2:error id="Error_2" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
248   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
249     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateVnf">
250       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_68" bpmnElement="StartEvent_1">
251         <dc:Bounds x="96" y="222" width="36" height="36" />
252         <bpmndi:BPMNLabel>
253           <dc:Bounds x="114" y="263" width="0" height="0" />
254         </bpmndi:BPMNLabel>
255       </bpmndi:BPMNShape>
256       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_285" bpmnElement="initialization">
257         <dc:Bounds x="238" y="200" width="100" height="80" />
258       </bpmndi:BPMNShape>
259       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_68" targetElement="_BPMNShape_ScriptTask_285">
260         <di:waypoint xsi:type="dc:Point" x="132" y="240" />
261         <di:waypoint xsi:type="dc:Point" x="238" y="240" />
262         <bpmndi:BPMNLabel>
263           <dc:Bounds x="140" y="222" width="90" height="6" />
264         </bpmndi:BPMNLabel>
265       </bpmndi:BPMNEdge>
266       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_285">
267         <di:waypoint xsi:type="dc:Point" x="338" y="240" />
268         <di:waypoint xsi:type="dc:Point" x="425" y="240" />
269         <bpmndi:BPMNLabel>
270           <dc:Bounds x="336.5" y="225" width="90" height="0" />
271         </bpmndi:BPMNLabel>
272       </bpmndi:BPMNEdge>
273       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_60" bpmnElement="callGetVnf">
274         <dc:Bounds x="720" y="288" width="100" height="80" />
275       </bpmndi:BPMNShape>
276       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_232" bpmnElement="vnfExist" isMarkerVisible="true">
277         <dc:Bounds x="854" y="302" width="50" height="50" />
278         <bpmndi:BPMNLabel>
279           <dc:Bounds x="890" y="332" width="114" height="22" />
280         </bpmndi:BPMNLabel>
281       </bpmndi:BPMNShape>
282       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_CallActivity_60" targetElement="_BPMNShape_ExclusiveGateway_232">
283         <di:waypoint xsi:type="dc:Point" x="820" y="328" />
284         <di:waypoint xsi:type="dc:Point" x="854" y="327" />
285         <bpmndi:BPMNLabel>
286           <dc:Bounds x="804" y="330" width="6" height="6" />
287         </bpmndi:BPMNLabel>
288       </bpmndi:BPMNEdge>
289       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_299" bpmnElement="vnfExistWorkflowException">
290         <dc:Bounds x="926" y="367" width="100" height="80" />
291       </bpmndi:BPMNShape>
292       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_300" bpmnElement="prepareCreateGenericVnf">
293         <dc:Bounds x="959" y="200" width="100" height="80" />
294       </bpmndi:BPMNShape>
295       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="vnfExistYes" sourceElement="_BPMNShape_ExclusiveGateway_232" targetElement="_BPMNShape_ScriptTask_299">
296         <di:waypoint xsi:type="dc:Point" x="879" y="352" />
297         <di:waypoint xsi:type="dc:Point" x="879" y="407" />
298         <di:waypoint xsi:type="dc:Point" x="926" y="407" />
299         <bpmndi:BPMNLabel>
300           <dc:Bounds x="880" y="367" width="29" height="22" />
301         </bpmndi:BPMNLabel>
302       </bpmndi:BPMNEdge>
303       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="vnfExistNo" sourceElement="_BPMNShape_ExclusiveGateway_232" targetElement="_BPMNShape_ScriptTask_300">
304         <di:waypoint xsi:type="dc:Point" x="879" y="302" />
305         <di:waypoint xsi:type="dc:Point" x="879" y="240" />
306         <di:waypoint xsi:type="dc:Point" x="959" y="240" />
307         <bpmndi:BPMNLabel>
308           <dc:Bounds x="884" y="254" width="14" height="12" />
309         </bpmndi:BPMNLabel>
310       </bpmndi:BPMNEdge>
311       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_227" bpmnElement="EndEvent_2">
312         <dc:Bounds x="1092" y="389" width="36" height="36" />
313         <bpmndi:BPMNLabel>
314           <dc:Bounds x="1110" y="430" width="0" height="0" />
315         </bpmndi:BPMNLabel>
316       </bpmndi:BPMNShape>
317       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ScriptTask_299" targetElement="_BPMNShape_EndEvent_227">
318         <di:waypoint xsi:type="dc:Point" x="1026" y="407" />
319         <di:waypoint xsi:type="dc:Point" x="1092" y="407" />
320         <bpmndi:BPMNLabel>
321           <dc:Bounds x="1034" y="407" width="6" height="6" />
322         </bpmndi:BPMNLabel>
323       </bpmndi:BPMNEdge>
324       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_228" bpmnElement="EndEvent_3">
325         <dc:Bounds x="1765" y="537" width="36" height="36" />
326         <bpmndi:BPMNLabel>
327           <dc:Bounds x="1783" y="578" width="0" height="0" />
328         </bpmndi:BPMNLabel>
329       </bpmndi:BPMNShape>
330       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_300" targetElement="ScriptTask_0y55cyz_di">
331         <di:waypoint xsi:type="dc:Point" x="1059" y="240" />
332         <di:waypoint xsi:type="dc:Point" x="1146" y="240" />
333         <bpmndi:BPMNLabel>
334           <dc:Bounds x="1057.5" y="225" width="90" height="0" />
335         </bpmndi:BPMNLabel>
336       </bpmndi:BPMNEdge>
337       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_32" bpmnElement="javaErrorHandlingSubProcess" isExpanded="true">
338         <dc:Bounds x="109" y="668" width="313" height="169" />
339       </bpmndi:BPMNShape>
340       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_76" bpmnElement="StartEvent_2">
341         <dc:Bounds x="133" y="735" width="36" height="36" />
342         <bpmndi:BPMNLabel>
343           <dc:Bounds x="151" y="776" width="0" height="0" />
344         </bpmndi:BPMNLabel>
345       </bpmndi:BPMNShape>
346       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_308" bpmnElement="processJavaError">
347         <dc:Bounds x="216" y="713" width="100" height="80" />
348       </bpmndi:BPMNShape>
349       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_234" bpmnElement="EndEvent_4">
350         <dc:Bounds x="361" y="735" width="36" height="36" />
351         <bpmndi:BPMNLabel>
352           <dc:Bounds x="379" y="776" width="0" height="0" />
353         </bpmndi:BPMNLabel>
354       </bpmndi:BPMNShape>
355       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_StartEvent_76" targetElement="_BPMNShape_ScriptTask_308">
356         <di:waypoint xsi:type="dc:Point" x="169" y="753" />
357         <di:waypoint xsi:type="dc:Point" x="216" y="753" />
358         <bpmndi:BPMNLabel>
359           <dc:Bounds x="190" y="753" width="0" height="0" />
360         </bpmndi:BPMNLabel>
361       </bpmndi:BPMNEdge>
362       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ScriptTask_308" targetElement="_BPMNShape_EndEvent_234">
363         <di:waypoint xsi:type="dc:Point" x="316" y="753" />
364         <di:waypoint xsi:type="dc:Point" x="361" y="753" />
365         <bpmndi:BPMNLabel>
366           <dc:Bounds x="336" y="753" width="0" height="0" />
367         </bpmndi:BPMNLabel>
368       </bpmndi:BPMNEdge>
369       <bpmndi:BPMNEdge id="SequenceFlow_1q6udwm_di" bpmnElement="SequenceFlow_1q6udwm">
370         <di:waypoint xsi:type="dc:Point" x="306" y="555" />
371         <di:waypoint xsi:type="dc:Point" x="346" y="555" />
372         <bpmndi:BPMNLabel>
373           <dc:Bounds x="326" y="540" width="0" height="0" />
374         </bpmndi:BPMNLabel>
375       </bpmndi:BPMNEdge>
376       <bpmndi:BPMNEdge id="SequenceFlow_15knw0q_di" bpmnElement="SequenceFlow_15knw0q">
377         <di:waypoint xsi:type="dc:Point" x="446" y="555" />
378         <di:waypoint xsi:type="dc:Point" x="493" y="555" />
379         <bpmndi:BPMNLabel>
380           <dc:Bounds x="470" y="540" width="0" height="0" />
381         </bpmndi:BPMNLabel>
382       </bpmndi:BPMNEdge>
383       <bpmndi:BPMNEdge id="SequenceFlow_1lalmvp_di" bpmnElement="SequenceFlow_1lalmvp">
384         <di:waypoint xsi:type="dc:Point" x="1100" y="555" />
385         <di:waypoint xsi:type="dc:Point" x="1156" y="555" />
386         <bpmndi:BPMNLabel>
387           <dc:Bounds x="1128" y="540" width="0" height="0" />
388         </bpmndi:BPMNLabel>
389       </bpmndi:BPMNEdge>
390       <bpmndi:BPMNEdge id="SequenceFlow_0eb41vb_di" bpmnElement="SequenceFlow_0eb41vb">
391         <di:waypoint xsi:type="dc:Point" x="1256" y="555" />
392         <di:waypoint xsi:type="dc:Point" x="1304" y="555" />
393         <bpmndi:BPMNLabel>
394           <dc:Bounds x="1280" y="540" width="0" height="0" />
395         </bpmndi:BPMNLabel>
396       </bpmndi:BPMNEdge>
397       <bpmndi:BPMNEdge id="SequenceFlow_15z3gpq_di" bpmnElement="SequenceFlow_15z3gpq">
398         <di:waypoint xsi:type="dc:Point" x="1404" y="555" />
399         <di:waypoint xsi:type="dc:Point" x="1445" y="555" />
400         <bpmndi:BPMNLabel>
401           <dc:Bounds x="1425" y="540" width="0" height="0" />
402         </bpmndi:BPMNLabel>
403       </bpmndi:BPMNEdge>
404       <bpmndi:BPMNShape id="ScriptTask_01h1rx2_di" bpmnElement="preProcessSDNCAssignRequest">
405         <dc:Bounds x="206" y="515" width="100" height="80" />
406       </bpmndi:BPMNShape>
407       <bpmndi:BPMNShape id="CallActivity_0p5ncd0_di" bpmnElement="callSDNCAdapterVNFTopologyAssign">
408         <dc:Bounds x="346" y="515" width="100" height="80" />
409       </bpmndi:BPMNShape>
410       <bpmndi:BPMNShape id="ScriptTask_1qa39wn_di" bpmnElement="postProcessSDNCAssignRequest">
411         <dc:Bounds x="493" y="515" width="100" height="80" />
412       </bpmndi:BPMNShape>
413       <bpmndi:BPMNShape id="ScriptTask_1rr2xrc_di" bpmnElement="preProcessSDNCActivateRequest">
414         <dc:Bounds x="1000" y="515" width="100" height="80" />
415       </bpmndi:BPMNShape>
416       <bpmndi:BPMNShape id="CallActivity_1ieo30p_di" bpmnElement="callSDNCAdapterVNFTopologyActivate">
417         <dc:Bounds x="1156" y="515" width="100" height="80" />
418       </bpmndi:BPMNShape>
419       <bpmndi:BPMNShape id="ScriptTask_04votlb_di" bpmnElement="postProcessSDNCActivateRequest">
420         <dc:Bounds x="1304" y="515" width="100" height="80" />
421       </bpmndi:BPMNShape>
422       <bpmndi:BPMNShape id="ExclusiveGateway_045rm8i_di" bpmnElement="ExclusiveGateway_045rm8i" isMarkerVisible="true">
423         <dc:Bounds x="1758" y="215" width="50" height="50" />
424         <bpmndi:BPMNLabel>
425           <dc:Bounds x="1756" y="163" width="54" height="36" />
426         </bpmndi:BPMNLabel>
427       </bpmndi:BPMNShape>
428       <bpmndi:BPMNEdge id="SequenceFlow_0ttqcwx_di" bpmnElement="SdncInteractionEnabled">
429         <di:waypoint xsi:type="dc:Point" x="1783" y="265" />
430         <di:waypoint xsi:type="dc:Point" x="1783" y="475" />
431         <di:waypoint xsi:type="dc:Point" x="106" y="475" />
432         <di:waypoint xsi:type="dc:Point" x="106" y="555" />
433         <di:waypoint xsi:type="dc:Point" x="206" y="555" />
434         <bpmndi:BPMNLabel>
435           <dc:Bounds x="941" y="460" width="18" height="12" />
436         </bpmndi:BPMNLabel>
437       </bpmndi:BPMNEdge>
438       <bpmndi:BPMNEdge id="SequenceFlow_0ay5l4b_di" bpmnElement="SdncInteractionNotEnabled">
439         <di:waypoint xsi:type="dc:Point" x="1783" y="265" />
440         <di:waypoint xsi:type="dc:Point" x="1783" y="401" />
441         <di:waypoint xsi:type="dc:Point" x="1783" y="401" />
442         <di:waypoint xsi:type="dc:Point" x="1783" y="537" />
443         <bpmndi:BPMNLabel>
444           <dc:Bounds x="1812" y="431.09791911764705" width="14" height="12" />
445         </bpmndi:BPMNLabel>
446       </bpmndi:BPMNEdge>
447       <bpmndi:BPMNEdge id="SequenceFlow_1gc18ih_di" bpmnElement="SequenceFlow_1gc18ih">
448         <di:waypoint xsi:type="dc:Point" x="1246" y="240" />
449         <di:waypoint xsi:type="dc:Point" x="1758" y="240" />
450         <bpmndi:BPMNLabel>
451           <dc:Bounds x="1457" y="225" width="90" height="0" />
452         </bpmndi:BPMNLabel>
453       </bpmndi:BPMNEdge>
454       <bpmndi:BPMNShape id="ScriptTask_0y55cyz_di" bpmnElement="postProcessCreateGenericVnf">
455         <dc:Bounds x="1146" y="200" width="100" height="80" />
456       </bpmndi:BPMNShape>
457       <bpmndi:BPMNShape id="ExclusiveGateway_0j73e7c_di" bpmnElement="ExclusiveGateway_0j73e7c" isMarkerVisible="true">
458         <dc:Bounds x="646" y="215" width="50" height="50" />
459         <bpmndi:BPMNLabel>
460           <dc:Bounds x="653" y="184" width="51" height="24" />
461         </bpmndi:BPMNLabel>
462       </bpmndi:BPMNShape>
463       <bpmndi:BPMNEdge id="SequenceFlow_0k2oavy_di" bpmnElement="VnfNameNotSpecified1">
464         <di:waypoint xsi:type="dc:Point" x="696" y="240" />
465         <di:waypoint xsi:type="dc:Point" x="959" y="240" />
466         <bpmndi:BPMNLabel>
467           <dc:Bounds x="821.0502092050209" y="215" width="14" height="12" />
468         </bpmndi:BPMNLabel>
469       </bpmndi:BPMNEdge>
470       <bpmndi:BPMNEdge id="SequenceFlow_1pwgmrg_di" bpmnElement="VnfNameSpecified1">
471         <di:waypoint xsi:type="dc:Point" x="671" y="265" />
472         <di:waypoint xsi:type="dc:Point" x="671" y="328" />
473         <di:waypoint xsi:type="dc:Point" x="720" y="328" />
474         <bpmndi:BPMNLabel>
475           <dc:Bounds x="677" y="286.5" width="18" height="12" />
476         </bpmndi:BPMNLabel>
477       </bpmndi:BPMNEdge>
478       <bpmndi:BPMNEdge id="SequenceFlow_1h9jdgr_di" bpmnElement="SequenceFlow_1h9jdgr">
479         <di:waypoint xsi:type="dc:Point" x="777" y="693" />
480         <di:waypoint xsi:type="dc:Point" x="799" y="693" />
481         <bpmndi:BPMNLabel>
482           <dc:Bounds x="788" y="678" width="0" height="0" />
483         </bpmndi:BPMNLabel>
484       </bpmndi:BPMNEdge>
485       <bpmndi:BPMNEdge id="SequenceFlow_14xac2y_di" bpmnElement="SequenceFlow_14xac2y">
486         <di:waypoint xsi:type="dc:Point" x="899" y="693" />
487         <di:waypoint xsi:type="dc:Point" x="926" y="693" />
488         <bpmndi:BPMNLabel>
489           <dc:Bounds x="913" y="678" width="0" height="0" />
490         </bpmndi:BPMNLabel>
491       </bpmndi:BPMNEdge>
492       <bpmndi:BPMNEdge id="SequenceFlow_1q1poly_di" bpmnElement="SequenceFlow_1q1poly">
493         <di:waypoint xsi:type="dc:Point" x="1026" y="693" />
494         <di:waypoint xsi:type="dc:Point" x="1050" y="693" />
495         <di:waypoint xsi:type="dc:Point" x="1050" y="595" />
496         <bpmndi:BPMNLabel>
497           <dc:Bounds x="1038" y="678" width="0" height="0" />
498         </bpmndi:BPMNLabel>
499       </bpmndi:BPMNEdge>
500       <bpmndi:BPMNShape id="ExclusiveGateway_0qnhlm1_di" bpmnElement="ExclusiveGateway_0qnhlm1" isMarkerVisible="true">
501         <dc:Bounds x="625" y="530" width="50" height="50" />
502         <bpmndi:BPMNLabel>
503           <dc:Bounds x="624" y="495" width="51" height="24" />
504         </bpmndi:BPMNLabel>
505       </bpmndi:BPMNShape>
506       <bpmndi:BPMNEdge id="SequenceFlow_0lnh79j_di" bpmnElement="SequenceFlow_0lnh79j">
507         <di:waypoint xsi:type="dc:Point" x="593" y="555" />
508         <di:waypoint xsi:type="dc:Point" x="625" y="555" />
509         <bpmndi:BPMNLabel>
510           <dc:Bounds x="609" y="530" width="0" height="0" />
511         </bpmndi:BPMNLabel>
512       </bpmndi:BPMNEdge>
513       <bpmndi:BPMNEdge id="SequenceFlow_1mh1y3w_di" bpmnElement="VnfNameNotSpecified2">
514         <di:waypoint xsi:type="dc:Point" x="650" y="580" />
515         <di:waypoint xsi:type="dc:Point" x="650" y="693" />
516         <di:waypoint xsi:type="dc:Point" x="677" y="693" />
517         <bpmndi:BPMNLabel>
518           <dc:Bounds x="626" y="622" width="14" height="12" />
519         </bpmndi:BPMNLabel>
520       </bpmndi:BPMNEdge>
521       <bpmndi:BPMNEdge id="SequenceFlow_175qbtt_di" bpmnElement="VnfNameSpecified2">
522         <di:waypoint xsi:type="dc:Point" x="675" y="555" />
523         <di:waypoint xsi:type="dc:Point" x="1000" y="555" />
524         <bpmndi:BPMNLabel>
525           <dc:Bounds x="829" y="530" width="18" height="12" />
526         </bpmndi:BPMNLabel>
527       </bpmndi:BPMNEdge>
528       <bpmndi:BPMNShape id="ScriptTask_1cpb0sg_di" bpmnElement="PreProcessSDNCGetRequest">
529         <dc:Bounds x="677" y="653" width="100" height="80" />
530       </bpmndi:BPMNShape>
531       <bpmndi:BPMNShape id="CallActivity_0h8tpji_di" bpmnElement="CallSDNCAdapterVNFTopologyGet">
532         <dc:Bounds x="799" y="653" width="100" height="80" />
533       </bpmndi:BPMNShape>
534       <bpmndi:BPMNShape id="ScriptTask_1orism0_di" bpmnElement="PostProcessSDNCGetRequest">
535         <dc:Bounds x="926" y="653" width="100" height="80" />
536       </bpmndi:BPMNShape>
537       <bpmndi:BPMNEdge id="SequenceFlow_0bj7c4s_di" bpmnElement="SequenceFlow_0bj7c4s">
538         <di:waypoint xsi:type="dc:Point" x="1700" y="555" />
539         <di:waypoint xsi:type="dc:Point" x="1765" y="555" />
540         <bpmndi:BPMNLabel>
541           <dc:Bounds x="1733" y="540" width="0" height="0" />
542         </bpmndi:BPMNLabel>
543       </bpmndi:BPMNEdge>
544       <bpmndi:BPMNShape id="CallActivity_0a4a9lx_di" bpmnElement="UpdateAAIOrchestrationStatus">
545         <dc:Bounds x="1600" y="515" width="100" height="80" />
546       </bpmndi:BPMNShape>
547       <bpmndi:BPMNEdge id="SequenceFlow_0nhsdmj_di" bpmnElement="SequenceFlow_0nhsdmj">
548         <di:waypoint xsi:type="dc:Point" x="1545" y="555" />
549         <di:waypoint xsi:type="dc:Point" x="1600" y="555" />
550         <bpmndi:BPMNLabel>
551           <dc:Bounds x="1573" y="540" width="0" height="0" />
552         </bpmndi:BPMNLabel>
553       </bpmndi:BPMNEdge>
554       <bpmndi:BPMNShape id="ScriptTask_0aonzix_di" bpmnElement="Task_053tb0h">
555         <dc:Bounds x="1445" y="515" width="100" height="80" />
556       </bpmndi:BPMNShape>
557       <bpmndi:BPMNShape id="ScriptTask_019g8vu_di" bpmnElement="callGetService">
558         <dc:Bounds x="425" y="200" width="100" height="80" />
559       </bpmndi:BPMNShape>
560       <bpmndi:BPMNEdge id="SequenceFlow_1mvplyi_di" bpmnElement="SequenceFlow_1mvplyi">
561         <di:waypoint xsi:type="dc:Point" x="525" y="240" />
562         <di:waypoint xsi:type="dc:Point" x="646" y="240" />
563         <bpmndi:BPMNLabel>
564           <dc:Bounds x="585.5" y="219" width="0" height="12" />
565         </bpmndi:BPMNLabel>
566       </bpmndi:BPMNEdge>
567     </bpmndi:BPMNPlane>
568   </bpmndi:BPMNDiagram>
569 </bpmn2:definitions>