Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 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"> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 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.onap.so.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" /> |
| 43 | <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" /> |
| 44 | <camunda:out source="serviceDecomposition_Target" target="serviceDecomposition_Target" /> |
| 45 | <camunda:out source="WorkflowException" target="WorkflowException" /> |
| 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" /> |
| 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.onap.so.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.onap.so.bpmn.infrastructure.scripts.* |
| 69 | def dcsi = new DoCompareModelofE2EServiceInstance() |
| 70 | dcsi.preProcessRequest(execution) |
| 71 | ]]></bpmn2:script> |
| 72 | </bpmn2:scriptTask> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 73 | <bpmn2:scriptTask id="ScriptTask_18k4xnm" name=" AAI Query (svc instance) " scriptFormat="groovy"> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 74 | <bpmn2:incoming>SequenceFlow_1xzphe4</bpmn2:incoming> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 75 | <bpmn2:outgoing>SequenceFlow_1cpg3ku</bpmn2:outgoing> |
| 76 | <bpmn2:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 77 | def dcsi = new DoCompareModelofE2EServiceInstance() |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 78 | dcsi.getServiceInstance(execution)]]></bpmn2:script> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 79 | </bpmn2:scriptTask> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 80 | <bpmn2:sequenceFlow id="SequenceFlow_1xzphe4" name="" sourceRef="ScriptTask_0ba0el1" targetRef="ScriptTask_18k4xnm" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 81 | <bpmn2:sequenceFlow id="SequenceFlow_1cpg3ku" sourceRef="ScriptTask_18k4xnm" targetRef="IntermediateThrowEvent_1dhdmdy" /> |
| 82 | </bpmn2:process> |
| 83 | <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> |
| 84 | <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" /> |
| 85 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 86 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCompareModelofE2EServiceInstance"> |
| 87 | <bpmndi:BPMNEdge id="SequenceFlow_1rebkae_di" bpmnElement="SequenceFlow_1rebkae"> |
| 88 | <di:waypoint xsi:type="dc:Point" x="6" y="259" /> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 89 | <di:waypoint xsi:type="dc:Point" x="211" y="259" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 90 | <bpmndi:BPMNLabel> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 91 | <dc:Bounds x="63.5" y="238" width="90" height="12" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 92 | </bpmndi:BPMNLabel> |
| 93 | </bpmndi:BPMNEdge> |
| 94 | <bpmndi:BPMNShape id="IntermediateCatchEvent_05z1jyy_di" bpmnElement="StartEvent_0jhv664"> |
| 95 | <dc:Bounds x="-30" y="241" width="36" height="36" /> |
| 96 | <bpmndi:BPMNLabel> |
| 97 | <dc:Bounds x="-46" y="281" width="68" height="12" /> |
| 98 | </bpmndi:BPMNLabel> |
| 99 | </bpmndi:BPMNShape> |
| 100 | <bpmndi:BPMNShape id="EndEvent_0x8im5g_di" bpmnElement="EndEvent_0x8im5g"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 101 | <dc:Bounds x="912" y="241" width="36" height="36" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 102 | <bpmndi:BPMNLabel> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 103 | <dc:Bounds x="885" y="281" width="90" height="12" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 104 | </bpmndi:BPMNLabel> |
| 105 | </bpmndi:BPMNShape> |
| 106 | <bpmndi:BPMNEdge id="SequenceFlow_1lkpfe2_di" bpmnElement="SequenceFlow_1lkpfe2"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 107 | <di:waypoint xsi:type="dc:Point" x="607" y="259" /> |
| 108 | <di:waypoint xsi:type="dc:Point" x="912" y="259" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 109 | <bpmndi:BPMNLabel> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 110 | <dc:Bounds x="714.5" y="238" width="90" height="12" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 111 | </bpmndi:BPMNLabel> |
| 112 | </bpmndi:BPMNEdge> |
| 113 | <bpmndi:BPMNShape id="SubProcess_0roysbg_di" bpmnElement="SubProcess_0roysbg" isExpanded="true"> |
| 114 | <dc:Bounds x="216" y="387" width="467" height="193" /> |
| 115 | </bpmndi:BPMNShape> |
| 116 | <bpmndi:BPMNShape id="StartEvent_0xtpw6j_di" bpmnElement="StartEvent_0xtpw6j"> |
| 117 | <dc:Bounds x="284" y="454" width="36" height="36" /> |
| 118 | <bpmndi:BPMNLabel> |
| 119 | <dc:Bounds x="167" y="495" width="90" height="12" /> |
| 120 | </bpmndi:BPMNLabel> |
| 121 | </bpmndi:BPMNShape> |
| 122 | <bpmndi:BPMNShape id="EndEvent_05a2pr9_di" bpmnElement="EndEvent_05a2pr9"> |
| 123 | <dc:Bounds x="577" y="454" width="36" height="36" /> |
| 124 | <bpmndi:BPMNLabel> |
| 125 | <dc:Bounds x="460" y="495" width="90" height="12" /> |
| 126 | </bpmndi:BPMNLabel> |
| 127 | </bpmndi:BPMNShape> |
| 128 | <bpmndi:BPMNShape id="ScriptTask_0xk9fk3_di" bpmnElement="ScriptTask_0xk9fk3"> |
| 129 | <dc:Bounds x="388" y="432" width="100" height="80" /> |
| 130 | </bpmndi:BPMNShape> |
| 131 | <bpmndi:BPMNEdge id="SequenceFlow_19sogyb_di" bpmnElement="SequenceFlow_19sogyb"> |
| 132 | <di:waypoint xsi:type="dc:Point" x="320" y="472" /> |
| 133 | <di:waypoint xsi:type="dc:Point" x="388" y="472" /> |
| 134 | <bpmndi:BPMNLabel> |
| 135 | <dc:Bounds x="219" y="457" width="90" height="12" /> |
| 136 | </bpmndi:BPMNLabel> |
| 137 | </bpmndi:BPMNEdge> |
| 138 | <bpmndi:BPMNEdge id="SequenceFlow_17mr4jl_di" bpmnElement="SequenceFlow_17mr4jl"> |
| 139 | <di:waypoint xsi:type="dc:Point" x="488" y="472" /> |
| 140 | <di:waypoint xsi:type="dc:Point" x="577" y="472" /> |
| 141 | <bpmndi:BPMNLabel> |
| 142 | <dc:Bounds x="400" y="457" width="90" height="12" /> |
| 143 | </bpmndi:BPMNLabel> |
| 144 | </bpmndi:BPMNEdge> |
| 145 | <bpmndi:BPMNShape id="StartEvent_13da9hl_di" bpmnElement="StartEvent_13da9hl"> |
| 146 | <dc:Bounds x="-20" y="83" width="36" height="36" /> |
| 147 | <bpmndi:BPMNLabel> |
| 148 | <dc:Bounds x="-26" y="124" width="50" height="12" /> |
| 149 | </bpmndi:BPMNLabel> |
| 150 | </bpmndi:BPMNShape> |
| 151 | <bpmndi:BPMNShape id="IntermediateThrowEvent_1dhdmdy_di" bpmnElement="IntermediateThrowEvent_1dhdmdy"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 152 | <dc:Bounds x="853" y="83" width="36" height="36" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 153 | <bpmndi:BPMNLabel> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 154 | <dc:Bounds x="838" y="123" width="68" height="24" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 155 | </bpmndi:BPMNLabel> |
| 156 | </bpmndi:BPMNShape> |
| 157 | <bpmndi:BPMNEdge id="SequenceFlow_1chfao3_di" bpmnElement="SequenceFlow_1chfao3"> |
| 158 | <di:waypoint xsi:type="dc:Point" x="16" y="101" /> |
| 159 | <di:waypoint xsi:type="dc:Point" x="211" y="101" /> |
| 160 | <bpmndi:BPMNLabel> |
| 161 | <dc:Bounds x="68.5" y="80" width="90" height="12" /> |
| 162 | </bpmndi:BPMNLabel> |
| 163 | </bpmndi:BPMNEdge> |
| 164 | <bpmndi:BPMNShape id="CallActivity_1va14ul_di" bpmnElement="CallActivity_1va14ul"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 165 | <dc:Bounds x="211" y="219" width="100" height="80" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 166 | </bpmndi:BPMNShape> |
| 167 | <bpmndi:BPMNShape id="ScriptTask_1odhh8p_di" bpmnElement="ScriptTask_1odhh8p"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 168 | <dc:Bounds x="507" y="219" width="100" height="80" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 169 | </bpmndi:BPMNShape> |
| 170 | <bpmndi:BPMNEdge id="SequenceFlow_1pe6r93_di" bpmnElement="SequenceFlow_1pe6r93"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 171 | <di:waypoint xsi:type="dc:Point" x="311" y="259" /> |
| 172 | <di:waypoint xsi:type="dc:Point" x="507" y="259" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 173 | <bpmndi:BPMNLabel> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 174 | <dc:Bounds x="364" y="238" width="90" height="12" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 175 | </bpmndi:BPMNLabel> |
| 176 | </bpmndi:BPMNEdge> |
| 177 | <bpmndi:BPMNShape id="ScriptTask_0ba0el1_di" bpmnElement="ScriptTask_0ba0el1"> |
| 178 | <dc:Bounds x="211" y="61" width="100" height="80" /> |
| 179 | </bpmndi:BPMNShape> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 180 | <bpmndi:BPMNShape id="ScriptTask_18k4xnm_di" bpmnElement="ScriptTask_18k4xnm"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 181 | <dc:Bounds x="507" y="61" width="100" height="80" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 182 | </bpmndi:BPMNShape> |
| 183 | <bpmndi:BPMNEdge id="SequenceFlow_1xzphe4_di" bpmnElement="SequenceFlow_1xzphe4"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 184 | <di:waypoint xsi:type="dc:Point" x="311" y="102" /> |
| 185 | <di:waypoint xsi:type="dc:Point" x="507" y="101" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 186 | <bpmndi:BPMNLabel> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 187 | <dc:Bounds x="364" y="80.5" width="90" height="12" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 188 | </bpmndi:BPMNLabel> |
| 189 | </bpmndi:BPMNEdge> |
| 190 | <bpmndi:BPMNEdge id="SequenceFlow_1cpg3ku_di" bpmnElement="SequenceFlow_1cpg3ku"> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 191 | <di:waypoint xsi:type="dc:Point" x="607" y="101" /> |
| 192 | <di:waypoint xsi:type="dc:Point" x="853" y="101" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 193 | <bpmndi:BPMNLabel> |
Benjamin, Max (mb388a) | 0bb644b | 2018-08-07 16:06:09 -0400 | [diff] [blame^] | 194 | <dc:Bounds x="685" y="80" width="90" height="12" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 195 | </bpmndi:BPMNLabel> |
| 196 | </bpmndi:BPMNEdge> |
| 197 | </bpmndi:BPMNPlane> |
| 198 | </bpmndi:BPMNDiagram> |
| 199 | </bpmn2:definitions> |