1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
3 <bpmn:process id="UpdateCustomE2EServiceInstance" name="UpdateCustomE2EServiceInstance" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_00qj6ro" name="Update SI Start Flow">
5 <bpmn:outgoing>SequenceFlow_0s2spoq</bpmn:outgoing>
7 <bpmn:subProcess id="SubProcess_0ka59nc" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
8 <bpmn:scriptTask id="ScriptTask_0u3lw39" name="Handle Unexpected Error" scriptFormat="groovy">
9 <bpmn:incoming>SequenceFlow_1dsbjjb</bpmn:incoming>
10 <bpmn:outgoing>SequenceFlow_1yay321</bpmn:outgoing>
11 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
12 ExceptionUtil ex = new ExceptionUtil()
13 ex.processJavaException(execution)]]></bpmn:script>
15 <bpmn:startEvent id="StartEvent_0v1ffn4">
16 <bpmn:outgoing>SequenceFlow_1dsbjjb</bpmn:outgoing>
17 <bpmn:errorEventDefinition />
19 <bpmn:endEvent id="EndEvent_0eznq6x">
20 <bpmn:incoming>SequenceFlow_1yay321</bpmn:incoming>
22 <bpmn:sequenceFlow id="SequenceFlow_1dsbjjb" name="" sourceRef="StartEvent_0v1ffn4" targetRef="ScriptTask_0u3lw39" />
23 <bpmn:sequenceFlow id="SequenceFlow_1yay321" name="" sourceRef="ScriptTask_0u3lw39" targetRef="EndEvent_0eznq6x" />
25 <bpmn:callActivity id="DoUpdateE2EServiceInstance" name="Call DoUpdateE2EServiceInstance " calledElement="DoUpdateE2EServiceInstance">
26 <bpmn:extensionElements>
27 <camunda:out source="WorkflowException" target="WorkflowException" />
28 <camunda:in source="msoRequestId" target="msoRequestId" />
29 <camunda:out source="rollbackData" target="rollbackData" />
30 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
31 <camunda:in source="serviceInstanceName" target="serviceInstanceName" />
32 <camunda:in source="productFamilyId" target="productFamilyId" />
33 <camunda:in source="disableRollback" target="disableRollback" />
34 <camunda:in source="uuiRequest" target="uuiRequest" />
35 <camunda:out source="rolledBack" target="rolledBack" />
36 <camunda:in source="failIfExists" target="failIfExists" />
37 <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
38 <camunda:in source="serviceType" target="serviceType" />
39 <camunda:in source="initialStatus" target="initialStatus" />
40 <camunda:in source="operationId" target="operationId" />
41 <camunda:in source="operationType" target="operationType" />
42 <camunda:in source="URN_mso_adapters_openecomp_db_endpoint" target="URN_mso_adapters_openecomp_db_endpoint" />
43 <camunda:in source="serviceDecomposition_Target" target="serviceDecomposition_Target" />
44 <camunda:in source="serviceDecomposition_Original" target="serviceDecomposition_Original" />
45 <camunda:in source="addResourceList" target="addResourceList" />
46 <camunda:in source="delResourceList" target="delResourceList" />
47 <camunda:in source="serviceRelationShip" target="serviceRelationShip" />
48 </bpmn:extensionElements>
49 <bpmn:incoming>SequenceFlow_04qwbbf</bpmn:incoming>
50 <bpmn:outgoing>SequenceFlow_0klbpxx</bpmn:outgoing>
52 <bpmn:endEvent id="EndEvent_0bpd6c0" name="End">
53 <bpmn:incoming>SequenceFlow_0yayvrf</bpmn:incoming>
55 <bpmn:scriptTask id="ScriptTask_1s09c7d" name="Pre Process Incoming Request" scriptFormat="groovy">
56 <bpmn:incoming>SequenceFlow_0s2spoq</bpmn:incoming>
57 <bpmn:outgoing>SequenceFlow_0az1n4y</bpmn:outgoing>
58 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
59 def csi= new UpdateCustomE2EServiceInstance()
60 csi.preProcessRequest(execution)]]></bpmn:script>
62 <bpmn:scriptTask id="ScriptTask_0ttvn8r" name="Prepare Completion Request" scriptFormat="groovy">
63 <bpmn:incoming>SequenceFlow_14zu6wr</bpmn:incoming>
64 <bpmn:outgoing>SequenceFlow_0je30si</bpmn:outgoing>
65 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
66 def csi = new UpdateCustomE2EServiceInstance()
67 csi.prepareCompletionRequest(execution)]]></bpmn:script>
69 <bpmn:callActivity id="CallActivity_02fyxz0" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
70 <bpmn:extensionElements>
71 <camunda:in source="completionRequest" target="CompleteMsoProcessRequest" />
72 <camunda:in source="mso-request-id" target="mso-request-id" />
73 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
74 <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
75 <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
76 <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
77 </bpmn:extensionElements>
78 <bpmn:incoming>SequenceFlow_0je30si</bpmn:incoming>
79 <bpmn:outgoing>SequenceFlow_0yayvrf</bpmn:outgoing>
81 <bpmn:subProcess id="SubProcess_0vaws86" name="Sub-process for FalloutHandler and Rollback" triggeredByEvent="true">
82 <bpmn:startEvent id="StartEvent_0dug28e">
83 <bpmn:outgoing>SequenceFlow_0e1r62n</bpmn:outgoing>
84 <bpmn:errorEventDefinition />
86 <bpmn:endEvent id="EndEvent_03wysuk">
87 <bpmn:incoming>SequenceFlow_1ysapam</bpmn:incoming>
89 <bpmn:scriptTask id="ScriptTask_0u8o9p2" name="Prepare Fallout Request" scriptFormat="groovy">
90 <bpmn:incoming>SequenceFlow_0n9pexp</bpmn:incoming>
91 <bpmn:outgoing>SequenceFlow_01umodj</bpmn:outgoing>
92 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
93 def csi = new UpdateCustomE2EServiceInstance()
94 csi.prepareFalloutRequest(execution)]]></bpmn:script>
96 <bpmn:callActivity id="CallActivity_1ang7q8" name="Call FalloutHandler" calledElement="FalloutHandler">
97 <bpmn:extensionElements>
98 <camunda:in source="falloutRequest" target="FalloutHandlerRequest" />
99 <camunda:in source="mso-request-id" target="mso-request-id" />
100 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
101 <camunda:out source="FH_ResponseCode" target="FH_ResponseCode" />
102 <camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse" />
103 <camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse" />
104 </bpmn:extensionElements>
105 <bpmn:incoming>SequenceFlow_01umodj</bpmn:incoming>
106 <bpmn:outgoing>SequenceFlow_1ysapam</bpmn:outgoing>
108 <bpmn:scriptTask id="ScriptTask_1rn6nqi" name="Send Error Response">
109 <bpmn:incoming>SequenceFlow_06o383f</bpmn:incoming>
110 <bpmn:outgoing>SequenceFlow_0n9pexp</bpmn:outgoing>
111 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
112 def csi = new UpdateCustomE2EServiceInstance()
113 csi.sendSyncError(execution)]]></bpmn:script>
115 <bpmn:sequenceFlow id="SequenceFlow_0e1r62n" sourceRef="StartEvent_0dug28e" targetRef="ScriptTask_14kqo0r" />
116 <bpmn:sequenceFlow id="SequenceFlow_1ysapam" sourceRef="CallActivity_1ang7q8" targetRef="EndEvent_03wysuk" />
117 <bpmn:sequenceFlow id="SequenceFlow_0n9pexp" sourceRef="ScriptTask_1rn6nqi" targetRef="ScriptTask_0u8o9p2" />
118 <bpmn:sequenceFlow id="SequenceFlow_01umodj" sourceRef="ScriptTask_0u8o9p2" targetRef="CallActivity_1ang7q8" />
119 <bpmn:scriptTask id="ScriptTask_14kqo0r" name="Prepare Update Service Oper Status(error)" scriptFormat="groovy">
120 <bpmn:incoming>SequenceFlow_0e1r62n</bpmn:incoming>
121 <bpmn:outgoing>SequenceFlow_0t4nds2</bpmn:outgoing>
122 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
123 execution.setVariable("progress", "100")
124 execution.setVariable("operationStatus", "Finished")
125 execution.setVariable("operationResult", "Error")
126 execution.setVariable("operationReason", "Exception happened")
127 def ddsi = new UpdateCustomE2EServiceInstance()
128 ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
130 <bpmn:sequenceFlow id="SequenceFlow_0t4nds2" sourceRef="ScriptTask_14kqo0r" targetRef="ServiceTask_1af6rwh" />
131 <bpmn:serviceTask id="ServiceTask_1af6rwh" name="Update Service Oper Status">
132 <bpmn:extensionElements>
134 <camunda:inputOutput>
135 <camunda:inputParameter name="url">${URN_mso_openecomp_adapters_db_endpoint}</camunda:inputParameter>
136 <camunda:inputParameter name="headers">
138 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
139 <camunda:entry key="Authorization">Basic QlBFTENsaWVudDpwYXNzd29yZDEk</camunda:entry>
141 </camunda:inputParameter>
142 <camunda:inputParameter name="payload">${CVFMI_updateServiceOperStatusRequest}</camunda:inputParameter>
143 <camunda:inputParameter name="method">POST</camunda:inputParameter>
144 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
145 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
146 </camunda:inputOutput>
147 <camunda:connectorId>http-connector</camunda:connectorId>
149 </bpmn:extensionElements>
150 <bpmn:incoming>SequenceFlow_0t4nds2</bpmn:incoming>
151 <bpmn:outgoing>SequenceFlow_06o383f</bpmn:outgoing>
153 <bpmn:sequenceFlow id="SequenceFlow_06o383f" sourceRef="ServiceTask_1af6rwh" targetRef="ScriptTask_1rn6nqi" />
155 <bpmn:scriptTask id="ScriptTask_0xupxj9" name="Send Sync Ack Response" scriptFormat="groovy">
156 <bpmn:incoming>SequenceFlow_12dou7o</bpmn:incoming>
157 <bpmn:outgoing>SequenceFlow_0secadm</bpmn:outgoing>
158 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
159 def csi = new UpdateCustomE2EServiceInstance()
160 csi.sendSyncResponse(execution)]]></bpmn:script>
162 <bpmn:exclusiveGateway id="ExclusiveGateway_0aqn64l" name="Success?" default="SequenceFlow_1fueo69">
163 <bpmn:incoming>SequenceFlow_0klbpxx</bpmn:incoming>
164 <bpmn:outgoing>SequenceFlow_14zu6wr</bpmn:outgoing>
165 <bpmn:outgoing>SequenceFlow_1fueo69</bpmn:outgoing>
166 </bpmn:exclusiveGateway>
167 <bpmn:endEvent id="EndEvent_07uk5iy">
168 <bpmn:incoming>SequenceFlow_1fueo69</bpmn:incoming>
169 <bpmn:errorEventDefinition errorRef="Error_0nbdy47" />
171 <bpmn:sequenceFlow id="SequenceFlow_0s2spoq" sourceRef="StartEvent_00qj6ro" targetRef="ScriptTask_1s09c7d" />
172 <bpmn:sequenceFlow id="SequenceFlow_0klbpxx" sourceRef="DoUpdateE2EServiceInstance" targetRef="ExclusiveGateway_0aqn64l" />
173 <bpmn:sequenceFlow id="SequenceFlow_0yayvrf" sourceRef="CallActivity_02fyxz0" targetRef="EndEvent_0bpd6c0" />
174 <bpmn:sequenceFlow id="SequenceFlow_14zu6wr" name="yes" sourceRef="ExclusiveGateway_0aqn64l" targetRef="ScriptTask_0ttvn8r">
175 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("WorkflowException") == null}]]></bpmn:conditionExpression>
177 <bpmn:sequenceFlow id="SequenceFlow_0je30si" sourceRef="ScriptTask_0ttvn8r" targetRef="CallActivity_02fyxz0" />
178 <bpmn:sequenceFlow id="SequenceFlow_1fueo69" name="no" sourceRef="ExclusiveGateway_0aqn64l" targetRef="EndEvent_07uk5iy" />
179 <bpmn:callActivity id="CallActivity_1vejucv" name="Call AAI Generic GetService" calledElement="GenericGetService">
180 <bpmn:extensionElements>
181 <camunda:in source="serviceInstanceId" target="GENGS_serviceInstanceId" />
182 <camunda:in sourceExpression="service-instance" target="GENGS_type" />
183 <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" />
184 <camunda:out source="GENGS_SuccessIndicator" target="GENGS_SuccessIndicator" />
185 <camunda:out source="WorkflowException" target="WorkflowException" />
186 <camunda:out source="GENGS_siResourceLink" target="GENGS_siResourceLink" />
187 <camunda:out source="GENGS_service" target="GENGS_service" />
188 <camunda:in source="globalSubscriberId" target="GENGS_globalCustomerId" />
189 <camunda:in source="serviceType" target="GENGS_serviceType" />
190 </bpmn:extensionElements>
191 <bpmn:incoming>SequenceFlow_0az1n4y</bpmn:incoming>
192 <bpmn:outgoing>SequenceFlow_1bd4711</bpmn:outgoing>
194 <bpmn:scriptTask id="ScriptTask_0cx1y0g" name="Post Process AAI GET" scriptFormat="groovy">
195 <bpmn:incoming>SequenceFlow_1bd4711</bpmn:incoming>
196 <bpmn:outgoing>SequenceFlow_03i6zhx</bpmn:outgoing>
197 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
198 def dcsi = new UpdateCustomE2EServiceInstance()
199 dcsi.postProcessAAIGET(execution)]]></bpmn:script>
201 <bpmn:sequenceFlow id="SequenceFlow_1bd4711" sourceRef="CallActivity_1vejucv" targetRef="ScriptTask_0cx1y0g" />
202 <bpmn:scriptTask id="ScriptTask_11y3uq6" name="Post for Compare Model Versions" scriptFormat="groovy">
203 <bpmn:incoming>SequenceFlow_0xhbobd</bpmn:incoming>
204 <bpmn:outgoing>SequenceFlow_0t7zinj</bpmn:outgoing>
205 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
206 def csi = new UpdateCustomE2EServiceInstance()
207 csi.postCompareModelVersions(execution)]]></bpmn:script>
209 <bpmn:scriptTask id="ScriptTask_0hixtxc" name="Prepare for Compare Model Versions" scriptFormat="groovy">
210 <bpmn:incoming>SequenceFlow_03i6zhx</bpmn:incoming>
211 <bpmn:outgoing>SequenceFlow_1pdv4qj</bpmn:outgoing>
212 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
213 def ddsi = new UpdateCustomE2EServiceInstance()
214 ddsi.preCompareModelVersions(execution)]]></bpmn:script>
216 <bpmn:callActivity id="CallActivity_1rkoyc5" name="Call DoCompareModelVersions" calledElement="DoCompareModelVersions">
217 <bpmn:extensionElements>
218 <camunda:in source="msoRequestId" target="msoRequestId" />
219 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
220 <camunda:in source="model-invariant-id-target" target="model-invariant-id-target" />
221 <camunda:in source="model-version-id-target" target="model-version-id-target" />
222 <camunda:in source="model-invariant-id-original" target="model-invariant-id-original" />
223 <camunda:in source="model-version-id-original" target="model-version-id-original" />
224 <camunda:out source="serviceDecomposition_Target" target="serviceDecomposition_Target" />
225 <camunda:out source="serviceDecomposition_Original" target="serviceDecomposition_Original" />
226 <camunda:out source="addResourceList" target="addResourceList" />
227 <camunda:out source="delResourceList" target="delResourceList" />
228 </bpmn:extensionElements>
229 <bpmn:incoming>SequenceFlow_1pdv4qj</bpmn:incoming>
230 <bpmn:outgoing>SequenceFlow_0xhbobd</bpmn:outgoing>
232 <bpmn:sequenceFlow id="SequenceFlow_03i6zhx" sourceRef="ScriptTask_0cx1y0g" targetRef="ScriptTask_0hixtxc" />
233 <bpmn:sequenceFlow id="SequenceFlow_1pdv4qj" sourceRef="ScriptTask_0hixtxc" targetRef="CallActivity_1rkoyc5" />
234 <bpmn:sequenceFlow id="SequenceFlow_0xhbobd" sourceRef="CallActivity_1rkoyc5" targetRef="ScriptTask_11y3uq6" />
235 <bpmn:exclusiveGateway id="ExclusiveGateway_0mc34qe" name="HasResourcetoUpdate?" default="SequenceFlow_1n8h3zt">
236 <bpmn:incoming>SequenceFlow_0secadm</bpmn:incoming>
237 <bpmn:outgoing>SequenceFlow_0zmd4rt</bpmn:outgoing>
238 <bpmn:outgoing>SequenceFlow_1n8h3zt</bpmn:outgoing>
239 </bpmn:exclusiveGateway>
240 <bpmn:sequenceFlow id="SequenceFlow_0az1n4y" sourceRef="ScriptTask_1s09c7d" targetRef="CallActivity_1vejucv" />
241 <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0m01dm3" name="StartDoUpdate">
242 <bpmn:outgoing>SequenceFlow_04qwbbf</bpmn:outgoing>
243 <bpmn:linkEventDefinition name="StartDoUpdate" />
244 </bpmn:intermediateCatchEvent>
245 <bpmn:sequenceFlow id="SequenceFlow_0secadm" sourceRef="ScriptTask_0xupxj9" targetRef="ExclusiveGateway_0mc34qe" />
246 <bpmn:sequenceFlow id="SequenceFlow_04qwbbf" sourceRef="IntermediateCatchEvent_0m01dm3" targetRef="DoUpdateE2EServiceInstance" />
247 <bpmn:endEvent id="EndEvent_1jvqhkf" name="End">
248 <bpmn:incoming>SequenceFlow_0kvl23y</bpmn:incoming>
250 <bpmn:scriptTask id="ScriptTask_16sgdqw" name="Init Service Operation Status" scriptFormat="groovy">
251 <bpmn:incoming>SequenceFlow_1bddzne</bpmn:incoming>
252 <bpmn:outgoing>SequenceFlow_1e3vtyq</bpmn:outgoing>
253 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
254 def csi= new UpdateCustomE2EServiceInstance()
255 csi.prepareInitServiceOperationStatus(execution)]]></bpmn:script>
257 <bpmn:serviceTask id="ServiceTask_0qjpd5v" name="Update Service Operation Status">
258 <bpmn:extensionElements>
260 <camunda:inputOutput>
261 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
262 <camunda:inputParameter name="headers">
264 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
265 <camunda:entry key="Authorization">Basic QlBFTENsaWVudDpwYXNzd29yZDEk</camunda:entry>
267 </camunda:inputParameter>
268 <camunda:inputParameter name="payload">${CVFMI_updateServiceOperStatusRequest}</camunda:inputParameter>
269 <camunda:inputParameter name="method">POST</camunda:inputParameter>
270 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
271 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
272 </camunda:inputOutput>
273 <camunda:connectorId>http-connector</camunda:connectorId>
275 </bpmn:extensionElements>
276 <bpmn:incoming>SequenceFlow_1e3vtyq</bpmn:incoming>
277 <bpmn:outgoing>SequenceFlow_12dou7o</bpmn:outgoing>
279 <bpmn:sequenceFlow id="SequenceFlow_1e3vtyq" sourceRef="ScriptTask_16sgdqw" targetRef="ServiceTask_0qjpd5v" />
280 <bpmn:sequenceFlow id="SequenceFlow_12dou7o" sourceRef="ServiceTask_0qjpd5v" targetRef="ScriptTask_0xupxj9" />
281 <bpmn:serviceTask id="ServiceTask_0mj3kf2" name="Update Service Operation Status">
282 <bpmn:extensionElements>
284 <camunda:inputOutput>
285 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
286 <camunda:inputParameter name="headers">
288 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
289 <camunda:entry key="Authorization">Basic QlBFTENsaWVudDpwYXNzd29yZDEk</camunda:entry>
291 </camunda:inputParameter>
292 <camunda:inputParameter name="payload">${CVFMI_updateServiceOperStatusRequest}</camunda:inputParameter>
293 <camunda:inputParameter name="method">POST</camunda:inputParameter>
294 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
295 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
296 </camunda:inputOutput>
297 <camunda:connectorId>http-connector</camunda:connectorId>
299 </bpmn:extensionElements>
300 <bpmn:incoming>SequenceFlow_1wzk6tu</bpmn:incoming>
301 <bpmn:outgoing>SequenceFlow_0kvl23y</bpmn:outgoing>
303 <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_08mk8h9" name="GoToOperStatusInit">
304 <bpmn:incoming>SequenceFlow_0t7zinj</bpmn:incoming>
305 <bpmn:linkEventDefinition name="StartOperStatusInit" />
306 </bpmn:intermediateThrowEvent>
307 <bpmn:sequenceFlow id="SequenceFlow_0t7zinj" sourceRef="ScriptTask_11y3uq6" targetRef="IntermediateThrowEvent_08mk8h9" />
308 <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_14w7v9s" name="StartOperStatusInit">
309 <bpmn:outgoing>SequenceFlow_1bddzne</bpmn:outgoing>
310 <bpmn:linkEventDefinition name="StartOperStatusInit" />
311 </bpmn:intermediateCatchEvent>
312 <bpmn:sequenceFlow id="SequenceFlow_1bddzne" sourceRef="IntermediateCatchEvent_14w7v9s" targetRef="ScriptTask_16sgdqw" />
313 <bpmn:scriptTask id="ScriptTask_04a0t3p" name="Prepare Update Service Oper Status(100%)" scriptFormat="groovy">
314 <bpmn:incoming>SequenceFlow_1n8h3zt</bpmn:incoming>
315 <bpmn:outgoing>SequenceFlow_1wzk6tu</bpmn:outgoing>
316 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
317 execution.setVariable("progress", "100")
318 execution.setVariable("operationStatus", "Finished")
319 execution.setVariable("operationResult", "End")
320 execution.setVariable("operationReason", "No resource to add or delete")
321 def ddsi = new UpdateCustomE2EServiceInstance()
322 ddsi.preUpdateServiceOperationStatus(execution)]]></bpmn:script>
324 <bpmn:sequenceFlow id="SequenceFlow_1wzk6tu" sourceRef="ScriptTask_04a0t3p" targetRef="ServiceTask_0mj3kf2" />
325 <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1k72hze" name="GoToDoUpdate">
326 <bpmn:incoming>SequenceFlow_0zmd4rt</bpmn:incoming>
327 <bpmn:linkEventDefinition name="StartDoUpdate" />
328 </bpmn:intermediateThrowEvent>
329 <bpmn:sequenceFlow id="SequenceFlow_0kvl23y" sourceRef="ServiceTask_0mj3kf2" targetRef="EndEvent_1jvqhkf" />
330 <bpmn:sequenceFlow id="SequenceFlow_0zmd4rt" name="Yes" sourceRef="ExclusiveGateway_0mc34qe" targetRef="IntermediateThrowEvent_1k72hze">
331 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("hasResourcetoUpdate") == true}]]></bpmn:conditionExpression>
333 <bpmn:sequenceFlow id="SequenceFlow_1n8h3zt" name="No" sourceRef="ExclusiveGateway_0mc34qe" targetRef="ScriptTask_04a0t3p" />
335 <bpmn:error id="Error_0nbdy47" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
336 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
337 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateCustomE2EServiceInstance">
338 <bpmndi:BPMNShape id="StartEvent_00qj6ro_di" bpmnElement="StartEvent_00qj6ro">
339 <dc:Bounds x="-6" y="180" width="36" height="36" />
341 <dc:Bounds x="-24" y="221" width="73" height="24" />
344 <bpmndi:BPMNShape id="SubProcess_0ka59nc_di" bpmnElement="SubProcess_0ka59nc" isExpanded="true">
345 <dc:Bounds x="439" y="1170" width="394" height="188" />
347 <bpmndi:BPMNShape id="CallActivity_0rhljy8_di" bpmnElement="DoUpdateE2EServiceInstance">
348 <dc:Bounds x="284" y="585" width="100" height="80" />
350 <bpmndi:BPMNShape id="EndEvent_0bpd6c0_di" bpmnElement="EndEvent_0bpd6c0">
351 <dc:Bounds x="1192" y="607" width="36" height="36" />
353 <dc:Bounds x="1204" y="643" width="19" height="12" />
356 <bpmndi:BPMNShape id="ScriptTask_1s09c7d_di" bpmnElement="ScriptTask_1s09c7d">
357 <dc:Bounds x="105" y="158" width="100" height="80" />
359 <bpmndi:BPMNShape id="ScriptTask_0ttvn8r_di" bpmnElement="ScriptTask_0ttvn8r">
360 <dc:Bounds x="782" y="585" width="100" height="80" />
362 <bpmndi:BPMNShape id="CallActivity_02fyxz0_di" bpmnElement="CallActivity_02fyxz0">
363 <dc:Bounds x="959" y="585" width="100" height="80" />
365 <bpmndi:BPMNShape id="SubProcess_0vaws86_di" bpmnElement="SubProcess_0vaws86" isExpanded="true">
366 <dc:Bounds x="-61" y="908" width="1322" height="164" />
368 <bpmndi:BPMNShape id="ScriptTask_0xupxj9_di" bpmnElement="ScriptTask_0xupxj9">
369 <dc:Bounds x="451" y="337" width="100" height="80" />
371 <bpmndi:BPMNShape id="ExclusiveGateway_0aqn64l_di" bpmnElement="ExclusiveGateway_0aqn64l" isMarkerVisible="true">
372 <dc:Bounds x="639" y="600" width="50" height="50" />
374 <dc:Bounds x="640" y="572" width="49" height="12" />
377 <bpmndi:BPMNShape id="EndEvent_07uk5iy_di" bpmnElement="EndEvent_07uk5iy">
378 <dc:Bounds x="646" y="713" width="36" height="36" />
380 <dc:Bounds x="527" y="1016" width="90" height="12" />
383 <bpmndi:BPMNEdge id="SequenceFlow_0s2spoq_di" bpmnElement="SequenceFlow_0s2spoq">
384 <di:waypoint xsi:type="dc:Point" x="30" y="198" />
385 <di:waypoint xsi:type="dc:Point" x="105" y="198" />
387 <dc:Bounds x="22.5" y="177" width="90" height="12" />
390 <bpmndi:BPMNEdge id="SequenceFlow_0klbpxx_di" bpmnElement="SequenceFlow_0klbpxx">
391 <di:waypoint xsi:type="dc:Point" x="384" y="625" />
392 <di:waypoint xsi:type="dc:Point" x="639" y="625" />
394 <dc:Bounds x="466.5" y="604" width="90" height="12" />
397 <bpmndi:BPMNEdge id="SequenceFlow_0yayvrf_di" bpmnElement="SequenceFlow_0yayvrf">
398 <di:waypoint xsi:type="dc:Point" x="1059" y="625" />
399 <di:waypoint xsi:type="dc:Point" x="1192" y="625" />
401 <dc:Bounds x="1080.5" y="604" width="90" height="12" />
404 <bpmndi:BPMNEdge id="SequenceFlow_14zu6wr_di" bpmnElement="SequenceFlow_14zu6wr">
405 <di:waypoint xsi:type="dc:Point" x="689" y="625" />
406 <di:waypoint xsi:type="dc:Point" x="782" y="625" />
408 <dc:Bounds x="727.1481481481482" y="622" width="19" height="12" />
411 <bpmndi:BPMNEdge id="SequenceFlow_0je30si_di" bpmnElement="SequenceFlow_0je30si">
412 <di:waypoint xsi:type="dc:Point" x="882" y="625" />
413 <di:waypoint xsi:type="dc:Point" x="959" y="625" />
415 <dc:Bounds x="875.5" y="604" width="90" height="12" />
418 <bpmndi:BPMNEdge id="SequenceFlow_1fueo69_di" bpmnElement="SequenceFlow_1fueo69">
419 <di:waypoint xsi:type="dc:Point" x="664" y="650" />
420 <di:waypoint xsi:type="dc:Point" x="664" y="713" />
422 <dc:Bounds x="639" y="677" width="12" height="12" />
425 <bpmndi:BPMNShape id="ScriptTask_0u3lw39_di" bpmnElement="ScriptTask_0u3lw39">
426 <dc:Bounds x="587" y="1225" width="100" height="80" />
428 <bpmndi:BPMNShape id="StartEvent_0v1ffn4_di" bpmnElement="StartEvent_0v1ffn4">
429 <dc:Bounds x="472" y="1247" width="36" height="36" />
431 <dc:Bounds x="400" y="1288" width="90" height="12" />
434 <bpmndi:BPMNShape id="EndEvent_0eznq6x_di" bpmnElement="EndEvent_0eznq6x">
435 <dc:Bounds x="748" y="1247" width="36" height="36" />
437 <dc:Bounds x="676" y="1288" width="90" height="12" />
440 <bpmndi:BPMNShape id="StartEvent_0dug28e_di" bpmnElement="StartEvent_0dug28e">
441 <dc:Bounds x="-20" y="994" width="36" height="36" />
443 <dc:Bounds x="-92" y="1035" width="90" height="12" />
446 <bpmndi:BPMNShape id="EndEvent_03wysuk_di" bpmnElement="EndEvent_03wysuk">
447 <dc:Bounds x="1194" y="994" width="36" height="36" />
449 <dc:Bounds x="1122" y="1035" width="90" height="12" />
452 <bpmndi:BPMNShape id="ScriptTask_0u8o9p2_di" bpmnElement="ScriptTask_0u8o9p2">
453 <dc:Bounds x="777" y="972" width="100" height="80" />
455 <bpmndi:BPMNShape id="CallActivity_1ang7q8_di" bpmnElement="CallActivity_1ang7q8">
456 <dc:Bounds x="963" y="972" width="100" height="80" />
458 <bpmndi:BPMNShape id="ScriptTask_1rn6nqi_di" bpmnElement="ScriptTask_1rn6nqi">
459 <dc:Bounds x="577" y="972" width="100" height="80" />
461 <bpmndi:BPMNEdge id="SequenceFlow_1dsbjjb_di" bpmnElement="SequenceFlow_1dsbjjb">
462 <di:waypoint xsi:type="dc:Point" x="508" y="1265" />
463 <di:waypoint xsi:type="dc:Point" x="587" y="1265" />
465 <dc:Bounds x="461" y="1265" width="90" height="12" />
468 <bpmndi:BPMNEdge id="SequenceFlow_1yay321_di" bpmnElement="SequenceFlow_1yay321">
469 <di:waypoint xsi:type="dc:Point" x="687" y="1265" />
470 <di:waypoint xsi:type="dc:Point" x="748" y="1265" />
472 <dc:Bounds x="633" y="1265" width="90" height="12" />
475 <bpmndi:BPMNEdge id="SequenceFlow_0e1r62n_di" bpmnElement="SequenceFlow_0e1r62n">
476 <di:waypoint xsi:type="dc:Point" x="16" y="1012" />
477 <di:waypoint xsi:type="dc:Point" x="122" y="1012" />
479 <dc:Bounds x="24" y="991" width="90" height="12" />
482 <bpmndi:BPMNEdge id="SequenceFlow_1ysapam_di" bpmnElement="SequenceFlow_1ysapam">
483 <di:waypoint xsi:type="dc:Point" x="1063" y="1012" />
484 <di:waypoint xsi:type="dc:Point" x="1194" y="1012" />
486 <dc:Bounds x="1083.5" y="991" width="90" height="12" />
489 <bpmndi:BPMNEdge id="SequenceFlow_0n9pexp_di" bpmnElement="SequenceFlow_0n9pexp">
490 <di:waypoint xsi:type="dc:Point" x="677" y="1012" />
491 <di:waypoint xsi:type="dc:Point" x="777" y="1012" />
493 <dc:Bounds x="682" y="991" width="90" height="12" />
496 <bpmndi:BPMNEdge id="SequenceFlow_01umodj_di" bpmnElement="SequenceFlow_01umodj">
497 <di:waypoint xsi:type="dc:Point" x="877" y="1012" />
498 <di:waypoint xsi:type="dc:Point" x="963" y="1012" />
500 <dc:Bounds x="875" y="991" width="90" height="12" />
503 <bpmndi:BPMNShape id="CallActivity_1vejucv_di" bpmnElement="CallActivity_1vejucv">
504 <dc:Bounds x="274" y="158" width="100" height="80" />
506 <bpmndi:BPMNShape id="ScriptTask_0cx1y0g_di" bpmnElement="ScriptTask_0cx1y0g">
507 <dc:Bounds x="451" y="158" width="100" height="80" />
509 <bpmndi:BPMNEdge id="SequenceFlow_1bd4711_di" bpmnElement="SequenceFlow_1bd4711">
510 <di:waypoint xsi:type="dc:Point" x="374" y="198" />
511 <di:waypoint xsi:type="dc:Point" x="451" y="198" />
513 <dc:Bounds x="367.5" y="177" width="90" height="12" />
516 <bpmndi:BPMNShape id="ScriptTask_11y3uq6_di" bpmnElement="ScriptTask_11y3uq6">
517 <dc:Bounds x="959" y="158" width="100" height="80" />
519 <bpmndi:BPMNShape id="ScriptTask_0hixtxc_di" bpmnElement="ScriptTask_0hixtxc">
520 <dc:Bounds x="614" y="158" width="100" height="80" />
522 <bpmndi:BPMNShape id="CallActivity_1rkoyc5_di" bpmnElement="CallActivity_1rkoyc5">
523 <dc:Bounds x="782" y="158" width="100" height="80" />
525 <bpmndi:BPMNEdge id="SequenceFlow_03i6zhx_di" bpmnElement="SequenceFlow_03i6zhx">
526 <di:waypoint xsi:type="dc:Point" x="551" y="198" />
527 <di:waypoint xsi:type="dc:Point" x="614" y="198" />
529 <dc:Bounds x="537.5" y="177" width="90" height="12" />
532 <bpmndi:BPMNEdge id="SequenceFlow_1pdv4qj_di" bpmnElement="SequenceFlow_1pdv4qj">
533 <di:waypoint xsi:type="dc:Point" x="714" y="198" />
534 <di:waypoint xsi:type="dc:Point" x="782" y="198" />
536 <dc:Bounds x="703" y="177" width="90" height="12" />
539 <bpmndi:BPMNEdge id="SequenceFlow_0xhbobd_di" bpmnElement="SequenceFlow_0xhbobd">
540 <di:waypoint xsi:type="dc:Point" x="882" y="198" />
541 <di:waypoint xsi:type="dc:Point" x="959" y="198" />
543 <dc:Bounds x="875.5" y="177" width="90" height="12" />
546 <bpmndi:BPMNShape id="ExclusiveGateway_0mc34qe_di" bpmnElement="ExclusiveGateway_0mc34qe" isMarkerVisible="true">
547 <dc:Bounds x="639" y="352" width="50" height="50" />
549 <dc:Bounds x="622" y="324" width="85" height="24" />
552 <bpmndi:BPMNEdge id="SequenceFlow_0az1n4y_di" bpmnElement="SequenceFlow_0az1n4y">
553 <di:waypoint xsi:type="dc:Point" x="205" y="198" />
554 <di:waypoint xsi:type="dc:Point" x="274" y="198" />
556 <dc:Bounds x="239.5" y="177" width="0" height="12" />
559 <bpmndi:BPMNShape id="IntermediateCatchEvent_0m01dm3_di" bpmnElement="IntermediateCatchEvent_0m01dm3">
560 <dc:Bounds x="-6" y="607" width="36" height="36" />
562 <dc:Bounds x="-21" y="669" width="72" height="12" />
565 <bpmndi:BPMNEdge id="SequenceFlow_0secadm_di" bpmnElement="SequenceFlow_0secadm">
566 <di:waypoint xsi:type="dc:Point" x="551" y="377" />
567 <di:waypoint xsi:type="dc:Point" x="639" y="377" />
569 <dc:Bounds x="550" y="356" width="90" height="12" />
572 <bpmndi:BPMNEdge id="SequenceFlow_04qwbbf_di" bpmnElement="SequenceFlow_04qwbbf">
573 <di:waypoint xsi:type="dc:Point" x="30" y="625" />
574 <di:waypoint xsi:type="dc:Point" x="284" y="625" />
576 <dc:Bounds x="112" y="604" width="90" height="12" />
579 <bpmndi:BPMNShape id="EndEvent_1jvqhkf_di" bpmnElement="EndEvent_1jvqhkf">
580 <dc:Bounds x="1192" y="359" width="36" height="36" />
582 <dc:Bounds x="1200" y="404" width="19" height="12" />
585 <bpmndi:BPMNShape id="ScriptTask_16sgdqw_di" bpmnElement="ScriptTask_16sgdqw">
586 <dc:Bounds x="97" y="337" width="100" height="80" />
588 <bpmndi:BPMNShape id="ServiceTask_0qjpd5v_di" bpmnElement="ServiceTask_0qjpd5v">
589 <dc:Bounds x="274" y="337" width="100" height="80" />
591 <bpmndi:BPMNEdge id="SequenceFlow_1e3vtyq_di" bpmnElement="SequenceFlow_1e3vtyq">
592 <di:waypoint xsi:type="dc:Point" x="197" y="377" />
593 <di:waypoint xsi:type="dc:Point" x="274" y="377" />
595 <dc:Bounds x="235.5" y="356" width="0" height="12" />
598 <bpmndi:BPMNEdge id="SequenceFlow_12dou7o_di" bpmnElement="SequenceFlow_12dou7o">
599 <di:waypoint xsi:type="dc:Point" x="374" y="377" />
600 <di:waypoint xsi:type="dc:Point" x="451" y="377" />
602 <dc:Bounds x="412.5" y="356" width="0" height="12" />
605 <bpmndi:BPMNShape id="ServiceTask_0mj3kf2_di" bpmnElement="ServiceTask_0mj3kf2">
606 <dc:Bounds x="959" y="337" width="100" height="80" />
608 <bpmndi:BPMNShape id="IntermediateThrowEvent_08mk8h9_di" bpmnElement="IntermediateThrowEvent_08mk8h9">
609 <dc:Bounds x="1192" y="180" width="36" height="36" />
611 <dc:Bounds x="1175" y="220" width="86" height="24" />
614 <bpmndi:BPMNEdge id="SequenceFlow_0t7zinj_di" bpmnElement="SequenceFlow_0t7zinj">
615 <di:waypoint xsi:type="dc:Point" x="1059" y="198" />
616 <di:waypoint xsi:type="dc:Point" x="1192" y="198" />
618 <dc:Bounds x="1125.5" y="177" width="0" height="12" />
621 <bpmndi:BPMNShape id="IntermediateCatchEvent_14w7v9s_di" bpmnElement="IntermediateCatchEvent_14w7v9s">
622 <dc:Bounds x="-6" y="359" width="36" height="36" />
624 <dc:Bounds x="-29" y="421" width="88" height="24" />
627 <bpmndi:BPMNEdge id="SequenceFlow_1bddzne_di" bpmnElement="SequenceFlow_1bddzne">
628 <di:waypoint xsi:type="dc:Point" x="30" y="377" />
629 <di:waypoint xsi:type="dc:Point" x="97" y="377" />
631 <dc:Bounds x="63.5" y="356" width="0" height="12" />
634 <bpmndi:BPMNShape id="ScriptTask_14kqo0r_di" bpmnElement="ScriptTask_14kqo0r">
635 <dc:Bounds x="122" y="972" width="100" height="80" />
637 <bpmndi:BPMNShape id="ServiceTask_1af6rwh_di" bpmnElement="ServiceTask_1af6rwh">
638 <dc:Bounds x="350" y="972" width="100" height="80" />
640 <bpmndi:BPMNEdge id="SequenceFlow_0t4nds2_di" bpmnElement="SequenceFlow_0t4nds2">
641 <di:waypoint xsi:type="dc:Point" x="222" y="1012" />
642 <di:waypoint xsi:type="dc:Point" x="350" y="1012" />
644 <dc:Bounds x="286" y="991" width="0" height="12" />
647 <bpmndi:BPMNEdge id="SequenceFlow_06o383f_di" bpmnElement="SequenceFlow_06o383f">
648 <di:waypoint xsi:type="dc:Point" x="450" y="1012" />
649 <di:waypoint xsi:type="dc:Point" x="577" y="1012" />
651 <dc:Bounds x="513.5" y="991" width="0" height="12" />
654 <bpmndi:BPMNShape id="ScriptTask_04a0t3p_di" bpmnElement="ScriptTask_04a0t3p">
655 <dc:Bounds x="782" y="337" width="100" height="80" />
657 <bpmndi:BPMNEdge id="SequenceFlow_1wzk6tu_di" bpmnElement="SequenceFlow_1wzk6tu">
658 <di:waypoint xsi:type="dc:Point" x="882" y="377" />
659 <di:waypoint xsi:type="dc:Point" x="959" y="377" />
661 <dc:Bounds x="920.5" y="356" width="0" height="12" />
664 <bpmndi:BPMNShape id="IntermediateThrowEvent_1k72hze_di" bpmnElement="IntermediateThrowEvent_1k72hze">
665 <dc:Bounds x="646" y="447" width="36" height="36" />
667 <dc:Bounds x="631" y="487" width="76" height="12" />
670 <bpmndi:BPMNEdge id="SequenceFlow_0kvl23y_di" bpmnElement="SequenceFlow_0kvl23y">
671 <di:waypoint xsi:type="dc:Point" x="1059" y="377" />
672 <di:waypoint xsi:type="dc:Point" x="1192" y="377" />
674 <dc:Bounds x="1125.5" y="356" width="0" height="12" />
677 <bpmndi:BPMNEdge id="SequenceFlow_0zmd4rt_di" bpmnElement="SequenceFlow_0zmd4rt">
678 <di:waypoint xsi:type="dc:Point" x="664" y="402" />
679 <di:waypoint xsi:type="dc:Point" x="664" y="447" />
681 <dc:Bounds x="670" y="419" width="19" height="12" />
684 <bpmndi:BPMNEdge id="SequenceFlow_1n8h3zt_di" bpmnElement="SequenceFlow_1n8h3zt">
685 <di:waypoint xsi:type="dc:Point" x="689" y="377" />
686 <di:waypoint xsi:type="dc:Point" x="782" y="377" />
688 <dc:Bounds x="729" y="356" width="14" height="12" />
692 </bpmndi:BPMNDiagram>