subhash kumar singh | 969907f | 2018-04-23 12:52:44 +0000 | [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_152xb4z</bpmn:incoming> |
| 12 | </bpmn:endEvent> |
| 13 | <bpmn:sequenceFlow id="SequenceFlow_152xb4z" sourceRef="Task_1e27uaw" targetRef="EndEvent_07ew0rf" /> |
| 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.openecomp.mso.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.openecomp.mso.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 | </bpmn:extensionElements> |
| 39 | <bpmn:incoming>SequenceFlow_00vpfm3</bpmn:incoming> |
| 40 | <bpmn:outgoing>SequenceFlow_1s4cyms</bpmn:outgoing> |
| 41 | </bpmn:callActivity> |
| 42 | <bpmn:subProcess id="SubProcess_11qmm22" triggeredByEvent="true"> |
| 43 | <bpmn:startEvent id="StartEvent_0zwedl6"> |
| 44 | <bpmn:outgoing>SequenceFlow_0yro7o2</bpmn:outgoing> |
| 45 | <bpmn:errorEventDefinition /> |
| 46 | </bpmn:startEvent> |
| 47 | <bpmn:endEvent id="EndEvent_10tfowz"> |
| 48 | <bpmn:incoming>SequenceFlow_0p0ayci</bpmn:incoming> |
| 49 | </bpmn:endEvent> |
| 50 | <bpmn:scriptTask id="ScriptTask_0tdtqwh" name="Log / Print Unexpected Error"> |
| 51 | <bpmn:incoming>SequenceFlow_0yro7o2</bpmn:incoming> |
| 52 | <bpmn:outgoing>SequenceFlow_0p0ayci</bpmn:outgoing> |
| 53 | <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.* |
| 54 | ExceptionUtil ex = new ExceptionUtil() |
| 55 | ex.processJavaException(execution)]]></bpmn:script> |
| 56 | </bpmn:scriptTask> |
| 57 | <bpmn:sequenceFlow id="SequenceFlow_0yro7o2" sourceRef="StartEvent_0zwedl6" targetRef="ScriptTask_0tdtqwh" /> |
| 58 | <bpmn:sequenceFlow id="SequenceFlow_0p0ayci" sourceRef="ScriptTask_0tdtqwh" targetRef="EndEvent_10tfowz" /> |
| 59 | </bpmn:subProcess> |
| 60 | </bpmn:process> |
| 61 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 62 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteVFCNSResource"> |
| 63 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> |
| 64 | <dc:Bounds x="330" y="336" width="36" height="36" /> |
| 65 | <bpmndi:BPMNLabel> |
| 66 | <dc:Bounds x="312" y="372" width="76" height="24" /> |
| 67 | </bpmndi:BPMNLabel> |
| 68 | </bpmndi:BPMNShape> |
| 69 | <bpmndi:BPMNEdge id="SequenceFlow_0x2e9we_di" bpmnElement="SequenceFlow_0x2e9we"> |
| 70 | <di:waypoint xsi:type="dc:Point" x="366" y="354" /> |
| 71 | <di:waypoint xsi:type="dc:Point" x="530" y="354" /> |
| 72 | <bpmndi:BPMNLabel> |
| 73 | <dc:Bounds x="448" y="333" width="0" height="12" /> |
| 74 | </bpmndi:BPMNLabel> |
| 75 | </bpmndi:BPMNEdge> |
| 76 | <bpmndi:BPMNEdge id="SequenceFlow_00vpfm3_di" bpmnElement="SequenceFlow_00vpfm3"> |
| 77 | <di:waypoint xsi:type="dc:Point" x="630" y="354" /> |
| 78 | <di:waypoint xsi:type="dc:Point" x="774" y="354" /> |
| 79 | <bpmndi:BPMNLabel> |
| 80 | <dc:Bounds x="702" y="333" width="0" height="12" /> |
| 81 | </bpmndi:BPMNLabel> |
| 82 | </bpmndi:BPMNEdge> |
| 83 | <bpmndi:BPMNEdge id="SequenceFlow_1s4cyms_di" bpmnElement="SequenceFlow_1s4cyms"> |
| 84 | <di:waypoint xsi:type="dc:Point" x="874" y="354" /> |
| 85 | <di:waypoint xsi:type="dc:Point" x="1018" y="354" /> |
| 86 | <bpmndi:BPMNLabel> |
| 87 | <dc:Bounds x="946" y="333" width="0" height="12" /> |
| 88 | </bpmndi:BPMNLabel> |
| 89 | </bpmndi:BPMNEdge> |
| 90 | <bpmndi:BPMNShape id="EndEvent_07ew0rf_di" bpmnElement="EndEvent_07ew0rf"> |
| 91 | <dc:Bounds x="1313" y="336" width="36" height="36" /> |
| 92 | <bpmndi:BPMNLabel> |
| 93 | <dc:Bounds x="1293" y="376" width="76" height="24" /> |
| 94 | </bpmndi:BPMNLabel> |
| 95 | </bpmndi:BPMNShape> |
| 96 | <bpmndi:BPMNEdge id="SequenceFlow_152xb4z_di" bpmnElement="SequenceFlow_152xb4z"> |
| 97 | <di:waypoint xsi:type="dc:Point" x="1118" y="354" /> |
| 98 | <di:waypoint xsi:type="dc:Point" x="1313" y="354" /> |
| 99 | <bpmndi:BPMNLabel> |
| 100 | <dc:Bounds x="1215.5" y="333" width="0" height="12" /> |
| 101 | </bpmndi:BPMNLabel> |
| 102 | </bpmndi:BPMNEdge> |
| 103 | <bpmndi:BPMNShape id="ScriptTask_1ssr09e_di" bpmnElement="Task_0yl3rau"> |
| 104 | <dc:Bounds x="530" y="314" width="100" height="80" /> |
| 105 | </bpmndi:BPMNShape> |
| 106 | <bpmndi:BPMNShape id="ScriptTask_092ktxo_di" bpmnElement="Task_1e27uaw"> |
| 107 | <dc:Bounds x="1018" y="314" width="100" height="80" /> |
| 108 | </bpmndi:BPMNShape> |
| 109 | <bpmndi:BPMNShape id="CallActivity_00p99pt_di" bpmnElement="Task_14gmbq4"> |
| 110 | <dc:Bounds x="774" y="314" width="100" height="80" /> |
| 111 | </bpmndi:BPMNShape> |
| 112 | <bpmndi:BPMNShape id="SubProcess_11qmm22_di" bpmnElement="SubProcess_11qmm22" isExpanded="true"> |
| 113 | <dc:Bounds x="636" y="539" width="350" height="200" /> |
| 114 | </bpmndi:BPMNShape> |
| 115 | <bpmndi:BPMNShape id="StartEvent_0zwedl6_di" bpmnElement="StartEvent_0zwedl6"> |
| 116 | <dc:Bounds x="667" y="606" width="36" height="36" /> |
| 117 | <bpmndi:BPMNLabel> |
| 118 | <dc:Bounds x="639" y="644" width="0" height="12" /> |
| 119 | </bpmndi:BPMNLabel> |
| 120 | </bpmndi:BPMNShape> |
| 121 | <bpmndi:BPMNShape id="EndEvent_10tfowz_di" bpmnElement="EndEvent_10tfowz"> |
| 122 | <dc:Bounds x="931" y="606" width="36" height="36" /> |
| 123 | <bpmndi:BPMNLabel> |
| 124 | <dc:Bounds x="904" y="645" width="0" height="12" /> |
| 125 | </bpmndi:BPMNLabel> |
| 126 | </bpmndi:BPMNShape> |
| 127 | <bpmndi:BPMNShape id="ScriptTask_0tdtqwh_di" bpmnElement="ScriptTask_0tdtqwh"> |
| 128 | <dc:Bounds x="763" y="584" width="100" height="80" /> |
| 129 | </bpmndi:BPMNShape> |
| 130 | <bpmndi:BPMNEdge id="SequenceFlow_0yro7o2_di" bpmnElement="SequenceFlow_0yro7o2"> |
| 131 | <di:waypoint xsi:type="dc:Point" x="703" y="624" /> |
| 132 | <di:waypoint xsi:type="dc:Point" x="763" y="624" /> |
| 133 | <bpmndi:BPMNLabel> |
| 134 | <dc:Bounds x="688" y="603" width="0" height="12" /> |
| 135 | </bpmndi:BPMNLabel> |
| 136 | </bpmndi:BPMNEdge> |
| 137 | <bpmndi:BPMNEdge id="SequenceFlow_0p0ayci_di" bpmnElement="SequenceFlow_0p0ayci"> |
| 138 | <di:waypoint xsi:type="dc:Point" x="863" y="624" /> |
| 139 | <di:waypoint xsi:type="dc:Point" x="931" y="624" /> |
| 140 | <bpmndi:BPMNLabel> |
| 141 | <dc:Bounds x="852" y="603" width="0" height="12" /> |
| 142 | </bpmndi:BPMNLabel> |
| 143 | </bpmndi:BPMNEdge> |
| 144 | </bpmndi:BPMNPlane> |
| 145 | </bpmndi:BPMNDiagram> |
| 146 | </bpmn:definitions> |