Yulian Han | 1d80e9c | 2018-03-23 18:21:50 +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.11.3" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"> |
| 3 | <bpmn2:process id="DoCompareModelofE2EServiceInstance" name="DoCompareModelofE2EServiceInstance" isExecutable="true"> |
| 4 | <bpmn2:sequenceFlow id="SequenceFlow_1rebkae" sourceRef="StartEvent_0jhv664" targetRef="CallActivity_1va14ul" /> |
| 5 | <bpmn2:intermediateCatchEvent id="StartEvent_0jhv664" name="StartCompare"> |
| 6 | <bpmn2:outgoing>SequenceFlow_1rebkae</bpmn2:outgoing> |
| 7 | <bpmn2:linkEventDefinition name="StartCompare" /> |
| 8 | </bpmn2:intermediateCatchEvent> |
| 9 | <bpmn2:endEvent id="EndEvent_0x8im5g"> |
| 10 | <bpmn2:incoming>SequenceFlow_1lkpfe2</bpmn2:incoming> |
| 11 | </bpmn2:endEvent> |
| 12 | <bpmn2:sequenceFlow id="SequenceFlow_1lkpfe2" sourceRef="ScriptTask_1odhh8p" targetRef="EndEvent_0x8im5g" /> |
| 13 | <bpmn2:subProcess id="SubProcess_0roysbg" name="Sub-process for UnexpectedErrors" triggeredByEvent="true"> |
| 14 | <bpmn2:startEvent id="StartEvent_0xtpw6j"> |
| 15 | <bpmn2:outgoing>SequenceFlow_19sogyb</bpmn2:outgoing> |
| 16 | <bpmn2:errorEventDefinition /> |
| 17 | </bpmn2:startEvent> |
| 18 | <bpmn2:endEvent id="EndEvent_05a2pr9"> |
| 19 | <bpmn2:incoming>SequenceFlow_17mr4jl</bpmn2:incoming> |
| 20 | </bpmn2:endEvent> |
| 21 | <bpmn2:scriptTask id="ScriptTask_0xk9fk3" name="Log / Print Unexpected Error" scriptFormat="groovy"> |
| 22 | <bpmn2:incoming>SequenceFlow_19sogyb</bpmn2:incoming> |
| 23 | <bpmn2:outgoing>SequenceFlow_17mr4jl</bpmn2:outgoing> |
| 24 | <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.* |
| 25 | ExceptionUtil ex = new ExceptionUtil() |
| 26 | ex.processJavaException(execution)]]></bpmn2:script> |
| 27 | </bpmn2:scriptTask> |
| 28 | <bpmn2:sequenceFlow id="SequenceFlow_19sogyb" name="" sourceRef="StartEvent_0xtpw6j" targetRef="ScriptTask_0xk9fk3" /> |
| 29 | <bpmn2:sequenceFlow id="SequenceFlow_17mr4jl" name="" sourceRef="ScriptTask_0xk9fk3" targetRef="EndEvent_05a2pr9" /> |
| 30 | </bpmn2:subProcess> |
| 31 | <bpmn2:startEvent id="StartEvent_13da9hl" name="Start Flow"> |
| 32 | <bpmn2:outgoing>SequenceFlow_1chfao3</bpmn2:outgoing> |
| 33 | </bpmn2:startEvent> |
| 34 | <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1dhdmdy" name="GoTo StartCompare"> |
| 35 | <bpmn2:incoming>SequenceFlow_1cpg3ku</bpmn2:incoming> |
| 36 | <bpmn2:linkEventDefinition name="StartCompare" /> |
| 37 | </bpmn2:intermediateThrowEvent> |
| 38 | <bpmn2:sequenceFlow id="SequenceFlow_1chfao3" name="" sourceRef="StartEvent_13da9hl" targetRef="ScriptTask_0ba0el1" /> |
| 39 | <bpmn2:callActivity id="CallActivity_1va14ul" name="Call DoCompareModelVersions" calledElement="DoCompareModelVersions"> |
| 40 | <bpmn2:extensionElements> |
| 41 | <camunda:in source="msoRequestId" target="msoRequestId" /> |
| 42 | <camunda:in source="serviceInstanceId" target="serviceInstanceId" /> |
Yulian Han | 1d80e9c | 2018-03-23 18:21:50 +0800 | [diff] [blame] | 43 | <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" /> |
Yulian Han | 30742c3 | 2018-04-09 15:16:16 +0800 | [diff] [blame] | 44 | <camunda:out source="serviceDecomposition_Target" target="serviceDecomposition_Target" /> |
Yulian Han | 1d80e9c | 2018-03-23 18:21:50 +0800 | [diff] [blame] | 45 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
Yulian Han | 30742c3 | 2018-04-09 15:16:16 +0800 | [diff] [blame] | 46 | <camunda:in source="model-invariant-id-target" target="model-invariant-id-target" /> |
| 47 | <camunda:in source="model-version-id-target" target="model-version-id-target" /> |
| 48 | <camunda:in source="model-invariant-id-original" target="model-invariant-id-original" /> |
| 49 | <camunda:in source="model-version-id-original" target="model-version-id-original" /> |
| 50 | <camunda:out source="addResourceList" target="addResourceList" /> |
| 51 | <camunda:out source="delResourceList" target="delResourceList" /> |
| 52 | <camunda:out source="serviceDecomposition_Original" target="serviceDecomposition_Original" /> |
Yulian Han | 1d80e9c | 2018-03-23 18:21:50 +0800 | [diff] [blame] | 53 | </bpmn2:extensionElements> |
| 54 | <bpmn2:incoming>SequenceFlow_1rebkae</bpmn2:incoming> |
| 55 | <bpmn2:outgoing>SequenceFlow_1pe6r93</bpmn2:outgoing> |
| 56 | </bpmn2:callActivity> |
| 57 | <bpmn2:scriptTask id="ScriptTask_1odhh8p" name="Post for Compare Model Versions " scriptFormat="groovy"> |
| 58 | <bpmn2:incoming>SequenceFlow_1pe6r93</bpmn2:incoming> |
| 59 | <bpmn2:outgoing>SequenceFlow_1lkpfe2</bpmn2:outgoing> |
| 60 | <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.* |
| 61 | def dcsi= new DoCompareModelofE2EServiceInstance() |
| 62 | dcsi.postCompareModelVersions(execution)]]></bpmn2:script> |
| 63 | </bpmn2:scriptTask> |
| 64 | <bpmn2:sequenceFlow id="SequenceFlow_1pe6r93" sourceRef="CallActivity_1va14ul" targetRef="ScriptTask_1odhh8p" /> |
| 65 | <bpmn2:scriptTask id="ScriptTask_0ba0el1" name="PreProcess Incoming Request" scriptFormat="groovy"> |
| 66 | <bpmn2:incoming>SequenceFlow_1chfao3</bpmn2:incoming> |
| 67 | <bpmn2:outgoing>SequenceFlow_1xzphe4</bpmn2:outgoing> |
| 68 | <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.* |
| 69 | def dcsi = new DoCompareModelofE2EServiceInstance() |
| 70 | dcsi.preProcessRequest(execution) |
| 71 | ]]></bpmn2:script> |
| 72 | </bpmn2:scriptTask> |
| 73 | <bpmn2:callActivity id="CallActivity_1a3n88w" name="Call AAI Generic GetService" calledElement="GenericGetService"> |
| 74 | <bpmn2:extensionElements> |
| 75 | <camunda:in source="serviceInstanceId" target="GENGS_serviceInstanceId" /> |
| 76 | <camunda:in sourceExpression="service-instance" target="GENGS_type" /> |
| 77 | <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" /> |
| 78 | <camunda:out source="GENGS_SuccessIndicator" target="GENGS_SuccessIndicator" /> |
| 79 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 80 | <camunda:out source="GENGS_siResourceLink" target="GENGS_siResourceLink" /> |
| 81 | <camunda:out source="GENGS_service" target="GENGS_service" /> |
| 82 | <camunda:in source="globalSubscriberId" target="GENGS_globalCustomerId" /> |
| 83 | <camunda:in source="serviceType" target="GENGS_serviceType" /> |
| 84 | </bpmn2:extensionElements> |
| 85 | <bpmn2:incoming>SequenceFlow_1xzphe4</bpmn2:incoming> |
| 86 | <bpmn2:outgoing>SequenceFlow_0b6eqin</bpmn2:outgoing> |
| 87 | </bpmn2:callActivity> |
| 88 | <bpmn2:scriptTask id="ScriptTask_18k4xnm" name="Post Process AAI GET" scriptFormat="groovy"> |
| 89 | <bpmn2:incoming>SequenceFlow_0b6eqin</bpmn2:incoming> |
| 90 | <bpmn2:outgoing>SequenceFlow_1cpg3ku</bpmn2:outgoing> |
| 91 | <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.* |
| 92 | def dcsi = new DoCompareModelofE2EServiceInstance() |
| 93 | dcsi.postProcessAAIGET(execution)]]></bpmn2:script> |
| 94 | </bpmn2:scriptTask> |
| 95 | <bpmn2:sequenceFlow id="SequenceFlow_1xzphe4" name="" sourceRef="ScriptTask_0ba0el1" targetRef="CallActivity_1a3n88w" /> |
| 96 | <bpmn2:sequenceFlow id="SequenceFlow_0b6eqin" sourceRef="CallActivity_1a3n88w" targetRef="ScriptTask_18k4xnm" /> |
| 97 | <bpmn2:sequenceFlow id="SequenceFlow_1cpg3ku" sourceRef="ScriptTask_18k4xnm" targetRef="IntermediateThrowEvent_1dhdmdy" /> |
| 98 | </bpmn2:process> |
| 99 | <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> |
| 100 | <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" /> |
| 101 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 102 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCompareModelofE2EServiceInstance"> |
| 103 | <bpmndi:BPMNEdge id="SequenceFlow_1rebkae_di" bpmnElement="SequenceFlow_1rebkae"> |
| 104 | <di:waypoint xsi:type="dc:Point" x="6" y="259" /> |
| 105 | <di:waypoint xsi:type="dc:Point" x="363" y="259" /> |
| 106 | <bpmndi:BPMNLabel> |
| 107 | <dc:Bounds x="139.5" y="238" width="90" height="12" /> |
| 108 | </bpmndi:BPMNLabel> |
| 109 | </bpmndi:BPMNEdge> |
| 110 | <bpmndi:BPMNShape id="IntermediateCatchEvent_05z1jyy_di" bpmnElement="StartEvent_0jhv664"> |
| 111 | <dc:Bounds x="-30" y="241" width="36" height="36" /> |
| 112 | <bpmndi:BPMNLabel> |
| 113 | <dc:Bounds x="-46" y="281" width="68" height="12" /> |
| 114 | </bpmndi:BPMNLabel> |
| 115 | </bpmndi:BPMNShape> |
| 116 | <bpmndi:BPMNShape id="EndEvent_0x8im5g_di" bpmnElement="EndEvent_0x8im5g"> |
| 117 | <dc:Bounds x="1038" y="241" width="36" height="36" /> |
| 118 | <bpmndi:BPMNLabel> |
| 119 | <dc:Bounds x="1011" y="281" width="90" height="12" /> |
| 120 | </bpmndi:BPMNLabel> |
| 121 | </bpmndi:BPMNShape> |
| 122 | <bpmndi:BPMNEdge id="SequenceFlow_1lkpfe2_di" bpmnElement="SequenceFlow_1lkpfe2"> |
| 123 | <di:waypoint xsi:type="dc:Point" x="801" y="259" /> |
| 124 | <di:waypoint xsi:type="dc:Point" x="1038" y="259" /> |
| 125 | <bpmndi:BPMNLabel> |
| 126 | <dc:Bounds x="874.5" y="238" width="90" height="12" /> |
| 127 | </bpmndi:BPMNLabel> |
| 128 | </bpmndi:BPMNEdge> |
| 129 | <bpmndi:BPMNShape id="SubProcess_0roysbg_di" bpmnElement="SubProcess_0roysbg" isExpanded="true"> |
| 130 | <dc:Bounds x="216" y="387" width="467" height="193" /> |
| 131 | </bpmndi:BPMNShape> |
| 132 | <bpmndi:BPMNShape id="StartEvent_0xtpw6j_di" bpmnElement="StartEvent_0xtpw6j"> |
| 133 | <dc:Bounds x="284" y="454" width="36" height="36" /> |
| 134 | <bpmndi:BPMNLabel> |
| 135 | <dc:Bounds x="167" y="495" width="90" height="12" /> |
| 136 | </bpmndi:BPMNLabel> |
| 137 | </bpmndi:BPMNShape> |
| 138 | <bpmndi:BPMNShape id="EndEvent_05a2pr9_di" bpmnElement="EndEvent_05a2pr9"> |
| 139 | <dc:Bounds x="577" y="454" width="36" height="36" /> |
| 140 | <bpmndi:BPMNLabel> |
| 141 | <dc:Bounds x="460" y="495" width="90" height="12" /> |
| 142 | </bpmndi:BPMNLabel> |
| 143 | </bpmndi:BPMNShape> |
| 144 | <bpmndi:BPMNShape id="ScriptTask_0xk9fk3_di" bpmnElement="ScriptTask_0xk9fk3"> |
| 145 | <dc:Bounds x="388" y="432" width="100" height="80" /> |
| 146 | </bpmndi:BPMNShape> |
| 147 | <bpmndi:BPMNEdge id="SequenceFlow_19sogyb_di" bpmnElement="SequenceFlow_19sogyb"> |
| 148 | <di:waypoint xsi:type="dc:Point" x="320" y="472" /> |
| 149 | <di:waypoint xsi:type="dc:Point" x="388" y="472" /> |
| 150 | <bpmndi:BPMNLabel> |
| 151 | <dc:Bounds x="219" y="457" width="90" height="12" /> |
| 152 | </bpmndi:BPMNLabel> |
| 153 | </bpmndi:BPMNEdge> |
| 154 | <bpmndi:BPMNEdge id="SequenceFlow_17mr4jl_di" bpmnElement="SequenceFlow_17mr4jl"> |
| 155 | <di:waypoint xsi:type="dc:Point" x="488" y="472" /> |
| 156 | <di:waypoint xsi:type="dc:Point" x="577" y="472" /> |
| 157 | <bpmndi:BPMNLabel> |
| 158 | <dc:Bounds x="400" y="457" width="90" height="12" /> |
| 159 | </bpmndi:BPMNLabel> |
| 160 | </bpmndi:BPMNEdge> |
| 161 | <bpmndi:BPMNShape id="StartEvent_13da9hl_di" bpmnElement="StartEvent_13da9hl"> |
| 162 | <dc:Bounds x="-20" y="83" width="36" height="36" /> |
| 163 | <bpmndi:BPMNLabel> |
| 164 | <dc:Bounds x="-26" y="124" width="50" height="12" /> |
| 165 | </bpmndi:BPMNLabel> |
| 166 | </bpmndi:BPMNShape> |
| 167 | <bpmndi:BPMNShape id="IntermediateThrowEvent_1dhdmdy_di" bpmnElement="IntermediateThrowEvent_1dhdmdy"> |
| 168 | <dc:Bounds x="1048" y="83" width="36" height="36" /> |
| 169 | <bpmndi:BPMNLabel> |
| 170 | <dc:Bounds x="1023" y="123" width="88" height="36" /> |
| 171 | </bpmndi:BPMNLabel> |
| 172 | </bpmndi:BPMNShape> |
| 173 | <bpmndi:BPMNEdge id="SequenceFlow_1chfao3_di" bpmnElement="SequenceFlow_1chfao3"> |
| 174 | <di:waypoint xsi:type="dc:Point" x="16" y="101" /> |
| 175 | <di:waypoint xsi:type="dc:Point" x="211" y="101" /> |
| 176 | <bpmndi:BPMNLabel> |
| 177 | <dc:Bounds x="68.5" y="80" width="90" height="12" /> |
| 178 | </bpmndi:BPMNLabel> |
| 179 | </bpmndi:BPMNEdge> |
| 180 | <bpmndi:BPMNShape id="CallActivity_1va14ul_di" bpmnElement="CallActivity_1va14ul"> |
| 181 | <dc:Bounds x="363" y="219" width="100" height="80" /> |
| 182 | </bpmndi:BPMNShape> |
| 183 | <bpmndi:BPMNShape id="ScriptTask_1odhh8p_di" bpmnElement="ScriptTask_1odhh8p"> |
| 184 | <dc:Bounds x="701" y="219" width="100" height="80" /> |
| 185 | </bpmndi:BPMNShape> |
| 186 | <bpmndi:BPMNEdge id="SequenceFlow_1pe6r93_di" bpmnElement="SequenceFlow_1pe6r93"> |
| 187 | <di:waypoint xsi:type="dc:Point" x="463" y="259" /> |
| 188 | <di:waypoint xsi:type="dc:Point" x="701" y="259" /> |
| 189 | <bpmndi:BPMNLabel> |
| 190 | <dc:Bounds x="537" y="238" width="90" height="12" /> |
| 191 | </bpmndi:BPMNLabel> |
| 192 | </bpmndi:BPMNEdge> |
| 193 | <bpmndi:BPMNShape id="ScriptTask_0ba0el1_di" bpmnElement="ScriptTask_0ba0el1"> |
| 194 | <dc:Bounds x="211" y="61" width="100" height="80" /> |
| 195 | </bpmndi:BPMNShape> |
| 196 | <bpmndi:BPMNShape id="CallActivity_1a3n88w_di" bpmnElement="CallActivity_1a3n88w"> |
| 197 | <dc:Bounds x="499" y="59" width="100" height="80" /> |
| 198 | </bpmndi:BPMNShape> |
| 199 | <bpmndi:BPMNShape id="ScriptTask_18k4xnm_di" bpmnElement="ScriptTask_18k4xnm"> |
| 200 | <dc:Bounds x="776" y="61" width="100" height="80" /> |
| 201 | </bpmndi:BPMNShape> |
| 202 | <bpmndi:BPMNEdge id="SequenceFlow_1xzphe4_di" bpmnElement="SequenceFlow_1xzphe4"> |
| 203 | <di:waypoint xsi:type="dc:Point" x="311" y="101" /> |
| 204 | <di:waypoint xsi:type="dc:Point" x="499" y="99" /> |
| 205 | <bpmndi:BPMNLabel> |
| 206 | <dc:Bounds x="360" y="85" width="0" height="12" /> |
| 207 | </bpmndi:BPMNLabel> |
| 208 | </bpmndi:BPMNEdge> |
| 209 | <bpmndi:BPMNEdge id="SequenceFlow_0b6eqin_di" bpmnElement="SequenceFlow_0b6eqin"> |
| 210 | <di:waypoint xsi:type="dc:Point" x="599" y="99" /> |
| 211 | <di:waypoint xsi:type="dc:Point" x="776" y="101" /> |
| 212 | <bpmndi:BPMNLabel> |
| 213 | <dc:Bounds x="643.5" y="79" width="0" height="12" /> |
| 214 | </bpmndi:BPMNLabel> |
| 215 | </bpmndi:BPMNEdge> |
| 216 | <bpmndi:BPMNEdge id="SequenceFlow_1cpg3ku_di" bpmnElement="SequenceFlow_1cpg3ku"> |
| 217 | <di:waypoint xsi:type="dc:Point" x="876" y="101" /> |
| 218 | <di:waypoint xsi:type="dc:Point" x="968" y="101" /> |
| 219 | <di:waypoint xsi:type="dc:Point" x="968" y="101" /> |
| 220 | <di:waypoint xsi:type="dc:Point" x="1048" y="101" /> |
| 221 | <bpmndi:BPMNLabel> |
| 222 | <dc:Bounds x="983" y="95" width="0" height="12" /> |
| 223 | </bpmndi:BPMNLabel> |
| 224 | </bpmndi:BPMNEdge> |
| 225 | </bpmndi:BPMNPlane> |
| 226 | </bpmndi:BPMNDiagram> |
| 227 | </bpmn2:definitions> |