blob: a632266c2e04f975ca0a0258ed1165af00f6c6e5 [file] [log] [blame]
hetengjiaob2bc2402020-03-04 12:39:33 +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:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1xh5s36" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.4.1">
3 <bpmn:process id="CreateCommunicationService" name="CreateCommunicationService" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1" name="start flow">
5 <bpmn:outgoing>SequenceFlow_0lzwdto</bpmn:outgoing>
6 </bpmn:startEvent>
7 <bpmn:sequenceFlow id="SequenceFlow_0lzwdto" sourceRef="StartEvent_1" targetRef="Task_1beyt5u" />
8 <bpmn:sequenceFlow id="SequenceFlow_1gjmyhd" sourceRef="Task_1beyt5u" targetRef="Task_0dz4tto" />
9 <bpmn:scriptTask id="Task_1beyt5u" name="PreProcessRequest" scriptFormat="groovy">
10 <bpmn:extensionElements>
11 <camunda:properties>
12 <camunda:property />
13 </camunda:properties>
14 </bpmn:extensionElements>
15 <bpmn:incoming>SequenceFlow_0lzwdto</bpmn:incoming>
16 <bpmn:outgoing>SequenceFlow_1gjmyhd</bpmn:outgoing>
17 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
18def csi= new CreateCommunicationService()
19csi.preProcessRequest(execution)</bpmn:script>
20 </bpmn:scriptTask>
21 <bpmn:scriptTask id="Task_0dz4tto" name="Init Task Status" scriptFormat="groovy">
22 <bpmn:incoming>SequenceFlow_1gjmyhd</bpmn:incoming>
23 <bpmn:outgoing>SequenceFlow_1vcepmd</bpmn:outgoing>
24 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
25def csi= new CreateCommunicationService()
26csi.prepareInitOperationStatus(execution)</bpmn:script>
27 </bpmn:scriptTask>
28 <bpmn:sequenceFlow id="SequenceFlow_1vcepmd" sourceRef="Task_0dz4tto" targetRef="ServiceTask_0ozije4" />
29 <bpmn:serviceTask id="ServiceTask_0ozije4" name="Update Service Operation Status">
30 <bpmn:extensionElements>
31 <camunda:connector>
32 <camunda:inputOutput>
33 <camunda:inputParameter name="url">${dbAdapterEndpoint}</camunda:inputParameter>
34 <camunda:inputParameter name="headers">
35 <camunda:map>
36 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
37 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
38 </camunda:map>
39 </camunda:inputParameter>
40 <camunda:inputParameter name="payload">${updateOperationStatus}</camunda:inputParameter>
41 <camunda:inputParameter name="method">POST</camunda:inputParameter>
42 <camunda:outputParameter name="CSMF_dbResponseCode">${statusCode}</camunda:outputParameter>
43 <camunda:outputParameter name="CSMF_dbResponse">${response}</camunda:outputParameter>
44 </camunda:inputOutput>
45 <camunda:connectorId>http-connector</camunda:connectorId>
46 </camunda:connector>
47 </bpmn:extensionElements>
48 <bpmn:incoming>SequenceFlow_1vcepmd</bpmn:incoming>
49 <bpmn:outgoing>SequenceFlow_1ltd3dc</bpmn:outgoing>
50 </bpmn:serviceTask>
51 <bpmn:scriptTask id="Task_1khpb1m" name="Generate E2EService Profile" scriptFormat="groovy">
52 <bpmn:incoming>SequenceFlow_0kypqg8</bpmn:incoming>
53 <bpmn:outgoing>SequenceFlow_0akbbpi</bpmn:outgoing>
54 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
55def csi= new CreateCommunicationService()
56csi.generateE2EServiceProfile(execution)</bpmn:script>
57 </bpmn:scriptTask>
58 <bpmn:scriptTask id="Task_0siw5ye" name="Pre Request Send To NSMF" scriptFormat="groovy">
59 <bpmn:incoming>SequenceFlow_0akbbpi</bpmn:incoming>
60 <bpmn:outgoing>SequenceFlow_0j35uff</bpmn:outgoing>
61 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
62def csi= new CreateCommunicationService()
63csi.preRequestSend2NSMF(execution)</bpmn:script>
64 </bpmn:scriptTask>
65 <bpmn:serviceTask id="ServiceTask_0y8x077" name="Send Request To NSMF">
66 <bpmn:extensionElements>
67 <camunda:connector>
68 <camunda:inputOutput>
69 <camunda:inputParameter name="url">${NSMF_endpoint}</camunda:inputParameter>
70 <camunda:inputParameter name="headers">
71 <camunda:map>
72 <camunda:entry key="content-type">application/json</camunda:entry>
73 <camunda:entry key="Authorization">Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==</camunda:entry>
74 </camunda:map>
75 </camunda:inputParameter>
76 <camunda:inputParameter name="payload">${CSMF_NSMFRequest}</camunda:inputParameter>
77 <camunda:inputParameter name="method">POST</camunda:inputParameter>
78 <camunda:outputParameter name="CSMF_NSMFResponseCode">${statusCode}</camunda:outputParameter>
79 <camunda:outputParameter name="CSMF_NSMFResponse">${response}</camunda:outputParameter>
80 </camunda:inputOutput>
81 <camunda:connectorId>http-connector</camunda:connectorId>
82 </camunda:connector>
83 </bpmn:extensionElements>
84 <bpmn:incoming>SequenceFlow_0j35uff</bpmn:incoming>
85 <bpmn:outgoing>SequenceFlow_1u66yqo</bpmn:outgoing>
86 </bpmn:serviceTask>
87 <bpmn:serviceTask id="ServiceTask_0yyq6ly" name="Update Service Operation Status Creating">
88 <bpmn:extensionElements>
89 <camunda:connector>
90 <camunda:inputOutput>
91 <camunda:inputParameter name="url">${dbAdapterEndpoint}</camunda:inputParameter>
92 <camunda:inputParameter name="headers">
93 <camunda:map>
94 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
95 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
96 </camunda:map>
97 </camunda:inputParameter>
98 <camunda:inputParameter name="payload">${updateOperationStatus}</camunda:inputParameter>
99 <camunda:inputParameter name="method">POST</camunda:inputParameter>
100 <camunda:outputParameter name="CSMF_dbResponseCode">${statusCode}</camunda:outputParameter>
101 <camunda:outputParameter name="CSMF_dbResponse">${response}</camunda:outputParameter>
102 </camunda:inputOutput>
103 <camunda:connectorId>http-connector</camunda:connectorId>
104 </camunda:connector>
105 </bpmn:extensionElements>
106 <bpmn:incoming>SequenceFlow_1iiorr4</bpmn:incoming>
107 <bpmn:outgoing>SequenceFlow_15mad8z</bpmn:outgoing>
108 </bpmn:serviceTask>
109 <bpmn:serviceTask id="ServiceTask_1t0awxp" name="Update Service Operation Status Completed">
110 <bpmn:extensionElements>
111 <camunda:connector>
112 <camunda:inputOutput>
113 <camunda:inputParameter name="url">${dbAdapterEndpoint}</camunda:inputParameter>
114 <camunda:inputParameter name="headers">
115 <camunda:map>
116 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
117 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
118 </camunda:map>
119 </camunda:inputParameter>
120 <camunda:inputParameter name="payload">${updateOperationStatus}</camunda:inputParameter>
121 <camunda:inputParameter name="method">POST</camunda:inputParameter>
122 <camunda:outputParameter name="CSMF_dbResponseCode">${statusCode}</camunda:outputParameter>
123 <camunda:outputParameter name="CSMF_dbResponse">${response}</camunda:outputParameter>
124 </camunda:inputOutput>
125 <camunda:connectorId>http-connector</camunda:connectorId>
126 </camunda:connector>
127 </bpmn:extensionElements>
128 <bpmn:incoming>SequenceFlow_1inkg6e</bpmn:incoming>
129 <bpmn:outgoing>SequenceFlow_0elkfli</bpmn:outgoing>
130 </bpmn:serviceTask>
131 <bpmn:endEvent id="EndEvent_0lu4p9e" name="end">
132 <bpmn:incoming>SequenceFlow_0elkfli</bpmn:incoming>
133 </bpmn:endEvent>
134 <bpmn:sequenceFlow id="SequenceFlow_0elkfli" sourceRef="ServiceTask_1t0awxp" targetRef="EndEvent_0lu4p9e" />
135 <bpmn:scriptTask id="Task_1a4kd0x" name="Create Relationship CS-SS" scriptFormat="groovy">
136 <bpmn:incoming>SequenceFlow_1uvyn2n</bpmn:incoming>
137 <bpmn:outgoing>SequenceFlow_1j65sro</bpmn:outgoing>
138 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
139def csi= new CreateCommunicationService()
140csi.createCSAndSSRelationship(execution)</bpmn:script>
141 </bpmn:scriptTask>
142 <bpmn:sequenceFlow id="SequenceFlow_0akbbpi" sourceRef="Task_1khpb1m" targetRef="Task_0siw5ye" />
143 <bpmn:callActivity id="CallCreateCommunicationService" name="CallCreateCommunicationService" calledElement="DoCreateCommunicationService">
144 <bpmn:extensionElements>
145 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
146 <camunda:in source="csInputMap" target="csInputMap" />
147 <camunda:in source="serviceInstanceName" target="serviceInstanceName" />
148 <camunda:in source="serviceType" target="serviceType" />
149 <camunda:in source="uuiRequest" target="uuiRequest" />
150 <camunda:in source="modelInvariantUuid" target="modelInvariantUuid" />
151 <camunda:in source="modelUuid" target="modelUuid" />
152 <camunda:in source="useInterval" target="useInterval" />
153 <camunda:out source="sNSSAI_id" target="sNSSAI_id" />
154 <camunda:out source="communicationProfileId" target="communicationProfileId" />
155 <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
156 <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
157 <camunda:out source="WorkflowException" target="WorkflowException" />
158 </bpmn:extensionElements>
159 <bpmn:incoming>SequenceFlow_1ds2e2l</bpmn:incoming>
160 <bpmn:outgoing>SequenceFlow_0x9rd1d</bpmn:outgoing>
161 </bpmn:callActivity>
162 <bpmn:sequenceFlow id="SequenceFlow_1ltd3dc" sourceRef="ServiceTask_0ozije4" targetRef="Task_0k0z1g4" />
163 <bpmn:sequenceFlow id="SequenceFlow_0x9rd1d" sourceRef="CallCreateCommunicationService" targetRef="ExclusiveGateway_1djfumr" />
164 <bpmn:scriptTask id="Task_0u6zuwq" name="Update Finish Status In AAI&#10;" scriptFormat="groovy">
165 <bpmn:incoming>SequenceFlow_114tqpz</bpmn:incoming>
166 <bpmn:incoming>SequenceFlow_1fpj5vj</bpmn:incoming>
167 <bpmn:outgoing>SequenceFlow_04321fy</bpmn:outgoing>
168 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
169def csi= new CreateCommunicationService()
170csi.updateFinishStatusInAAI(execution)</bpmn:script>
171 </bpmn:scriptTask>
172 <bpmn:sequenceFlow id="SequenceFlow_04321fy" sourceRef="Task_0u6zuwq" targetRef="ScriptTask_1y7nvia" />
173 <bpmn:sequenceFlow id="SequenceFlow_1inkg6e" sourceRef="ScriptTask_1y7nvia" targetRef="ServiceTask_1t0awxp" />
174 <bpmn:scriptTask id="ScriptTask_1y7nvia" name="Prepare Complete Status in requestDB" scriptFormat="groovy">
175 <bpmn:incoming>SequenceFlow_04321fy</bpmn:incoming>
176 <bpmn:outgoing>SequenceFlow_1inkg6e</bpmn:outgoing>
177 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
178def csi= new CreateCommunicationService()
179csi.prepareCompleteStatus(execution)</bpmn:script>
180 </bpmn:scriptTask>
181 <bpmn:sequenceFlow id="SequenceFlow_1iiorr4" sourceRef="Task_0z4msb8" targetRef="ServiceTask_0yyq6ly" />
182 <bpmn:scriptTask id="Task_0z4msb8" name="Prepare Update Operation Status" scriptFormat="groovy">
183 <bpmn:incoming>SequenceFlow_1j65sro</bpmn:incoming>
184 <bpmn:outgoing>SequenceFlow_1iiorr4</bpmn:outgoing>
185 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
186def csi= new CreateCommunicationService()
187csi.prepareUpdateOperationStatus(execution)</bpmn:script>
188 </bpmn:scriptTask>
189 <bpmn:callActivity id="Task_0k0z1g4" name="Call DocomposeService" calledElement="DecomposeService">
190 <bpmn:extensionElements>
191 <camunda:in source="msoRequestId" target="msoRequestId" />
192 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
193 <camunda:in source="csServiceModelInfo" target="serviceModelInfo" />
194 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
195 <camunda:out source="serviceDecomposition" target="csServiceDecomposition" />
196 <camunda:out source="WorkflowException" target="WorkflowException" />
197 </bpmn:extensionElements>
198 <bpmn:incoming>SequenceFlow_1ltd3dc</bpmn:incoming>
199 <bpmn:outgoing>SequenceFlow_13aldsi</bpmn:outgoing>
200 </bpmn:callActivity>
201 <bpmn:scriptTask id="Task_1iyttxg" name="Prepare Compose E2E Template" scriptFormat="groovy">
202 <bpmn:incoming>SequenceFlow_13aldsi</bpmn:incoming>
203 <bpmn:outgoing>SequenceFlow_1f1zdf9</bpmn:outgoing>
204 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
205def csi= new CreateCommunicationService()
206csi.prepareDoComposeE2E(execution)</bpmn:script>
207 </bpmn:scriptTask>
208 <bpmn:callActivity id="CallActivity_0w00x24" name="Call e2e DocomposeService" calledElement="DecomposeService">
209 <bpmn:extensionElements>
210 <camunda:in source="msoRequestId" target="msoRequestId" />
211 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
212 <camunda:in source="e2eServiceModelInfo" target="serviceModelInfo" />
213 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
214 <camunda:out source="serviceDecomposition" target="e2eServiceDecomposition" />
215 <camunda:out source="WorkflowException" target="WorkflowException" />
216 </bpmn:extensionElements>
217 <bpmn:incoming>SequenceFlow_1f1zdf9</bpmn:incoming>
218 <bpmn:outgoing>SequenceFlow_1ofzxsf</bpmn:outgoing>
219 </bpmn:callActivity>
220 <bpmn:sequenceFlow id="SequenceFlow_1ofzxsf" sourceRef="CallActivity_0w00x24" targetRef="ScriptTask_0cdmkso" />
221 <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1w15bcr" name="Goto Create Communication Service">
222 <bpmn:incoming>SequenceFlow_18guyhw</bpmn:incoming>
223 <bpmn:linkEventDefinition name="CreateCommunicationService" />
224 </bpmn:intermediateThrowEvent>
225 <bpmn:sequenceFlow id="SequenceFlow_13aldsi" sourceRef="Task_0k0z1g4" targetRef="Task_1iyttxg" />
226 <bpmn:sequenceFlow id="SequenceFlow_1f1zdf9" sourceRef="Task_1iyttxg" targetRef="CallActivity_0w00x24" />
227 <bpmn:intermediateCatchEvent id="IntermediateThrowEvent_0mnp81i" name="CreateCommunicationService">
228 <bpmn:outgoing>SequenceFlow_1ds2e2l</bpmn:outgoing>
229 <bpmn:linkEventDefinition name="CreateCommunicationService" />
230 </bpmn:intermediateCatchEvent>
231 <bpmn:sequenceFlow id="SequenceFlow_1ds2e2l" sourceRef="IntermediateThrowEvent_0mnp81i" targetRef="CallCreateCommunicationService" />
232 <bpmn:subProcess id="SubProcess_1rxymch" name="Sub-process for FalloutHandler and Rollback" triggeredByEvent="true">
233 <bpmn:endEvent id="EndEvent_0zmwd5y">
234 <bpmn:incoming>SequenceFlow_1kmsen3</bpmn:incoming>
235 </bpmn:endEvent>
236 <bpmn:startEvent id="StartEvent_0wgf0cs">
237 <bpmn:outgoing>SequenceFlow_07fl9jy</bpmn:outgoing>
238 <bpmn:errorEventDefinition id="ErrorEventDefinition_0uaz13d" />
239 </bpmn:startEvent>
240 <bpmn:sequenceFlow id="SequenceFlow_07fl9jy" sourceRef="StartEvent_0wgf0cs" targetRef="ScriptTask_18gv408" />
241 <bpmn:scriptTask id="ScriptTask_18gv408" name="Send Error Response" scriptFormat="groovy">
242 <bpmn:incoming>SequenceFlow_07fl9jy</bpmn:incoming>
243 <bpmn:outgoing>SequenceFlow_1kmsen3</bpmn:outgoing>
244 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
245def csi= new CreateCommunicationService()
246csi.sendSyncError(execution)</bpmn:script>
247 </bpmn:scriptTask>
248 <bpmn:sequenceFlow id="SequenceFlow_1kmsen3" sourceRef="ScriptTask_18gv408" targetRef="EndEvent_0zmwd5y" />
249 </bpmn:subProcess>
250 <bpmn:exclusiveGateway id="ExclusiveGateway_1djfumr" name="Is create in aai Successful?" default="SequenceFlow_0c89n51">
251 <bpmn:incoming>SequenceFlow_0x9rd1d</bpmn:incoming>
252 <bpmn:outgoing>SequenceFlow_1b66kfh</bpmn:outgoing>
253 <bpmn:outgoing>SequenceFlow_0c89n51</bpmn:outgoing>
254 </bpmn:exclusiveGateway>
255 <bpmn:sequenceFlow id="SequenceFlow_1b66kfh" name="Yes" sourceRef="ExclusiveGateway_1djfumr" targetRef="ScriptTask_0sxtscf">
256 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("WorkflowException") == null}</bpmn:conditionExpression>
257 </bpmn:sequenceFlow>
258 <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1r29nqs" name="Goto process NSMF">
259 <bpmn:incoming>SequenceFlow_1u66yqo</bpmn:incoming>
260 <bpmn:linkEventDefinition id="LinkEventDefinition_1o65kbk" name="ProcessNSMF" />
261 </bpmn:intermediateThrowEvent>
262 <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_08tr730" name="ProcessNSMF">
263 <bpmn:outgoing>SequenceFlow_0hkz9h0</bpmn:outgoing>
264 <bpmn:linkEventDefinition id="LinkEventDefinition_0g6ab6j" name="ProcessNSMF" />
265 </bpmn:intermediateCatchEvent>
266 <bpmn:scriptTask id="ScriptTask_01pvcx5" name="Process NSMF response" scriptFormat="groovy">
267 <bpmn:incoming>SequenceFlow_0hkz9h0</bpmn:incoming>
268 <bpmn:outgoing>SequenceFlow_056nqyg</bpmn:outgoing>
269 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
270def csi= new CreateCommunicationService()
271csi.processNSMFResponse(execution)</bpmn:script>
272 </bpmn:scriptTask>
273 <bpmn:sequenceFlow id="SequenceFlow_15mad8z" sourceRef="ServiceTask_0yyq6ly" targetRef="IntermediateThrowEvent_1u6yhg1" />
274 <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1u6yhg1" name="Goto check processing status">
275 <bpmn:incoming>SequenceFlow_15mad8z</bpmn:incoming>
276 <bpmn:linkEventDefinition name="CheckProcessingStatus" />
277 </bpmn:intermediateThrowEvent>
278 <bpmn:intermediateCatchEvent id="IntermediateThrowEvent_13zkj1k" name="CheckProcessingStatus">
279 <bpmn:outgoing>SequenceFlow_0spge8t</bpmn:outgoing>
280 <bpmn:linkEventDefinition name="CheckProcessingStatus" />
281 </bpmn:intermediateCatchEvent>
282 <bpmn:exclusiveGateway id="ExclusiveGateway_19x2qmv" name="Is nsmf ansyc response Successful?">
283 <bpmn:incoming>SequenceFlow_056nqyg</bpmn:incoming>
284 <bpmn:outgoing>SequenceFlow_1uvyn2n</bpmn:outgoing>
285 <bpmn:outgoing>SequenceFlow_114tqpz</bpmn:outgoing>
286 </bpmn:exclusiveGateway>
287 <bpmn:sequenceFlow id="SequenceFlow_1uvyn2n" name="Yes" sourceRef="ExclusiveGateway_19x2qmv" targetRef="Task_1a4kd0x">
288 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("ProcessNsmfSuccess") == "OK"}</bpmn:conditionExpression>
289 </bpmn:sequenceFlow>
290 <bpmn:sequenceFlow id="SequenceFlow_1j65sro" sourceRef="Task_1a4kd0x" targetRef="Task_0z4msb8" />
291 <bpmn:sequenceFlow id="SequenceFlow_056nqyg" sourceRef="ScriptTask_01pvcx5" targetRef="ExclusiveGateway_19x2qmv" />
292 <bpmn:endEvent id="EndEvent_1g8f1f0">
293 <bpmn:incoming>SequenceFlow_0c89n51</bpmn:incoming>
294 <bpmn:errorEventDefinition errorRef="Error_1w6xfoc" />
295 </bpmn:endEvent>
296 <bpmn:sequenceFlow id="SequenceFlow_0c89n51" name="no" sourceRef="ExclusiveGateway_1djfumr" targetRef="EndEvent_1g8f1f0" />
297 <bpmn:sequenceFlow id="SequenceFlow_114tqpz" name="No" sourceRef="ExclusiveGateway_19x2qmv" targetRef="Task_0u6zuwq">
298 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("ProcessNsmfSuccess") == "ERROR"}</bpmn:conditionExpression>
299 </bpmn:sequenceFlow>
300 <bpmn:scriptTask id="ScriptTask_0sxtscf" name="Send Sync Ack Response" scriptFormat="groovy">
301 <bpmn:incoming>SequenceFlow_1b66kfh</bpmn:incoming>
302 <bpmn:outgoing>SequenceFlow_0kypqg8</bpmn:outgoing>
303 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
304def csi= new CreateCommunicationService()
305csi.sendSyncResponse(execution)</bpmn:script>
306 </bpmn:scriptTask>
307 <bpmn:scriptTask id="ScriptTask_0cdmkso" name="Parse CS Params From Request" scriptFormat="groovy">
308 <bpmn:incoming>SequenceFlow_1ofzxsf</bpmn:incoming>
309 <bpmn:outgoing>SequenceFlow_18guyhw</bpmn:outgoing>
310 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
311def csi= new CreateCommunicationService()
312csi.parseCSParamsFromReq(execution)</bpmn:script>
313 </bpmn:scriptTask>
314 <bpmn:sequenceFlow id="SequenceFlow_18guyhw" sourceRef="ScriptTask_0cdmkso" targetRef="IntermediateThrowEvent_1w15bcr" />
315 <bpmn:sequenceFlow id="SequenceFlow_0kypqg8" sourceRef="ScriptTask_0sxtscf" targetRef="Task_1khpb1m" />
316 <bpmn:callActivity id="CallCheckServiceProcessStatus" name="CallCheckServiceProcessStatus" calledElement="CheckServiceProcessStatus">
317 <bpmn:extensionElements>
318 <camunda:in source="e2eServiceInstanceId" target="serviceInstanceId" />
319 <camunda:in source="e2eOperationId" target="operationId" />
320 <camunda:in source="successConditions" target="successConditions" />
321 <camunda:in source="processServiceType" target="processServiceType" />
322 <camunda:in source="errorConditions" target="errorConditions" />
323 <camunda:in source="timeOut" target="timeOut" />
324 <camunda:in source="successParamMap" target="successParamMap" />
325 <camunda:in source="errorParamMap" target="errorParamMap" />
326 <camunda:out source="orchestrationStatus" target="orchestrationStatus" />
327 <camunda:out source="operationStatus" target="operationStatus" />
328 <camunda:out source="operationContent" target="operationContent" />
329 <camunda:out source="WorkflowException" target="WorkflowException" />
330 <camunda:in source="timeOutParamMap" target="timeOutParamMap" />
331 <camunda:in source="subOperationType" target="operationType" />
332 <camunda:in source="initProgress" target="initProgress" />
333 <camunda:in source="endProgress" target="endProgress" />
334 <camunda:in source="serviceInstanceId" target="parentServiceInstanceId" />
335 <camunda:in source="operationId" target="parentOperationId" />
336 </bpmn:extensionElements>
337 <bpmn:incoming>SequenceFlow_079hxvu</bpmn:incoming>
338 <bpmn:outgoing>SequenceFlow_1fpj5vj</bpmn:outgoing>
339 </bpmn:callActivity>
340 <bpmn:sequenceFlow id="SequenceFlow_1fpj5vj" sourceRef="CallCheckServiceProcessStatus" targetRef="Task_0u6zuwq" />
341 <bpmn:sequenceFlow id="SequenceFlow_0spge8t" sourceRef="IntermediateThrowEvent_13zkj1k" targetRef="Task_0misguw" />
342 <bpmn:scriptTask id="Task_0misguw" name="Prepare Call CheckServiceProcessStatus" scriptFormat="groovy">
343 <bpmn:incoming>SequenceFlow_0spge8t</bpmn:incoming>
344 <bpmn:outgoing>SequenceFlow_079hxvu</bpmn:outgoing>
345 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
346def csi= new CreateCommunicationService()
347csi.prepareCallCheckProcessStatus(execution)</bpmn:script>
348 </bpmn:scriptTask>
349 <bpmn:sequenceFlow id="SequenceFlow_079hxvu" sourceRef="Task_0misguw" targetRef="CallCheckServiceProcessStatus" />
350 <bpmn:sequenceFlow id="SequenceFlow_0j35uff" sourceRef="Task_0siw5ye" targetRef="ServiceTask_0y8x077" />
351 <bpmn:sequenceFlow id="SequenceFlow_1u66yqo" sourceRef="ServiceTask_0y8x077" targetRef="IntermediateThrowEvent_1r29nqs" />
352 <bpmn:sequenceFlow id="SequenceFlow_0hkz9h0" sourceRef="IntermediateCatchEvent_08tr730" targetRef="ScriptTask_01pvcx5" />
353 </bpmn:process>
354 <bpmn:error id="Error_1w6xfoc" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
355 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
356 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateCommunicationService">
357 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
358 <dc:Bounds x="162" y="99" width="36" height="36" />
359 <bpmndi:BPMNLabel>
360 <dc:Bounds x="158" y="142" width="46" height="14" />
361 </bpmndi:BPMNLabel>
362 </bpmndi:BPMNShape>
363 <bpmndi:BPMNEdge id="SequenceFlow_0lzwdto_di" bpmnElement="SequenceFlow_0lzwdto">
364 <di:waypoint x="198" y="117" />
365 <di:waypoint x="250" y="117" />
366 </bpmndi:BPMNEdge>
367 <bpmndi:BPMNEdge id="SequenceFlow_1gjmyhd_di" bpmnElement="SequenceFlow_1gjmyhd">
368 <di:waypoint x="350" y="117" />
369 <di:waypoint x="390" y="117" />
370 </bpmndi:BPMNEdge>
371 <bpmndi:BPMNShape id="ScriptTask_1jxjk8b_di" bpmnElement="Task_1beyt5u">
372 <dc:Bounds x="250" y="77" width="100" height="80" />
373 </bpmndi:BPMNShape>
374 <bpmndi:BPMNShape id="ScriptTask_1a9q04w_di" bpmnElement="Task_0dz4tto">
375 <dc:Bounds x="390" y="77" width="100" height="80" />
376 </bpmndi:BPMNShape>
377 <bpmndi:BPMNEdge id="SequenceFlow_1vcepmd_di" bpmnElement="SequenceFlow_1vcepmd">
378 <di:waypoint x="490" y="117" />
379 <di:waypoint x="550" y="117" />
380 </bpmndi:BPMNEdge>
381 <bpmndi:BPMNShape id="ServiceTask_0ozije4_di" bpmnElement="ServiceTask_0ozije4">
382 <dc:Bounds x="550" y="77" width="100" height="80" />
383 </bpmndi:BPMNShape>
384 <bpmndi:BPMNShape id="ScriptTask_12shhv4_di" bpmnElement="Task_1khpb1m">
385 <dc:Bounds x="710" y="266" width="100" height="80" />
386 </bpmndi:BPMNShape>
387 <bpmndi:BPMNShape id="ScriptTask_1fiq8pw_di" bpmnElement="Task_0siw5ye">
388 <dc:Bounds x="890" y="266" width="100" height="80" />
389 </bpmndi:BPMNShape>
390 <bpmndi:BPMNShape id="ServiceTask_0y8x077_di" bpmnElement="ServiceTask_0y8x077">
391 <dc:Bounds x="1120" y="266" width="100" height="80" />
392 </bpmndi:BPMNShape>
393 <bpmndi:BPMNShape id="ServiceTask_0yyq6ly_di" bpmnElement="ServiceTask_0yyq6ly">
394 <dc:Bounds x="1230" y="496" width="100" height="80" />
395 </bpmndi:BPMNShape>
396 <bpmndi:BPMNShape id="ServiceTask_1t0awxp_di" bpmnElement="ServiceTask_1t0awxp">
397 <dc:Bounds x="1230" y="782" width="100" height="80" />
398 </bpmndi:BPMNShape>
399 <bpmndi:BPMNShape id="EndEvent_0lu4p9e_di" bpmnElement="EndEvent_0lu4p9e">
400 <dc:Bounds x="1382" y="804" width="36" height="36" />
401 <bpmndi:BPMNLabel>
402 <dc:Bounds x="1390" y="850" width="19" height="14" />
403 </bpmndi:BPMNLabel>
404 </bpmndi:BPMNShape>
405 <bpmndi:BPMNEdge id="SequenceFlow_0elkfli_di" bpmnElement="SequenceFlow_0elkfli">
406 <di:waypoint x="1330" y="822" />
407 <di:waypoint x="1382" y="822" />
408 </bpmndi:BPMNEdge>
409 <bpmndi:BPMNShape id="ScriptTask_1q4zssd_di" bpmnElement="Task_1a4kd0x">
410 <dc:Bounds x="910" y="496" width="100" height="80" />
411 </bpmndi:BPMNShape>
412 <bpmndi:BPMNEdge id="SequenceFlow_0akbbpi_di" bpmnElement="SequenceFlow_0akbbpi">
413 <di:waypoint x="810" y="306" />
414 <di:waypoint x="890" y="306" />
415 </bpmndi:BPMNEdge>
416 <bpmndi:BPMNShape id="CallActivity_1d14p1s_di" bpmnElement="CallCreateCommunicationService">
417 <dc:Bounds x="250" y="266" width="100" height="80" />
418 </bpmndi:BPMNShape>
419 <bpmndi:BPMNEdge id="SequenceFlow_1ltd3dc_di" bpmnElement="SequenceFlow_1ltd3dc">
420 <di:waypoint x="650" y="117" />
421 <di:waypoint x="720" y="117" />
422 </bpmndi:BPMNEdge>
423 <bpmndi:BPMNEdge id="SequenceFlow_0x9rd1d_di" bpmnElement="SequenceFlow_0x9rd1d">
424 <di:waypoint x="350" y="306" />
425 <di:waypoint x="415" y="306" />
426 </bpmndi:BPMNEdge>
427 <bpmndi:BPMNShape id="ScriptTask_1anjycx_di" bpmnElement="Task_0u6zuwq">
428 <dc:Bounds x="910" y="782" width="100" height="80" />
429 </bpmndi:BPMNShape>
430 <bpmndi:BPMNEdge id="SequenceFlow_04321fy_di" bpmnElement="SequenceFlow_04321fy">
431 <di:waypoint x="1010" y="822" />
432 <di:waypoint x="1080" y="822" />
433 </bpmndi:BPMNEdge>
434 <bpmndi:BPMNEdge id="SequenceFlow_1inkg6e_di" bpmnElement="SequenceFlow_1inkg6e">
435 <di:waypoint x="1180" y="822" />
436 <di:waypoint x="1230" y="822" />
437 </bpmndi:BPMNEdge>
438 <bpmndi:BPMNShape id="ScriptTask_1y7nvia_di" bpmnElement="ScriptTask_1y7nvia">
439 <dc:Bounds x="1080" y="782" width="100" height="80" />
440 </bpmndi:BPMNShape>
441 <bpmndi:BPMNEdge id="SequenceFlow_1iiorr4_di" bpmnElement="SequenceFlow_1iiorr4">
442 <di:waypoint x="1180" y="536" />
443 <di:waypoint x="1230" y="536" />
444 </bpmndi:BPMNEdge>
445 <bpmndi:BPMNShape id="ScriptTask_1rv123h_di" bpmnElement="Task_0z4msb8">
446 <dc:Bounds x="1080" y="496" width="100" height="80" />
447 </bpmndi:BPMNShape>
448 <bpmndi:BPMNShape id="CallActivity_0z3vej2_di" bpmnElement="Task_0k0z1g4">
449 <dc:Bounds x="720" y="77" width="100" height="80" />
450 </bpmndi:BPMNShape>
451 <bpmndi:BPMNShape id="ScriptTask_04n3rws_di" bpmnElement="Task_1iyttxg">
452 <dc:Bounds x="890" y="77" width="100" height="80" />
453 </bpmndi:BPMNShape>
454 <bpmndi:BPMNShape id="CallActivity_0w00x24_di" bpmnElement="CallActivity_0w00x24">
455 <dc:Bounds x="1040" y="74" width="100" height="80" />
456 </bpmndi:BPMNShape>
457 <bpmndi:BPMNEdge id="SequenceFlow_1ofzxsf_di" bpmnElement="SequenceFlow_1ofzxsf">
458 <di:waypoint x="1140" y="114" />
459 <di:waypoint x="1210" y="114" />
460 </bpmndi:BPMNEdge>
461 <bpmndi:BPMNShape id="IntermediateThrowEvent_1lz4unp_di" bpmnElement="IntermediateThrowEvent_1w15bcr">
462 <dc:Bounds x="1382" y="96" width="36" height="36" />
463 <bpmndi:BPMNLabel>
464 <dc:Bounds x="1364" y="139" width="77" height="40" />
465 </bpmndi:BPMNLabel>
466 </bpmndi:BPMNShape>
467 <bpmndi:BPMNEdge id="SequenceFlow_13aldsi_di" bpmnElement="SequenceFlow_13aldsi">
468 <di:waypoint x="820" y="117" />
469 <di:waypoint x="890" y="117" />
470 </bpmndi:BPMNEdge>
471 <bpmndi:BPMNEdge id="SequenceFlow_1f1zdf9_di" bpmnElement="SequenceFlow_1f1zdf9">
472 <di:waypoint x="990" y="117" />
473 <di:waypoint x="1040" y="117" />
474 </bpmndi:BPMNEdge>
475 <bpmndi:BPMNShape id="IntermediateCatchEvent_0r2oht8_di" bpmnElement="IntermediateThrowEvent_0mnp81i">
476 <dc:Bounds x="162" y="288" width="36" height="36" />
477 <bpmndi:BPMNLabel>
478 <dc:Bounds x="139" y="331" width="87" height="27" />
479 </bpmndi:BPMNLabel>
480 </bpmndi:BPMNShape>
481 <bpmndi:BPMNEdge id="SequenceFlow_1ds2e2l_di" bpmnElement="SequenceFlow_1ds2e2l">
482 <di:waypoint x="198" y="306" />
483 <di:waypoint x="250" y="306" />
484 </bpmndi:BPMNEdge>
485 <bpmndi:BPMNShape id="SubProcess_1rxymch_di" bpmnElement="SubProcess_1rxymch" isExpanded="true">
486 <dc:Bounds x="290" y="1053" width="781" height="196" />
487 </bpmndi:BPMNShape>
488 <bpmndi:BPMNShape id="EndEvent_0zmwd5y_di" bpmnElement="EndEvent_0zmwd5y">
489 <dc:Bounds x="1002" y="1139" width="36" height="36" />
490 </bpmndi:BPMNShape>
491 <bpmndi:BPMNShape id="ExclusiveGateway_1djfumr_di" bpmnElement="ExclusiveGateway_1djfumr" isMarkerVisible="true">
492 <dc:Bounds x="415" y="281" width="50" height="50" />
493 <bpmndi:BPMNLabel>
494 <dc:Bounds x="404" y="244" width="73" height="27" />
495 </bpmndi:BPMNLabel>
496 </bpmndi:BPMNShape>
497 <bpmndi:BPMNEdge id="SequenceFlow_1b66kfh_di" bpmnElement="SequenceFlow_1b66kfh">
498 <di:waypoint x="465" y="306" />
499 <di:waypoint x="530" y="306" />
500 <bpmndi:BPMNLabel>
501 <dc:Bounds x="491" y="288" width="18" height="14" />
502 </bpmndi:BPMNLabel>
503 </bpmndi:BPMNEdge>
504 <bpmndi:BPMNShape id="IntermediateThrowEvent_1r29nqs_di" bpmnElement="IntermediateThrowEvent_1r29nqs">
505 <dc:Bounds x="1382" y="288" width="36" height="36" />
506 <bpmndi:BPMNLabel>
507 <dc:Bounds x="1371" y="331" width="66" height="27" />
508 </bpmndi:BPMNLabel>
509 </bpmndi:BPMNShape>
510 <bpmndi:BPMNShape id="IntermediateCatchEvent_08tr730_di" bpmnElement="IntermediateCatchEvent_08tr730">
511 <dc:Bounds x="162" y="518" width="36" height="36" />
512 <bpmndi:BPMNLabel>
513 <dc:Bounds x="148" y="561" width="72" height="14" />
514 </bpmndi:BPMNLabel>
515 </bpmndi:BPMNShape>
516 <bpmndi:BPMNShape id="ScriptTask_01pvcx5_di" bpmnElement="ScriptTask_01pvcx5">
517 <dc:Bounds x="390" y="496" width="100" height="80" />
518 </bpmndi:BPMNShape>
519 <bpmndi:BPMNEdge id="SequenceFlow_15mad8z_di" bpmnElement="SequenceFlow_15mad8z">
520 <di:waypoint x="1330" y="536" />
521 <di:waypoint x="1382" y="536" />
522 </bpmndi:BPMNEdge>
523 <bpmndi:BPMNShape id="IntermediateThrowEvent_0kwoo94_di" bpmnElement="IntermediateThrowEvent_1u6yhg1">
524 <dc:Bounds x="1382" y="518" width="36" height="36" />
525 <bpmndi:BPMNLabel>
526 <dc:Bounds x="1359" y="561" width="87" height="27" />
527 </bpmndi:BPMNLabel>
528 </bpmndi:BPMNShape>
529 <bpmndi:BPMNShape id="IntermediateCatchEvent_0ky7904_di" bpmnElement="IntermediateThrowEvent_13zkj1k">
530 <dc:Bounds x="162" y="804" width="36" height="36" />
531 <bpmndi:BPMNLabel>
532 <dc:Bounds x="138" y="847" width="86" height="27" />
533 </bpmndi:BPMNLabel>
534 </bpmndi:BPMNShape>
535 <bpmndi:BPMNShape id="ExclusiveGateway_19x2qmv_di" bpmnElement="ExclusiveGateway_19x2qmv" isMarkerVisible="true">
536 <dc:Bounds x="605" y="511" width="50" height="50" />
537 <bpmndi:BPMNLabel>
538 <dc:Bounds x="602" y="472" width="68" height="40" />
539 </bpmndi:BPMNLabel>
540 </bpmndi:BPMNShape>
541 <bpmndi:BPMNEdge id="SequenceFlow_1uvyn2n_di" bpmnElement="SequenceFlow_1uvyn2n">
542 <di:waypoint x="655" y="536" />
543 <di:waypoint x="910" y="536" />
544 <bpmndi:BPMNLabel>
545 <dc:Bounds x="741" y="519" width="18" height="14" />
546 </bpmndi:BPMNLabel>
547 </bpmndi:BPMNEdge>
548 <bpmndi:BPMNEdge id="SequenceFlow_1j65sro_di" bpmnElement="SequenceFlow_1j65sro">
549 <di:waypoint x="1010" y="536" />
550 <di:waypoint x="1080" y="536" />
551 </bpmndi:BPMNEdge>
552 <bpmndi:BPMNEdge id="SequenceFlow_056nqyg_di" bpmnElement="SequenceFlow_056nqyg">
553 <di:waypoint x="490" y="536" />
554 <di:waypoint x="605" y="536" />
555 </bpmndi:BPMNEdge>
556 <bpmndi:BPMNShape id="StartEvent_0wgf0cs_di" bpmnElement="StartEvent_0wgf0cs">
557 <dc:Bounds x="332" y="1139" width="36" height="36" />
558 </bpmndi:BPMNShape>
559 <bpmndi:BPMNEdge id="SequenceFlow_07fl9jy_di" bpmnElement="SequenceFlow_07fl9jy">
560 <di:waypoint x="368" y="1157" />
561 <di:waypoint x="620" y="1157" />
562 </bpmndi:BPMNEdge>
563 <bpmndi:BPMNShape id="EndEvent_1bombkp_di" bpmnElement="EndEvent_1g8f1f0">
564 <dc:Bounds x="422" y="392" width="36" height="36" />
565 </bpmndi:BPMNShape>
566 <bpmndi:BPMNEdge id="SequenceFlow_0c89n51_di" bpmnElement="SequenceFlow_0c89n51">
567 <di:waypoint x="440" y="331" />
568 <di:waypoint x="440" y="392" />
569 <bpmndi:BPMNLabel>
570 <dc:Bounds x="449" y="345" width="13" height="14" />
571 </bpmndi:BPMNLabel>
572 </bpmndi:BPMNEdge>
573 <bpmndi:BPMNShape id="ScriptTask_18gv408_di" bpmnElement="ScriptTask_18gv408">
574 <dc:Bounds x="620" y="1117" width="100" height="80" />
575 </bpmndi:BPMNShape>
576 <bpmndi:BPMNEdge id="SequenceFlow_1kmsen3_di" bpmnElement="SequenceFlow_1kmsen3">
577 <di:waypoint x="720" y="1157" />
578 <di:waypoint x="1002" y="1157" />
579 </bpmndi:BPMNEdge>
580 <bpmndi:BPMNEdge id="SequenceFlow_114tqpz_di" bpmnElement="SequenceFlow_114tqpz">
581 <di:waypoint x="630" y="561" />
582 <di:waypoint x="630" y="630" />
583 <di:waypoint x="980" y="630" />
584 <di:waypoint x="980" y="782" />
585 <bpmndi:BPMNLabel>
586 <dc:Bounds x="799" y="612" width="15" height="14" />
587 </bpmndi:BPMNLabel>
588 </bpmndi:BPMNEdge>
589 <bpmndi:BPMNShape id="ScriptTask_0sxtscf_di" bpmnElement="ScriptTask_0sxtscf">
590 <dc:Bounds x="530" y="266" width="100" height="80" />
591 </bpmndi:BPMNShape>
592 <bpmndi:BPMNShape id="ScriptTask_0cdmkso_di" bpmnElement="ScriptTask_0cdmkso">
593 <dc:Bounds x="1210" y="74" width="100" height="80" />
594 </bpmndi:BPMNShape>
595 <bpmndi:BPMNEdge id="SequenceFlow_18guyhw_di" bpmnElement="SequenceFlow_18guyhw">
596 <di:waypoint x="1310" y="114" />
597 <di:waypoint x="1382" y="114" />
598 </bpmndi:BPMNEdge>
599 <bpmndi:BPMNEdge id="SequenceFlow_0kypqg8_di" bpmnElement="SequenceFlow_0kypqg8">
600 <di:waypoint x="630" y="306" />
601 <di:waypoint x="710" y="306" />
602 </bpmndi:BPMNEdge>
603 <bpmndi:BPMNShape id="CallActivity_0oktqmg_di" bpmnElement="CallCheckServiceProcessStatus">
604 <dc:Bounds x="620" y="782" width="100" height="80" />
605 </bpmndi:BPMNShape>
606 <bpmndi:BPMNEdge id="SequenceFlow_1fpj5vj_di" bpmnElement="SequenceFlow_1fpj5vj">
607 <di:waypoint x="720" y="822" />
608 <di:waypoint x="910" y="822" />
609 </bpmndi:BPMNEdge>
610 <bpmndi:BPMNEdge id="SequenceFlow_0spge8t_di" bpmnElement="SequenceFlow_0spge8t">
611 <di:waypoint x="198" y="822" />
612 <di:waypoint x="330" y="822" />
613 </bpmndi:BPMNEdge>
614 <bpmndi:BPMNShape id="ScriptTask_0bi31xq_di" bpmnElement="Task_0misguw">
615 <dc:Bounds x="330" y="782" width="100" height="80" />
616 </bpmndi:BPMNShape>
617 <bpmndi:BPMNEdge id="SequenceFlow_079hxvu_di" bpmnElement="SequenceFlow_079hxvu">
618 <di:waypoint x="430" y="822" />
619 <di:waypoint x="620" y="822" />
620 </bpmndi:BPMNEdge>
621 <bpmndi:BPMNEdge id="SequenceFlow_0j35uff_di" bpmnElement="SequenceFlow_0j35uff">
622 <di:waypoint x="990" y="306" />
623 <di:waypoint x="1120" y="306" />
624 </bpmndi:BPMNEdge>
625 <bpmndi:BPMNEdge id="SequenceFlow_1u66yqo_di" bpmnElement="SequenceFlow_1u66yqo">
626 <di:waypoint x="1220" y="306" />
627 <di:waypoint x="1382" y="306" />
628 </bpmndi:BPMNEdge>
629 <bpmndi:BPMNEdge id="SequenceFlow_0hkz9h0_di" bpmnElement="SequenceFlow_0hkz9h0">
630 <di:waypoint x="198" y="536" />
631 <di:waypoint x="390" y="536" />
632 </bpmndi:BPMNEdge>
633 </bpmndi:BPMNPlane>
634 </bpmndi:BPMNDiagram>
635</bpmn:definitions>