blob: 262e08689d760bef619d05994bc548df0d9018a0 [file] [log] [blame]
biniek5c788af2018-03-20 16:41:13 +01001<?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:collaboration id="Collaboration_1d0w8lf">
4 <bpmn:participant id="Participant_1egg397" name="SO&#10;Create and Activate Pnf Resource" processRef="CreateAndActivatePnfResource" />
5 <bpmn:participant id="Participant_0atuyq0" name="AAI" />
6 <bpmn:participant id="Participant_19w87ws" name="Workflow Message Service&#10;(communication with DMAAP)&#10;" />
7 <bpmn:messageFlow id="MessageFlow_1h3xu88" sourceRef="CreateAndActivatePnf_CreateAaiEntry" targetRef="Participant_0atuyq0" />
8 <bpmn:messageFlow id="MessageFlow_09ibv5a" sourceRef="CheckAiiForCorrelationId" targetRef="Participant_0atuyq0" />
9 <bpmn:messageFlow id="MessageFlow_0vjul4t" sourceRef="Participant_0atuyq0" targetRef="CheckAiiForCorrelationId" />
10 <bpmn:messageFlow id="MessageFlow_1vrcp2d" sourceRef="Participant_19w87ws" targetRef="WaitForDmaapPnfReadyNotification" />
11 </bpmn:collaboration>
12 <bpmn:process id="CreateAndActivatePnfResource" name="CreateAndActivatePnfResource" isExecutable="true">
13 <bpmn:sequenceFlow id="SequenceFlow_1ls8pua" name="No" sourceRef="DoesAaiContainInfoAboutIp" targetRef="AaiEntryExists">
14 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{!aaiContainsInfoAboutIp}</bpmn:conditionExpression>
15 </bpmn:sequenceFlow>
16 <bpmn:sequenceFlow id="SequenceFlow_1qr6cmf" sourceRef="CreateAndActivatePnf_CreateAaiEntry" targetRef="AaiEntryExists" />
17 <bpmn:sequenceFlow id="SequenceFlow_1l1t6ak" name="Yes" sourceRef="DoesAaiContainInfoAboutPnf" targetRef="DoesAaiContainInfoAboutIp">
18 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{aaiContainsInfoAboutPnf}</bpmn:conditionExpression>
19 </bpmn:sequenceFlow>
20 <bpmn:sequenceFlow id="SequenceFlow_0v5ffpe" name="No" sourceRef="DoesAaiContainInfoAboutPnf" targetRef="CreateAndActivatePnf_CreateAaiEntry">
21 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{!aaiContainsInfoAboutPnf}</bpmn:conditionExpression>
22 </bpmn:sequenceFlow>
23 <bpmn:sequenceFlow id="SequenceFlow_1j4r3zt" sourceRef="CheckAiiForCorrelationId" targetRef="DoesAaiContainInfoAboutPnf" />
24 <bpmn:sequenceFlow id="SequenceFlow_1h6yz62" name="Yes" sourceRef="DoesAaiContainInfoAboutIp" targetRef="AaiEntryAlreadyUpToDate">
25 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{aaiContainsInfoAboutIp}</bpmn:conditionExpression>
26 </bpmn:sequenceFlow>
27 <bpmn:sequenceFlow id="SequenceFlow_0j5ksz1" sourceRef="CreateAndActivatePnf_StartEvent" targetRef="CheckAiiForCorrelationId" />
28 <bpmn:endEvent id="AaiEntryAlreadyUpToDate" name="AAI entry already up-to-date">
29 <bpmn:incoming>SequenceFlow_1h6yz62</bpmn:incoming>
30 </bpmn:endEvent>
31 <bpmn:endEvent id="AaiEntryUpdated" name="AAI entry updated">
32 <bpmn:incoming>SequenceFlow_0p09qgm</bpmn:incoming>
33 </bpmn:endEvent>
34 <bpmn:startEvent id="CreateAndActivatePnf_StartEvent">
35 <bpmn:outgoing>SequenceFlow_0j5ksz1</bpmn:outgoing>
36 </bpmn:startEvent>
37 <bpmn:sequenceFlow id="SequenceFlow_17s9025" sourceRef="AaiEntryExists" targetRef="WaitForDmaapPnfReadyNotification" />
38 <bpmn:sequenceFlow id="SequenceFlow_1kc34bc" sourceRef="WaitForDmaapTimeout" targetRef="ThrowTimeoutException" />
39 <bpmn:sequenceFlow id="SequenceFlow_0p09qgm" sourceRef="WaitForDmaapPnfReadyNotification" targetRef="AaiEntryUpdated" />
40 <bpmn:serviceTask id="CheckAiiForCorrelationId" name="Check AAI for correlation_id" camunda:delegateExpression="${checkAaiForCorrelationIdDelegate}">
41 <bpmn:incoming>SequenceFlow_0j5ksz1</bpmn:incoming>
42 <bpmn:outgoing>SequenceFlow_1j4r3zt</bpmn:outgoing>
43 </bpmn:serviceTask>
44 <bpmn:exclusiveGateway id="DoesAaiContainInfoAboutPnf" name="Does AAI contain info about pnf?">
45 <bpmn:incoming>SequenceFlow_1j4r3zt</bpmn:incoming>
46 <bpmn:outgoing>SequenceFlow_1l1t6ak</bpmn:outgoing>
47 <bpmn:outgoing>SequenceFlow_0v5ffpe</bpmn:outgoing>
48 </bpmn:exclusiveGateway>
49 <bpmn:serviceTask id="CreateAndActivatePnf_CreateAaiEntry" name="Create AAI entry with pnf-id = correlation_id" camunda:delegateExpression="${createAaiEntryWithPnfIdDelegate}">
50 <bpmn:incoming>SequenceFlow_0v5ffpe</bpmn:incoming>
51 <bpmn:outgoing>SequenceFlow_1qr6cmf</bpmn:outgoing>
52 </bpmn:serviceTask>
53 <bpmn:exclusiveGateway id="DoesAaiContainInfoAboutIp" name="Does AAI contain info about IPv4 or IPv6?">
54 <bpmn:incoming>SequenceFlow_1l1t6ak</bpmn:incoming>
55 <bpmn:outgoing>SequenceFlow_1h6yz62</bpmn:outgoing>
56 <bpmn:outgoing>SequenceFlow_1ls8pua</bpmn:outgoing>
57 </bpmn:exclusiveGateway>
58 <bpmn:intermediateThrowEvent id="AaiEntryExists" name="AAI entry exists, lacking IP">
59 <bpmn:incoming>SequenceFlow_1qr6cmf</bpmn:incoming>
60 <bpmn:incoming>SequenceFlow_1ls8pua</bpmn:incoming>
61 <bpmn:outgoing>SequenceFlow_17s9025</bpmn:outgoing>
62 </bpmn:intermediateThrowEvent>
63 <bpmn:receiveTask id="WaitForDmaapPnfReadyNotification" name="Wait for DMAAP pnf-ready notification" messageRef="Message_13h1tlo">
64 <bpmn:incoming>SequenceFlow_17s9025</bpmn:incoming>
65 <bpmn:outgoing>SequenceFlow_0p09qgm</bpmn:outgoing>
66 </bpmn:receiveTask>
67 <bpmn:boundaryEvent id="WaitForDmaapTimeout" name="Timeout" attachedToRef="WaitForDmaapPnfReadyNotification">
68 <bpmn:outgoing>SequenceFlow_1kc34bc</bpmn:outgoing>
69 <bpmn:timerEventDefinition>
70 <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">#{timeoutForPnfEntryNotification}</bpmn:timeDuration>
71 </bpmn:timerEventDefinition>
72 </bpmn:boundaryEvent>
73 <bpmn:endEvent id="ThrowTimeoutException" name="Throw timeout exception">
74 <bpmn:incoming>SequenceFlow_1kc34bc</bpmn:incoming>
75 <bpmn:errorEventDefinition errorRef="Error_1" />
76 </bpmn:endEvent>
77 <bpmn:association id="Association_0d7oxnz" sourceRef="CreateAndActivatePnf_StartEvent" targetRef="TextAnnotation_1eyzes8" />
78 <bpmn:textAnnotation id="TextAnnotation_1eyzes8">
79 <bpmn:text><![CDATA[Inputs:
80 - timeoutForPnfEntryNotification - String
81 - correlationId - String
82]]></bpmn:text>
83 </bpmn:textAnnotation>
84 </bpmn:process>
85 <bpmn:error id="Error_1" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
86 <bpmn:message id="Message_13h1tlo" name="WorkflowMessage" />
87 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
88 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1d0w8lf">
89 <bpmndi:BPMNShape id="Participant_1egg397_di" bpmnElement="Participant_1egg397">
90 <dc:Bounds x="0" y="0" width="1482" height="353" />
91 </bpmndi:BPMNShape>
92 <bpmndi:BPMNShape id="ExclusiveGateway_1cttgdo_di" bpmnElement="DoesAaiContainInfoAboutPnf" isMarkerVisible="true">
93 <dc:Bounds x="408" y="230" width="50" height="50" />
94 <bpmndi:BPMNLabel>
95 <dc:Bounds x="388" y="283" width="85" height="20" />
96 </bpmndi:BPMNLabel>
97 </bpmndi:BPMNShape>
98 <bpmndi:BPMNShape id="ExclusiveGateway_0yamdfm_di" bpmnElement="DoesAaiContainInfoAboutIp" isMarkerVisible="true">
99 <dc:Bounds x="786" y="41" width="50" height="50" />
100 <bpmndi:BPMNLabel>
101 <dc:Bounds x="767" y="5" width="87" height="30" />
102 </bpmndi:BPMNLabel>
103 </bpmndi:BPMNShape>
104 <bpmndi:BPMNShape id="EndEvent_0k52gr7_di" bpmnElement="AaiEntryUpdated">
105 <dc:Bounds x="1312" y="237" width="36" height="36" />
106 <bpmndi:BPMNLabel>
107 <dc:Bounds x="1286" y="278" width="89" height="10" />
108 </bpmndi:BPMNLabel>
109 </bpmndi:BPMNShape>
110 <bpmndi:BPMNShape id="StartEvent_0j5ok9h_di" bpmnElement="CreateAndActivatePnf_StartEvent">
111 <dc:Bounds x="49" y="237" width="36" height="36" />
112 <bpmndi:BPMNLabel>
113 <dc:Bounds x="23" y="276" width="90" height="20" />
114 </bpmndi:BPMNLabel>
115 </bpmndi:BPMNShape>
116 <bpmndi:BPMNShape id="ServiceTask_0a5uk9o_di" bpmnElement="CheckAiiForCorrelationId">
117 <dc:Bounds x="194" y="215" width="100" height="80" />
118 </bpmndi:BPMNShape>
119 <bpmndi:BPMNShape id="ServiceTask_0iimk5v_di" bpmnElement="CreateAndActivatePnf_CreateAaiEntry">
120 <dc:Bounds x="572" y="215" width="100" height="80" />
121 </bpmndi:BPMNShape>
122 <bpmndi:BPMNEdge id="SequenceFlow_1j4r3zt_di" bpmnElement="SequenceFlow_1j4r3zt">
123 <di:waypoint xsi:type="dc:Point" x="294" y="255" />
124 <di:waypoint xsi:type="dc:Point" x="408" y="255" />
125 <bpmndi:BPMNLabel>
126 <dc:Bounds x="306" y="235" width="90" height="10" />
127 </bpmndi:BPMNLabel>
128 </bpmndi:BPMNEdge>
129 <bpmndi:BPMNEdge id="SequenceFlow_1l1t6ak_di" bpmnElement="SequenceFlow_1l1t6ak">
130 <di:waypoint xsi:type="dc:Point" x="433" y="230" />
131 <di:waypoint xsi:type="dc:Point" x="433" y="66" />
132 <di:waypoint xsi:type="dc:Point" x="786" y="66" />
133 <bpmndi:BPMNLabel>
134 <dc:Bounds x="438" y="206" width="19" height="10" />
135 </bpmndi:BPMNLabel>
136 </bpmndi:BPMNEdge>
137 <bpmndi:BPMNEdge id="SequenceFlow_0v5ffpe_di" bpmnElement="SequenceFlow_0v5ffpe">
138 <di:waypoint xsi:type="dc:Point" x="458" y="255" />
139 <di:waypoint xsi:type="dc:Point" x="572" y="255" />
140 <bpmndi:BPMNLabel>
141 <dc:Bounds x="471.6714285714286" y="237" width="15" height="10" />
142 </bpmndi:BPMNLabel>
143 </bpmndi:BPMNEdge>
144 <bpmndi:BPMNEdge id="SequenceFlow_1h6yz62_di" bpmnElement="SequenceFlow_1h6yz62">
145 <di:waypoint xsi:type="dc:Point" x="836" y="66" />
146 <di:waypoint xsi:type="dc:Point" x="1312" y="66" />
147 <bpmndi:BPMNLabel>
148 <dc:Bounds x="842.76953125" y="51" width="19" height="10" />
149 </bpmndi:BPMNLabel>
150 </bpmndi:BPMNEdge>
151 <bpmndi:BPMNEdge id="SequenceFlow_1ls8pua_di" bpmnElement="SequenceFlow_1ls8pua">
152 <di:waypoint xsi:type="dc:Point" x="811" y="91" />
153 <di:waypoint xsi:type="dc:Point" x="811" y="237" />
154 <bpmndi:BPMNLabel>
155 <dc:Bounds x="821" y="119.69863013698631" width="15" height="10" />
156 </bpmndi:BPMNLabel>
157 </bpmndi:BPMNEdge>
158 <bpmndi:BPMNEdge id="SequenceFlow_1qr6cmf_di" bpmnElement="SequenceFlow_1qr6cmf">
159 <di:waypoint xsi:type="dc:Point" x="672" y="255" />
160 <di:waypoint xsi:type="dc:Point" x="793" y="255" />
161 <bpmndi:BPMNLabel>
162 <dc:Bounds x="687.5" y="235" width="90" height="10" />
163 </bpmndi:BPMNLabel>
164 </bpmndi:BPMNEdge>
165 <bpmndi:BPMNEdge id="SequenceFlow_0j5ksz1_di" bpmnElement="SequenceFlow_0j5ksz1">
166 <di:waypoint xsi:type="dc:Point" x="85" y="255" />
167 <di:waypoint xsi:type="dc:Point" x="194" y="255" />
168 <bpmndi:BPMNLabel>
169 <dc:Bounds x="94.5" y="235" width="90" height="10" />
170 </bpmndi:BPMNLabel>
171 </bpmndi:BPMNEdge>
172 <bpmndi:BPMNShape id="Participant_0i9ban2_di" bpmnElement="Participant_0atuyq0">
173 <dc:Bounds x="123" y="538" width="1222" height="60" />
174 </bpmndi:BPMNShape>
175 <bpmndi:BPMNEdge id="MessageFlow_1h3xu88_di" bpmnElement="MessageFlow_1h3xu88">
176 <di:waypoint xsi:type="dc:Point" x="622" y="295" />
177 <di:waypoint xsi:type="dc:Point" x="622" y="538" />
178 <bpmndi:BPMNLabel>
179 <dc:Bounds x="592" y="411.5" width="90" height="10" />
180 </bpmndi:BPMNLabel>
181 </bpmndi:BPMNEdge>
182 <bpmndi:BPMNEdge id="MessageFlow_09ibv5a_di" bpmnElement="MessageFlow_09ibv5a">
183 <di:waypoint xsi:type="dc:Point" x="225" y="295" />
184 <di:waypoint xsi:type="dc:Point" x="225" y="538" />
185 <bpmndi:BPMNLabel>
186 <dc:Bounds x="195" y="411.5" width="90" height="10" />
187 </bpmndi:BPMNLabel>
188 </bpmndi:BPMNEdge>
189 <bpmndi:BPMNEdge id="MessageFlow_0vjul4t_di" bpmnElement="MessageFlow_0vjul4t">
190 <di:waypoint xsi:type="dc:Point" x="264" y="538" />
191 <di:waypoint xsi:type="dc:Point" x="264" y="295" />
192 <bpmndi:BPMNLabel>
193 <dc:Bounds x="234" y="411.5" width="90" height="10" />
194 </bpmndi:BPMNLabel>
195 </bpmndi:BPMNEdge>
196 <bpmndi:BPMNShape id="Participant_0vmrrhf_di" bpmnElement="Participant_19w87ws">
197 <dc:Bounds x="767" y="414" width="300" height="62" />
198 </bpmndi:BPMNShape>
199 <bpmndi:BPMNShape id="EndEvent_0wbx6tt_di" bpmnElement="ThrowTimeoutException">
200 <dc:Bounds x="1164" y="135" width="36" height="36" />
201 <bpmndi:BPMNLabel>
202 <dc:Bounds x="1157" y="172" width="70" height="20" />
203 </bpmndi:BPMNLabel>
204 </bpmndi:BPMNShape>
205 <bpmndi:BPMNShape id="EndEvent_00cy7r0_di" bpmnElement="AaiEntryAlreadyUpToDate">
206 <dc:Bounds x="1312" y="48" width="36" height="36" />
207 <bpmndi:BPMNLabel>
208 <dc:Bounds x="1288" y="89" width="85" height="20" />
209 </bpmndi:BPMNLabel>
210 </bpmndi:BPMNShape>
211 <bpmndi:BPMNShape id="IntermediateThrowEvent_0fjcdy4_di" bpmnElement="AaiEntryExists">
212 <dc:Bounds x="793" y="237" width="36" height="36" />
213 <bpmndi:BPMNLabel>
214 <dc:Bounds x="771" y="283" width="80" height="20" />
215 </bpmndi:BPMNLabel>
216 </bpmndi:BPMNShape>
217 <bpmndi:BPMNShape id="TextAnnotation_1eyzes8_di" bpmnElement="TextAnnotation_1eyzes8">
218 <dc:Bounds x="66" y="70" width="243" height="54" />
219 </bpmndi:BPMNShape>
220 <bpmndi:BPMNEdge id="Association_0d7oxnz_di" bpmnElement="Association_0d7oxnz">
221 <di:waypoint xsi:type="dc:Point" x="67" y="237" />
222 <di:waypoint xsi:type="dc:Point" x="67" y="124" />
223 </bpmndi:BPMNEdge>
224 <bpmndi:BPMNEdge id="MessageFlow_1vrcp2d_di" bpmnElement="MessageFlow_1vrcp2d">
225 <di:waypoint xsi:type="dc:Point" x="1002" y="414" />
226 <di:waypoint xsi:type="dc:Point" x="1002" y="295" />
227 <bpmndi:BPMNLabel>
228 <dc:Bounds x="972" y="349.5" width="90" height="10" />
229 </bpmndi:BPMNLabel>
230 </bpmndi:BPMNEdge>
231 <bpmndi:BPMNEdge id="SequenceFlow_17s9025_di" bpmnElement="SequenceFlow_17s9025">
232 <di:waypoint xsi:type="dc:Point" x="829" y="255" />
233 <di:waypoint xsi:type="dc:Point" x="950" y="255" />
234 <bpmndi:BPMNLabel>
235 <dc:Bounds x="844.5" y="235" width="90" height="10" />
236 </bpmndi:BPMNLabel>
237 </bpmndi:BPMNEdge>
238 <bpmndi:BPMNShape id="BoundaryEvent_15eo1k9_di" bpmnElement="WaitForDmaapTimeout">
239 <dc:Bounds x="1004" y="197" width="36" height="36" />
240 <bpmndi:BPMNLabel>
241 <dc:Bounds x="1035" y="192" width="40" height="10" />
242 </bpmndi:BPMNLabel>
243 </bpmndi:BPMNShape>
244 <bpmndi:BPMNEdge id="SequenceFlow_1kc34bc_di" bpmnElement="SequenceFlow_1kc34bc">
245 <di:waypoint xsi:type="dc:Point" x="1022" y="197" />
246 <di:waypoint xsi:type="dc:Point" x="1022" y="153" />
247 <di:waypoint xsi:type="dc:Point" x="1164" y="153" />
248 <bpmndi:BPMNLabel>
249 <dc:Bounds x="992" y="170" width="90" height="10" />
250 </bpmndi:BPMNLabel>
251 </bpmndi:BPMNEdge>
252 <bpmndi:BPMNShape id="ReceiveTask_1sfysua_di" bpmnElement="WaitForDmaapPnfReadyNotification">
253 <dc:Bounds x="950" y="215" width="100" height="80" />
254 </bpmndi:BPMNShape>
255 <bpmndi:BPMNEdge id="SequenceFlow_0p09qgm_di" bpmnElement="SequenceFlow_0p09qgm">
256 <di:waypoint xsi:type="dc:Point" x="1050" y="255" />
257 <di:waypoint xsi:type="dc:Point" x="1312" y="255" />
258 <bpmndi:BPMNLabel>
259 <dc:Bounds x="1181" y="235" width="0" height="10" />
260 </bpmndi:BPMNLabel>
261 </bpmndi:BPMNEdge>
262 </bpmndi:BPMNPlane>
263 </bpmndi:BPMNDiagram>
264</bpmn:definitions>