Zhuoyao Huang | 42e2d39 | 2019-04-09 20:46:05 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_MagIIMOUEeW8asg-vCEgWQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"> |
| 3 | <bpmn2:process id="DoCompareServiceInstanceData" name="DoCompareServiceInstanceData" isExecutable="true"> |
| 4 | <bpmn2:scriptTask id="ScriptTask_04rn9mp" name="DoCompareServiceInstanceData" scriptFormat="groovy"> |
| 5 | <bpmn2:incoming>SequenceFlow_1rebkae</bpmn2:incoming> |
| 6 | <bpmn2:outgoing>SequenceFlow_1lkpfe2</bpmn2:outgoing> |
| 7 | <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 8 | def csi = new DoCompareServiceInstanceData() |
| 9 | csi.doCompareUuiRquestInput(execution)]]></bpmn2:script> |
| 10 | </bpmn2:scriptTask> |
| 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> |
| 18 | </bpmn2:endEvent> |
| 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 /> |
| 24 | </bpmn2:startEvent> |
| 25 | <bpmn2:endEvent id="EndEvent_05a2pr9"> |
| 26 | <bpmn2:incoming>SequenceFlow_17mr4jl</bpmn2:incoming> |
| 27 | </bpmn2:endEvent> |
| 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.onap.so.bpmn.common.scripts.* |
| 32 | ExceptionUtil ex = new ExceptionUtil() |
| 33 | ex.processJavaException(execution)]]></bpmn2:script> |
| 34 | </bpmn2:scriptTask> |
| 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" /> |
| 37 | </bpmn2:subProcess> |
| 38 | <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0se5nzs" name="GoTo Decompose_Service_Original"> |
| 39 | <bpmn2:incoming>SequenceFlow_1o9916j</bpmn2:incoming> |
| 40 | <bpmn2:linkEventDefinition name="Decompose_Service_Original" /> |
| 41 | </bpmn2:intermediateThrowEvent> |
| 42 | <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0b436w1" name="GoTo StartCompare"> |
| 43 | <bpmn2:incoming>SequenceFlow_08zjjzw</bpmn2:incoming> |
| 44 | <bpmn2:linkEventDefinition name="StartCompare" /> |
| 45 | </bpmn2:intermediateThrowEvent> |
| 46 | <bpmn2:scriptTask id="ScriptTask_1d9qb54" name="PostProcess Decompose Service " scriptFormat="groovy"> |
| 47 | <bpmn2:incoming>SequenceFlow_1wudpuj</bpmn2:incoming> |
| 48 | <bpmn2:outgoing>SequenceFlow_08zjjzw</bpmn2:outgoing> |
| 49 | <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 50 | def dcsi= new DoCompareServiceInstanceData() |
| 51 | dcsi.processDecomposition_Original(execution)]]></bpmn2:script> |
| 52 | </bpmn2:scriptTask> |
| 53 | <bpmn2:callActivity id="CallActivity_1fc56sd" name="Call Decompose Service" calledElement="DecomposeService"> |
| 54 | <bpmn2:extensionElements> |
| 55 | <camunda:in source="msoRequestId" target="msoRequestId" /> |
| 56 | <camunda:in source="serviceInstanceId" target="serviceInstanceId" /> |
| 57 | <camunda:in source="serviceModelInfo_Original" target="serviceModelInfo" /> |
| 58 | <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" /> |
| 59 | <camunda:out source="serviceDecomposition" target="serviceDecomposition" /> |
| 60 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 61 | </bpmn2:extensionElements> |
| 62 | <bpmn2:incoming>SequenceFlow_04ciw70</bpmn2:incoming> |
| 63 | <bpmn2:outgoing>SequenceFlow_1wudpuj</bpmn2:outgoing> |
| 64 | </bpmn2:callActivity> |
| 65 | <bpmn2:scriptTask id="ScriptTask_1i06996" name="Prepare Decompose Service " scriptFormat="groovy"> |
| 66 | <bpmn2:incoming>SequenceFlow_1fgkvpr</bpmn2:incoming> |
| 67 | <bpmn2:outgoing>SequenceFlow_04ciw70</bpmn2:outgoing> |
| 68 | <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 69 | def dcsi= new DoCompareServiceInstanceData() |
| 70 | dcsi.prepareDecomposeService_Original(execution)]]></bpmn2:script> |
| 71 | </bpmn2:scriptTask> |
| 72 | <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1m9q0j7" name="Decompose_Service_Original"> |
| 73 | <bpmn2:outgoing>SequenceFlow_1fgkvpr</bpmn2:outgoing> |
| 74 | <bpmn2:linkEventDefinition name="Decompose_Service_Original" /> |
| 75 | </bpmn2:intermediateCatchEvent> |
| 76 | <bpmn2:sequenceFlow id="SequenceFlow_08zjjzw" sourceRef="ScriptTask_1d9qb54" targetRef="IntermediateThrowEvent_0b436w1" /> |
| 77 | <bpmn2:sequenceFlow id="SequenceFlow_1wudpuj" sourceRef="CallActivity_1fc56sd" targetRef="ScriptTask_1d9qb54" /> |
| 78 | <bpmn2:sequenceFlow id="SequenceFlow_04ciw70" sourceRef="ScriptTask_1i06996" targetRef="CallActivity_1fc56sd" /> |
| 79 | <bpmn2:sequenceFlow id="SequenceFlow_1fgkvpr" sourceRef="IntermediateCatchEvent_1m9q0j7" targetRef="ScriptTask_1i06996" /> |
| 80 | <bpmn2:startEvent id="StartEvent_13da9hl" name="Start Flow"> |
| 81 | <bpmn2:outgoing>SequenceFlow_1chfao3</bpmn2:outgoing> |
| 82 | </bpmn2:startEvent> |
| 83 | <bpmn2:scriptTask id="ScriptTask_0nie46r" name="PreProcess Incoming Request" scriptFormat="groovy"> |
| 84 | <bpmn2:incoming>SequenceFlow_1chfao3</bpmn2:incoming> |
| 85 | <bpmn2:outgoing>SequenceFlow_1o9916j</bpmn2:outgoing> |
| 86 | <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 87 | def dcsi = new DoCompareServiceInstanceData() |
| 88 | dcsi.preProcessRequest(execution) |
| 89 | ]]></bpmn2:script> |
| 90 | </bpmn2:scriptTask> |
| 91 | <bpmn2:sequenceFlow id="SequenceFlow_1chfao3" name="" sourceRef="StartEvent_13da9hl" targetRef="ScriptTask_0nie46r" /> |
| 92 | <bpmn2:sequenceFlow id="SequenceFlow_1o9916j" sourceRef="ScriptTask_0nie46r" targetRef="IntermediateThrowEvent_0se5nzs" /> |
| 93 | </bpmn2:process> |
| 94 | <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> |
| 95 | <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" /> |
| 96 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 97 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCompareServiceInstanceData"> |
| 98 | <bpmndi:BPMNShape id="ScriptTask_04rn9mp_di" bpmnElement="ScriptTask_04rn9mp"> |
| 99 | <dc:Bounds x="426" y="426" width="100" height="80" /> |
| 100 | </bpmndi:BPMNShape> |
| 101 | <bpmndi:BPMNEdge id="SequenceFlow_1rebkae_di" bpmnElement="SequenceFlow_1rebkae"> |
| 102 | <di:waypoint xsi:type="dc:Point" x="10" y="466" /> |
| 103 | <di:waypoint xsi:type="dc:Point" x="426" y="466" /> |
| 104 | <bpmndi:BPMNLabel> |
| 105 | <dc:Bounds x="173" y="445" width="90" height="12" /> |
| 106 | </bpmndi:BPMNLabel> |
| 107 | </bpmndi:BPMNEdge> |
| 108 | <bpmndi:BPMNShape id="IntermediateCatchEvent_05z1jyy_di" bpmnElement="StartEvent_0jhv664"> |
| 109 | <dc:Bounds x="-26" y="448" width="36" height="36" /> |
| 110 | <bpmndi:BPMNLabel> |
| 111 | <dc:Bounds x="-42" y="488" width="68" height="12" /> |
| 112 | </bpmndi:BPMNLabel> |
| 113 | </bpmndi:BPMNShape> |
| 114 | <bpmndi:BPMNShape id="EndEvent_0x8im5g_di" bpmnElement="EndEvent_0x8im5g"> |
| 115 | <dc:Bounds x="1040" y="448" width="36" height="36" /> |
| 116 | <bpmndi:BPMNLabel> |
| 117 | <dc:Bounds x="1013" y="488" width="90" height="12" /> |
| 118 | </bpmndi:BPMNLabel> |
| 119 | </bpmndi:BPMNShape> |
| 120 | <bpmndi:BPMNEdge id="SequenceFlow_1lkpfe2_di" bpmnElement="SequenceFlow_1lkpfe2"> |
| 121 | <di:waypoint xsi:type="dc:Point" x="526" y="466" /> |
| 122 | <di:waypoint xsi:type="dc:Point" x="1040" y="466" /> |
| 123 | <bpmndi:BPMNLabel> |
| 124 | <dc:Bounds x="738" y="445" width="90" height="12" /> |
| 125 | </bpmndi:BPMNLabel> |
| 126 | </bpmndi:BPMNEdge> |
| 127 | <bpmndi:BPMNShape id="SubProcess_0roysbg_di" bpmnElement="SubProcess_0roysbg" isExpanded="true"> |
| 128 | <dc:Bounds x="221" y="751" width="467" height="193" /> |
| 129 | </bpmndi:BPMNShape> |
| 130 | <bpmndi:BPMNShape id="StartEvent_0xtpw6j_di" bpmnElement="StartEvent_0xtpw6j"> |
| 131 | <dc:Bounds x="289" y="818" width="36" height="36" /> |
| 132 | <bpmndi:BPMNLabel> |
| 133 | <dc:Bounds x="172" y="859" width="90" height="12" /> |
| 134 | </bpmndi:BPMNLabel> |
| 135 | </bpmndi:BPMNShape> |
| 136 | <bpmndi:BPMNShape id="EndEvent_05a2pr9_di" bpmnElement="EndEvent_05a2pr9"> |
| 137 | <dc:Bounds x="582" y="818" width="36" height="36" /> |
| 138 | <bpmndi:BPMNLabel> |
| 139 | <dc:Bounds x="465" y="859" width="90" height="12" /> |
| 140 | </bpmndi:BPMNLabel> |
| 141 | </bpmndi:BPMNShape> |
| 142 | <bpmndi:BPMNShape id="ScriptTask_0xk9fk3_di" bpmnElement="ScriptTask_0xk9fk3"> |
| 143 | <dc:Bounds x="393" y="796" width="100" height="80" /> |
| 144 | </bpmndi:BPMNShape> |
| 145 | <bpmndi:BPMNEdge id="SequenceFlow_19sogyb_di" bpmnElement="SequenceFlow_19sogyb"> |
| 146 | <di:waypoint xsi:type="dc:Point" x="325" y="836" /> |
| 147 | <di:waypoint xsi:type="dc:Point" x="393" y="836" /> |
| 148 | <bpmndi:BPMNLabel> |
| 149 | <dc:Bounds x="224" y="821" width="90" height="12" /> |
| 150 | </bpmndi:BPMNLabel> |
| 151 | </bpmndi:BPMNEdge> |
| 152 | <bpmndi:BPMNEdge id="SequenceFlow_17mr4jl_di" bpmnElement="SequenceFlow_17mr4jl"> |
| 153 | <di:waypoint xsi:type="dc:Point" x="493" y="836" /> |
| 154 | <di:waypoint xsi:type="dc:Point" x="582" y="836" /> |
| 155 | <bpmndi:BPMNLabel> |
| 156 | <dc:Bounds x="405" y="821" width="90" height="12" /> |
| 157 | </bpmndi:BPMNLabel> |
| 158 | </bpmndi:BPMNEdge> |
| 159 | <bpmndi:BPMNShape id="IntermediateThrowEvent_0se5nzs_di" bpmnElement="IntermediateThrowEvent_0se5nzs"> |
| 160 | <dc:Bounds x="1047" y="83" width="36" height="36" /> |
| 161 | <bpmndi:BPMNLabel> |
| 162 | <dc:Bounds x="1021" y="124" width="88" height="36" /> |
| 163 | </bpmndi:BPMNLabel> |
| 164 | </bpmndi:BPMNShape> |
| 165 | <bpmndi:BPMNShape id="IntermediateThrowEvent_0b436w1_di" bpmnElement="IntermediateThrowEvent_0b436w1"> |
| 166 | <dc:Bounds x="1047" y="311" width="36" height="36" /> |
| 167 | <bpmndi:BPMNLabel> |
| 168 | <dc:Bounds x="1032" y="352" width="68" height="24" /> |
| 169 | </bpmndi:BPMNLabel> |
| 170 | </bpmndi:BPMNShape> |
| 171 | <bpmndi:BPMNShape id="ScriptTask_1d9qb54_di" bpmnElement="ScriptTask_1d9qb54"> |
| 172 | <dc:Bounds x="711" y="290" width="100" height="80" /> |
| 173 | </bpmndi:BPMNShape> |
| 174 | <bpmndi:BPMNShape id="CallActivity_1fc56sd_di" bpmnElement="CallActivity_1fc56sd"> |
| 175 | <dc:Bounds x="426" y="290" width="100" height="80" /> |
| 176 | </bpmndi:BPMNShape> |
| 177 | <bpmndi:BPMNShape id="ScriptTask_1i06996_di" bpmnElement="ScriptTask_1i06996"> |
| 178 | <dc:Bounds x="144" y="290" width="100" height="80" /> |
| 179 | </bpmndi:BPMNShape> |
| 180 | <bpmndi:BPMNShape id="IntermediateCatchEvent_1m9q0j7_di" bpmnElement="IntermediateCatchEvent_1m9q0j7"> |
| 181 | <dc:Bounds x="-26" y="312" width="36" height="36" /> |
| 182 | <bpmndi:BPMNLabel> |
| 183 | <dc:Bounds x="-50" y="348" width="88" height="24" /> |
| 184 | </bpmndi:BPMNLabel> |
| 185 | </bpmndi:BPMNShape> |
| 186 | <bpmndi:BPMNEdge id="SequenceFlow_08zjjzw_di" bpmnElement="SequenceFlow_08zjjzw"> |
| 187 | <di:waypoint xsi:type="dc:Point" x="811" y="330" /> |
| 188 | <di:waypoint xsi:type="dc:Point" x="1047" y="329" /> |
| 189 | <bpmndi:BPMNLabel> |
| 190 | <dc:Bounds x="929" y="308.5" width="0" height="12" /> |
| 191 | </bpmndi:BPMNLabel> |
| 192 | </bpmndi:BPMNEdge> |
| 193 | <bpmndi:BPMNEdge id="SequenceFlow_1wudpuj_di" bpmnElement="SequenceFlow_1wudpuj"> |
| 194 | <di:waypoint xsi:type="dc:Point" x="526" y="330" /> |
| 195 | <di:waypoint xsi:type="dc:Point" x="711" y="330" /> |
| 196 | <bpmndi:BPMNLabel> |
| 197 | <dc:Bounds x="618.5" y="309" width="0" height="12" /> |
| 198 | </bpmndi:BPMNLabel> |
| 199 | </bpmndi:BPMNEdge> |
| 200 | <bpmndi:BPMNEdge id="SequenceFlow_04ciw70_di" bpmnElement="SequenceFlow_04ciw70"> |
| 201 | <di:waypoint xsi:type="dc:Point" x="244" y="330" /> |
| 202 | <di:waypoint xsi:type="dc:Point" x="426" y="330" /> |
| 203 | <bpmndi:BPMNLabel> |
| 204 | <dc:Bounds x="245" y="309" width="0" height="12" /> |
| 205 | </bpmndi:BPMNLabel> |
| 206 | </bpmndi:BPMNEdge> |
| 207 | <bpmndi:BPMNEdge id="SequenceFlow_1fgkvpr_di" bpmnElement="SequenceFlow_1fgkvpr"> |
| 208 | <di:waypoint xsi:type="dc:Point" x="10" y="330" /> |
| 209 | <di:waypoint xsi:type="dc:Point" x="144" y="330" /> |
| 210 | <bpmndi:BPMNLabel> |
| 211 | <dc:Bounds x="-13" y="309" width="0" height="12" /> |
| 212 | </bpmndi:BPMNLabel> |
| 213 | </bpmndi:BPMNEdge> |
| 214 | <bpmndi:BPMNShape id="StartEvent_13da9hl_di" bpmnElement="StartEvent_13da9hl"> |
| 215 | <dc:Bounds x="-20" y="83" width="36" height="36" /> |
| 216 | <bpmndi:BPMNLabel> |
| 217 | <dc:Bounds x="-26" y="124" width="50" height="12" /> |
| 218 | </bpmndi:BPMNLabel> |
| 219 | </bpmndi:BPMNShape> |
| 220 | <bpmndi:BPMNShape id="ScriptTask_0nie46r_di" bpmnElement="ScriptTask_0nie46r"> |
| 221 | <dc:Bounds x="340" y="61" width="100" height="80" /> |
| 222 | </bpmndi:BPMNShape> |
| 223 | <bpmndi:BPMNEdge id="SequenceFlow_1chfao3_di" bpmnElement="SequenceFlow_1chfao3"> |
| 224 | <di:waypoint xsi:type="dc:Point" x="16" y="101" /> |
| 225 | <di:waypoint xsi:type="dc:Point" x="181" y="101" /> |
| 226 | <di:waypoint xsi:type="dc:Point" x="181" y="101" /> |
| 227 | <di:waypoint xsi:type="dc:Point" x="340" y="101" /> |
| 228 | <bpmndi:BPMNLabel> |
| 229 | <dc:Bounds x="196" y="95" width="0" height="12" /> |
| 230 | </bpmndi:BPMNLabel> |
| 231 | </bpmndi:BPMNEdge> |
| 232 | <bpmndi:BPMNEdge id="SequenceFlow_1o9916j_di" bpmnElement="SequenceFlow_1o9916j"> |
| 233 | <di:waypoint xsi:type="dc:Point" x="440" y="101" /> |
| 234 | <di:waypoint xsi:type="dc:Point" x="1047" y="101" /> |
| 235 | <bpmndi:BPMNLabel> |
| 236 | <dc:Bounds x="743.5" y="80" width="0" height="12" /> |
| 237 | </bpmndi:BPMNLabel> |
| 238 | </bpmndi:BPMNEdge> |
| 239 | </bpmndi:BPMNPlane> |
| 240 | </bpmndi:BPMNDiagram> |
| 241 | </bpmn2:definitions> |