Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3"> |
| 3 | <bpmn:process id="DeleteVFCNSResource" name="DeleteVFCNSResource" isExecutable="true"> |
| 4 | <bpmn:startEvent id="StartEvent_1" name="Start Custom Delete E2E NS"> |
| 5 | <bpmn:outgoing>SequenceFlow_0x2e9we</bpmn:outgoing> |
| 6 | </bpmn:startEvent> |
| 7 | <bpmn:sequenceFlow id="SequenceFlow_0x2e9we" sourceRef="StartEvent_1" targetRef="Task_0yl3rau" /> |
| 8 | <bpmn:sequenceFlow id="SequenceFlow_00vpfm3" sourceRef="Task_0yl3rau" targetRef="Task_14gmbq4" /> |
| 9 | <bpmn:sequenceFlow id="SequenceFlow_1s4cyms" sourceRef="Task_14gmbq4" targetRef="Task_1e27uaw" /> |
| 10 | <bpmn:endEvent id="EndEvent_07ew0rf" name="End Custom Delete E2E NS"> |
| 11 | <bpmn:incoming>SequenceFlow_0jvtdhv</bpmn:incoming> |
| 12 | </bpmn:endEvent> |
| 13 | <bpmn:sequenceFlow id="SequenceFlow_152xb4z" sourceRef="Task_1e27uaw" targetRef="ScriptTask_0pkuukn" /> |
| 14 | <bpmn:scriptTask id="Task_0yl3rau" name="DoCustomDeleteE2ENS prepare" scriptFormat="groovy"> |
| 15 | <bpmn:incoming>SequenceFlow_0x2e9we</bpmn:incoming> |
| 16 | <bpmn:outgoing>SequenceFlow_00vpfm3</bpmn:outgoing> |
| 17 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 18 | def ddsi = new DeleteVFCNSResource() |
| 19 | ddsi.preProcessRequest(execution)]]></bpmn:script> |
| 20 | </bpmn:scriptTask> |
| 21 | <bpmn:scriptTask id="Task_1e27uaw" name="Post delet NS resource" scriptFormat="groovy"> |
| 22 | <bpmn:incoming>SequenceFlow_1s4cyms</bpmn:incoming> |
| 23 | <bpmn:outgoing>SequenceFlow_152xb4z</bpmn:outgoing> |
| 24 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 25 | def ddsi = new DeleteVFCNSResource() |
| 26 | ddsi.postProcessRequest(execution)]]></bpmn:script> |
| 27 | </bpmn:scriptTask> |
| 28 | <bpmn:callActivity id="Task_14gmbq4" name="Call Delete NS Instance" calledElement="DoDeleteVFCNetworkServiceInstance"> |
| 29 | <bpmn:extensionElements> |
| 30 | <camunda:in source="globalSubscriberId" target="globalSubscriberId" /> |
| 31 | <camunda:in source="serviceType" target="serviceType" /> |
| 32 | <camunda:in source="serviceInstanceId" target="serviceId" /> |
| 33 | <camunda:in source="operationId" target="operationId" /> |
| 34 | <camunda:in source="resourceTemplateId" target="resourceTemplateId" /> |
| 35 | <camunda:in source="resourceInstanceId" target="resourceInstanceId" /> |
| 36 | <camunda:in source="resourceType" target="resourceType" /> |
| 37 | <camunda:in source="operationType" target="operationType" /> |
| 38 | <camunda:out source="operationStatus" target="operationStatus" /> |
| 39 | <camunda:out source="nsInstanceId" target="nsInstanceId" /> |
| 40 | </bpmn:extensionElements> |
| 41 | <bpmn:incoming>SequenceFlow_00vpfm3</bpmn:incoming> |
| 42 | <bpmn:outgoing>SequenceFlow_1s4cyms</bpmn:outgoing> |
| 43 | </bpmn:callActivity> |
| 44 | <bpmn:subProcess id="SubProcess_11qmm22" triggeredByEvent="true"> |
| 45 | <bpmn:startEvent id="StartEvent_0zwedl6"> |
| 46 | <bpmn:outgoing>SequenceFlow_0yro7o2</bpmn:outgoing> |
| 47 | <bpmn:errorEventDefinition /> |
| 48 | </bpmn:startEvent> |
| 49 | <bpmn:endEvent id="EndEvent_10tfowz"> |
| 50 | <bpmn:incoming>SequenceFlow_0p0ayci</bpmn:incoming> |
| 51 | </bpmn:endEvent> |
| 52 | <bpmn:scriptTask id="ScriptTask_0tdtqwh" name="Log / Print Unexpected Error"> |
| 53 | <bpmn:incoming>SequenceFlow_0yro7o2</bpmn:incoming> |
| 54 | <bpmn:outgoing>SequenceFlow_0p0ayci</bpmn:outgoing> |
| 55 | <bpmn:script><![CDATA[import org.onap.so.bpmn.common.scripts.* |
| 56 | ExceptionUtil ex = new ExceptionUtil() |
| 57 | ex.processJavaException(execution)]]></bpmn:script> |
| 58 | </bpmn:scriptTask> |
| 59 | <bpmn:sequenceFlow id="SequenceFlow_0yro7o2" sourceRef="StartEvent_0zwedl6" targetRef="ScriptTask_0tdtqwh" /> |
| 60 | <bpmn:sequenceFlow id="SequenceFlow_0p0ayci" sourceRef="ScriptTask_0tdtqwh" targetRef="EndEvent_10tfowz" /> |
| 61 | </bpmn:subProcess> |
| 62 | <bpmn:scriptTask id="ScriptTask_0pkuukn" name="Send Sync Ack Response" scriptFormat="groovy"> |
| 63 | <bpmn:incoming>SequenceFlow_152xb4z</bpmn:incoming> |
| 64 | <bpmn:outgoing>SequenceFlow_0jvtdhv</bpmn:outgoing> |
| 65 | <bpmn:script><![CDATA[import org.onap.so.bpmn.infrastructure.scripts.* |
| 66 | def dsi = new DeleteVFCNSResource() |
| 67 | dsi.sendSyncResponse(execution)]]></bpmn:script> |
| 68 | </bpmn:scriptTask> |
| 69 | <bpmn:sequenceFlow id="SequenceFlow_0jvtdhv" sourceRef="ScriptTask_0pkuukn" targetRef="EndEvent_07ew0rf" /> |
| 70 | </bpmn:process> |
| 71 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 72 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteVFCNSResource"> |
| 73 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> |
| 74 | <dc:Bounds x="330" y="336" width="36" height="36" /> |
| 75 | <bpmndi:BPMNLabel> |
| 76 | <dc:Bounds x="312" y="372" width="76" height="24" /> |
| 77 | </bpmndi:BPMNLabel> |
| 78 | </bpmndi:BPMNShape> |
| 79 | <bpmndi:BPMNEdge id="SequenceFlow_0x2e9we_di" bpmnElement="SequenceFlow_0x2e9we"> |
| 80 | <di:waypoint xsi:type="dc:Point" x="366" y="354" /> |
| 81 | <di:waypoint xsi:type="dc:Point" x="474" y="354" /> |
| 82 | <bpmndi:BPMNLabel> |
| 83 | <dc:Bounds x="375" y="333" width="90" height="12" /> |
| 84 | </bpmndi:BPMNLabel> |
| 85 | </bpmndi:BPMNEdge> |
| 86 | <bpmndi:BPMNEdge id="SequenceFlow_00vpfm3_di" bpmnElement="SequenceFlow_00vpfm3"> |
| 87 | <di:waypoint xsi:type="dc:Point" x="574" y="354" /> |
| 88 | <di:waypoint xsi:type="dc:Point" x="661" y="354" /> |
| 89 | <bpmndi:BPMNLabel> |
| 90 | <dc:Bounds x="572.5" y="333" width="90" height="12" /> |
| 91 | </bpmndi:BPMNLabel> |
| 92 | </bpmndi:BPMNEdge> |
| 93 | <bpmndi:BPMNEdge id="SequenceFlow_1s4cyms_di" bpmnElement="SequenceFlow_1s4cyms"> |
| 94 | <di:waypoint xsi:type="dc:Point" x="761" y="354" /> |
| 95 | <di:waypoint xsi:type="dc:Point" x="889" y="354" /> |
| 96 | <bpmndi:BPMNLabel> |
| 97 | <dc:Bounds x="780" y="333" width="90" height="12" /> |
| 98 | </bpmndi:BPMNLabel> |
| 99 | </bpmndi:BPMNEdge> |
| 100 | <bpmndi:BPMNShape id="EndEvent_07ew0rf_di" bpmnElement="EndEvent_07ew0rf"> |
| 101 | <dc:Bounds x="1313" y="336" width="36" height="36" /> |
| 102 | <bpmndi:BPMNLabel> |
| 103 | <dc:Bounds x="1293" y="376" width="76" height="24" /> |
| 104 | </bpmndi:BPMNLabel> |
| 105 | </bpmndi:BPMNShape> |
| 106 | <bpmndi:BPMNEdge id="SequenceFlow_152xb4z_di" bpmnElement="SequenceFlow_152xb4z"> |
| 107 | <di:waypoint xsi:type="dc:Point" x="989" y="354" /> |
| 108 | <di:waypoint xsi:type="dc:Point" x="1113" y="354" /> |
| 109 | <bpmndi:BPMNLabel> |
| 110 | <dc:Bounds x="1006" y="333" width="90" height="12" /> |
| 111 | </bpmndi:BPMNLabel> |
| 112 | </bpmndi:BPMNEdge> |
| 113 | <bpmndi:BPMNShape id="ScriptTask_1ssr09e_di" bpmnElement="Task_0yl3rau"> |
| 114 | <dc:Bounds x="474" y="314" width="100" height="80" /> |
| 115 | </bpmndi:BPMNShape> |
| 116 | <bpmndi:BPMNShape id="ScriptTask_092ktxo_di" bpmnElement="Task_1e27uaw"> |
| 117 | <dc:Bounds x="889" y="314" width="100" height="80" /> |
| 118 | </bpmndi:BPMNShape> |
| 119 | <bpmndi:BPMNShape id="CallActivity_00p99pt_di" bpmnElement="Task_14gmbq4"> |
| 120 | <dc:Bounds x="661" y="314" width="100" height="80" /> |
| 121 | </bpmndi:BPMNShape> |
| 122 | <bpmndi:BPMNShape id="SubProcess_11qmm22_di" bpmnElement="SubProcess_11qmm22" isExpanded="true"> |
| 123 | <dc:Bounds x="636" y="539" width="350" height="200" /> |
| 124 | </bpmndi:BPMNShape> |
| 125 | <bpmndi:BPMNShape id="StartEvent_0zwedl6_di" bpmnElement="StartEvent_0zwedl6"> |
| 126 | <dc:Bounds x="667" y="606" width="36" height="36" /> |
| 127 | <bpmndi:BPMNLabel> |
| 128 | <dc:Bounds x="639" y="644" width="0" height="12" /> |
| 129 | </bpmndi:BPMNLabel> |
| 130 | </bpmndi:BPMNShape> |
| 131 | <bpmndi:BPMNShape id="EndEvent_10tfowz_di" bpmnElement="EndEvent_10tfowz"> |
| 132 | <dc:Bounds x="931" y="606" width="36" height="36" /> |
| 133 | <bpmndi:BPMNLabel> |
| 134 | <dc:Bounds x="904" y="645" width="0" height="12" /> |
| 135 | </bpmndi:BPMNLabel> |
| 136 | </bpmndi:BPMNShape> |
| 137 | <bpmndi:BPMNShape id="ScriptTask_0tdtqwh_di" bpmnElement="ScriptTask_0tdtqwh"> |
| 138 | <dc:Bounds x="763" y="584" width="100" height="80" /> |
| 139 | </bpmndi:BPMNShape> |
| 140 | <bpmndi:BPMNEdge id="SequenceFlow_0yro7o2_di" bpmnElement="SequenceFlow_0yro7o2"> |
| 141 | <di:waypoint xsi:type="dc:Point" x="703" y="624" /> |
| 142 | <di:waypoint xsi:type="dc:Point" x="763" y="624" /> |
| 143 | <bpmndi:BPMNLabel> |
| 144 | <dc:Bounds x="688" y="603" width="0" height="12" /> |
| 145 | </bpmndi:BPMNLabel> |
| 146 | </bpmndi:BPMNEdge> |
| 147 | <bpmndi:BPMNEdge id="SequenceFlow_0p0ayci_di" bpmnElement="SequenceFlow_0p0ayci"> |
| 148 | <di:waypoint xsi:type="dc:Point" x="863" y="624" /> |
| 149 | <di:waypoint xsi:type="dc:Point" x="931" y="624" /> |
| 150 | <bpmndi:BPMNLabel> |
| 151 | <dc:Bounds x="852" y="603" width="0" height="12" /> |
| 152 | </bpmndi:BPMNLabel> |
| 153 | </bpmndi:BPMNEdge> |
| 154 | <bpmndi:BPMNShape id="ScriptTask_0pkuukn_di" bpmnElement="ScriptTask_0pkuukn"> |
| 155 | <dc:Bounds x="1113" y="314" width="100" height="80" /> |
| 156 | </bpmndi:BPMNShape> |
| 157 | <bpmndi:BPMNEdge id="SequenceFlow_0jvtdhv_di" bpmnElement="SequenceFlow_0jvtdhv"> |
| 158 | <di:waypoint xsi:type="dc:Point" x="1213" y="354" /> |
| 159 | <di:waypoint xsi:type="dc:Point" x="1313" y="354" /> |
| 160 | <bpmndi:BPMNLabel> |
| 161 | <dc:Bounds x="1263" y="333" width="0" height="12" /> |
| 162 | </bpmndi:BPMNLabel> |
| 163 | </bpmndi:BPMNEdge> |
| 164 | </bpmndi:BPMNPlane> |
| 165 | </bpmndi:BPMNDiagram> |
| 166 | </bpmn:definitions> |