blob: 6be6cc98994c328cc2ee4c815e79928b17a62705 [file] [log] [blame]
Elaine_Han0753a832018-08-03 20:04:55 +08001<?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="1.11.3">
Elaine_Han8229a6d2018-08-07 09:26:34 +08003 <bpmn:process id="Create3rdONAPE2EServiceInstance" name="Create3rdONAPE2EServiceInstance" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_0hj12gh" name="Create3rdONAPRES_Start">
Elaine_Han0753a832018-08-03 20:04:55 +08005 <bpmn:outgoing>SequenceFlow_190fewc</bpmn:outgoing>
6 </bpmn:startEvent>
Elaine_Han8229a6d2018-08-07 09:26:34 +08007 <bpmn:scriptTask id="ScriptTask_0rs5t7w" name="prepare 3rdONAP Create Request" scriptFormat="groovy">
Elaine_Han0753a832018-08-03 20:04:55 +08008 <bpmn:incoming>SequenceFlow_0mmu3kz</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_15mvx68</bpmn:outgoing>
10 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +080011def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +080012dcsi.prepare3rdONAPRequest(execution)]]></bpmn:script>
13 </bpmn:scriptTask>
Elaine_Han8229a6d2018-08-07 09:26:34 +080014 <bpmn:endEvent id="EndEvent_013449q" name="Create3rdONAPRES_End">
Elaine_Han0753a832018-08-03 20:04:55 +080015 <bpmn:incoming>SequenceFlow_0a8k9xi</bpmn:incoming>
16 </bpmn:endEvent>
Yulian Hane992deb2018-09-20 11:30:15 +080017 <bpmn:scriptTask id="ScriptTask_1b88nnk" name="Save SPPartner In AAI" scriptFormat="groovy">
Elaine_Han0753a832018-08-03 20:04:55 +080018 <bpmn:incoming>SequenceFlow_0y2g8mr</bpmn:incoming>
19 <bpmn:outgoing>SequenceFlow_0znwu8z</bpmn:outgoing>
20 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +080021def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +080022dcsi.saveSPPartnerInAAI(execution)]]></bpmn:script>
23 </bpmn:scriptTask>
24 <bpmn:scriptTask id="ScriptTask_16rcjl3" name="Pre Process Request" scriptFormat="groovy">
25 <bpmn:incoming>SequenceFlow_1ttrqml</bpmn:incoming>
26 <bpmn:outgoing>SequenceFlow_0brxjic</bpmn:outgoing>
27 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +080028def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +080029dcsi.preProcessRequest(execution)]]></bpmn:script>
30 </bpmn:scriptTask>
Elaine_Han8229a6d2018-08-07 09:26:34 +080031 <bpmn:scriptTask id="ScriptTask_10n1tb6" name="Init Create resource progress" scriptFormat="groovy">
Elaine_Han0753a832018-08-03 20:04:55 +080032 <bpmn:incoming>SequenceFlow_0brxjic</bpmn:incoming>
33 <bpmn:outgoing>SequenceFlow_0ezt5f0</bpmn:outgoing>
34 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
35execution.setVariable("progress", "5")
36execution.setVariable("status", "processing")
37execution.setVariable("statusDescription", "Start Creating")
Elaine_Han8229a6d2018-08-07 09:26:34 +080038def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +080039dcsi.prepareUpdateProgress(execution)]]></bpmn:script>
40 </bpmn:scriptTask>
41 <bpmn:serviceTask id="ServiceTask_039ju3f" name="resource progress update">
42 <bpmn:extensionElements>
43 <camunda:connector>
44 <camunda:inputOutput>
45 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
46 <camunda:inputParameter name="headers">
47 <camunda:map>
48 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
subhash kumar singh0578fc42018-11-15 12:27:09 +053049 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
Elaine_Han0753a832018-08-03 20:04:55 +080050 </camunda:map>
51 </camunda:inputParameter>
52 <camunda:inputParameter name="payload">${CVFMI_updateResOperStatusRequest}</camunda:inputParameter>
53 <camunda:inputParameter name="method">POST</camunda:inputParameter>
54 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
55 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
56 </camunda:inputOutput>
57 <camunda:connectorId>http-connector</camunda:connectorId>
58 </camunda:connector>
59 </bpmn:extensionElements>
60 <bpmn:incoming>SequenceFlow_0ezt5f0</bpmn:incoming>
61 <bpmn:outgoing>SequenceFlow_1suwdgi</bpmn:outgoing>
62 </bpmn:serviceTask>
63 <bpmn:scriptTask id="ScriptTask_1aj6okk" name="Post process" scriptFormat="groovy">
64 <bpmn:incoming>SequenceFlow_0znwu8z</bpmn:incoming>
65 <bpmn:outgoing>SequenceFlow_04hwfll</bpmn:outgoing>
66 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +080067def csi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +080068csi.postProcess(execution)]]></bpmn:script>
69 </bpmn:scriptTask>
Elaine_Han8229a6d2018-08-07 09:26:34 +080070 <bpmn:scriptTask id="ScriptTask_0r2cxvb" name="Create E2ESI in 3rdONAP" scriptFormat="groovy">
Elaine_Han0753a832018-08-03 20:04:55 +080071 <bpmn:incoming>SequenceFlow_15mvx68</bpmn:incoming>
72 <bpmn:outgoing>SequenceFlow_0wp73cw</bpmn:outgoing>
73 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +080074def dcsi = new Create3rdONAPE2EServiceInstance()
75dcsi.doCreateE2ESIin3rdONAP(execution)]]></bpmn:script>
Elaine_Han0753a832018-08-03 20:04:55 +080076 </bpmn:scriptTask>
77 <bpmn:serviceTask id="ServiceTask_0p5029r" name="resource progress update">
78 <bpmn:extensionElements>
79 <camunda:connector>
80 <camunda:inputOutput>
81 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
82 <camunda:inputParameter name="headers">
83 <camunda:map>
84 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
subhash kumar singh0578fc42018-11-15 12:27:09 +053085 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
Elaine_Han0753a832018-08-03 20:04:55 +080086 </camunda:map>
87 </camunda:inputParameter>
88 <camunda:inputParameter name="payload">${CVFMI_updateResOperStatusRequest}</camunda:inputParameter>
89 <camunda:inputParameter name="method">POST</camunda:inputParameter>
90 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
91 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
92 </camunda:inputOutput>
93 <camunda:connectorId>http-connector</camunda:connectorId>
94 </camunda:connector>
95 </bpmn:extensionElements>
Yulian Hane992deb2018-09-20 11:30:15 +080096 <bpmn:incoming>SequenceFlow_03ouq4m</bpmn:incoming>
Elaine_Han0753a832018-08-03 20:04:55 +080097 <bpmn:outgoing>SequenceFlow_1luhljs</bpmn:outgoing>
98 </bpmn:serviceTask>
99 <bpmn:scriptTask id="ScriptTask_03xvdc8" name="Allocate connection resources for cross ONAP" scriptFormat="groovy">
100 <bpmn:incoming>SequenceFlow_1suwdgi</bpmn:incoming>
101 <bpmn:outgoing>SequenceFlow_0mmu3kz</bpmn:outgoing>
102 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800103def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800104dcsi.allocateCrossONAPResource(execution)]]></bpmn:script>
105 </bpmn:scriptTask>
106 <bpmn:sequenceFlow id="SequenceFlow_190fewc" sourceRef="StartEvent_0hj12gh" targetRef="ScriptTask_160sboy" />
107 <bpmn:sequenceFlow id="SequenceFlow_0brxjic" sourceRef="ScriptTask_16rcjl3" targetRef="ScriptTask_10n1tb6" />
108 <bpmn:sequenceFlow id="SequenceFlow_0znwu8z" sourceRef="ScriptTask_1b88nnk" targetRef="ScriptTask_1aj6okk" />
109 <bpmn:sequenceFlow id="SequenceFlow_0ezt5f0" sourceRef="ScriptTask_10n1tb6" targetRef="ServiceTask_039ju3f" />
110 <bpmn:scriptTask id="ScriptTask_160sboy" name="Check SPPartner Info" scriptFormat="groovy">
111 <bpmn:incoming>SequenceFlow_190fewc</bpmn:incoming>
112 <bpmn:outgoing>SequenceFlow_1f71u71</bpmn:outgoing>
113 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800114def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800115dcsi.checkSPPartnerInfo(execution)]]></bpmn:script>
116 </bpmn:scriptTask>
117 <bpmn:exclusiveGateway id="ExclusiveGateway_01c0nhq" name="Is 3rdONAP SPPartner Existing" default="SequenceFlow_0h1rnsw">
118 <bpmn:incoming>SequenceFlow_1f71u71</bpmn:incoming>
119 <bpmn:outgoing>SequenceFlow_0h1rnsw</bpmn:outgoing>
120 <bpmn:outgoing>SequenceFlow_1msw3xo</bpmn:outgoing>
121 </bpmn:exclusiveGateway>
122 <bpmn:sequenceFlow id="SequenceFlow_0h1rnsw" name="no" sourceRef="ExclusiveGateway_01c0nhq" targetRef="IntermediateThrowEvent_1y4vypx" />
123 <bpmn:sequenceFlow id="SequenceFlow_1msw3xo" name="yes" sourceRef="ExclusiveGateway_01c0nhq" targetRef="ScriptTask_1y8kdt3">
124 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{(execution.getVariable("Is3rdONAPExist" ) == "true" )}]]></bpmn:conditionExpression>
125 </bpmn:sequenceFlow>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800126 <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0cql41g" name="Start3rdONAPCreateE2ESI">
Elaine_Han0753a832018-08-03 20:04:55 +0800127 <bpmn:outgoing>SequenceFlow_1ttrqml</bpmn:outgoing>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800128 <bpmn:linkEventDefinition name="Start3rdONAPCreateE2ESI" />
Elaine_Han0753a832018-08-03 20:04:55 +0800129 </bpmn:intermediateCatchEvent>
130 <bpmn:sequenceFlow id="SequenceFlow_1f71u71" sourceRef="ScriptTask_160sboy" targetRef="ExclusiveGateway_01c0nhq" />
131 <bpmn:sequenceFlow id="SequenceFlow_1ttrqml" sourceRef="IntermediateCatchEvent_0cql41g" targetRef="ScriptTask_16rcjl3" />
Elaine_Han8229a6d2018-08-07 09:26:34 +0800132 <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_0wbo4nq" name="GoTo Start3rdONAPCreateE2ESI">
Elaine_Han0753a832018-08-03 20:04:55 +0800133 <bpmn:incoming>SequenceFlow_0o376do</bpmn:incoming>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800134 <bpmn:linkEventDefinition name="Start3rdONAPCreateE2ESI" />
Elaine_Han0753a832018-08-03 20:04:55 +0800135 </bpmn:intermediateThrowEvent>
136 <bpmn:scriptTask id="ScriptTask_0yz8d8c" name="Query E2ESI progress in 3rdONAP" scriptFormat="groovy">
137 <bpmn:incoming>SequenceFlow_13s0mg5</bpmn:incoming>
138 <bpmn:incoming>SequenceFlow_0kkou66</bpmn:incoming>
139 <bpmn:outgoing>SequenceFlow_0fkfn70</bpmn:outgoing>
140 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800141def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800142dcsi.getE2ESIProgressin3rdONAP(execution)]]></bpmn:script>
143 </bpmn:scriptTask>
144 <bpmn:sequenceFlow id="SequenceFlow_04hwfll" sourceRef="ScriptTask_1aj6okk" targetRef="ScriptTask_18auy29" />
145 <bpmn:scriptTask id="ScriptTask_1y8kdt3" name="Check Locall Call" scriptFormat="groovy">
146 <bpmn:incoming>SequenceFlow_1msw3xo</bpmn:incoming>
147 <bpmn:outgoing>SequenceFlow_1kcu53z</bpmn:outgoing>
148 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800149def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800150dcsi.checkLocallCall(execution)]]></bpmn:script>
151 </bpmn:scriptTask>
152 <bpmn:sequenceFlow id="SequenceFlow_1kcu53z" sourceRef="ScriptTask_1y8kdt3" targetRef="ExclusiveGateway_0pj14lp" />
153 <bpmn:exclusiveGateway id="ExclusiveGateway_0pj14lp" name="Is Called from Local">
154 <bpmn:incoming>SequenceFlow_1kcu53z</bpmn:incoming>
155 <bpmn:outgoing>SequenceFlow_0o376do</bpmn:outgoing>
156 <bpmn:outgoing>SequenceFlow_1y8xkzy</bpmn:outgoing>
157 </bpmn:exclusiveGateway>
158 <bpmn:sequenceFlow id="SequenceFlow_0o376do" name="yes" sourceRef="ExclusiveGateway_0pj14lp" targetRef="IntermediateThrowEvent_0wbo4nq">
159 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{(execution.getVariable("IsLocalCall" ) == "true" )}]]></bpmn:conditionExpression>
160 </bpmn:sequenceFlow>
161 <bpmn:sequenceFlow id="SequenceFlow_1y8xkzy" name="no" sourceRef="ExclusiveGateway_0pj14lp" targetRef="IntermediateThrowEvent_1y4vypx" />
Elaine_Han8229a6d2018-08-07 09:26:34 +0800162 <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1y4vypx" name="GoTo StartLocalONAPCreateE2ESI">
Elaine_Han0753a832018-08-03 20:04:55 +0800163 <bpmn:incoming>SequenceFlow_1y8xkzy</bpmn:incoming>
164 <bpmn:incoming>SequenceFlow_0h1rnsw</bpmn:incoming>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800165 <bpmn:linkEventDefinition name="StartLocalONAPCreateE2ESI" />
Elaine_Han0753a832018-08-03 20:04:55 +0800166 </bpmn:intermediateThrowEvent>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800167 <bpmn:endEvent id="EndEvent_0o0n3fa" name="Create3rdONAPRES_End">
Elaine_Han0753a832018-08-03 20:04:55 +0800168 <bpmn:incoming>SequenceFlow_131f1jj</bpmn:incoming>
169 </bpmn:endEvent>
Yulian Hane992deb2018-09-20 11:30:15 +0800170 <bpmn:scriptTask id="ScriptTask_1lazb8l" name="Save SPPartner In AAI" scriptFormat="groovy">
Elaine_Han0753a832018-08-03 20:04:55 +0800171 <bpmn:incoming>SequenceFlow_1wq9f5k</bpmn:incoming>
172 <bpmn:outgoing>SequenceFlow_18gb81f</bpmn:outgoing>
173 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800174def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800175dcsi.saveSPPartnerInAAI(execution)]]></bpmn:script>
176 </bpmn:scriptTask>
177 <bpmn:scriptTask id="ScriptTask_0buj724" name="Pre Process Request" scriptFormat="groovy">
178 <bpmn:incoming>SequenceFlow_0wnyy50</bpmn:incoming>
179 <bpmn:outgoing>SequenceFlow_0z9axn6</bpmn:outgoing>
180 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800181def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800182dcsi.preProcessRequest(execution)]]></bpmn:script>
183 </bpmn:scriptTask>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800184 <bpmn:scriptTask id="ScriptTask_0rixvgj" name="Prepare Create resource progress" scriptFormat="groovy">
Elaine_Han0753a832018-08-03 20:04:55 +0800185 <bpmn:incoming>SequenceFlow_0z9axn6</bpmn:incoming>
186 <bpmn:outgoing>SequenceFlow_04l4to1</bpmn:outgoing>
187 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
188execution.setVariable("progress", "100")
189execution.setVariable("status", "finished")
190execution.setVariable("statusDescription", "Local Creation Only")
Elaine_Han8229a6d2018-08-07 09:26:34 +0800191def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800192dcsi.prepareUpdateProgress(execution)]]></bpmn:script>
193 </bpmn:scriptTask>
Yulian Hane992deb2018-09-20 11:30:15 +0800194 <bpmn:serviceTask id="ServiceTask_1kgvq5e" name="resource progress update">
Elaine_Han0753a832018-08-03 20:04:55 +0800195 <bpmn:extensionElements>
196 <camunda:connector>
197 <camunda:inputOutput>
198 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
199 <camunda:inputParameter name="headers">
200 <camunda:map>
201 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
subhash kumar singh0578fc42018-11-15 12:27:09 +0530202 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
Elaine_Han0753a832018-08-03 20:04:55 +0800203 </camunda:map>
204 </camunda:inputParameter>
205 <camunda:inputParameter name="payload">${CVFMI_updateResOperStatusRequest}</camunda:inputParameter>
206 <camunda:inputParameter name="method">POST</camunda:inputParameter>
207 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
208 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
209 </camunda:inputOutput>
210 <camunda:connectorId>http-connector</camunda:connectorId>
211 </camunda:connector>
212 </bpmn:extensionElements>
213 <bpmn:incoming>SequenceFlow_18gb81f</bpmn:incoming>
214 <bpmn:incoming>SequenceFlow_1swgag2</bpmn:incoming>
215 <bpmn:outgoing>SequenceFlow_0dkbe3r</bpmn:outgoing>
216 </bpmn:serviceTask>
217 <bpmn:scriptTask id="ScriptTask_17s3yrn" name="Post process" scriptFormat="groovy">
218 <bpmn:incoming>SequenceFlow_0dkbe3r</bpmn:incoming>
219 <bpmn:outgoing>SequenceFlow_1wn6y9u</bpmn:outgoing>
220 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800221def csi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800222csi.postProcess(execution)]]></bpmn:script>
223 </bpmn:scriptTask>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800224 <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_18h4prx" name="StartLocalONAPCreateE2ESI">
Elaine_Han0753a832018-08-03 20:04:55 +0800225 <bpmn:outgoing>SequenceFlow_0wnyy50</bpmn:outgoing>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800226 <bpmn:linkEventDefinition name="StartLocalONAPCreateE2ESI" />
Elaine_Han0753a832018-08-03 20:04:55 +0800227 </bpmn:intermediateCatchEvent>
228 <bpmn:scriptTask id="ScriptTask_03gddkg" name="Send Sync Ack Response" scriptFormat="groovy">
229 <bpmn:incoming>SequenceFlow_1wn6y9u</bpmn:incoming>
230 <bpmn:outgoing>SequenceFlow_131f1jj</bpmn:outgoing>
231 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800232def csi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800233csi.sendSyncResponse(execution)]]></bpmn:script>
234 </bpmn:scriptTask>
235 <bpmn:sequenceFlow id="SequenceFlow_0z9axn6" sourceRef="ScriptTask_0buj724" targetRef="ScriptTask_0rixvgj" />
236 <bpmn:sequenceFlow id="SequenceFlow_131f1jj" sourceRef="ScriptTask_03gddkg" targetRef="EndEvent_0o0n3fa" />
237 <bpmn:sequenceFlow id="SequenceFlow_18gb81f" sourceRef="ScriptTask_1lazb8l" targetRef="ServiceTask_1kgvq5e" />
238 <bpmn:sequenceFlow id="SequenceFlow_0wnyy50" sourceRef="IntermediateCatchEvent_18h4prx" targetRef="ScriptTask_0buj724" />
239 <bpmn:sequenceFlow id="SequenceFlow_04l4to1" sourceRef="ScriptTask_0rixvgj" targetRef="ExclusiveGateway_1cz6dwq" />
240 <bpmn:sequenceFlow id="SequenceFlow_1wn6y9u" sourceRef="ScriptTask_17s3yrn" targetRef="ScriptTask_03gddkg" />
241 <bpmn:exclusiveGateway id="ExclusiveGateway_1cz6dwq" name="Is 3rdONAP SPPartner Existing" default="SequenceFlow_1swgag2">
242 <bpmn:incoming>SequenceFlow_04l4to1</bpmn:incoming>
243 <bpmn:outgoing>SequenceFlow_1wq9f5k</bpmn:outgoing>
244 <bpmn:outgoing>SequenceFlow_1swgag2</bpmn:outgoing>
245 </bpmn:exclusiveGateway>
246 <bpmn:sequenceFlow id="SequenceFlow_0dkbe3r" sourceRef="ServiceTask_1kgvq5e" targetRef="ScriptTask_17s3yrn" />
247 <bpmn:sequenceFlow id="SequenceFlow_1wq9f5k" name="yes" sourceRef="ExclusiveGateway_1cz6dwq" targetRef="ScriptTask_1lazb8l">
248 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{(execution.getVariable("Is3rdONAPExist" ) == "true" )}]]></bpmn:conditionExpression>
249 </bpmn:sequenceFlow>
250 <bpmn:sequenceFlow id="SequenceFlow_1swgag2" name="No" sourceRef="ExclusiveGateway_1cz6dwq" targetRef="ServiceTask_1kgvq5e" />
251 <bpmn:scriptTask id="ScriptTask_1pdhttw" name="timeDelay" scriptFormat="groovy">
252 <bpmn:incoming>SequenceFlow_1udji9x</bpmn:incoming>
253 <bpmn:outgoing>SequenceFlow_0kkou66</bpmn:outgoing>
254 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800255def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800256dcsi.timeDelay(execution)]]></bpmn:script>
257 </bpmn:scriptTask>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800258 <bpmn:exclusiveGateway id="ExclusiveGateway_1662gjm" name="Create SI in 3rdONAP Success?" default="SequenceFlow_12seu6n">
Elaine_Han0753a832018-08-03 20:04:55 +0800259 <bpmn:incoming>SequenceFlow_0wp73cw</bpmn:incoming>
260 <bpmn:outgoing>SequenceFlow_13s0mg5</bpmn:outgoing>
261 <bpmn:outgoing>SequenceFlow_12seu6n</bpmn:outgoing>
262 </bpmn:exclusiveGateway>
Elaine_Han8229a6d2018-08-07 09:26:34 +0800263 <bpmn:exclusiveGateway id="ExclusiveGateway_1we7izu" name="Create SI in 3rdONAP Finished?">
Elaine_Han0753a832018-08-03 20:04:55 +0800264 <bpmn:incoming>SequenceFlow_1luhljs</bpmn:incoming>
265 <bpmn:outgoing>SequenceFlow_1udji9x</bpmn:outgoing>
266 <bpmn:outgoing>SequenceFlow_0y2g8mr</bpmn:outgoing>
267 </bpmn:exclusiveGateway>
268 <bpmn:scriptTask id="ScriptTask_18auy29" name="Send Sync Ack Response" scriptFormat="groovy">
269 <bpmn:incoming>SequenceFlow_04hwfll</bpmn:incoming>
270 <bpmn:outgoing>SequenceFlow_0a8k9xi</bpmn:outgoing>
271 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
Elaine_Han8229a6d2018-08-07 09:26:34 +0800272def csi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800273csi.sendSyncResponse(execution)]]></bpmn:script>
274 </bpmn:scriptTask>
275 <bpmn:sequenceFlow id="SequenceFlow_0a8k9xi" sourceRef="ScriptTask_18auy29" targetRef="EndEvent_013449q" />
276 <bpmn:sequenceFlow id="SequenceFlow_15mvx68" sourceRef="ScriptTask_0rs5t7w" targetRef="ScriptTask_0r2cxvb" />
277 <bpmn:sequenceFlow id="SequenceFlow_0wp73cw" sourceRef="ScriptTask_0r2cxvb" targetRef="ExclusiveGateway_1662gjm" />
278 <bpmn:sequenceFlow id="SequenceFlow_13s0mg5" name="yes" sourceRef="ExclusiveGateway_1662gjm" targetRef="ScriptTask_0yz8d8c">
Yulian Hane992deb2018-09-20 11:30:15 +0800279 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{(execution.getVariable("ServiceOrderId" ) != null && execution.getVariable("ServiceOrderId" ) != "" )}]]></bpmn:conditionExpression>
Elaine_Han0753a832018-08-03 20:04:55 +0800280 </bpmn:sequenceFlow>
Yulian Hane992deb2018-09-20 11:30:15 +0800281 <bpmn:sequenceFlow id="SequenceFlow_0fkfn70" sourceRef="ScriptTask_0yz8d8c" targetRef="ScriptTask_0lffwny" />
Elaine_Han0753a832018-08-03 20:04:55 +0800282 <bpmn:sequenceFlow id="SequenceFlow_1suwdgi" sourceRef="ServiceTask_039ju3f" targetRef="ScriptTask_03xvdc8" />
283 <bpmn:sequenceFlow id="SequenceFlow_0kkou66" sourceRef="ScriptTask_1pdhttw" targetRef="ScriptTask_0yz8d8c" />
284 <bpmn:sequenceFlow id="SequenceFlow_1luhljs" sourceRef="ServiceTask_0p5029r" targetRef="ExclusiveGateway_1we7izu" />
285 <bpmn:sequenceFlow id="SequenceFlow_1udji9x" name="no" sourceRef="ExclusiveGateway_1we7izu" targetRef="ScriptTask_1pdhttw">
286 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[ #{(execution.getVariable("status" ) == "processing" )}]]></bpmn:conditionExpression>
287 </bpmn:sequenceFlow>
288 <bpmn:endEvent id="EndEvent_19joonf">
289 <bpmn:incoming>SequenceFlow_1mei7hu</bpmn:incoming>
290 </bpmn:endEvent>
291 <bpmn:sequenceFlow id="SequenceFlow_12seu6n" name="no" sourceRef="ExclusiveGateway_1662gjm" targetRef="ScriptTask_07cq0pw" />
292 <bpmn:sequenceFlow id="SequenceFlow_0y2g8mr" name="yes" sourceRef="ExclusiveGateway_1we7izu" targetRef="ScriptTask_1b88nnk">
293 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[ #{(execution.getVariable("status" ) != "processing" )}]]></bpmn:conditionExpression>
294 </bpmn:sequenceFlow>
295 <bpmn:sequenceFlow id="SequenceFlow_0mmu3kz" sourceRef="ScriptTask_03xvdc8" targetRef="ScriptTask_0rs5t7w" />
296 <bpmn:scriptTask id="ScriptTask_07cq0pw" name="update resource progress failed" scriptFormat="groovy">
297 <bpmn:incoming>SequenceFlow_12seu6n</bpmn:incoming>
298 <bpmn:outgoing>SequenceFlow_0i9iiuo</bpmn:outgoing>
299 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
300execution.setVariable("progress", "100")
301execution.setVariable("status", "error")
Elaine_Han8229a6d2018-08-07 09:26:34 +0800302execution.setVariable("statusDescription", "Create Service Order failed ")
303def dcsi = new Create3rdONAPE2EServiceInstance()
Elaine_Han0753a832018-08-03 20:04:55 +0800304dcsi.prepareUpdateProgress(execution)]]></bpmn:script>
305 </bpmn:scriptTask>
306 <bpmn:serviceTask id="ServiceTask_1ixmamy" name="resource progress update">
307 <bpmn:extensionElements>
308 <camunda:connector>
309 <camunda:inputOutput>
310 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
311 <camunda:inputParameter name="headers">
312 <camunda:map>
313 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
subhash kumar singh0578fc42018-11-15 12:27:09 +0530314 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
Elaine_Han0753a832018-08-03 20:04:55 +0800315 </camunda:map>
316 </camunda:inputParameter>
317 <camunda:inputParameter name="payload">${CVFMI_updateResOperStatusRequest}</camunda:inputParameter>
318 <camunda:inputParameter name="method">POST</camunda:inputParameter>
319 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
320 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
321 </camunda:inputOutput>
322 <camunda:connectorId>http-connector</camunda:connectorId>
323 </camunda:connector>
324 </bpmn:extensionElements>
325 <bpmn:incoming>SequenceFlow_0i9iiuo</bpmn:incoming>
326 <bpmn:outgoing>SequenceFlow_1mei7hu</bpmn:outgoing>
327 </bpmn:serviceTask>
328 <bpmn:sequenceFlow id="SequenceFlow_0i9iiuo" sourceRef="ScriptTask_07cq0pw" targetRef="ServiceTask_1ixmamy" />
329 <bpmn:sequenceFlow id="SequenceFlow_1mei7hu" sourceRef="ServiceTask_1ixmamy" targetRef="EndEvent_19joonf" />
Yulian Hane992deb2018-09-20 11:30:15 +0800330 <bpmn:scriptTask id="ScriptTask_0lffwny" name="update resource progress" scriptFormat="groovy">
331 <bpmn:incoming>SequenceFlow_0fkfn70</bpmn:incoming>
332 <bpmn:outgoing>SequenceFlow_03ouq4m</bpmn:outgoing>
333 <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.*
334def dcsi = new Create3rdONAPE2EServiceInstance()
335dcsi.prepareUpdateProgress(execution)]]></bpmn:script>
336 </bpmn:scriptTask>
337 <bpmn:sequenceFlow id="SequenceFlow_03ouq4m" sourceRef="ScriptTask_0lffwny" targetRef="ServiceTask_0p5029r" />
Elaine_Han0753a832018-08-03 20:04:55 +0800338 </bpmn:process>
339 <bpmn:error id="Error_0nbdy47" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
340 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
Elaine_Han8229a6d2018-08-07 09:26:34 +0800341 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Create3rdONAPE2EServiceInstance">
Elaine_Han0753a832018-08-03 20:04:55 +0800342 <bpmndi:BPMNShape id="StartEvent_0hj12gh_di" bpmnElement="StartEvent_0hj12gh">
343 <dc:Bounds x="-9" y="-418" width="36" height="36" />
344 <bpmndi:BPMNLabel>
345 <dc:Bounds x="-30" y="-382" width="84" height="28" />
346 </bpmndi:BPMNLabel>
347 </bpmndi:BPMNShape>
348 <bpmndi:BPMNShape id="ScriptTask_0rs5t7w_di" bpmnElement="ScriptTask_0rs5t7w">
349 <dc:Bounds x="-41" y="12" width="100" height="80" />
350 </bpmndi:BPMNShape>
351 <bpmndi:BPMNShape id="EndEvent_013449q_di" bpmnElement="EndEvent_013449q">
352 <dc:Bounds x="799" y="393" width="36" height="36" />
353 <bpmndi:BPMNLabel>
354 <dc:Bounds x="763" y="435" width="84" height="28" />
355 </bpmndi:BPMNLabel>
356 </bpmndi:BPMNShape>
357 <bpmndi:BPMNShape id="ScriptTask_1b88nnk_di" bpmnElement="ScriptTask_1b88nnk">
358 <dc:Bounds x="-41" y="371" width="100" height="80" />
359 </bpmndi:BPMNShape>
360 <bpmndi:BPMNShape id="ScriptTask_16rcjl3_di" bpmnElement="ScriptTask_16rcjl3">
361 <dc:Bounds x="163" y="-153" width="100" height="80" />
362 </bpmndi:BPMNShape>
363 <bpmndi:BPMNShape id="ScriptTask_10n1tb6_di" bpmnElement="ScriptTask_10n1tb6">
364 <dc:Bounds x="366" y="-153" width="100" height="80" />
365 </bpmndi:BPMNShape>
366 <bpmndi:BPMNShape id="ServiceTask_039ju3f_di" bpmnElement="ServiceTask_039ju3f">
367 <dc:Bounds x="573" y="-153" width="100" height="80" />
368 </bpmndi:BPMNShape>
369 <bpmndi:BPMNShape id="ScriptTask_1aj6okk_di" bpmnElement="ScriptTask_1aj6okk">
370 <dc:Bounds x="231" y="371" width="100" height="80" />
371 </bpmndi:BPMNShape>
372 <bpmndi:BPMNShape id="ScriptTask_0r2cxvb_di" bpmnElement="ScriptTask_0r2cxvb">
373 <dc:Bounds x="163" y="12" width="100" height="80" />
374 </bpmndi:BPMNShape>
375 <bpmndi:BPMNShape id="ServiceTask_0p5029r_di" bpmnElement="ServiceTask_0p5029r">
Yulian Hane992deb2018-09-20 11:30:15 +0800376 <dc:Bounds x="798" y="129" width="100" height="80" />
Elaine_Han0753a832018-08-03 20:04:55 +0800377 </bpmndi:BPMNShape>
378 <bpmndi:BPMNShape id="ScriptTask_03xvdc8_di" bpmnElement="ScriptTask_03xvdc8">
379 <dc:Bounds x="798" y="-153" width="100" height="80" />
380 </bpmndi:BPMNShape>
381 <bpmndi:BPMNEdge id="SequenceFlow_190fewc_di" bpmnElement="SequenceFlow_190fewc">
382 <di:waypoint xsi:type="dc:Point" x="27" y="-400" />
383 <di:waypoint xsi:type="dc:Point" x="163" y="-400" />
384 <bpmndi:BPMNLabel>
385 <dc:Bounds x="95" y="-422" width="0" height="14" />
386 </bpmndi:BPMNLabel>
387 </bpmndi:BPMNEdge>
388 <bpmndi:BPMNEdge id="SequenceFlow_0brxjic_di" bpmnElement="SequenceFlow_0brxjic">
389 <di:waypoint xsi:type="dc:Point" x="263" y="-113" />
390 <di:waypoint xsi:type="dc:Point" x="366" y="-113" />
391 <bpmndi:BPMNLabel>
392 <dc:Bounds x="269.5" y="-135" width="90" height="14" />
393 </bpmndi:BPMNLabel>
394 </bpmndi:BPMNEdge>
395 <bpmndi:BPMNEdge id="SequenceFlow_0znwu8z_di" bpmnElement="SequenceFlow_0znwu8z">
396 <di:waypoint xsi:type="dc:Point" x="59" y="411" />
397 <di:waypoint xsi:type="dc:Point" x="231" y="411" />
398 <bpmndi:BPMNLabel>
399 <dc:Bounds x="100" y="389" width="90" height="14" />
400 </bpmndi:BPMNLabel>
401 </bpmndi:BPMNEdge>
402 <bpmndi:BPMNEdge id="SequenceFlow_0ezt5f0_di" bpmnElement="SequenceFlow_0ezt5f0">
403 <di:waypoint xsi:type="dc:Point" x="466" y="-113" />
404 <di:waypoint xsi:type="dc:Point" x="573" y="-113" />
405 <bpmndi:BPMNLabel>
406 <dc:Bounds x="474.5" y="-135" width="90" height="14" />
407 </bpmndi:BPMNLabel>
408 </bpmndi:BPMNEdge>
409 <bpmndi:BPMNShape id="ScriptTask_160sboy_di" bpmnElement="ScriptTask_160sboy">
410 <dc:Bounds x="163" y="-440" width="100" height="80" />
411 </bpmndi:BPMNShape>
412 <bpmndi:BPMNShape id="ExclusiveGateway_01c0nhq_di" bpmnElement="ExclusiveGateway_01c0nhq" isMarkerVisible="true">
413 <dc:Bounds x="380" y="-426" width="50" height="50" />
414 <bpmndi:BPMNLabel>
415 <dc:Bounds x="378" y="-458" width="56" height="28" />
416 </bpmndi:BPMNLabel>
417 </bpmndi:BPMNShape>
418 <bpmndi:BPMNEdge id="SequenceFlow_0h1rnsw_di" bpmnElement="SequenceFlow_0h1rnsw">
419 <di:waypoint xsi:type="dc:Point" x="405" y="-376" />
420 <di:waypoint xsi:type="dc:Point" x="405" y="-282" />
421 <di:waypoint xsi:type="dc:Point" x="525" y="-282" />
422 <di:waypoint xsi:type="dc:Point" x="525" y="-282" />
423 <di:waypoint xsi:type="dc:Point" x="799" y="-282" />
424 <bpmndi:BPMNLabel>
425 <dc:Bounds x="389" y="-368.53991291727147" width="12" height="14" />
426 </bpmndi:BPMNLabel>
427 </bpmndi:BPMNEdge>
428 <bpmndi:BPMNEdge id="SequenceFlow_1msw3xo_di" bpmnElement="SequenceFlow_1msw3xo">
429 <di:waypoint xsi:type="dc:Point" x="430" y="-401" />
430 <di:waypoint xsi:type="dc:Point" x="563" y="-400" />
431 <bpmndi:BPMNLabel>
432 <dc:Bounds x="499.95320010152244" y="-422.3646305622811" width="18" height="14" />
433 </bpmndi:BPMNLabel>
434 </bpmndi:BPMNEdge>
435 <bpmndi:BPMNShape id="IntermediateCatchEvent_0cql41g_di" bpmnElement="IntermediateCatchEvent_0cql41g">
436 <dc:Bounds x="-9" y="-131" width="36" height="36" />
437 <bpmndi:BPMNLabel>
438 <dc:Bounds x="-29" y="-95" width="85" height="28" />
439 </bpmndi:BPMNLabel>
440 </bpmndi:BPMNShape>
441 <bpmndi:BPMNEdge id="SequenceFlow_1f71u71_di" bpmnElement="SequenceFlow_1f71u71">
442 <di:waypoint xsi:type="dc:Point" x="263" y="-400" />
443 <di:waypoint xsi:type="dc:Point" x="380" y="-401" />
444 <bpmndi:BPMNLabel>
445 <dc:Bounds x="321.5" y="-422.5" width="0" height="14" />
446 </bpmndi:BPMNLabel>
447 </bpmndi:BPMNEdge>
448 <bpmndi:BPMNEdge id="SequenceFlow_1ttrqml_di" bpmnElement="SequenceFlow_1ttrqml">
449 <di:waypoint xsi:type="dc:Point" x="27" y="-113" />
450 <di:waypoint xsi:type="dc:Point" x="163" y="-113" />
451 <bpmndi:BPMNLabel>
452 <dc:Bounds x="50" y="-135" width="90" height="14" />
453 </bpmndi:BPMNLabel>
454 </bpmndi:BPMNEdge>
455 <bpmndi:BPMNShape id="IntermediateThrowEvent_0wbo4nq_di" bpmnElement="IntermediateThrowEvent_0wbo4nq">
456 <dc:Bounds x="1026" y="-418" width="36" height="36" />
457 <bpmndi:BPMNLabel>
458 <dc:Bounds x="1004" y="-377" width="85" height="42" />
459 </bpmndi:BPMNLabel>
460 </bpmndi:BPMNShape>
461 <bpmndi:BPMNShape id="ScriptTask_0yz8d8c_di" bpmnElement="ScriptTask_0yz8d8c">
462 <dc:Bounds x="573" y="12" width="100" height="80" />
463 </bpmndi:BPMNShape>
464 <bpmndi:BPMNEdge id="SequenceFlow_04hwfll_di" bpmnElement="SequenceFlow_04hwfll">
465 <di:waypoint xsi:type="dc:Point" x="331" y="411" />
466 <di:waypoint xsi:type="dc:Point" x="509" y="411" />
467 <bpmndi:BPMNLabel>
468 <dc:Bounds x="375" y="389" width="90" height="14" />
469 </bpmndi:BPMNLabel>
470 </bpmndi:BPMNEdge>
471 <bpmndi:BPMNShape id="ScriptTask_1y8kdt3_di" bpmnElement="ScriptTask_1y8kdt3">
472 <dc:Bounds x="563" y="-440" width="100" height="80" />
473 </bpmndi:BPMNShape>
474 <bpmndi:BPMNEdge id="SequenceFlow_1kcu53z_di" bpmnElement="SequenceFlow_1kcu53z">
475 <di:waypoint xsi:type="dc:Point" x="663" y="-400" />
476 <di:waypoint xsi:type="dc:Point" x="792" y="-401" />
477 <bpmndi:BPMNLabel>
478 <dc:Bounds x="727.5" y="-422.5" width="0" height="14" />
479 </bpmndi:BPMNLabel>
480 </bpmndi:BPMNEdge>
481 <bpmndi:BPMNShape id="ExclusiveGateway_0pj14lp_di" bpmnElement="ExclusiveGateway_0pj14lp" isMarkerVisible="true">
482 <dc:Bounds x="792" y="-426" width="50" height="50" />
483 <bpmndi:BPMNLabel>
484 <dc:Bounds x="776" y="-458" width="83" height="28" />
485 </bpmndi:BPMNLabel>
486 </bpmndi:BPMNShape>
487 <bpmndi:BPMNEdge id="SequenceFlow_0o376do_di" bpmnElement="SequenceFlow_0o376do">
488 <di:waypoint xsi:type="dc:Point" x="842" y="-401" />
489 <di:waypoint xsi:type="dc:Point" x="1026" y="-400" />
490 <bpmndi:BPMNLabel>
491 <dc:Bounds x="924.8735220112762" y="-422.0003436810377" width="18" height="14" />
492 </bpmndi:BPMNLabel>
493 </bpmndi:BPMNEdge>
494 <bpmndi:BPMNEdge id="SequenceFlow_1y8xkzy_di" bpmnElement="SequenceFlow_1y8xkzy">
495 <di:waypoint xsi:type="dc:Point" x="817" y="-376" />
496 <di:waypoint xsi:type="dc:Point" x="817" y="-300" />
497 <bpmndi:BPMNLabel>
498 <dc:Bounds x="827" y="-357" width="12" height="14" />
499 </bpmndi:BPMNLabel>
500 </bpmndi:BPMNEdge>
501 <bpmndi:BPMNShape id="IntermediateThrowEvent_1y4vypx_di" bpmnElement="IntermediateThrowEvent_1y4vypx">
502 <dc:Bounds x="799" y="-300" width="36" height="36" />
503 <bpmndi:BPMNLabel>
504 <dc:Bounds x="777" y="-259" width="85" height="42" />
505 </bpmndi:BPMNLabel>
506 </bpmndi:BPMNShape>
507 <bpmndi:BPMNShape id="EndEvent_0o0n3fa_di" bpmnElement="EndEvent_0o0n3fa">
508 <dc:Bounds x="794" y="733" width="36" height="36" />
509 <bpmndi:BPMNLabel>
510 <dc:Bounds x="758" y="775" width="84" height="28" />
511 </bpmndi:BPMNLabel>
512 </bpmndi:BPMNShape>
513 <bpmndi:BPMNShape id="ScriptTask_1lazb8l_di" bpmnElement="ScriptTask_1lazb8l">
514 <dc:Bounds x="762" y="512" width="100" height="80" />
515 </bpmndi:BPMNShape>
516 <bpmndi:BPMNShape id="ScriptTask_0buj724_di" bpmnElement="ScriptTask_0buj724">
517 <dc:Bounds x="139" y="512" width="100" height="80" />
518 </bpmndi:BPMNShape>
519 <bpmndi:BPMNShape id="ScriptTask_0rixvgj_di" bpmnElement="ScriptTask_0rixvgj">
520 <dc:Bounds x="342" y="512" width="100" height="80" />
521 </bpmndi:BPMNShape>
522 <bpmndi:BPMNShape id="ServiceTask_1kgvq5e_di" bpmnElement="ServiceTask_1kgvq5e">
523 <dc:Bounds x="-41" y="711" width="100" height="80" />
524 </bpmndi:BPMNShape>
525 <bpmndi:BPMNShape id="ScriptTask_17s3yrn_di" bpmnElement="ScriptTask_17s3yrn">
526 <dc:Bounds x="231" y="711" width="100" height="80" />
527 </bpmndi:BPMNShape>
528 <bpmndi:BPMNShape id="IntermediateCatchEvent_18h4prx_di" bpmnElement="IntermediateCatchEvent_18h4prx">
529 <dc:Bounds x="-9" y="534" width="36" height="36" />
530 <bpmndi:BPMNLabel>
531 <dc:Bounds x="-29" y="570" width="85" height="28" />
532 </bpmndi:BPMNLabel>
533 </bpmndi:BPMNShape>
534 <bpmndi:BPMNShape id="ScriptTask_03gddkg_di" bpmnElement="ScriptTask_03gddkg">
535 <dc:Bounds x="496" y="711" width="100" height="80" />
536 </bpmndi:BPMNShape>
537 <bpmndi:BPMNEdge id="SequenceFlow_0z9axn6_di" bpmnElement="SequenceFlow_0z9axn6">
538 <di:waypoint xsi:type="dc:Point" x="239" y="552" />
539 <di:waypoint xsi:type="dc:Point" x="342" y="552" />
540 <bpmndi:BPMNLabel>
541 <dc:Bounds x="246" y="530" width="90" height="14" />
542 </bpmndi:BPMNLabel>
543 </bpmndi:BPMNEdge>
544 <bpmndi:BPMNEdge id="SequenceFlow_131f1jj_di" bpmnElement="SequenceFlow_131f1jj">
545 <di:waypoint xsi:type="dc:Point" x="596" y="751" />
546 <di:waypoint xsi:type="dc:Point" x="794" y="751" />
547 <bpmndi:BPMNLabel>
548 <dc:Bounds x="650" y="729" width="90" height="14" />
549 </bpmndi:BPMNLabel>
550 </bpmndi:BPMNEdge>
551 <bpmndi:BPMNEdge id="SequenceFlow_18gb81f_di" bpmnElement="SequenceFlow_18gb81f">
552 <di:waypoint xsi:type="dc:Point" x="812" y="592" />
553 <di:waypoint xsi:type="dc:Point" x="812" y="641" />
554 <di:waypoint xsi:type="dc:Point" x="9" y="641" />
555 <di:waypoint xsi:type="dc:Point" x="9" y="711" />
556 <bpmndi:BPMNLabel>
557 <dc:Bounds x="365.5" y="619" width="90" height="14" />
558 </bpmndi:BPMNLabel>
559 </bpmndi:BPMNEdge>
560 <bpmndi:BPMNEdge id="SequenceFlow_0wnyy50_di" bpmnElement="SequenceFlow_0wnyy50">
561 <di:waypoint xsi:type="dc:Point" x="27" y="552" />
562 <di:waypoint xsi:type="dc:Point" x="139" y="552" />
563 <bpmndi:BPMNLabel>
564 <dc:Bounds x="38" y="530" width="90" height="14" />
565 </bpmndi:BPMNLabel>
566 </bpmndi:BPMNEdge>
567 <bpmndi:BPMNEdge id="SequenceFlow_04l4to1_di" bpmnElement="SequenceFlow_04l4to1">
568 <di:waypoint xsi:type="dc:Point" x="442" y="552" />
569 <di:waypoint xsi:type="dc:Point" x="564" y="552" />
570 <bpmndi:BPMNLabel>
571 <dc:Bounds x="458" y="530" width="90" height="14" />
572 </bpmndi:BPMNLabel>
573 </bpmndi:BPMNEdge>
574 <bpmndi:BPMNEdge id="SequenceFlow_1wn6y9u_di" bpmnElement="SequenceFlow_1wn6y9u">
575 <di:waypoint xsi:type="dc:Point" x="331" y="751" />
576 <di:waypoint xsi:type="dc:Point" x="496" y="751" />
577 <bpmndi:BPMNLabel>
578 <dc:Bounds x="368.5" y="729" width="90" height="14" />
579 </bpmndi:BPMNLabel>
580 </bpmndi:BPMNEdge>
581 <bpmndi:BPMNShape id="ExclusiveGateway_1cz6dwq_di" bpmnElement="ExclusiveGateway_1cz6dwq" isMarkerVisible="true">
582 <dc:Bounds x="564" y="527" width="50" height="50" />
583 <bpmndi:BPMNLabel>
584 <dc:Bounds x="558" y="495" width="56" height="28" />
585 </bpmndi:BPMNLabel>
586 </bpmndi:BPMNShape>
587 <bpmndi:BPMNEdge id="SequenceFlow_0dkbe3r_di" bpmnElement="SequenceFlow_0dkbe3r">
588 <di:waypoint xsi:type="dc:Point" x="59" y="751" />
589 <di:waypoint xsi:type="dc:Point" x="231" y="751" />
590 <bpmndi:BPMNLabel>
591 <dc:Bounds x="100" y="729" width="90" height="14" />
592 </bpmndi:BPMNLabel>
593 </bpmndi:BPMNEdge>
594 <bpmndi:BPMNEdge id="SequenceFlow_1wq9f5k_di" bpmnElement="SequenceFlow_1wq9f5k">
595 <di:waypoint xsi:type="dc:Point" x="614" y="552" />
596 <di:waypoint xsi:type="dc:Point" x="762" y="552" />
597 <bpmndi:BPMNLabel>
598 <dc:Bounds x="679" y="530" width="18" height="14" />
599 </bpmndi:BPMNLabel>
600 </bpmndi:BPMNEdge>
601 <bpmndi:BPMNEdge id="SequenceFlow_1swgag2_di" bpmnElement="SequenceFlow_1swgag2">
602 <di:waypoint xsi:type="dc:Point" x="589" y="577" />
603 <di:waypoint xsi:type="dc:Point" x="589" y="641" />
604 <di:waypoint xsi:type="dc:Point" x="9" y="641" />
605 <di:waypoint xsi:type="dc:Point" x="9" y="711" />
606 <bpmndi:BPMNLabel>
607 <dc:Bounds x="293.22499999999997" y="619" width="13" height="14" />
608 </bpmndi:BPMNLabel>
609 </bpmndi:BPMNEdge>
610 <bpmndi:BPMNShape id="ScriptTask_1pdhttw_di" bpmnElement="ScriptTask_1pdhttw">
Yulian Hane992deb2018-09-20 11:30:15 +0800611 <dc:Bounds x="573" y="220" width="100" height="80" />
Elaine_Han0753a832018-08-03 20:04:55 +0800612 </bpmndi:BPMNShape>
613 <bpmndi:BPMNShape id="ExclusiveGateway_1662gjm_di" bpmnElement="ExclusiveGateway_1662gjm" isMarkerVisible="true">
614 <dc:Bounds x="386" y="27" width="50" height="50" />
615 <bpmndi:BPMNLabel>
616 <dc:Bounds x="384" y="-25" width="55" height="42" />
617 </bpmndi:BPMNLabel>
618 </bpmndi:BPMNShape>
619 <bpmndi:BPMNShape id="ExclusiveGateway_1we7izu_di" bpmnElement="ExclusiveGateway_1we7izu" isMarkerVisible="true">
Yulian Hane992deb2018-09-20 11:30:15 +0800620 <dc:Bounds x="823" y="235" width="50" height="50" />
Elaine_Han0753a832018-08-03 20:04:55 +0800621 <bpmndi:BPMNLabel>
Yulian Hane992deb2018-09-20 11:30:15 +0800622 <dc:Bounds x="878" y="239" width="72" height="36" />
Elaine_Han0753a832018-08-03 20:04:55 +0800623 </bpmndi:BPMNLabel>
624 </bpmndi:BPMNShape>
625 <bpmndi:BPMNShape id="ScriptTask_18auy29_di" bpmnElement="ScriptTask_18auy29">
626 <dc:Bounds x="509" y="371" width="100" height="80" />
627 </bpmndi:BPMNShape>
628 <bpmndi:BPMNEdge id="SequenceFlow_0a8k9xi_di" bpmnElement="SequenceFlow_0a8k9xi">
629 <di:waypoint xsi:type="dc:Point" x="609" y="411" />
630 <di:waypoint xsi:type="dc:Point" x="704" y="411" />
631 <di:waypoint xsi:type="dc:Point" x="704" y="411" />
632 <di:waypoint xsi:type="dc:Point" x="799" y="411" />
633 <bpmndi:BPMNLabel>
634 <dc:Bounds x="674" y="404" width="90" height="14" />
635 </bpmndi:BPMNLabel>
636 </bpmndi:BPMNEdge>
637 <bpmndi:BPMNEdge id="SequenceFlow_15mvx68_di" bpmnElement="SequenceFlow_15mvx68">
638 <di:waypoint xsi:type="dc:Point" x="59" y="52" />
639 <di:waypoint xsi:type="dc:Point" x="163" y="52" />
640 <bpmndi:BPMNLabel>
641 <dc:Bounds x="66" y="30" width="90" height="14" />
642 </bpmndi:BPMNLabel>
643 </bpmndi:BPMNEdge>
644 <bpmndi:BPMNEdge id="SequenceFlow_0wp73cw_di" bpmnElement="SequenceFlow_0wp73cw">
645 <di:waypoint xsi:type="dc:Point" x="263" y="52" />
646 <di:waypoint xsi:type="dc:Point" x="386" y="52" />
647 <bpmndi:BPMNLabel>
648 <dc:Bounds x="279.5" y="30" width="90" height="14" />
649 </bpmndi:BPMNLabel>
650 </bpmndi:BPMNEdge>
651 <bpmndi:BPMNEdge id="SequenceFlow_13s0mg5_di" bpmnElement="SequenceFlow_13s0mg5">
652 <di:waypoint xsi:type="dc:Point" x="436" y="52" />
653 <di:waypoint xsi:type="dc:Point" x="573" y="52" />
654 <bpmndi:BPMNLabel>
655 <dc:Bounds x="496" y="30" width="18" height="14" />
656 </bpmndi:BPMNLabel>
657 </bpmndi:BPMNEdge>
658 <bpmndi:BPMNEdge id="SequenceFlow_0fkfn70_di" bpmnElement="SequenceFlow_0fkfn70">
659 <di:waypoint xsi:type="dc:Point" x="673" y="52" />
Yulian Hane992deb2018-09-20 11:30:15 +0800660 <di:waypoint xsi:type="dc:Point" x="736" y="52" />
661 <di:waypoint xsi:type="dc:Point" x="736" y="52" />
Elaine_Han0753a832018-08-03 20:04:55 +0800662 <di:waypoint xsi:type="dc:Point" x="798" y="52" />
663 <bpmndi:BPMNLabel>
Yulian Hane992deb2018-09-20 11:30:15 +0800664 <dc:Bounds x="706" y="45" width="90" height="14" />
Elaine_Han0753a832018-08-03 20:04:55 +0800665 </bpmndi:BPMNLabel>
666 </bpmndi:BPMNEdge>
667 <bpmndi:BPMNEdge id="SequenceFlow_1suwdgi_di" bpmnElement="SequenceFlow_1suwdgi">
668 <di:waypoint xsi:type="dc:Point" x="673" y="-113" />
669 <di:waypoint xsi:type="dc:Point" x="798" y="-113" />
670 <bpmndi:BPMNLabel>
671 <dc:Bounds x="690.5" y="-135" width="90" height="14" />
672 </bpmndi:BPMNLabel>
673 </bpmndi:BPMNEdge>
674 <bpmndi:BPMNEdge id="SequenceFlow_0kkou66_di" bpmnElement="SequenceFlow_0kkou66">
Yulian Hane992deb2018-09-20 11:30:15 +0800675 <di:waypoint xsi:type="dc:Point" x="623" y="220" />
Elaine_Han0753a832018-08-03 20:04:55 +0800676 <di:waypoint xsi:type="dc:Point" x="623" y="92" />
677 <bpmndi:BPMNLabel>
Yulian Hane992deb2018-09-20 11:30:15 +0800678 <dc:Bounds x="593" y="149" width="90" height="14" />
Elaine_Han0753a832018-08-03 20:04:55 +0800679 </bpmndi:BPMNLabel>
680 </bpmndi:BPMNEdge>
681 <bpmndi:BPMNEdge id="SequenceFlow_1luhljs_di" bpmnElement="SequenceFlow_1luhljs">
Yulian Hane992deb2018-09-20 11:30:15 +0800682 <di:waypoint xsi:type="dc:Point" x="848" y="209" />
683 <di:waypoint xsi:type="dc:Point" x="848" y="235" />
Elaine_Han0753a832018-08-03 20:04:55 +0800684 <bpmndi:BPMNLabel>
Yulian Hane992deb2018-09-20 11:30:15 +0800685 <dc:Bounds x="818" y="215" width="90" height="14" />
Elaine_Han0753a832018-08-03 20:04:55 +0800686 </bpmndi:BPMNLabel>
687 </bpmndi:BPMNEdge>
688 <bpmndi:BPMNEdge id="SequenceFlow_1udji9x_di" bpmnElement="SequenceFlow_1udji9x">
Yulian Hane992deb2018-09-20 11:30:15 +0800689 <di:waypoint xsi:type="dc:Point" x="823" y="260" />
690 <di:waypoint xsi:type="dc:Point" x="673" y="260" />
Elaine_Han0753a832018-08-03 20:04:55 +0800691 <bpmndi:BPMNLabel>
Yulian Hane992deb2018-09-20 11:30:15 +0800692 <dc:Bounds x="746" y="241" width="12" height="12" />
Elaine_Han0753a832018-08-03 20:04:55 +0800693 </bpmndi:BPMNLabel>
694 </bpmndi:BPMNEdge>
695 <bpmndi:BPMNShape id="EndEvent_19joonf_di" bpmnElement="EndEvent_19joonf">
696 <dc:Bounds x="387" y="197" width="36" height="36" />
697 <bpmndi:BPMNLabel>
698 <dc:Bounds x="360" y="236" width="90" height="14" />
699 </bpmndi:BPMNLabel>
700 </bpmndi:BPMNShape>
701 <bpmndi:BPMNEdge id="SequenceFlow_12seu6n_di" bpmnElement="SequenceFlow_12seu6n">
702 <di:waypoint xsi:type="dc:Point" x="411" y="77" />
703 <di:waypoint xsi:type="dc:Point" x="411" y="137" />
704 <di:waypoint xsi:type="dc:Point" x="9" y="137" />
705 <di:waypoint xsi:type="dc:Point" x="9" y="175" />
706 <bpmndi:BPMNLabel>
707 <dc:Bounds x="183.26272082138004" y="113.00000000000001" width="12" height="14" />
708 </bpmndi:BPMNLabel>
709 </bpmndi:BPMNEdge>
710 <bpmndi:BPMNEdge id="SequenceFlow_0y2g8mr_di" bpmnElement="SequenceFlow_0y2g8mr">
Yulian Hane992deb2018-09-20 11:30:15 +0800711 <di:waypoint xsi:type="dc:Point" x="848" y="285" />
Elaine_Han0753a832018-08-03 20:04:55 +0800712 <di:waypoint xsi:type="dc:Point" x="848" y="324" />
713 <di:waypoint xsi:type="dc:Point" x="9" y="324" />
714 <di:waypoint xsi:type="dc:Point" x="9" y="371" />
715 <bpmndi:BPMNLabel>
Yulian Hane992deb2018-09-20 11:30:15 +0800716 <dc:Bounds x="419" y="302" width="19" height="12" />
Elaine_Han0753a832018-08-03 20:04:55 +0800717 </bpmndi:BPMNLabel>
718 </bpmndi:BPMNEdge>
719 <bpmndi:BPMNEdge id="SequenceFlow_0mmu3kz_di" bpmnElement="SequenceFlow_0mmu3kz">
720 <di:waypoint xsi:type="dc:Point" x="848" y="-73" />
721 <di:waypoint xsi:type="dc:Point" x="848" y="-39" />
722 <di:waypoint xsi:type="dc:Point" x="9" y="-39" />
723 <di:waypoint xsi:type="dc:Point" x="9" y="12" />
724 <bpmndi:BPMNLabel>
725 <dc:Bounds x="383.5" y="-61" width="90" height="14" />
726 </bpmndi:BPMNLabel>
727 </bpmndi:BPMNEdge>
728 <bpmndi:BPMNShape id="ScriptTask_07cq0pw_di" bpmnElement="ScriptTask_07cq0pw">
729 <dc:Bounds x="-41" y="175" width="100" height="80" />
730 </bpmndi:BPMNShape>
731 <bpmndi:BPMNShape id="ServiceTask_1ixmamy_di" bpmnElement="ServiceTask_1ixmamy">
732 <dc:Bounds x="166" y="175" width="100" height="80" />
733 </bpmndi:BPMNShape>
734 <bpmndi:BPMNEdge id="SequenceFlow_0i9iiuo_di" bpmnElement="SequenceFlow_0i9iiuo">
735 <di:waypoint xsi:type="dc:Point" x="59" y="215" />
736 <di:waypoint xsi:type="dc:Point" x="166" y="215" />
737 <bpmndi:BPMNLabel>
738 <dc:Bounds x="68.5" y="193" width="0" height="14" />
739 </bpmndi:BPMNLabel>
740 </bpmndi:BPMNEdge>
741 <bpmndi:BPMNEdge id="SequenceFlow_1mei7hu_di" bpmnElement="SequenceFlow_1mei7hu">
742 <di:waypoint xsi:type="dc:Point" x="266" y="215" />
743 <di:waypoint xsi:type="dc:Point" x="387" y="215" />
744 <bpmndi:BPMNLabel>
745 <dc:Bounds x="326.5" y="193" width="0" height="14" />
746 </bpmndi:BPMNLabel>
747 </bpmndi:BPMNEdge>
Yulian Hane992deb2018-09-20 11:30:15 +0800748 <bpmndi:BPMNShape id="ScriptTask_0lffwny_di" bpmnElement="ScriptTask_0lffwny">
749 <dc:Bounds x="798" y="12" width="100" height="80" />
750 </bpmndi:BPMNShape>
751 <bpmndi:BPMNEdge id="SequenceFlow_03ouq4m_di" bpmnElement="SequenceFlow_03ouq4m">
752 <di:waypoint xsi:type="dc:Point" x="848" y="92" />
753 <di:waypoint xsi:type="dc:Point" x="848" y="129" />
754 <bpmndi:BPMNLabel>
755 <dc:Bounds x="863" y="104.5" width="0" height="12" />
756 </bpmndi:BPMNLabel>
757 </bpmndi:BPMNEdge>
Elaine_Han0753a832018-08-03 20:04:55 +0800758 </bpmndi:BPMNPlane>
759 </bpmndi:BPMNDiagram>
760</bpmn:definitions>