xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [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="_EsMs0HcuEeW2U_kkOHX1ZQ" 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"> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 3 | <bpmn2:process id="CompleteMsoProcess" name="CompleteMsoProcess" isExecutable="true"> |
| 4 | <bpmn2:scriptTask id="preProcessRequest" name="Pre-Process Request" scriptFormat="groovy"> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 5 | <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming> |
| 6 | <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 7 | <bpmn2:script><![CDATA[import org.onap.so.bpmn.common.scripts.* |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 8 | def preProcessRequestData = new CompleteMsoProcess() |
| 9 | preProcessRequestData.preProcessRequest(execution) |
| 10 | |
| 11 | ]]></bpmn2:script> |
| 12 | </bpmn2:scriptTask> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 13 | <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="preProcessRequest" targetRef="ScriptTask_3" /> |
| 14 | <bpmn2:startEvent id="StartEvent_1"> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 15 | <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 16 | <bpmn2:messageEventDefinition id="MessageEventDefinition_1" messageRef="Message_2" /> |
| 17 | </bpmn2:startEvent> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 18 | <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="StartEvent_1" targetRef="preProcessRequest" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 19 | <bpmn2:subProcess id="subProcessExceptionCompleteMSO" name="Sub Process Exception Complete MSO" triggeredByEvent="true"> |
| 20 | <bpmn2:endEvent id="endEventExceptionCompleteMSO"> |
| 21 | <bpmn2:extensionElements> |
| 22 | <camunda:connector> |
| 23 | <camunda:inputOutput> |
| 24 | <camunda:outputParameter name="DB_ADAPTER_ERROR">${CMSO_updateRequestResponse}</camunda:outputParameter> |
| 25 | </camunda:inputOutput> |
| 26 | </camunda:connector> |
| 27 | </bpmn2:extensionElements> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 28 | <bpmn2:incoming>SequenceFlow_1i1h3il</bpmn2:incoming> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 29 | <bpmn2:terminateEventDefinition id="MessageEventDefinition_3" /> |
| 30 | </bpmn2:endEvent> |
| 31 | <bpmn2:startEvent id="startEventExceptionCompleteMSO"> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 32 | <bpmn2:outgoing>SequenceFlow_1i1h3il</bpmn2:outgoing> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 33 | <bpmn2:errorEventDefinition id="ErrorEventDefinition_4" /> |
| 34 | </bpmn2:startEvent> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 35 | <bpmn2:sequenceFlow id="SequenceFlow_1i1h3il" sourceRef="startEventExceptionCompleteMSO" targetRef="endEventExceptionCompleteMSO" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 36 | </bpmn2:subProcess> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 37 | <bpmn2:scriptTask id="ScriptTask_3" name=" MSO Update (infra active req) " scriptFormat="groovy"> |
| 38 | <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming> |
| 39 | <bpmn2:outgoing>SequenceFlow_1oes9qv</bpmn2:outgoing> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 40 | <bpmn2:script><![CDATA[import org.onap.so.bpmn.common.scripts.* |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 41 | def completeMsoProcess = new CompleteMsoProcess() |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 42 | completeMsoProcess.updateInfraRequestDB(execution)]]></bpmn2:script> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 43 | </bpmn2:scriptTask> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 44 | <bpmn2:endEvent id="EndEvent_1"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 45 | <bpmn2:incoming>SequenceFlow_1oes9qv</bpmn2:incoming> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 46 | <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_2" /> |
| 47 | </bpmn2:endEvent> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 48 | <bpmn2:sequenceFlow id="SequenceFlow_1oes9qv" sourceRef="ScriptTask_3" targetRef="EndEvent_1" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 49 | </bpmn2:process> |
| 50 | <bpmn2:message id="Message_2" name="CompleteMsoProcessRequest" /> |
| 51 | <bpmn2:error id="Error_3" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> |
| 52 | <bpmn2:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" /> |
| 53 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 54 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CompleteMsoProcess"> |
| 55 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_41" bpmnElement="StartEvent_1"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 56 | <dc:Bounds x="103" y="156" width="36" height="36" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 57 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 58 | <dc:Bounds x="131" y="197" width="47" height="24" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 59 | </bpmndi:BPMNLabel> |
| 60 | </bpmndi:BPMNShape> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 61 | <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_34" bpmnElement="preProcessRequest"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 62 | <dc:Bounds x="293" y="134" width="100" height="80" /> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 63 | </bpmndi:BPMNShape> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 64 | <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_34" targetElement="_BPMNShape_ScriptTask_88"> |
| 65 | <di:waypoint xsi:type="dc:Point" x="393" y="174" /> |
| 66 | <di:waypoint xsi:type="dc:Point" x="440" y="174" /> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 67 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 68 | <dc:Bounds x="371.5" y="159" width="90" height="0" /> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 69 | </bpmndi:BPMNLabel> |
| 70 | </bpmndi:BPMNEdge> |
| 71 | <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_StartEvent_41" targetElement="_BPMNShape_ScriptTask_34"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 72 | <di:waypoint xsi:type="dc:Point" x="139" y="174" /> |
| 73 | <di:waypoint xsi:type="dc:Point" x="293" y="174" /> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 74 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 75 | <dc:Bounds x="171" y="159" width="90" height="0" /> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 76 | </bpmndi:BPMNLabel> |
| 77 | </bpmndi:BPMNEdge> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 78 | <bpmndi:BPMNShape id="_BPMNShape_SubProcess_13" bpmnElement="subProcessExceptionCompleteMSO" isExpanded="true"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 79 | <dc:Bounds x="208" y="407" width="427" height="169" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 80 | </bpmndi:BPMNShape> |
| 81 | <bpmndi:BPMNShape id="_BPMNShape_EndEvent_110" bpmnElement="endEventExceptionCompleteMSO"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 82 | <dc:Bounds x="508" y="474" width="36" height="36" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 83 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 84 | <dc:Bounds x="481" y="515" width="90" height="0" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 85 | </bpmndi:BPMNLabel> |
| 86 | </bpmndi:BPMNShape> |
| 87 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_51" bpmnElement="startEventExceptionCompleteMSO"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 88 | <dc:Bounds x="256" y="474" width="36" height="36" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 89 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 90 | <dc:Bounds x="229" y="515" width="90" height="0" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 91 | </bpmndi:BPMNLabel> |
| 92 | </bpmndi:BPMNShape> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 93 | <bpmndi:BPMNShape id="_BPMNShape_EndEvent_128" bpmnElement="EndEvent_1"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 94 | <dc:Bounds x="699" y="156" width="36" height="36" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 95 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 96 | <dc:Bounds x="672" y="197" width="90" height="0" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 97 | </bpmndi:BPMNLabel> |
| 98 | </bpmndi:BPMNShape> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 99 | <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_88" bpmnElement="ScriptTask_3"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 100 | <dc:Bounds x="440" y="134" width="100" height="80" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 101 | </bpmndi:BPMNShape> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 102 | <bpmndi:BPMNEdge id="SequenceFlow_1i1h3il_di" bpmnElement="SequenceFlow_1i1h3il"> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 103 | <di:waypoint xsi:type="dc:Point" x="292" y="492" /> |
| 104 | <di:waypoint xsi:type="dc:Point" x="508" y="492" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 105 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 106 | <dc:Bounds x="355" y="477" width="90" height="0" /> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 107 | </bpmndi:BPMNLabel> |
| 108 | </bpmndi:BPMNEdge> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 109 | <bpmndi:BPMNEdge id="SequenceFlow_1oes9qv_di" bpmnElement="SequenceFlow_1oes9qv"> |
| 110 | <di:waypoint xsi:type="dc:Point" x="540" y="174" /> |
| 111 | <di:waypoint xsi:type="dc:Point" x="699" y="174" /> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 112 | <bpmndi:BPMNLabel> |
Boslet, Cory | 4b23ea7 | 2019-12-09 08:49:08 -0500 | [diff] [blame] | 113 | <dc:Bounds x="619.5" y="153" width="0" height="12" /> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 114 | </bpmndi:BPMNLabel> |
| 115 | </bpmndi:BPMNEdge> |
| 116 | </bpmndi:BPMNPlane> |
| 117 | </bpmndi:BPMNDiagram> |
| 118 | </bpmn2:definitions> |