blob: 72bed98a5f1e7f44173d2bb8522ae073615b7295 [file] [log] [blame]
xg353yb6b7bef2017-04-11 13:30:42 +02001<?xml version="1.0" encoding="UTF-8"?>
Boslet, Cory4b23ea72019-12-09 08:49:08 -05002<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">
xg353yb6b7bef2017-04-11 13:30:42 +02003 <bpmn2:process id="CompleteMsoProcess" name="CompleteMsoProcess" isExecutable="true">
4 <bpmn2:scriptTask id="preProcessRequest" name="Pre-Process Request" scriptFormat="groovy">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -07005 <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
6 <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04007 <bpmn2:script><![CDATA[import org.onap.so.bpmn.common.scripts.*
xg353yb6b7bef2017-04-11 13:30:42 +02008def preProcessRequestData = new CompleteMsoProcess()
9preProcessRequestData.preProcessRequest(execution)
10
11]]></bpmn2:script>
12 </bpmn2:scriptTask>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050013 <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="preProcessRequest" targetRef="ScriptTask_3" />
14 <bpmn2:startEvent id="StartEvent_1">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070015 <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
xg353yb6b7bef2017-04-11 13:30:42 +020016 <bpmn2:messageEventDefinition id="MessageEventDefinition_1" messageRef="Message_2" />
17 </bpmn2:startEvent>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070018 <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="StartEvent_1" targetRef="preProcessRequest" />
xg353yb6b7bef2017-04-11 13:30:42 +020019 <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)94ee9252017-05-02 03:53:18 -070028 <bpmn2:incoming>SequenceFlow_1i1h3il</bpmn2:incoming>
xg353yb6b7bef2017-04-11 13:30:42 +020029 <bpmn2:terminateEventDefinition id="MessageEventDefinition_3" />
30 </bpmn2:endEvent>
31 <bpmn2:startEvent id="startEventExceptionCompleteMSO">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070032 <bpmn2:outgoing>SequenceFlow_1i1h3il</bpmn2:outgoing>
xg353yb6b7bef2017-04-11 13:30:42 +020033 <bpmn2:errorEventDefinition id="ErrorEventDefinition_4" />
34 </bpmn2:startEvent>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070035 <bpmn2:sequenceFlow id="SequenceFlow_1i1h3il" sourceRef="startEventExceptionCompleteMSO" targetRef="endEventExceptionCompleteMSO" />
xg353yb6b7bef2017-04-11 13:30:42 +020036 </bpmn2:subProcess>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050037 <bpmn2:scriptTask id="ScriptTask_3" name="&#10;MSO&#10;Update&#10;(infra active req)&#10;" scriptFormat="groovy">
38 <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
39 <bpmn2:outgoing>SequenceFlow_1oes9qv</bpmn2:outgoing>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040040 <bpmn2:script><![CDATA[import org.onap.so.bpmn.common.scripts.*
xg353yb6b7bef2017-04-11 13:30:42 +020041def completeMsoProcess = new CompleteMsoProcess()
Boslet, Cory4b23ea72019-12-09 08:49:08 -050042completeMsoProcess.updateInfraRequestDB(execution)]]></bpmn2:script>
xg353yb6b7bef2017-04-11 13:30:42 +020043 </bpmn2:scriptTask>
xg353yb6b7bef2017-04-11 13:30:42 +020044 <bpmn2:endEvent id="EndEvent_1">
Boslet, Cory4b23ea72019-12-09 08:49:08 -050045 <bpmn2:incoming>SequenceFlow_1oes9qv</bpmn2:incoming>
xg353yb6b7bef2017-04-11 13:30:42 +020046 <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_2" />
47 </bpmn2:endEvent>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050048 <bpmn2:sequenceFlow id="SequenceFlow_1oes9qv" sourceRef="ScriptTask_3" targetRef="EndEvent_1" />
xg353yb6b7bef2017-04-11 13:30:42 +020049 </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, Cory4b23ea72019-12-09 08:49:08 -050056 <dc:Bounds x="103" y="156" width="36" height="36" />
xg353yb6b7bef2017-04-11 13:30:42 +020057 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050058 <dc:Bounds x="131" y="197" width="47" height="24" />
xg353yb6b7bef2017-04-11 13:30:42 +020059 </bpmndi:BPMNLabel>
60 </bpmndi:BPMNShape>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070061 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_34" bpmnElement="preProcessRequest">
Boslet, Cory4b23ea72019-12-09 08:49:08 -050062 <dc:Bounds x="293" y="134" width="100" height="80" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070063 </bpmndi:BPMNShape>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050064 <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)94ee9252017-05-02 03:53:18 -070067 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050068 <dc:Bounds x="371.5" y="159" width="90" height="0" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070069 </bpmndi:BPMNLabel>
70 </bpmndi:BPMNEdge>
71 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_StartEvent_41" targetElement="_BPMNShape_ScriptTask_34">
Boslet, Cory4b23ea72019-12-09 08:49:08 -050072 <di:waypoint xsi:type="dc:Point" x="139" y="174" />
73 <di:waypoint xsi:type="dc:Point" x="293" y="174" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070074 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050075 <dc:Bounds x="171" y="159" width="90" height="0" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070076 </bpmndi:BPMNLabel>
77 </bpmndi:BPMNEdge>
xg353yb6b7bef2017-04-11 13:30:42 +020078 <bpmndi:BPMNShape id="_BPMNShape_SubProcess_13" bpmnElement="subProcessExceptionCompleteMSO" isExpanded="true">
Boslet, Cory4b23ea72019-12-09 08:49:08 -050079 <dc:Bounds x="208" y="407" width="427" height="169" />
xg353yb6b7bef2017-04-11 13:30:42 +020080 </bpmndi:BPMNShape>
81 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_110" bpmnElement="endEventExceptionCompleteMSO">
Boslet, Cory4b23ea72019-12-09 08:49:08 -050082 <dc:Bounds x="508" y="474" width="36" height="36" />
xg353yb6b7bef2017-04-11 13:30:42 +020083 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050084 <dc:Bounds x="481" y="515" width="90" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +020085 </bpmndi:BPMNLabel>
86 </bpmndi:BPMNShape>
87 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_51" bpmnElement="startEventExceptionCompleteMSO">
Boslet, Cory4b23ea72019-12-09 08:49:08 -050088 <dc:Bounds x="256" y="474" width="36" height="36" />
xg353yb6b7bef2017-04-11 13:30:42 +020089 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050090 <dc:Bounds x="229" y="515" width="90" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +020091 </bpmndi:BPMNLabel>
92 </bpmndi:BPMNShape>
xg353yb6b7bef2017-04-11 13:30:42 +020093 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_128" bpmnElement="EndEvent_1">
Boslet, Cory4b23ea72019-12-09 08:49:08 -050094 <dc:Bounds x="699" y="156" width="36" height="36" />
xg353yb6b7bef2017-04-11 13:30:42 +020095 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -050096 <dc:Bounds x="672" y="197" width="90" height="0" />
xg353yb6b7bef2017-04-11 13:30:42 +020097 </bpmndi:BPMNLabel>
98 </bpmndi:BPMNShape>
xg353yb6b7bef2017-04-11 13:30:42 +020099 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_88" bpmnElement="ScriptTask_3">
Boslet, Cory4b23ea72019-12-09 08:49:08 -0500100 <dc:Bounds x="440" y="134" width="100" height="80" />
xg353yb6b7bef2017-04-11 13:30:42 +0200101 </bpmndi:BPMNShape>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700102 <bpmndi:BPMNEdge id="SequenceFlow_1i1h3il_di" bpmnElement="SequenceFlow_1i1h3il">
Boslet, Cory4b23ea72019-12-09 08:49:08 -0500103 <di:waypoint xsi:type="dc:Point" x="292" y="492" />
104 <di:waypoint xsi:type="dc:Point" x="508" y="492" />
xg353yb6b7bef2017-04-11 13:30:42 +0200105 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -0500106 <dc:Bounds x="355" y="477" width="90" height="0" />
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700107 </bpmndi:BPMNLabel>
108 </bpmndi:BPMNEdge>
Boslet, Cory4b23ea72019-12-09 08:49:08 -0500109 <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)94ee9252017-05-02 03:53:18 -0700112 <bpmndi:BPMNLabel>
Boslet, Cory4b23ea72019-12-09 08:49:08 -0500113 <dc:Bounds x="619.5" y="153" width="0" height="12" />
xg353yb6b7bef2017-04-11 13:30:42 +0200114 </bpmndi:BPMNLabel>
115 </bpmndi:BPMNEdge>
116 </bpmndi:BPMNPlane>
117 </bpmndi:BPMNDiagram>
118</bpmn2:definitions>