109cf69b92c6ad773773e6558488cfc2aa1129ff
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / subprocess / DoCreateE2EServiceInstance.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="_MagIIMOUEeW8asg-vCEgWQ" 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="DoCreateE2EServiceInstance" name="DoCreateE2EServiceInstance" isExecutable="true">
4     <bpmn2:startEvent id="createSI_startEvent" name="Start Flow">
5       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
6     </bpmn2:startEvent>
7     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="createSI_startEvent" targetRef="preProcessRequest_ScriptTask" />
8     <bpmn2:scriptTask id="getAAICustomerById_scriptTask" name="Get AAI Customer By globalCustomerId " scriptFormat="groovy">
9       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
10       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
11       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
12 def dcsi = new DoCreateE2EServiceInstance()
13 dcsi.getAAICustomerById(execution)]]></bpmn2:script>
14     </bpmn2:scriptTask>
15     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="getAAICustomerById_scriptTask" targetRef="ExclusiveGateway_09wkav2" />
16     <bpmn2:scriptTask id="preProcessRequest_ScriptTask" name="PreProcess Incoming Request" scriptFormat="groovy">
17       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
18       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
19       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
20 def dcsi = new DoCreateE2EServiceInstance()
21 dcsi.preProcessRequest(execution)
22 ]]></bpmn2:script>
23     </bpmn2:scriptTask>
24     <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="CustomE2EGetService" targetRef="ScriptTask_0i8cqdy" />
25     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="preProcessRequest_ScriptTask" targetRef="getAAICustomerById_scriptTask" />
26     <bpmn2:callActivity id="CustomE2EGetService" name="Call Custom E2E Get Service" calledElement="CustomE2EGetService">
27       <bpmn2:extensionElements>
28         <camunda:in source="serviceInstanceName" target="GENGS_serviceInstanceName" />
29         <camunda:in source="globalSubscriberId" target="GENGS_globalCustomerId" />
30         <camunda:in sourceExpression="service-instance" target="GENGS_type" />
31         <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" />
32         <camunda:out source="GENGS_SuccessIndicator" target="GENGS_SuccessIndicator" />
33         <camunda:out source="WorkflowException" target="WorkflowException" />
34       </bpmn2:extensionElements>
35       <bpmn2:incoming>SequenceFlow_11fnnkb</bpmn2:incoming>
36       <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
37     </bpmn2:callActivity>
38     <bpmn2:callActivity id="CustomE2EPutService" name="Call Custom E2E Put Service" calledElement="CustomE2EPutService">
39       <bpmn2:extensionElements>
40         <camunda:in source="globalSubscriberId" target="GENPS_globalSubscriberId" />
41         <camunda:in source="serviceInstanceId" target="GENPS_serviceInstanceId" />
42         <camunda:in source="subscriptionServiceType" target="GENPS_serviceType" />
43         <camunda:in sourceExpression="service-instance" target="GENPS_type" />
44         <camunda:in source="serviceInstanceData" target="GENPS_payload" />
45         <camunda:out source="GENPS_SuccessIndicator" target="GENPS_SuccessIndicator" />
46         <camunda:in source="msoRequestId" target="GENPS_requesId" />
47         <camunda:out source="WorkflowException" target="WorkflowException" />
48       </bpmn2:extensionElements>
49       <bpmn2:incoming>SequenceFlow_1uw2p9a</bpmn2:incoming>
50       <bpmn2:incoming>SequenceFlow_1w01tqs</bpmn2:incoming>
51       <bpmn2:outgoing>SequenceFlow_129ih1g</bpmn2:outgoing>
52     </bpmn2:callActivity>
53     <bpmn2:sequenceFlow id="SequenceFlow_129ih1g" sourceRef="CustomE2EPutService" targetRef="ScriptTask_0q37vn9" />
54     <bpmn2:exclusiveGateway id="ExclusiveGateway_09wkav2" name="sdncVersion is 1610 or serviceInstance name is populated?" default="SequenceFlow_1uw2p9a">
55       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
56       <bpmn2:outgoing>SequenceFlow_11fnnkb</bpmn2:outgoing>
57       <bpmn2:outgoing>SequenceFlow_1uw2p9a</bpmn2:outgoing>
58     </bpmn2:exclusiveGateway>
59     <bpmn2:sequenceFlow id="SequenceFlow_11fnnkb" name="yes" sourceRef="ExclusiveGateway_09wkav2" targetRef="CustomE2EGetService">
60       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{(execution.getVariable("serviceInstanceName" )  != null && execution.getVariable("serviceInstanceName" )  != "" ) || execution.getVariable("sdncVersion" )   == "1610" }]]></bpmn2:conditionExpression>
61     </bpmn2:sequenceFlow>
62     <bpmn2:sequenceFlow id="SequenceFlow_1uw2p9a" name="no" sourceRef="ExclusiveGateway_09wkav2" targetRef="CustomE2EPutService" />
63     <bpmn2:subProcess id="SubProcess_06d8lk8" name="Sub-process for Application Errors" triggeredByEvent="true">
64       <bpmn2:startEvent id="StartEvent_0yljq9y">
65         <bpmn2:outgoing>SequenceFlow_0tgrn11</bpmn2:outgoing>
66         <bpmn2:errorEventDefinition />
67       </bpmn2:startEvent>
68       <bpmn2:endEvent id="EndEvent_117lkk3">
69         <bpmn2:incoming>SequenceFlow_1xzgv5k</bpmn2:incoming>
70       </bpmn2:endEvent>
71       <bpmn2:callActivity id="CallActivity_1srx6p6" name="Call DoCreateE2EServiceInstanceRollback" calledElement="DoCreateE2EServiceInstanceRollback">
72         <bpmn2:extensionElements>
73           <camunda:in source="msoRequestId" target="mso-request-id" />
74           <camunda:in source="rollbackData" target="rollbackData" />
75           <camunda:out source="rolledBack" target="rolledBack" />
76           <camunda:in source="disableRollback" target="disableRollback" />
77           <camunda:out source="rollbackError" target="rollbackErrror" />
78         </bpmn2:extensionElements>
79         <bpmn2:incoming>SequenceFlow_1lqktwf</bpmn2:incoming>
80         <bpmn2:outgoing>SequenceFlow_0eumzpf</bpmn2:outgoing>
81       </bpmn2:callActivity>
82       <bpmn2:sequenceFlow id="SequenceFlow_0eumzpf" sourceRef="CallActivity_1srx6p6" targetRef="ScriptTask_1p0vyip" />
83       <bpmn2:sequenceFlow id="SequenceFlow_0tgrn11" sourceRef="StartEvent_0yljq9y" targetRef="ScriptTask_0ocetux" />
84       <bpmn2:scriptTask id="ScriptTask_0ocetux" name="Pre Process Rollback" scriptFormat="groovy">
85         <bpmn2:incoming>SequenceFlow_0tgrn11</bpmn2:incoming>
86         <bpmn2:outgoing>SequenceFlow_1lqktwf</bpmn2:outgoing>
87         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
88 def dcsi = new DoCreateE2EServiceInstance()
89 dcsi.preProcessRollback(execution)
90 ]]></bpmn2:script>
91       </bpmn2:scriptTask>
92       <bpmn2:sequenceFlow id="SequenceFlow_1lqktwf" sourceRef="ScriptTask_0ocetux" targetRef="CallActivity_1srx6p6" />
93       <bpmn2:scriptTask id="ScriptTask_1p0vyip" name="Post Process Rollback" scriptFormat="groovy">
94         <bpmn2:incoming>SequenceFlow_0eumzpf</bpmn2:incoming>
95         <bpmn2:outgoing>SequenceFlow_1xzgv5k</bpmn2:outgoing>
96         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
97 def dcsi = new DoCreateE2EServiceInstance()
98 dcsi.postProcessRollback(execution)
99 ]]></bpmn2:script>
100       </bpmn2:scriptTask>
101       <bpmn2:sequenceFlow id="SequenceFlow_1xzgv5k" sourceRef="ScriptTask_1p0vyip" targetRef="EndEvent_117lkk3" />
102     </bpmn2:subProcess>
103     <bpmn2:exclusiveGateway id="ExclusiveGateway_1nk6aol" name="sdncVersion is 1610?">
104       <bpmn2:incoming>SequenceFlow_1dd86x8</bpmn2:incoming>
105       <bpmn2:outgoing>SequenceFlow_00v4npo</bpmn2:outgoing>
106       <bpmn2:outgoing>SequenceFlow_1170ztf</bpmn2:outgoing>
107     </bpmn2:exclusiveGateway>
108     <bpmn2:endEvent id="EndEvent_10659gr">
109       <bpmn2:incoming>SequenceFlow_00v4npo</bpmn2:incoming>
110     </bpmn2:endEvent>
111     <bpmn2:sequenceFlow id="SequenceFlow_00v4npo" name="yes" sourceRef="ExclusiveGateway_1nk6aol" targetRef="EndEvent_10659gr">
112       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("sdncVersion" ) == "1610"}]]></bpmn2:conditionExpression>
113     </bpmn2:sequenceFlow>
114     <bpmn2:scriptTask id="ScriptTask_0i8cqdy" name="Post Process AAI GET" scriptFormat="groovy">
115       <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
116       <bpmn2:outgoing>SequenceFlow_1w01tqs</bpmn2:outgoing>
117       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
118 def dcsi = new DoCreateE2EServiceInstance()
119 dcsi.postProcessAAIGET(execution)]]></bpmn2:script>
120     </bpmn2:scriptTask>
121     <bpmn2:sequenceFlow id="SequenceFlow_1w01tqs" sourceRef="ScriptTask_0i8cqdy" targetRef="CustomE2EPutService" />
122     <bpmn2:scriptTask id="ScriptTask_0q37vn9" name="Post Process AAI PUT" scriptFormat="groovy">
123       <bpmn2:incoming>SequenceFlow_129ih1g</bpmn2:incoming>
124       <bpmn2:outgoing>SequenceFlow_1dd86x8</bpmn2:outgoing>
125       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
126 def ddsi = new DoCreateE2EServiceInstance()
127 ddsi.postProcessAAIPUT(execution)]]></bpmn2:script>
128     </bpmn2:scriptTask>
129     <bpmn2:sequenceFlow id="SequenceFlow_1dd86x8" sourceRef="ScriptTask_0q37vn9" targetRef="ExclusiveGateway_1nk6aol" />
130     <bpmn2:scriptTask id="ScriptTask_0081lne" name="Prepare  Resource Requst For overlay" scriptFormat="groovy">
131       <bpmn2:incoming>SequenceFlow_1pjr82f</bpmn2:incoming>
132       <bpmn2:outgoing>SequenceFlow_0ofqw6v</bpmn2:outgoing>
133       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
134 String nsName = "overlay"
135 def csi = new  DoCreateE2EServiceInstance()
136 csi.preResourceRequest(execution, nsName)]]></bpmn2:script>
137     </bpmn2:scriptTask>
138     <bpmn2:scriptTask id="ScriptTask_0wvq4t8" name="Prepare Resource Request for vEPC" scriptFormat="groovy">
139       <bpmn2:incoming>SequenceFlow_05gdjox</bpmn2:incoming>
140       <bpmn2:outgoing>SequenceFlow_15zgrcq</bpmn2:outgoing>
141       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
142 String resourceName= "vEPC"
143 def csi = new  DoCreateE2EServiceInstance()
144 csi.preResourceRequest(execution, resourceName)]]></bpmn2:script>
145     </bpmn2:scriptTask>
146     <bpmn2:callActivity id="CallActivity_0uwm4l1" name="Call DoCreateVFCNetworkServiceInstance For vEPC" calledElement="DoCreateVFCNetworkServiceInstance">
147       <bpmn2:extensionElements>
148         <camunda:in source="nsServiceName" target="nsServiceName" />
149         <camunda:in source="nsServiceDescription" target="nsServiceDescription" />
150         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
151         <camunda:in source="serviceType" target="serviceType" />
152         <camunda:in source="serviceId" target="serviceId" />
153         <camunda:in source="operationId" target="operationId" />
154         <camunda:in source="resourceType" target="resourceType" />
155         <camunda:in source="resourceUUID" target="resourceUUID" />
156         <camunda:in source="resourceParameters" target="resourceParameters" />
157         <camunda:in source="operationType" target="operationType" />
158       </bpmn2:extensionElements>
159       <bpmn2:incoming>SequenceFlow_15zgrcq</bpmn2:incoming>
160       <bpmn2:outgoing>SequenceFlow_0k4q7jm</bpmn2:outgoing>
161     </bpmn2:callActivity>
162     <bpmn2:scriptTask id="ScriptTask_1xdjlzm" name="Post Config Service Instance Creation" scriptFormat="groovy">
163       <bpmn2:incoming>SequenceFlow_1vvdkcs</bpmn2:incoming>
164       <bpmn2:outgoing>SequenceFlow_092ghvu</bpmn2:outgoing>
165       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
166 def csi = new  DoCreateE2EServiceInstance()
167 csi.postConfigRequest(execution)]]></bpmn2:script>
168     </bpmn2:scriptTask>
169     <bpmn2:sequenceFlow id="SequenceFlow_0ofqw6v" sourceRef="ScriptTask_0081lne" targetRef="CallActivity_09c3ajg" />
170     <bpmn2:sequenceFlow id="SequenceFlow_15zgrcq" sourceRef="ScriptTask_0wvq4t8" targetRef="CallActivity_0uwm4l1" />
171     <bpmn2:sequenceFlow id="SequenceFlow_1vvdkcs" sourceRef="CallActivity_09c3ajg" targetRef="ScriptTask_1xdjlzm" />
172     <bpmn2:sequenceFlow id="SequenceFlow_092ghvu" sourceRef="ScriptTask_1xdjlzm" targetRef="EndEvent_0kbbt94" />
173     <bpmn2:sequenceFlow id="SequenceFlow_1170ztf" sourceRef="ExclusiveGateway_1nk6aol" targetRef="Task_0uiekmn" />
174     <bpmn2:endEvent id="EndEvent_0kbbt94">
175       <bpmn2:incoming>SequenceFlow_092ghvu</bpmn2:incoming>
176     </bpmn2:endEvent>
177     <bpmn2:sequenceFlow id="SequenceFlow_0k4q7jm" sourceRef="CallActivity_0uwm4l1" targetRef="Task_0aidjmp" />
178     <bpmn2:sequenceFlow id="SequenceFlow_1qctzm0" sourceRef="Task_0uiekmn" targetRef="Task_0raqlqc" />
179     <bpmn2:scriptTask id="Task_0uiekmn" name="Prepare Resource Oper Status">
180       <bpmn2:incoming>SequenceFlow_1170ztf</bpmn2:incoming>
181       <bpmn2:outgoing>SequenceFlow_1qctzm0</bpmn2:outgoing>
182       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
183 def ddsi = new DoCreateE2EServiceInstance()
184 ddsi.preInitResourcesOperStatus(execution)]]></bpmn2:script>
185     </bpmn2:scriptTask>
186     <bpmn2:sequenceFlow id="SequenceFlow_05gdjox" sourceRef="Task_0raqlqc" targetRef="ScriptTask_0wvq4t8" />
187     <bpmn2:serviceTask id="Task_0raqlqc" name="Init Resource Oper Status">
188       <bpmn2:extensionElements>
189         <camunda:connector>
190           <camunda:inputOutput>
191             <camunda:inputParameter name="url">${URN_mso_openecomp_adapters_db_endpoint}</camunda:inputParameter>
192             <camunda:inputParameter name="headers">
193               <camunda:map>
194                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
195                 <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
196               </camunda:map>
197             </camunda:inputParameter>
198             <camunda:inputParameter name="payload">${CVFMI_initResOperStatusRequest}</camunda:inputParameter>
199             <camunda:inputParameter name="method">POST</camunda:inputParameter>
200             <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
201             <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
202           </camunda:inputOutput>
203           <camunda:connectorId>http-connector</camunda:connectorId>
204         </camunda:connector>
205       </bpmn2:extensionElements>
206       <bpmn2:incoming>SequenceFlow_1qctzm0</bpmn2:incoming>
207       <bpmn2:outgoing>SequenceFlow_05gdjox</bpmn2:outgoing>
208     </bpmn2:serviceTask>
209     <bpmn2:sequenceFlow id="SequenceFlow_0ua1bbk" sourceRef="Task_0aidjmp" targetRef="Task_03n6y9h" />
210     <bpmn2:scriptTask id="Task_0aidjmp" name="Prepare Resource Request For vIMS" scriptFormat="groovy">
211       <bpmn2:incoming>SequenceFlow_0k4q7jm</bpmn2:incoming>
212       <bpmn2:outgoing>SequenceFlow_0ua1bbk</bpmn2:outgoing>
213       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
214 String nsName = "vIMS"
215 def csi = new  DoCreateE2EServiceInstance()
216 csi.preResourceRequest(execution, nsName)]]></bpmn2:script>
217     </bpmn2:scriptTask>
218     <bpmn2:sequenceFlow id="SequenceFlow_1hgiln0" sourceRef="Task_03n6y9h" targetRef="Task_0io5qby" />
219     <bpmn2:callActivity id="Task_03n6y9h" name="Call DoCreateVFCNetworkServiceInstance For vIMS" calledElement="DoCreateVFCNetworkServiceInstance">
220       <bpmn2:extensionElements>
221         <camunda:in source="nsServiceName" target="nsServiceName" />
222         <camunda:in source="nsServiceDescription" target="nsServiceDescription" />
223         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
224         <camunda:in source="serviceType" target="serviceType" />
225         <camunda:in source="serviceId" target="serviceId" />
226         <camunda:in source="operationId" target="operationId" />
227         <camunda:in source="resourceType" target="resourceType" />
228         <camunda:in source="resourceUUID" target="resourceUUID" />
229         <camunda:in source="resourceParameters" target="resourceParameters" />
230         <camunda:in source="operationType" target="operationType" />
231       </bpmn2:extensionElements>
232       <bpmn2:incoming>SequenceFlow_0ua1bbk</bpmn2:incoming>
233       <bpmn2:outgoing>SequenceFlow_1hgiln0</bpmn2:outgoing>
234     </bpmn2:callActivity>
235     <bpmn2:sequenceFlow id="SequenceFlow_1vo0235" sourceRef="Task_0io5qby" targetRef="Task_0pkhzoj" />
236     <bpmn2:serviceTask id="Task_0io5qby" name="Call Sync SDNC service Create " camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncServiceTopologyOperationTask">
237       <bpmn2:incoming>SequenceFlow_1hgiln0</bpmn2:incoming>
238       <bpmn2:outgoing>SequenceFlow_1vo0235</bpmn2:outgoing>
239     </bpmn2:serviceTask>
240     <bpmn2:sequenceFlow id="SequenceFlow_17i1ors" sourceRef="Task_0pkhzoj" targetRef="Task_0gs55f1" />
241     <bpmn2:sequenceFlow id="SequenceFlow_1pjr82f" sourceRef="Task_0gs55f1" targetRef="ScriptTask_0081lne" />
242     <bpmn2:scriptTask id="Task_0pkhzoj" name="Prepare Resource Request For underlay">
243       <bpmn2:incoming>SequenceFlow_1vo0235</bpmn2:incoming>
244       <bpmn2:outgoing>SequenceFlow_17i1ors</bpmn2:outgoing>
245       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
246 String nsName = "underlay"
247 def csi = new  DoCreateE2EServiceInstance()
248 csi.preResourceRequest(execution, nsName)]]></bpmn2:script>
249     </bpmn2:scriptTask>
250     <bpmn2:serviceTask id="Task_0gs55f1" name="Call Underlay Create" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncNetworkTopologyOperationTask">
251       <bpmn2:incoming>SequenceFlow_17i1ors</bpmn2:incoming>
252       <bpmn2:outgoing>SequenceFlow_1pjr82f</bpmn2:outgoing>
253     </bpmn2:serviceTask>
254     <bpmn2:serviceTask id="CallActivity_09c3ajg" name="Call Overlay Create" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncNetworkTopologyOperationTask">
255       <bpmn2:incoming>SequenceFlow_0ofqw6v</bpmn2:incoming>
256       <bpmn2:outgoing>SequenceFlow_1vvdkcs</bpmn2:outgoing>
257     </bpmn2:serviceTask>
258   </bpmn2:process>
259   <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
260   <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
261   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
262     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateE2EServiceInstance">
263       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="createSI_startEvent">
264         <dc:Bounds x="152" y="79" width="36" height="36" />
265         <bpmndi:BPMNLabel>
266           <dc:Bounds x="147" y="120" width="48" height="14" />
267         </bpmndi:BPMNLabel>
268       </bpmndi:BPMNShape>
269       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">
270         <dc:Bounds x="245" y="57" width="100" height="80" />
271       </bpmndi:BPMNShape>
272       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">
273         <di:waypoint xsi:type="dc:Point" x="188" y="97" />
274         <di:waypoint xsi:type="dc:Point" x="245" y="97" />
275         <bpmndi:BPMNLabel>
276           <dc:Bounds x="217" y="82" width="0" height="0" />
277         </bpmndi:BPMNLabel>
278       </bpmndi:BPMNEdge>
279       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_62" bpmnElement="getAAICustomerById_scriptTask">
280         <dc:Bounds x="393" y="57" width="100" height="80" />
281       </bpmndi:BPMNShape>
282       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_62">
283         <di:waypoint xsi:type="dc:Point" x="493" y="97" />
284         <di:waypoint xsi:type="dc:Point" x="565" y="97" />
285         <bpmndi:BPMNLabel>
286           <dc:Bounds x="529" y="82" width="0" height="0" />
287         </bpmndi:BPMNLabel>
288       </bpmndi:BPMNEdge>
289       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_4">
290         <di:waypoint xsi:type="dc:Point" x="839" y="94" />
291         <di:waypoint xsi:type="dc:Point" x="971" y="94" />
292         <bpmndi:BPMNLabel>
293           <dc:Bounds x="905" y="79" width="0" height="0" />
294         </bpmndi:BPMNLabel>
295       </bpmndi:BPMNEdge>
296       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_61" targetElement="_BPMNShape_ScriptTask_62">
297         <di:waypoint xsi:type="dc:Point" x="345" y="97" />
298         <di:waypoint xsi:type="dc:Point" x="393" y="97" />
299         <bpmndi:BPMNLabel>
300           <dc:Bounds x="369" y="82" width="0" height="0" />
301         </bpmndi:BPMNLabel>
302       </bpmndi:BPMNEdge>
303       <bpmndi:BPMNShape id="CallActivity_1md4kyb_di" bpmnElement="CustomE2EGetService">
304         <dc:Bounds x="739" y="57" width="100" height="80" />
305       </bpmndi:BPMNShape>
306       <bpmndi:BPMNShape id="CallActivity_0khp0qc_di" bpmnElement="CustomE2EPutService">
307         <dc:Bounds x="972" y="206" width="100" height="80" />
308       </bpmndi:BPMNShape>
309       <bpmndi:BPMNEdge id="SequenceFlow_129ih1g_di" bpmnElement="SequenceFlow_129ih1g">
310         <di:waypoint xsi:type="dc:Point" x="1023" y="286" />
311         <di:waypoint xsi:type="dc:Point" x="1022" y="336" />
312         <bpmndi:BPMNLabel>
313           <dc:Bounds x="1023" y="296" width="0" height="0" />
314         </bpmndi:BPMNLabel>
315       </bpmndi:BPMNEdge>
316       <bpmndi:BPMNShape id="ExclusiveGateway_09wkav2_di" bpmnElement="ExclusiveGateway_09wkav2" isMarkerVisible="true">
317         <dc:Bounds x="565" y="72" width="50" height="50" />
318         <bpmndi:BPMNLabel>
319           <dc:Bounds x="547" y="7" width="81" height="62" />
320         </bpmndi:BPMNLabel>
321       </bpmndi:BPMNShape>
322       <bpmndi:BPMNEdge id="SequenceFlow_11fnnkb_di" bpmnElement="SequenceFlow_11fnnkb">
323         <di:waypoint xsi:type="dc:Point" x="615" y="97" />
324         <di:waypoint xsi:type="dc:Point" x="739" y="97" />
325         <bpmndi:BPMNLabel>
326           <dc:Bounds x="635" y="76" width="18" height="14" />
327         </bpmndi:BPMNLabel>
328       </bpmndi:BPMNEdge>
329       <bpmndi:BPMNEdge id="SequenceFlow_1uw2p9a_di" bpmnElement="SequenceFlow_1uw2p9a">
330         <di:waypoint xsi:type="dc:Point" x="590" y="122" />
331         <di:waypoint xsi:type="dc:Point" x="590" y="246" />
332         <di:waypoint xsi:type="dc:Point" x="972" y="246" />
333         <bpmndi:BPMNLabel>
334           <dc:Bounds x="594" y="132.89706349694825" width="12" height="14" />
335         </bpmndi:BPMNLabel>
336       </bpmndi:BPMNEdge>
337       <bpmndi:BPMNShape id="SubProcess_06d8lk8_di" bpmnElement="SubProcess_06d8lk8" isExpanded="true">
338         <dc:Bounds x="-155" y="387" width="783" height="195" />
339       </bpmndi:BPMNShape>
340       <bpmndi:BPMNShape id="StartEvent_0yljq9y_di" bpmnElement="StartEvent_0yljq9y">
341         <dc:Bounds x="-59" y="464" width="36" height="36" />
342         <bpmndi:BPMNLabel>
343           <dc:Bounds x="-86" y="505" width="90" height="0" />
344         </bpmndi:BPMNLabel>
345       </bpmndi:BPMNShape>
346       <bpmndi:BPMNShape id="EndEvent_117lkk3_di" bpmnElement="EndEvent_117lkk3">
347         <dc:Bounds x="574" y="464" width="36" height="36" />
348         <bpmndi:BPMNLabel>
349           <dc:Bounds x="547" y="505" width="90" height="0" />
350         </bpmndi:BPMNLabel>
351       </bpmndi:BPMNShape>
352       <bpmndi:BPMNShape id="CallActivity_1srx6p6_di" bpmnElement="CallActivity_1srx6p6">
353         <dc:Bounds x="239" y="442" width="100" height="80" />
354       </bpmndi:BPMNShape>
355       <bpmndi:BPMNEdge id="SequenceFlow_0eumzpf_di" bpmnElement="SequenceFlow_0eumzpf">
356         <di:waypoint xsi:type="dc:Point" x="339" y="482" />
357         <di:waypoint xsi:type="dc:Point" x="407" y="482" />
358         <bpmndi:BPMNLabel>
359           <dc:Bounds x="328" y="467" width="90" height="0" />
360         </bpmndi:BPMNLabel>
361       </bpmndi:BPMNEdge>
362       <bpmndi:BPMNEdge id="SequenceFlow_0tgrn11_di" bpmnElement="SequenceFlow_0tgrn11">
363         <di:waypoint xsi:type="dc:Point" x="-23" y="482" />
364         <di:waypoint xsi:type="dc:Point" x="76" y="482" />
365         <bpmndi:BPMNLabel>
366           <dc:Bounds x="-18" y="467" width="90" height="0" />
367         </bpmndi:BPMNLabel>
368       </bpmndi:BPMNEdge>
369       <bpmndi:BPMNShape id="ExclusiveGateway_1nk6aol_di" bpmnElement="ExclusiveGateway_1nk6aol" isMarkerVisible="true">
370         <dc:Bounds x="997" y="460" width="50" height="50" />
371         <bpmndi:BPMNLabel>
372           <dc:Bounds x="905" y="472" width="72" height="24" />
373         </bpmndi:BPMNLabel>
374       </bpmndi:BPMNShape>
375       <bpmndi:BPMNShape id="EndEvent_10659gr_di" bpmnElement="EndEvent_10659gr">
376         <dc:Bounds x="1103" y="467" width="36" height="36" />
377         <bpmndi:BPMNLabel>
378           <dc:Bounds x="1121" y="508" width="0" height="0" />
379         </bpmndi:BPMNLabel>
380       </bpmndi:BPMNShape>
381       <bpmndi:BPMNEdge id="SequenceFlow_00v4npo_di" bpmnElement="SequenceFlow_00v4npo">
382         <di:waypoint xsi:type="dc:Point" x="1047" y="485" />
383         <di:waypoint xsi:type="dc:Point" x="1103" y="485" />
384         <bpmndi:BPMNLabel>
385           <dc:Bounds x="1063" y="461" width="18" height="12" />
386         </bpmndi:BPMNLabel>
387       </bpmndi:BPMNEdge>
388       <bpmndi:BPMNShape id="ScriptTask_0i8cqdy_di" bpmnElement="ScriptTask_0i8cqdy">
389         <dc:Bounds x="971" y="57" width="100" height="80" />
390       </bpmndi:BPMNShape>
391       <bpmndi:BPMNEdge id="SequenceFlow_1w01tqs_di" bpmnElement="SequenceFlow_1w01tqs">
392         <di:waypoint xsi:type="dc:Point" x="1021" y="137" />
393         <di:waypoint xsi:type="dc:Point" x="1021" y="172" />
394         <di:waypoint xsi:type="dc:Point" x="1021" y="172" />
395         <di:waypoint xsi:type="dc:Point" x="1021" y="206" />
396         <bpmndi:BPMNLabel>
397           <dc:Bounds x="1036" y="172" width="0" height="0" />
398         </bpmndi:BPMNLabel>
399       </bpmndi:BPMNEdge>
400       <bpmndi:BPMNShape id="ScriptTask_0q37vn9_di" bpmnElement="ScriptTask_0q37vn9">
401         <dc:Bounds x="972" y="336" width="100" height="80" />
402       </bpmndi:BPMNShape>
403       <bpmndi:BPMNEdge id="SequenceFlow_1dd86x8_di" bpmnElement="SequenceFlow_1dd86x8">
404         <di:waypoint xsi:type="dc:Point" x="1022" y="416" />
405         <di:waypoint xsi:type="dc:Point" x="1022" y="460" />
406         <bpmndi:BPMNLabel>
407           <dc:Bounds x="1037" y="438" width="0" height="0" />
408         </bpmndi:BPMNLabel>
409       </bpmndi:BPMNEdge>
410       <bpmndi:BPMNShape id="ScriptTask_0ocetux_di" bpmnElement="ScriptTask_0ocetux">
411         <dc:Bounds x="76" y="442" width="100" height="80" />
412       </bpmndi:BPMNShape>
413       <bpmndi:BPMNEdge id="SequenceFlow_1lqktwf_di" bpmnElement="SequenceFlow_1lqktwf">
414         <di:waypoint xsi:type="dc:Point" x="176" y="482" />
415         <di:waypoint xsi:type="dc:Point" x="239" y="482" />
416         <bpmndi:BPMNLabel>
417           <dc:Bounds x="163" y="467" width="90" height="0" />
418         </bpmndi:BPMNLabel>
419       </bpmndi:BPMNEdge>
420       <bpmndi:BPMNShape id="ScriptTask_1p0vyip_di" bpmnElement="ScriptTask_1p0vyip">
421         <dc:Bounds x="407" y="442" width="100" height="80" />
422       </bpmndi:BPMNShape>
423       <bpmndi:BPMNEdge id="SequenceFlow_1xzgv5k_di" bpmnElement="SequenceFlow_1xzgv5k">
424         <di:waypoint xsi:type="dc:Point" x="507" y="482" />
425         <di:waypoint xsi:type="dc:Point" x="539" y="482" />
426         <di:waypoint xsi:type="dc:Point" x="539" y="482" />
427         <di:waypoint xsi:type="dc:Point" x="574" y="482" />
428         <bpmndi:BPMNLabel>
429           <dc:Bounds x="509" y="482" width="90" height="0" />
430         </bpmndi:BPMNLabel>
431       </bpmndi:BPMNEdge>
432       <bpmndi:BPMNShape id="ScriptTask_0081lne_di" bpmnElement="ScriptTask_0081lne">
433         <dc:Bounds x="-410" y="819" width="100" height="80" />
434       </bpmndi:BPMNShape>
435       <bpmndi:BPMNShape id="ScriptTask_0wvq4t8_di" bpmnElement="ScriptTask_0wvq4t8">
436         <dc:Bounds x="789" y="819" width="100" height="80" />
437       </bpmndi:BPMNShape>
438       <bpmndi:BPMNShape id="CallActivity_0uwm4l1_di" bpmnElement="CallActivity_0uwm4l1">
439         <dc:Bounds x="632" y="819" width="100" height="80" />
440       </bpmndi:BPMNShape>
441       <bpmndi:BPMNShape id="ScriptTask_1xdjlzm_di" bpmnElement="ScriptTask_1xdjlzm">
442         <dc:Bounds x="-741" y="819" width="100" height="80" />
443       </bpmndi:BPMNShape>
444       <bpmndi:BPMNEdge id="SequenceFlow_0ofqw6v_di" bpmnElement="SequenceFlow_0ofqw6v">
445         <di:waypoint xsi:type="dc:Point" x="-410" y="859" />
446         <di:waypoint xsi:type="dc:Point" x="-478" y="859" />
447         <bpmndi:BPMNLabel>
448           <dc:Bounds x="-489" y="838" width="90" height="12" />
449         </bpmndi:BPMNLabel>
450       </bpmndi:BPMNEdge>
451       <bpmndi:BPMNEdge id="SequenceFlow_15zgrcq_di" bpmnElement="SequenceFlow_15zgrcq">
452         <di:waypoint xsi:type="dc:Point" x="789" y="859" />
453         <di:waypoint xsi:type="dc:Point" x="732" y="859" />
454         <bpmndi:BPMNLabel>
455           <dc:Bounds x="715.5" y="838" width="90" height="12" />
456         </bpmndi:BPMNLabel>
457       </bpmndi:BPMNEdge>
458       <bpmndi:BPMNEdge id="SequenceFlow_1vvdkcs_di" bpmnElement="SequenceFlow_1vvdkcs">
459         <di:waypoint xsi:type="dc:Point" x="-578" y="859" />
460         <di:waypoint xsi:type="dc:Point" x="-641" y="859" />
461         <bpmndi:BPMNLabel>
462           <dc:Bounds x="-654.5" y="838" width="90" height="12" />
463         </bpmndi:BPMNLabel>
464       </bpmndi:BPMNEdge>
465       <bpmndi:BPMNEdge id="SequenceFlow_092ghvu_di" bpmnElement="SequenceFlow_092ghvu">
466         <di:waypoint xsi:type="dc:Point" x="-741" y="859" />
467         <di:waypoint xsi:type="dc:Point" x="-787" y="859" />
468         <bpmndi:BPMNLabel>
469           <dc:Bounds x="-809" y="838" width="90" height="12" />
470         </bpmndi:BPMNLabel>
471       </bpmndi:BPMNEdge>
472       <bpmndi:BPMNEdge id="SequenceFlow_1170ztf_di" bpmnElement="SequenceFlow_1170ztf">
473         <di:waypoint xsi:type="dc:Point" x="1022" y="510" />
474         <di:waypoint xsi:type="dc:Point" x="1022" y="588" />
475         <bpmndi:BPMNLabel>
476           <dc:Bounds x="992" y="543" width="90" height="12" />
477         </bpmndi:BPMNLabel>
478       </bpmndi:BPMNEdge>
479       <bpmndi:BPMNShape id="EndEvent_01p249c_di" bpmnElement="EndEvent_0kbbt94">
480         <dc:Bounds x="-823" y="841" width="36" height="36" />
481         <bpmndi:BPMNLabel>
482           <dc:Bounds x="-941" y="881" width="90" height="12" />
483         </bpmndi:BPMNLabel>
484       </bpmndi:BPMNShape>
485       <bpmndi:BPMNEdge id="SequenceFlow_0k4q7jm_di" bpmnElement="SequenceFlow_0k4q7jm">
486         <di:waypoint xsi:type="dc:Point" x="632" y="859" />
487         <di:waypoint xsi:type="dc:Point" x="596" y="859" />
488         <bpmndi:BPMNLabel>
489           <dc:Bounds x="569" y="838" width="90" height="12" />
490         </bpmndi:BPMNLabel>
491       </bpmndi:BPMNEdge>
492       <bpmndi:BPMNEdge id="SequenceFlow_1qctzm0_di" bpmnElement="SequenceFlow_1qctzm0">
493         <di:waypoint xsi:type="dc:Point" x="1022" y="668" />
494         <di:waypoint xsi:type="dc:Point" x="1022" y="704" />
495         <bpmndi:BPMNLabel>
496           <dc:Bounds x="1037" y="680" width="0" height="12" />
497         </bpmndi:BPMNLabel>
498       </bpmndi:BPMNEdge>
499       <bpmndi:BPMNShape id="ScriptTask_0v81r5h_di" bpmnElement="Task_0uiekmn">
500         <dc:Bounds x="972" y="588" width="100" height="80" />
501       </bpmndi:BPMNShape>
502       <bpmndi:BPMNEdge id="SequenceFlow_05gdjox_di" bpmnElement="SequenceFlow_05gdjox">
503         <di:waypoint xsi:type="dc:Point" x="1022" y="784" />
504         <di:waypoint xsi:type="dc:Point" x="1022" y="859" />
505         <di:waypoint xsi:type="dc:Point" x="889" y="859" />
506         <bpmndi:BPMNLabel>
507           <dc:Bounds x="1037" y="815.5" width="0" height="12" />
508         </bpmndi:BPMNLabel>
509       </bpmndi:BPMNEdge>
510       <bpmndi:BPMNShape id="ServiceTask_14tnuxf_di" bpmnElement="Task_0raqlqc">
511         <dc:Bounds x="972" y="704" width="100" height="80" />
512       </bpmndi:BPMNShape>
513       <bpmndi:BPMNEdge id="SequenceFlow_0ua1bbk_di" bpmnElement="SequenceFlow_0ua1bbk">
514         <di:waypoint xsi:type="dc:Point" x="496" y="859" />
515         <di:waypoint xsi:type="dc:Point" x="446" y="859" />
516         <bpmndi:BPMNLabel>
517           <dc:Bounds x="471" y="838" width="0" height="12" />
518         </bpmndi:BPMNLabel>
519       </bpmndi:BPMNEdge>
520       <bpmndi:BPMNShape id="ScriptTask_0ue196s_di" bpmnElement="Task_0aidjmp">
521         <dc:Bounds x="496" y="819" width="100" height="80" />
522       </bpmndi:BPMNShape>
523       <bpmndi:BPMNEdge id="SequenceFlow_1hgiln0_di" bpmnElement="SequenceFlow_1hgiln0">
524         <di:waypoint xsi:type="dc:Point" x="346" y="859" />
525         <di:waypoint xsi:type="dc:Point" x="191" y="859" />
526         <bpmndi:BPMNLabel>
527           <dc:Bounds x="268.5" y="838" width="0" height="12" />
528         </bpmndi:BPMNLabel>
529       </bpmndi:BPMNEdge>
530       <bpmndi:BPMNShape id="CallActivity_1hcdpgq_di" bpmnElement="Task_03n6y9h">
531         <dc:Bounds x="346" y="819" width="100" height="80" />
532       </bpmndi:BPMNShape>
533       <bpmndi:BPMNEdge id="SequenceFlow_1vo0235_di" bpmnElement="SequenceFlow_1vo0235">
534         <di:waypoint xsi:type="dc:Point" x="91" y="859" />
535         <di:waypoint xsi:type="dc:Point" x="46" y="859" />
536         <bpmndi:BPMNLabel>
537           <dc:Bounds x="68.5" y="838" width="0" height="12" />
538         </bpmndi:BPMNLabel>
539       </bpmndi:BPMNEdge>
540       <bpmndi:BPMNShape id="ServiceTask_0qi8cgg_di" bpmnElement="Task_0io5qby">
541         <dc:Bounds x="91" y="819" width="100" height="80" />
542       </bpmndi:BPMNShape>
543       <bpmndi:BPMNEdge id="SequenceFlow_17i1ors_di" bpmnElement="SequenceFlow_17i1ors">
544         <di:waypoint xsi:type="dc:Point" x="-54" y="859" />
545         <di:waypoint xsi:type="dc:Point" x="-125" y="859" />
546         <bpmndi:BPMNLabel>
547           <dc:Bounds x="-134.5" y="838" width="90" height="12" />
548         </bpmndi:BPMNLabel>
549       </bpmndi:BPMNEdge>
550       <bpmndi:BPMNEdge id="SequenceFlow_1pjr82f_di" bpmnElement="SequenceFlow_1pjr82f">
551         <di:waypoint xsi:type="dc:Point" x="-225" y="859" />
552         <di:waypoint xsi:type="dc:Point" x="-310" y="859" />
553         <bpmndi:BPMNLabel>
554           <dc:Bounds x="-312.5" y="838" width="90" height="12" />
555         </bpmndi:BPMNLabel>
556       </bpmndi:BPMNEdge>
557       <bpmndi:BPMNShape id="ScriptTask_0ue4dzp_di" bpmnElement="Task_0pkhzoj">
558         <dc:Bounds x="-54" y="819" width="100" height="80" />
559       </bpmndi:BPMNShape>
560       <bpmndi:BPMNShape id="ServiceTask_1q727pm_di" bpmnElement="Task_0gs55f1">
561         <dc:Bounds x="-225" y="819" width="100" height="80" />
562       </bpmndi:BPMNShape>
563       <bpmndi:BPMNShape id="ServiceTask_1cnnn5b_di" bpmnElement="CallActivity_09c3ajg">
564         <dc:Bounds x="-578" y="819" width="100" height="80" />
565       </bpmndi:BPMNShape>
566     </bpmndi:BPMNPlane>
567   </bpmndi:BPMNDiagram>
568 </bpmn2:definitions>