hetengjiao | 7428cbf | 2020-03-04 10:58:19 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_152rp63" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.4.1"> |
| 3 | <bpmn:process id="DoCreateCommunicationService" name="DoCreateCommunicationService" isExecutable="true"> |
| 4 | <bpmn:startEvent id="StartEvent_1" name="start"> |
| 5 | <bpmn:outgoing>SequenceFlow_0r43nhn</bpmn:outgoing> |
| 6 | </bpmn:startEvent> |
| 7 | <bpmn:sequenceFlow id="SequenceFlow_0r43nhn" sourceRef="StartEvent_1" targetRef="Task_1n00ul2" /> |
| 8 | <bpmn:scriptTask id="Task_1n00ul2" name="Pre Process Request" scriptFormat="groovy"> |
| 9 | <bpmn:incoming>SequenceFlow_0r43nhn</bpmn:incoming> |
| 10 | <bpmn:outgoing>SequenceFlow_1ojuala</bpmn:outgoing> |
| 11 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
| 12 | def csi= new DoCreateCommunicationService() |
| 13 | csi.preProcessRequest(execution)</bpmn:script> |
| 14 | </bpmn:scriptTask> |
| 15 | <bpmn:scriptTask id="Task_13cimkc" name="Create Communication Service Profile" scriptFormat="groovy"> |
| 16 | <bpmn:incoming>SequenceFlow_0mxvw9q</bpmn:incoming> |
| 17 | <bpmn:outgoing>SequenceFlow_15e8qrt</bpmn:outgoing> |
| 18 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
| 19 | def csi= new DoCreateCommunicationService() |
| 20 | csi.createCommunicationServiceProfile(execution)</bpmn:script> |
| 21 | </bpmn:scriptTask> |
| 22 | <bpmn:scriptTask id="Task_02h3nyo" name="Create Communication Service" scriptFormat="groovy"> |
| 23 | <bpmn:incoming>SequenceFlow_1ojuala</bpmn:incoming> |
| 24 | <bpmn:outgoing>SequenceFlow_0mxvw9q</bpmn:outgoing> |
| 25 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
| 26 | def csi= new DoCreateCommunicationService() |
| 27 | csi.createCommunicationService(execution)</bpmn:script> |
| 28 | </bpmn:scriptTask> |
| 29 | <bpmn:endEvent id="EndEvent_0tx74b8" name="end"> |
| 30 | <bpmn:incoming>SequenceFlow_15e8qrt</bpmn:incoming> |
| 31 | </bpmn:endEvent> |
| 32 | <bpmn:sequenceFlow id="SequenceFlow_0mxvw9q" sourceRef="Task_02h3nyo" targetRef="Task_13cimkc" /> |
| 33 | <bpmn:sequenceFlow id="SequenceFlow_15e8qrt" sourceRef="Task_13cimkc" targetRef="EndEvent_0tx74b8" /> |
| 34 | <bpmn:sequenceFlow id="SequenceFlow_1ojuala" sourceRef="Task_1n00ul2" targetRef="Task_02h3nyo" /> |
| 35 | <bpmn:subProcess id="SubProcess_0hvqoiu" name="Java Exception Handling Sub Process" triggeredByEvent="true"> |
| 36 | <bpmn:startEvent id="StartEvent_06faevu"> |
| 37 | <bpmn:outgoing>SequenceFlow_1jckdn4</bpmn:outgoing> |
| 38 | <bpmn:errorEventDefinition id="ErrorEventDefinition_1idslt4" /> |
| 39 | </bpmn:startEvent> |
| 40 | <bpmn:endEvent id="EndEvent_1xkvl7n"> |
| 41 | <bpmn:incoming>SequenceFlow_0ixyf17</bpmn:incoming> |
| 42 | </bpmn:endEvent> |
| 43 | <bpmn:scriptTask id="ScriptTask_15u2oe2" name="Process Error" scriptFormat="groovy"> |
| 44 | <bpmn:incoming>SequenceFlow_1jckdn4</bpmn:incoming> |
| 45 | <bpmn:outgoing>SequenceFlow_0ixyf17</bpmn:outgoing> |
| 46 | <bpmn:script>import org.onap.so.bpmn.common.scripts.* |
| 47 | ExceptionUtil exceptionUtil = new ExceptionUtil() |
| 48 | exceptionUtil.processJavaException(execution)</bpmn:script> |
| 49 | </bpmn:scriptTask> |
| 50 | <bpmn:sequenceFlow id="SequenceFlow_0ixyf17" sourceRef="ScriptTask_15u2oe2" targetRef="EndEvent_1xkvl7n" /> |
| 51 | <bpmn:sequenceFlow id="SequenceFlow_1jckdn4" sourceRef="StartEvent_06faevu" targetRef="ScriptTask_15u2oe2" /> |
| 52 | </bpmn:subProcess> |
| 53 | </bpmn:process> |
| 54 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 55 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateCommunicationService"> |
| 56 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> |
| 57 | <dc:Bounds x="179" y="99" width="36" height="36" /> |
| 58 | <bpmndi:BPMNLabel> |
| 59 | <dc:Bounds x="186" y="142" width="23" height="14" /> |
| 60 | </bpmndi:BPMNLabel> |
| 61 | </bpmndi:BPMNShape> |
| 62 | <bpmndi:BPMNEdge id="SequenceFlow_0r43nhn_di" bpmnElement="SequenceFlow_0r43nhn"> |
| 63 | <di:waypoint x="215" y="117" /> |
| 64 | <di:waypoint x="290" y="117" /> |
| 65 | </bpmndi:BPMNEdge> |
| 66 | <bpmndi:BPMNShape id="ScriptTask_1ilqwj5_di" bpmnElement="Task_1n00ul2"> |
| 67 | <dc:Bounds x="290" y="77" width="100" height="80" /> |
| 68 | </bpmndi:BPMNShape> |
| 69 | <bpmndi:BPMNShape id="ScriptTask_0vpnfpe_di" bpmnElement="Task_13cimkc"> |
| 70 | <dc:Bounds x="660" y="77" width="100" height="80" /> |
| 71 | </bpmndi:BPMNShape> |
| 72 | <bpmndi:BPMNShape id="ScriptTask_03bitgg_di" bpmnElement="Task_02h3nyo"> |
| 73 | <dc:Bounds x="480" y="77" width="100" height="80" /> |
| 74 | </bpmndi:BPMNShape> |
| 75 | <bpmndi:BPMNShape id="EndEvent_0tx74b8_di" bpmnElement="EndEvent_0tx74b8"> |
| 76 | <dc:Bounds x="912" y="99" width="36" height="36" /> |
| 77 | <bpmndi:BPMNLabel> |
| 78 | <dc:Bounds x="921" y="142" width="19" height="14" /> |
| 79 | </bpmndi:BPMNLabel> |
| 80 | </bpmndi:BPMNShape> |
| 81 | <bpmndi:BPMNEdge id="SequenceFlow_0mxvw9q_di" bpmnElement="SequenceFlow_0mxvw9q"> |
| 82 | <di:waypoint x="580" y="117" /> |
| 83 | <di:waypoint x="660" y="117" /> |
| 84 | </bpmndi:BPMNEdge> |
| 85 | <bpmndi:BPMNEdge id="SequenceFlow_15e8qrt_di" bpmnElement="SequenceFlow_15e8qrt"> |
| 86 | <di:waypoint x="760" y="117" /> |
| 87 | <di:waypoint x="912" y="117" /> |
| 88 | </bpmndi:BPMNEdge> |
| 89 | <bpmndi:BPMNEdge id="SequenceFlow_1ojuala_di" bpmnElement="SequenceFlow_1ojuala"> |
| 90 | <di:waypoint x="390" y="117" /> |
| 91 | <di:waypoint x="480" y="117" /> |
| 92 | </bpmndi:BPMNEdge> |
| 93 | <bpmndi:BPMNShape id="SubProcess_0hvqoiu_di" bpmnElement="SubProcess_0hvqoiu" isExpanded="true"> |
| 94 | <dc:Bounds x="290" y="250" width="417" height="161" /> |
| 95 | </bpmndi:BPMNShape> |
| 96 | <bpmndi:BPMNShape id="StartEvent_06faevu_di" bpmnElement="StartEvent_06faevu"> |
| 97 | <dc:Bounds x="327" y="317" width="36" height="36" /> |
| 98 | </bpmndi:BPMNShape> |
| 99 | <bpmndi:BPMNShape id="EndEvent_1xkvl7n_di" bpmnElement="EndEvent_1xkvl7n"> |
| 100 | <dc:Bounds x="613" y="317" width="36" height="36" /> |
| 101 | </bpmndi:BPMNShape> |
| 102 | <bpmndi:BPMNShape id="ScriptTask_15u2oe2_di" bpmnElement="ScriptTask_15u2oe2"> |
| 103 | <dc:Bounds x="438" y="295" width="100" height="80" /> |
| 104 | </bpmndi:BPMNShape> |
| 105 | <bpmndi:BPMNEdge id="SequenceFlow_0ixyf17_di" bpmnElement="SequenceFlow_0ixyf17"> |
| 106 | <di:waypoint x="538" y="335" /> |
| 107 | <di:waypoint x="613" y="335" /> |
| 108 | </bpmndi:BPMNEdge> |
| 109 | <bpmndi:BPMNEdge id="SequenceFlow_1jckdn4_di" bpmnElement="SequenceFlow_1jckdn4"> |
| 110 | <di:waypoint x="363" y="335" /> |
| 111 | <di:waypoint x="438" y="335" /> |
| 112 | </bpmndi:BPMNEdge> |
| 113 | </bpmndi:BPMNPlane> |
| 114 | </bpmndi:BPMNDiagram> |
| 115 | </bpmn:definitions> |