1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_MagIIMOUEeW8asg-vCEgWQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3 <bpmn2:process id="DoCompareModelVersions" name="DoCompareModelVersions" isExecutable="true">
4 <bpmn2:scriptTask id="ScriptTask_04rn9mp" name="DoCompareModelVersions" scriptFormat="groovy">
5 <bpmn2:incoming>SequenceFlow_1rebkae</bpmn2:incoming>
6 <bpmn2:outgoing>SequenceFlow_1lkpfe2</bpmn2:outgoing>
7 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
8 def csi = new DoCompareModelVersions()
9 csi.doCompareModelVersions(execution)]]></bpmn2:script>
11 <bpmn2:sequenceFlow id="SequenceFlow_1rebkae" sourceRef="StartEvent_0jhv664" targetRef="ScriptTask_04rn9mp" />
12 <bpmn2:intermediateCatchEvent id="StartEvent_0jhv664" name="StartCompare">
13 <bpmn2:outgoing>SequenceFlow_1rebkae</bpmn2:outgoing>
14 <bpmn2:linkEventDefinition name="StartCompare" />
15 </bpmn2:intermediateCatchEvent>
16 <bpmn2:endEvent id="EndEvent_0x8im5g">
17 <bpmn2:incoming>SequenceFlow_1lkpfe2</bpmn2:incoming>
19 <bpmn2:sequenceFlow id="SequenceFlow_1lkpfe2" sourceRef="ScriptTask_04rn9mp" targetRef="EndEvent_0x8im5g" />
20 <bpmn2:subProcess id="SubProcess_0roysbg" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
21 <bpmn2:startEvent id="StartEvent_0xtpw6j">
22 <bpmn2:outgoing>SequenceFlow_19sogyb</bpmn2:outgoing>
23 <bpmn2:errorEventDefinition />
25 <bpmn2:endEvent id="EndEvent_05a2pr9">
26 <bpmn2:incoming>SequenceFlow_17mr4jl</bpmn2:incoming>
28 <bpmn2:scriptTask id="ScriptTask_0xk9fk3" name="Log / Print Unexpected Error" scriptFormat="groovy">
29 <bpmn2:incoming>SequenceFlow_19sogyb</bpmn2:incoming>
30 <bpmn2:outgoing>SequenceFlow_17mr4jl</bpmn2:outgoing>
31 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
\r
32 ExceptionUtil ex = new ExceptionUtil()
\r
33 ex.processJavaException(execution)]]></bpmn2:script>
35 <bpmn2:sequenceFlow id="SequenceFlow_19sogyb" name="" sourceRef="StartEvent_0xtpw6j" targetRef="ScriptTask_0xk9fk3" />
36 <bpmn2:sequenceFlow id="SequenceFlow_17mr4jl" name="" sourceRef="ScriptTask_0xk9fk3" targetRef="EndEvent_05a2pr9" />
38 <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0se5nzs" name="GoTo Decompose_Service_Original">
39 <bpmn2:incoming>SequenceFlow_0enm2cg</bpmn2:incoming>
40 <bpmn2:linkEventDefinition name="Decompose_Service_Original" />
41 </bpmn2:intermediateThrowEvent>
42 <bpmn2:scriptTask id="ScriptTask_1odhh8p" name="PostProcess Decompose Service " scriptFormat="groovy">
43 <bpmn2:incoming>SequenceFlow_1pe6r93</bpmn2:incoming>
44 <bpmn2:outgoing>SequenceFlow_0enm2cg</bpmn2:outgoing>
45 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
46 def dcsi= new DoCompareModelVersions()
47 dcsi.processDecomposition_Target(execution)]]></bpmn2:script>
49 <bpmn2:callActivity id="CallActivity_1va14ul" name="Call Decompose Service" calledElement="DecomposeService">
50 <bpmn2:extensionElements>
51 <camunda:in source="msoRequestId" target="msoRequestId" />
52 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
53 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
54 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
55 <camunda:out source="serviceDecomposition" target="serviceDecomposition" />
56 <camunda:out source="WorkflowException" target="WorkflowException" />
57 </bpmn2:extensionElements>
58 <bpmn2:incoming>SequenceFlow_1lta49u</bpmn2:incoming>
59 <bpmn2:outgoing>SequenceFlow_1pe6r93</bpmn2:outgoing>
61 <bpmn2:scriptTask id="ScriptTask_1fau2rr" name="Prepare Decompose Service " scriptFormat="groovy">
62 <bpmn2:incoming>SequenceFlow_0frea3k</bpmn2:incoming>
63 <bpmn2:outgoing>SequenceFlow_1lta49u</bpmn2:outgoing>
64 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
65 def dcsi= new DoCompareModelVersions()
66 dcsi.prepareDecomposeService_Target(execution)]]></bpmn2:script>
68 <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_07fy2ke" name="Decompose_Service_Target">
69 <bpmn2:outgoing>SequenceFlow_0frea3k</bpmn2:outgoing>
70 <bpmn2:linkEventDefinition name="Decompose_Service_Target" />
71 </bpmn2:intermediateCatchEvent>
72 <bpmn2:sequenceFlow id="SequenceFlow_1pe6r93" sourceRef="CallActivity_1va14ul" targetRef="ScriptTask_1odhh8p" />
73 <bpmn2:sequenceFlow id="SequenceFlow_0enm2cg" sourceRef="ScriptTask_1odhh8p" targetRef="IntermediateThrowEvent_0se5nzs" />
74 <bpmn2:sequenceFlow id="SequenceFlow_1lta49u" sourceRef="ScriptTask_1fau2rr" targetRef="CallActivity_1va14ul" />
75 <bpmn2:sequenceFlow id="SequenceFlow_0frea3k" sourceRef="IntermediateCatchEvent_07fy2ke" targetRef="ScriptTask_1fau2rr" />
76 <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0b436w1" name="GoTo StartCompare">
77 <bpmn2:incoming>SequenceFlow_08zjjzw</bpmn2:incoming>
78 <bpmn2:linkEventDefinition name="StartCompare" />
79 </bpmn2:intermediateThrowEvent>
80 <bpmn2:scriptTask id="ScriptTask_1d9qb54" name="PostProcess Decompose Service " scriptFormat="groovy">
81 <bpmn2:incoming>SequenceFlow_1wudpuj</bpmn2:incoming>
82 <bpmn2:outgoing>SequenceFlow_08zjjzw</bpmn2:outgoing>
83 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
84 def dcsi= new DoCompareModelVersions()
85 dcsi.processDecomposition_Original(execution)]]></bpmn2:script>
87 <bpmn2:callActivity id="CallActivity_1fc56sd" name="Call Decompose Service" calledElement="DecomposeService">
88 <bpmn2:extensionElements>
89 <camunda:in source="msoRequestId" target="msoRequestId" />
90 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
91 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
92 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
93 <camunda:out source="serviceDecomposition" target="serviceDecomposition" />
94 <camunda:out source="WorkflowException" target="WorkflowException" />
95 </bpmn2:extensionElements>
96 <bpmn2:incoming>SequenceFlow_04ciw70</bpmn2:incoming>
97 <bpmn2:outgoing>SequenceFlow_1wudpuj</bpmn2:outgoing>
99 <bpmn2:scriptTask id="ScriptTask_1i06996" name="Prepare Decompose Service " scriptFormat="groovy">
100 <bpmn2:incoming>SequenceFlow_1fgkvpr</bpmn2:incoming>
101 <bpmn2:outgoing>SequenceFlow_04ciw70</bpmn2:outgoing>
102 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
103 def dcsi= new DoCompareModelVersions()
104 dcsi.prepareDecomposeService_Original(execution)]]></bpmn2:script>
106 <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1m9q0j7" name="Decompose_Service_Original">
107 <bpmn2:outgoing>SequenceFlow_1fgkvpr</bpmn2:outgoing>
108 <bpmn2:linkEventDefinition name="Decompose_Service_Original" />
109 </bpmn2:intermediateCatchEvent>
110 <bpmn2:sequenceFlow id="SequenceFlow_08zjjzw" sourceRef="ScriptTask_1d9qb54" targetRef="IntermediateThrowEvent_0b436w1" />
111 <bpmn2:sequenceFlow id="SequenceFlow_1wudpuj" sourceRef="CallActivity_1fc56sd" targetRef="ScriptTask_1d9qb54" />
112 <bpmn2:sequenceFlow id="SequenceFlow_04ciw70" sourceRef="ScriptTask_1i06996" targetRef="CallActivity_1fc56sd" />
113 <bpmn2:sequenceFlow id="SequenceFlow_1fgkvpr" sourceRef="IntermediateCatchEvent_1m9q0j7" targetRef="ScriptTask_1i06996" />
114 <bpmn2:startEvent id="StartEvent_13da9hl" name="Start Flow">
115 <bpmn2:outgoing>SequenceFlow_1chfao3</bpmn2:outgoing>
117 <bpmn2:scriptTask id="ScriptTask_0nie46r" name="PreProcess Incoming Request" scriptFormat="groovy">
118 <bpmn2:incoming>SequenceFlow_1chfao3</bpmn2:incoming>
119 <bpmn2:outgoing>SequenceFlow_164yb3r</bpmn2:outgoing>
120 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
121 def dcsi = new DoCompareModelVersions()
122 dcsi.preProcessRequest(execution)
125 <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1dhdmdy" name="GoTo Decompose_Service_Target">
126 <bpmn2:incoming>SequenceFlow_164yb3r</bpmn2:incoming>
127 <bpmn2:linkEventDefinition name="Decompose_Service_Target" />
128 </bpmn2:intermediateThrowEvent>
129 <bpmn2:sequenceFlow id="SequenceFlow_1chfao3" name="" sourceRef="StartEvent_13da9hl" targetRef="ScriptTask_0nie46r" />
130 <bpmn2:sequenceFlow id="SequenceFlow_164yb3r" name="" sourceRef="ScriptTask_0nie46r" targetRef="IntermediateThrowEvent_1dhdmdy" />
132 <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
133 <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
134 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
135 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCompareModelVersions">
136 <bpmndi:BPMNShape id="ScriptTask_04rn9mp_di" bpmnElement="ScriptTask_04rn9mp">
137 <dc:Bounds x="426" y="426" width="100" height="80" />
139 <bpmndi:BPMNEdge id="SequenceFlow_1rebkae_di" bpmnElement="SequenceFlow_1rebkae">
140 <di:waypoint xsi:type="dc:Point" x="10" y="466" />
141 <di:waypoint xsi:type="dc:Point" x="426" y="466" />
143 <dc:Bounds x="173" y="445" width="90" height="12" />
146 <bpmndi:BPMNShape id="IntermediateCatchEvent_05z1jyy_di" bpmnElement="StartEvent_0jhv664">
147 <dc:Bounds x="-26" y="448" width="36" height="36" />
149 <dc:Bounds x="-42" y="488" width="68" height="12" />
152 <bpmndi:BPMNShape id="EndEvent_0x8im5g_di" bpmnElement="EndEvent_0x8im5g">
153 <dc:Bounds x="1040" y="448" width="36" height="36" />
155 <dc:Bounds x="1013" y="488" width="90" height="12" />
158 <bpmndi:BPMNEdge id="SequenceFlow_1lkpfe2_di" bpmnElement="SequenceFlow_1lkpfe2">
159 <di:waypoint xsi:type="dc:Point" x="526" y="466" />
160 <di:waypoint xsi:type="dc:Point" x="1040" y="466" />
162 <dc:Bounds x="738" y="445" width="90" height="12" />
165 <bpmndi:BPMNShape id="SubProcess_0roysbg_di" bpmnElement="SubProcess_0roysbg" isExpanded="true">
166 <dc:Bounds x="221" y="751" width="467" height="193" />
168 <bpmndi:BPMNShape id="StartEvent_0xtpw6j_di" bpmnElement="StartEvent_0xtpw6j">
169 <dc:Bounds x="289" y="818" width="36" height="36" />
171 <dc:Bounds x="172" y="859" width="90" height="12" />
174 <bpmndi:BPMNShape id="EndEvent_05a2pr9_di" bpmnElement="EndEvent_05a2pr9">
175 <dc:Bounds x="582" y="818" width="36" height="36" />
177 <dc:Bounds x="465" y="859" width="90" height="12" />
180 <bpmndi:BPMNShape id="ScriptTask_0xk9fk3_di" bpmnElement="ScriptTask_0xk9fk3">
181 <dc:Bounds x="393" y="796" width="100" height="80" />
183 <bpmndi:BPMNEdge id="SequenceFlow_19sogyb_di" bpmnElement="SequenceFlow_19sogyb">
184 <di:waypoint xsi:type="dc:Point" x="325" y="836" />
185 <di:waypoint xsi:type="dc:Point" x="393" y="836" />
187 <dc:Bounds x="224" y="821" width="90" height="12" />
190 <bpmndi:BPMNEdge id="SequenceFlow_17mr4jl_di" bpmnElement="SequenceFlow_17mr4jl">
191 <di:waypoint xsi:type="dc:Point" x="493" y="836" />
192 <di:waypoint xsi:type="dc:Point" x="582" y="836" />
194 <dc:Bounds x="405" y="821" width="90" height="12" />
197 <bpmndi:BPMNShape id="IntermediateThrowEvent_0se5nzs_di" bpmnElement="IntermediateThrowEvent_0se5nzs">
198 <dc:Bounds x="1048" y="189" width="36" height="36" />
200 <dc:Bounds x="1022" y="230" width="88" height="36" />
203 <bpmndi:BPMNShape id="ScriptTask_1odhh8p_di" bpmnElement="ScriptTask_1odhh8p">
204 <dc:Bounds x="711" y="167" width="100" height="80" />
206 <bpmndi:BPMNShape id="CallActivity_1va14ul_di" bpmnElement="CallActivity_1va14ul">
207 <dc:Bounds x="426" y="167" width="100" height="80" />
209 <bpmndi:BPMNShape id="ScriptTask_1fau2rr_di" bpmnElement="ScriptTask_1fau2rr">
210 <dc:Bounds x="144" y="167" width="100" height="80" />
212 <bpmndi:BPMNShape id="IntermediateCatchEvent_07fy2ke_di" bpmnElement="IntermediateCatchEvent_07fy2ke">
213 <dc:Bounds x="-26" y="189" width="36" height="36" />
215 <dc:Bounds x="-49" y="225" width="88" height="24" />
218 <bpmndi:BPMNEdge id="SequenceFlow_1pe6r93_di" bpmnElement="SequenceFlow_1pe6r93">
219 <di:waypoint xsi:type="dc:Point" x="526" y="207" />
220 <di:waypoint xsi:type="dc:Point" x="711" y="207" />
222 <dc:Bounds x="573.5" y="186" width="90" height="12" />
225 <bpmndi:BPMNEdge id="SequenceFlow_0enm2cg_di" bpmnElement="SequenceFlow_0enm2cg">
226 <di:waypoint xsi:type="dc:Point" x="811" y="207" />
227 <di:waypoint xsi:type="dc:Point" x="906" y="207" />
228 <di:waypoint xsi:type="dc:Point" x="906" y="207" />
229 <di:waypoint xsi:type="dc:Point" x="1048" y="207" />
231 <dc:Bounds x="876" y="201" width="90" height="12" />
234 <bpmndi:BPMNEdge id="SequenceFlow_1lta49u_di" bpmnElement="SequenceFlow_1lta49u">
235 <di:waypoint xsi:type="dc:Point" x="244" y="207" />
236 <di:waypoint xsi:type="dc:Point" x="426" y="207" />
238 <dc:Bounds x="290" y="186" width="0" height="12" />
241 <bpmndi:BPMNEdge id="SequenceFlow_0frea3k_di" bpmnElement="SequenceFlow_0frea3k">
242 <di:waypoint xsi:type="dc:Point" x="10" y="207" />
243 <di:waypoint xsi:type="dc:Point" x="144" y="207" />
245 <dc:Bounds x="32" y="186" width="0" height="12" />
248 <bpmndi:BPMNShape id="IntermediateThrowEvent_0b436w1_di" bpmnElement="IntermediateThrowEvent_0b436w1">
249 <dc:Bounds x="1047" y="311" width="36" height="36" />
251 <dc:Bounds x="1032" y="352" width="68" height="24" />
254 <bpmndi:BPMNShape id="ScriptTask_1d9qb54_di" bpmnElement="ScriptTask_1d9qb54">
255 <dc:Bounds x="711" y="290" width="100" height="80" />
257 <bpmndi:BPMNShape id="CallActivity_1fc56sd_di" bpmnElement="CallActivity_1fc56sd">
258 <dc:Bounds x="426" y="290" width="100" height="80" />
260 <bpmndi:BPMNShape id="ScriptTask_1i06996_di" bpmnElement="ScriptTask_1i06996">
261 <dc:Bounds x="144" y="290" width="100" height="80" />
263 <bpmndi:BPMNShape id="IntermediateCatchEvent_1m9q0j7_di" bpmnElement="IntermediateCatchEvent_1m9q0j7">
264 <dc:Bounds x="-26" y="312" width="36" height="36" />
266 <dc:Bounds x="-50" y="348" width="88" height="24" />
269 <bpmndi:BPMNEdge id="SequenceFlow_08zjjzw_di" bpmnElement="SequenceFlow_08zjjzw">
270 <di:waypoint xsi:type="dc:Point" x="811" y="330" />
271 <di:waypoint xsi:type="dc:Point" x="1047" y="329" />
273 <dc:Bounds x="929" y="308.5" width="0" height="12" />
276 <bpmndi:BPMNEdge id="SequenceFlow_1wudpuj_di" bpmnElement="SequenceFlow_1wudpuj">
277 <di:waypoint xsi:type="dc:Point" x="526" y="330" />
278 <di:waypoint xsi:type="dc:Point" x="711" y="330" />
280 <dc:Bounds x="618.5" y="309" width="0" height="12" />
283 <bpmndi:BPMNEdge id="SequenceFlow_04ciw70_di" bpmnElement="SequenceFlow_04ciw70">
284 <di:waypoint xsi:type="dc:Point" x="244" y="330" />
285 <di:waypoint xsi:type="dc:Point" x="426" y="330" />
287 <dc:Bounds x="245" y="309" width="0" height="12" />
290 <bpmndi:BPMNEdge id="SequenceFlow_1fgkvpr_di" bpmnElement="SequenceFlow_1fgkvpr">
291 <di:waypoint xsi:type="dc:Point" x="10" y="330" />
292 <di:waypoint xsi:type="dc:Point" x="144" y="330" />
294 <dc:Bounds x="-13" y="309" width="0" height="12" />
297 <bpmndi:BPMNShape id="StartEvent_13da9hl_di" bpmnElement="StartEvent_13da9hl">
298 <dc:Bounds x="-20" y="83" width="36" height="36" />
300 <dc:Bounds x="-26" y="124" width="50" height="12" />
303 <bpmndi:BPMNShape id="ScriptTask_0nie46r_di" bpmnElement="ScriptTask_0nie46r">
304 <dc:Bounds x="340" y="61" width="100" height="80" />
306 <bpmndi:BPMNShape id="IntermediateThrowEvent_1dhdmdy_di" bpmnElement="IntermediateThrowEvent_1dhdmdy">
307 <dc:Bounds x="1048" y="83" width="36" height="36" />
309 <dc:Bounds x="1023" y="123" width="88" height="36" />
312 <bpmndi:BPMNEdge id="SequenceFlow_1chfao3_di" bpmnElement="SequenceFlow_1chfao3">
313 <di:waypoint xsi:type="dc:Point" x="16" y="101" />
314 <di:waypoint xsi:type="dc:Point" x="181" y="101" />
315 <di:waypoint xsi:type="dc:Point" x="181" y="101" />
316 <di:waypoint xsi:type="dc:Point" x="340" y="101" />
318 <dc:Bounds x="196" y="95" width="0" height="12" />
321 <bpmndi:BPMNEdge id="SequenceFlow_164yb3r_di" bpmnElement="SequenceFlow_164yb3r">
322 <di:waypoint xsi:type="dc:Point" x="440" y="101" />
323 <di:waypoint xsi:type="dc:Point" x="1048" y="101" />
325 <dc:Bounds x="744" y="80" width="0" height="12" />
329 </bpmndi:BPMNDiagram>