blob: 5510dcde38e64692fe14c95f3611ed51497f6488 [file] [log] [blame]
zm33091a721f2020-03-03 17:14:58 +08001<?xml version="1.0" encoding="UTF-8"?>
deepikasatheesha5e1bac2020-09-10 03:24:13 -07002<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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1p1suc9" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.2">
zm33091a721f2020-03-03 17:14:58 +08003 <bpmn:process id="DoDeleteSliceServiceV1" name="DoDeleteSliceServiceV1" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1" name="start">
5 <bpmn:outgoing>SequenceFlow_0ep5het</bpmn:outgoing>
6 </bpmn:startEvent>
7 <bpmn:sequenceFlow id="SequenceFlow_0ep5het" sourceRef="StartEvent_1" targetRef="Task_0etki1p" />
8 <bpmn:sequenceFlow id="SequenceFlow_1qkgvvu" sourceRef="Task_1ujnqtj" targetRef="Task_1fqiyb4" />
9 <bpmn:sequenceFlow id="SequenceFlow_1rgfzzy" sourceRef="Task_1fqiyb4" targetRef="Task_1u755sr" />
10 <bpmn:scriptTask id="Task_1ujnqtj" name="Query Allotted Resource From AAI" scriptFormat="groovy">
11 <bpmn:incoming>SequenceFlow_029u1wr</bpmn:incoming>
12 <bpmn:outgoing>SequenceFlow_1qkgvvu</bpmn:outgoing>
13 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
14def ddss= new DoDeleteSliceService()
15ddss.getAllottedResFromAAI(execution)</bpmn:script>
16 </bpmn:scriptTask>
17 <bpmn:scriptTask id="Task_1fqiyb4" name="Query NSI From AAI" scriptFormat="groovy">
18 <bpmn:incoming>SequenceFlow_1qkgvvu</bpmn:incoming>
19 <bpmn:outgoing>SequenceFlow_1rgfzzy</bpmn:outgoing>
20 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
21def ddss= new DoDeleteSliceService()
22ddss.getNSIFromAAI(execution)</bpmn:script>
23 </bpmn:scriptTask>
24 <bpmn:scriptTask id="Task_1u755sr" name="Query NSSI List From AAI" scriptFormat="groovy">
25 <bpmn:incoming>SequenceFlow_1rgfzzy</bpmn:incoming>
deepikasatheesha5e1bac2020-09-10 03:24:13 -070026 <bpmn:outgoing>SequenceFlow_1aa2ek0</bpmn:outgoing>
zm33091a721f2020-03-03 17:14:58 +080027 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
28def ddss= new DoDeleteSliceService()
29ddss.getNSSIListFromAAI(execution)</bpmn:script>
30 </bpmn:scriptTask>
zm33091a721f2020-03-03 17:14:58 +080031 <bpmn:exclusiveGateway id="ExclusiveGateway_1ogbunu" name="Is all NSSI finished?">
32 <bpmn:incoming>SequenceFlow_15z9iio</bpmn:incoming>
33 <bpmn:outgoing>SequenceFlow_1c4fjbv</bpmn:outgoing>
34 <bpmn:outgoing>SequenceFlow_0926ghe</bpmn:outgoing>
35 </bpmn:exclusiveGateway>
36 <bpmn:endEvent id="EndEvent_0jaitqv" name="End">
37 <bpmn:incoming>SequenceFlow_1c4fjbv</bpmn:incoming>
38 </bpmn:endEvent>
39 <bpmn:sequenceFlow id="SequenceFlow_1c4fjbv" name="yes" sourceRef="ExclusiveGateway_1ogbunu" targetRef="EndEvent_0jaitqv">
40 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("isAllNSSIFinished" ) == true)}</bpmn:conditionExpression>
41 </bpmn:sequenceFlow>
zm33091a721f2020-03-03 17:14:58 +080042 <bpmn:sequenceFlow id="SequenceFlow_0c58sw3" sourceRef="Task_1rc7mcw" targetRef="ScriptTask_159855t" />
43 <bpmn:sequenceFlow id="SequenceFlow_0926ghe" name="no" sourceRef="ExclusiveGateway_1ogbunu" targetRef="Task_1iomfas">
44 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("isAllNSSIFinished" ) == false)}</bpmn:conditionExpression>
45 </bpmn:sequenceFlow>
46 <bpmn:scriptTask id="Task_0etki1p" name="PreProcess Incoming Request" scriptFormat="groovy">
47 <bpmn:incoming>SequenceFlow_0ep5het</bpmn:incoming>
48 <bpmn:outgoing>SequenceFlow_0npmman</bpmn:outgoing>
49 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
50def ddss= new DoDeleteSliceService()
51ddss.preProcessRequest(execution)</bpmn:script>
52 </bpmn:scriptTask>
53 <bpmn:sequenceFlow id="SequenceFlow_0npmman" sourceRef="Task_0etki1p" targetRef="Task_13k9usx" />
54 <bpmn:scriptTask id="Task_1iomfas" name="Get Current NSSI" scriptFormat="groovy">
55 <bpmn:incoming>SequenceFlow_0926ghe</bpmn:incoming>
deepikasatheesha5e1bac2020-09-10 03:24:13 -070056 <bpmn:incoming>SequenceFlow_1252rbf</bpmn:incoming>
57 <bpmn:outgoing>SequenceFlow_17tvomo</bpmn:outgoing>
zm33091a721f2020-03-03 17:14:58 +080058 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
59def ddss= new DoDeleteSliceService()
60ddss.getCurrentNSSI(execution)</bpmn:script>
61 </bpmn:scriptTask>
62 <bpmn:scriptTask id="ScriptTask_159855t" name="Parse Next NSSI" scriptFormat="groovy">
63 <bpmn:incoming>SequenceFlow_0c58sw3</bpmn:incoming>
64 <bpmn:outgoing>SequenceFlow_15z9iio</bpmn:outgoing>
65 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
66def ddss= new DoDeleteSliceService()
67ddss.parseNextNSSI(execution)</bpmn:script>
68 </bpmn:scriptTask>
69 <bpmn:sequenceFlow id="SequenceFlow_15z9iio" sourceRef="ScriptTask_159855t" targetRef="ExclusiveGateway_1ogbunu" />
zm33091a721f2020-03-03 17:14:58 +080070 <bpmn:sequenceFlow id="SequenceFlow_029u1wr" sourceRef="Task_13k9usx" targetRef="Task_1ujnqtj" />
71 <bpmn:scriptTask id="Task_13k9usx" name="Query E2ESlice Serive From AAI" scriptFormat="groovy">
72 <bpmn:incoming>SequenceFlow_0npmman</bpmn:incoming>
73 <bpmn:outgoing>SequenceFlow_029u1wr</bpmn:outgoing>
74 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
75def ddss= new DoDeleteSliceService()
76ddss.queryE2ESliceSeriveFromAAI(execution)</bpmn:script>
77 </bpmn:scriptTask>
78 <bpmn:callActivity id="Task_1rc7mcw" name="Do Deallocate NSSI " calledElement="DoDeallocateNSSIV1">
79 <bpmn:extensionElements>
80 <camunda:in source="currentNSSI" target="currentNSSI" />
81 <camunda:in source="msoRequestId" target="msoRequestId" />
82 <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
83 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
84 <camunda:out source="WorkflowException" target="WorkflowException" />
85 </bpmn:extensionElements>
deepikasatheesha5e1bac2020-09-10 03:24:13 -070086 <bpmn:incoming>SequenceFlow_17tvomo</bpmn:incoming>
zm33091a721f2020-03-03 17:14:58 +080087 <bpmn:outgoing>SequenceFlow_0c58sw3</bpmn:outgoing>
88 </bpmn:callActivity>
deepikasatheesha5e1bac2020-09-10 03:24:13 -070089 <bpmn:scriptTask id="Task_1iuls9p" name="Terminate NSI Query" scriptFormat="groovy">
90 <bpmn:incoming>SequenceFlow_1aa2ek0</bpmn:incoming>
91 <bpmn:outgoing>SequenceFlow_1252rbf</bpmn:outgoing>
92 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
93def dss= new DeleteSliceService()
94dss.terminateNSIQuery(execution)</bpmn:script>
95 </bpmn:scriptTask>
96 <bpmn:sequenceFlow id="SequenceFlow_17tvomo" sourceRef="Task_1iomfas" targetRef="Task_1rc7mcw" />
97 <bpmn:sequenceFlow id="SequenceFlow_1aa2ek0" sourceRef="Task_1u755sr" targetRef="Task_1iuls9p" />
98 <bpmn:sequenceFlow id="SequenceFlow_1252rbf" sourceRef="Task_1iuls9p" targetRef="Task_1iomfas" />
zm33091a721f2020-03-03 17:14:58 +080099 </bpmn:process>
100 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
101 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoDeleteSliceServiceV1">
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700102 <bpmndi:BPMNEdge id="Flow_1252rbf_di" bpmnElement="SequenceFlow_1252rbf">
103 <di:waypoint x="1150" y="140" />
104 <di:waypoint x="1200" y="140" />
105 </bpmndi:BPMNEdge>
106 <bpmndi:BPMNEdge id="Flow_1aa2ek0_di" bpmnElement="SequenceFlow_1aa2ek0">
107 <di:waypoint x="1000" y="140" />
108 <di:waypoint x="1050" y="140" />
109 </bpmndi:BPMNEdge>
110 <bpmndi:BPMNEdge id="Flow_17tvomo_di" bpmnElement="SequenceFlow_17tvomo">
111 <di:waypoint x="1300" y="140" />
112 <di:waypoint x="1370" y="140" />
113 </bpmndi:BPMNEdge>
114 <bpmndi:BPMNEdge id="SequenceFlow_029u1wr_di" bpmnElement="SequenceFlow_029u1wr">
115 <di:waypoint x="530" y="140" />
116 <di:waypoint x="600" y="140" />
117 </bpmndi:BPMNEdge>
118 <bpmndi:BPMNEdge id="SequenceFlow_15z9iio_di" bpmnElement="SequenceFlow_15z9iio">
119 <di:waypoint x="1640" y="140" />
120 <di:waypoint x="1715" y="140" />
121 </bpmndi:BPMNEdge>
122 <bpmndi:BPMNEdge id="SequenceFlow_0npmman_di" bpmnElement="SequenceFlow_0npmman">
123 <di:waypoint x="370" y="140" />
124 <di:waypoint x="430" y="140" />
125 </bpmndi:BPMNEdge>
126 <bpmndi:BPMNEdge id="SequenceFlow_0926ghe_di" bpmnElement="SequenceFlow_0926ghe">
127 <di:waypoint x="1740" y="165" />
128 <di:waypoint x="1740" y="260" />
129 <di:waypoint x="1250" y="260" />
130 <di:waypoint x="1250" y="180" />
131 <bpmndi:BPMNLabel>
132 <dc:Bounds x="1489" y="242" width="13" height="14" />
133 </bpmndi:BPMNLabel>
134 </bpmndi:BPMNEdge>
135 <bpmndi:BPMNEdge id="SequenceFlow_0c58sw3_di" bpmnElement="SequenceFlow_0c58sw3">
136 <di:waypoint x="1470" y="140" />
137 <di:waypoint x="1540" y="140" />
138 </bpmndi:BPMNEdge>
139 <bpmndi:BPMNEdge id="SequenceFlow_1c4fjbv_di" bpmnElement="SequenceFlow_1c4fjbv">
140 <di:waypoint x="1765" y="140" />
141 <di:waypoint x="1802" y="140" />
142 <bpmndi:BPMNLabel>
143 <dc:Bounds x="1771" y="118" width="17" height="14" />
144 </bpmndi:BPMNLabel>
145 </bpmndi:BPMNEdge>
146 <bpmndi:BPMNEdge id="SequenceFlow_1rgfzzy_di" bpmnElement="SequenceFlow_1rgfzzy">
147 <di:waypoint x="850" y="140" />
148 <di:waypoint x="900" y="140" />
149 </bpmndi:BPMNEdge>
150 <bpmndi:BPMNEdge id="SequenceFlow_1qkgvvu_di" bpmnElement="SequenceFlow_1qkgvvu">
151 <di:waypoint x="700" y="140" />
152 <di:waypoint x="750" y="140" />
153 </bpmndi:BPMNEdge>
154 <bpmndi:BPMNEdge id="SequenceFlow_0ep5het_di" bpmnElement="SequenceFlow_0ep5het">
155 <di:waypoint x="188" y="140" />
156 <di:waypoint x="270" y="140" />
157 </bpmndi:BPMNEdge>
zm33091a721f2020-03-03 17:14:58 +0800158 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
159 <dc:Bounds x="152" y="122" width="36" height="36" />
160 <bpmndi:BPMNLabel>
161 <dc:Bounds x="159" y="165" width="22" height="14" />
162 </bpmndi:BPMNLabel>
163 </bpmndi:BPMNShape>
zm33091a721f2020-03-03 17:14:58 +0800164 <bpmndi:BPMNShape id="ScriptTask_1bj6tw4_di" bpmnElement="Task_1ujnqtj">
165 <dc:Bounds x="600" y="100" width="100" height="80" />
166 </bpmndi:BPMNShape>
167 <bpmndi:BPMNShape id="ScriptTask_0xgmbqj_di" bpmnElement="Task_1fqiyb4">
168 <dc:Bounds x="750" y="100" width="100" height="80" />
169 </bpmndi:BPMNShape>
170 <bpmndi:BPMNShape id="ScriptTask_01fp1vt_di" bpmnElement="Task_1u755sr">
171 <dc:Bounds x="900" y="100" width="100" height="80" />
172 </bpmndi:BPMNShape>
zm33091a721f2020-03-03 17:14:58 +0800173 <bpmndi:BPMNShape id="ExclusiveGateway_1ogbunu_di" bpmnElement="ExclusiveGateway_1ogbunu" isMarkerVisible="true">
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700174 <dc:Bounds x="1715" y="115" width="50" height="50" />
zm33091a721f2020-03-03 17:14:58 +0800175 <bpmndi:BPMNLabel>
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700176 <dc:Bounds x="1720" y="85" width="52" height="27" />
zm33091a721f2020-03-03 17:14:58 +0800177 </bpmndi:BPMNLabel>
178 </bpmndi:BPMNShape>
179 <bpmndi:BPMNShape id="EndEvent_0jaitqv_di" bpmnElement="EndEvent_0jaitqv">
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700180 <dc:Bounds x="1802" y="122" width="36" height="36" />
zm33091a721f2020-03-03 17:14:58 +0800181 <bpmndi:BPMNLabel>
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700182 <dc:Bounds x="1810" y="168" width="20" height="14" />
zm33091a721f2020-03-03 17:14:58 +0800183 </bpmndi:BPMNLabel>
184 </bpmndi:BPMNShape>
zm33091a721f2020-03-03 17:14:58 +0800185 <bpmndi:BPMNShape id="ScriptTask_0icszw6_di" bpmnElement="Task_0etki1p">
186 <dc:Bounds x="270" y="100" width="100" height="80" />
187 </bpmndi:BPMNShape>
zm33091a721f2020-03-03 17:14:58 +0800188 <bpmndi:BPMNShape id="ScriptTask_1obnwrr_di" bpmnElement="Task_1iomfas">
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700189 <dc:Bounds x="1200" y="100" width="100" height="80" />
zm33091a721f2020-03-03 17:14:58 +0800190 </bpmndi:BPMNShape>
191 <bpmndi:BPMNShape id="ScriptTask_159855t_di" bpmnElement="ScriptTask_159855t">
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700192 <dc:Bounds x="1540" y="100" width="100" height="80" />
zm33091a721f2020-03-03 17:14:58 +0800193 </bpmndi:BPMNShape>
zm33091a721f2020-03-03 17:14:58 +0800194 <bpmndi:BPMNShape id="ScriptTask_0f9rjq4_di" bpmnElement="Task_13k9usx">
195 <dc:Bounds x="430" y="100" width="100" height="80" />
196 </bpmndi:BPMNShape>
197 <bpmndi:BPMNShape id="CallActivity_18qkiat_di" bpmnElement="Task_1rc7mcw">
deepikasatheesha5e1bac2020-09-10 03:24:13 -0700198 <dc:Bounds x="1370" y="100" width="100" height="80" />
199 </bpmndi:BPMNShape>
200 <bpmndi:BPMNShape id="Activity_1iuls9p_di" bpmnElement="Task_1iuls9p">
201 <dc:Bounds x="1050" y="100" width="100" height="80" />
zm33091a721f2020-03-03 17:14:58 +0800202 </bpmndi:BPMNShape>
203 </bpmndi:BPMNPlane>
204 </bpmndi:BPMNDiagram>
205</bpmn:definitions>