exception handling
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / process / ConfigurePnfResource.bpmn
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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_13i2vsn" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.2.4">
3   <bpmn:process id="ConfigurePnfResource" name="ConfigurePnfResource" isExecutable="true">
4     <bpmn:startEvent id="ConfigurePnfResource_StartEvent">
5       <bpmn:outgoing>SequenceFlow_069mxkg</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:exclusiveGateway id="ExclusiveGateway_079gavg" name="SkipPostInstantiationConfiguration">
8       <bpmn:incoming>SequenceFlow_1u89rk8</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_157of54</bpmn:outgoing>
10       <bpmn:outgoing>SequenceFlow_0j3pm2g</bpmn:outgoing>
11     </bpmn:exclusiveGateway>
12     <bpmn:endEvent id="EndEvent_0xky46v">
13       <bpmn:incoming>SequenceFlow_157of54</bpmn:incoming>
14       <bpmn:incoming>SequenceFlow_1n080up</bpmn:incoming>
15     </bpmn:endEvent>
16     <bpmn:sequenceFlow id="SequenceFlow_157of54" name="true" sourceRef="ExclusiveGateway_079gavg" targetRef="EndEvent_0xky46v">
17       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{SkipPostInstantiationConfiguration}</bpmn:conditionExpression>
18     </bpmn:sequenceFlow>
19     <bpmn:serviceTask id="Task_0k2q5vd" name="Prepare Config Assign" camunda:delegateExpression="${PrepareConfigAssignDelegate}">
20       <bpmn:incoming>SequenceFlow_0j3pm2g</bpmn:incoming>
21       <bpmn:outgoing>SequenceFlow_17llfxw</bpmn:outgoing>
22     </bpmn:serviceTask>
23     <bpmn:sequenceFlow id="SequenceFlow_17llfxw" sourceRef="Task_0k2q5vd" targetRef="Task_1u5pka9" />
24     <bpmn:callActivity id="Task_1u5pka9" name="Config Assign&#10;CDS call&#10;" calledElement="AbstractCDSProcessingBB">
25       <bpmn:extensionElements>
26         <camunda:in source="executionObject" target="executionObject" />
27         <camunda:in businessKey="#{execution.processBusinessKey}" />
28         <camunda:out source="CDSStatus" target="CDSStatus" />
29       </bpmn:extensionElements>
30       <bpmn:incoming>SequenceFlow_17llfxw</bpmn:incoming>
31       <bpmn:outgoing>SequenceFlow_0p0aqtx</bpmn:outgoing>
32     </bpmn:callActivity>
33     <bpmn:exclusiveGateway id="ExclusiveGateway_0vtv1wi" default="SequenceFlow_1w4p9f7">
34       <bpmn:incoming>SequenceFlow_0p0aqtx</bpmn:incoming>
35       <bpmn:outgoing>SequenceFlow_1owbpsy</bpmn:outgoing>
36       <bpmn:outgoing>SequenceFlow_1w4p9f7</bpmn:outgoing>
37     </bpmn:exclusiveGateway>
38     <bpmn:sequenceFlow id="SequenceFlow_0p0aqtx" sourceRef="Task_1u5pka9" targetRef="ExclusiveGateway_0vtv1wi" />
39     <bpmn:sequenceFlow id="SequenceFlow_1owbpsy" name="Success" sourceRef="ExclusiveGateway_0vtv1wi" targetRef="Task_1uvsz0c">
40       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("CDSStatus").equals("Success")}</bpmn:conditionExpression>
41     </bpmn:sequenceFlow>
42     <bpmn:sequenceFlow id="SequenceFlow_0jfgn7n" sourceRef="Task_1uvsz0c" targetRef="Task_1a5w1si" />
43     <bpmn:callActivity id="Task_1a5w1si" name="Config Deploy&#10;CDS call&#10;" calledElement="AbstractCDSProcessingBB">
44       <bpmn:extensionElements>
45         <camunda:in businessKey="#{execution.processBusinessKey}" />
46         <camunda:in source="executionObject" target="executionObject" />
47         <camunda:out source="CDSStatus" target="CDSStatus" />
48       </bpmn:extensionElements>
49       <bpmn:incoming>SequenceFlow_0jfgn7n</bpmn:incoming>
50       <bpmn:outgoing>SequenceFlow_08voj55</bpmn:outgoing>
51     </bpmn:callActivity>
52     <bpmn:exclusiveGateway id="ExclusiveGateway_01jwwmc" default="SequenceFlow_0d24h26">
53       <bpmn:incoming>SequenceFlow_08voj55</bpmn:incoming>
54       <bpmn:outgoing>SequenceFlow_1n080up</bpmn:outgoing>
55       <bpmn:outgoing>SequenceFlow_0d24h26</bpmn:outgoing>
56     </bpmn:exclusiveGateway>
57     <bpmn:sequenceFlow id="SequenceFlow_08voj55" sourceRef="Task_1a5w1si" targetRef="ExclusiveGateway_01jwwmc" />
58     <bpmn:sequenceFlow id="SequenceFlow_1n080up" name="Success" sourceRef="ExclusiveGateway_01jwwmc" targetRef="EndEvent_0xky46v">
59       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("CDSStatus").equals("Success")}</bpmn:conditionExpression>
60     </bpmn:sequenceFlow>
61     <bpmn:sequenceFlow id="SequenceFlow_1w4p9f7" name="Failure" sourceRef="ExclusiveGateway_0vtv1wi" targetRef="EndEvent_16620h9" />
62     <bpmn:endEvent id="EndEvent_16620h9">
63       <bpmn:incoming>SequenceFlow_1w4p9f7</bpmn:incoming>
64       <bpmn:errorEventDefinition errorRef="Error_11v8tez" />
65     </bpmn:endEvent>
66     <bpmn:sequenceFlow id="SequenceFlow_0d24h26" name="Failure" sourceRef="ExclusiveGateway_01jwwmc" targetRef="EndEvent_0izr65x" />
67     <bpmn:endEvent id="EndEvent_0izr65x">
68       <bpmn:incoming>SequenceFlow_0d24h26</bpmn:incoming>
69       <bpmn:errorEventDefinition errorRef="Error_0rjwti0" />
70     </bpmn:endEvent>
71     <bpmn:serviceTask id="Task_1nhh7ob" name="Configuration Checker" camunda:delegateExpression="${ConfigCheckerDelegate}">
72       <bpmn:incoming>SequenceFlow_069mxkg</bpmn:incoming>
73       <bpmn:outgoing>SequenceFlow_1u89rk8</bpmn:outgoing>
74     </bpmn:serviceTask>
75     <bpmn:sequenceFlow id="SequenceFlow_069mxkg" sourceRef="ConfigurePnfResource_StartEvent" targetRef="Task_1nhh7ob" />
76     <bpmn:sequenceFlow id="SequenceFlow_1u89rk8" sourceRef="Task_1nhh7ob" targetRef="ExclusiveGateway_079gavg" />
77     <bpmn:sequenceFlow id="SequenceFlow_0j3pm2g" name="false" sourceRef="ExclusiveGateway_079gavg" targetRef="Task_0k2q5vd">
78       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{!SkipPostInstantiationConfiguration}</bpmn:conditionExpression>
79     </bpmn:sequenceFlow>
80     <bpmn:serviceTask id="Task_1uvsz0c" name="Prepare Config Deploy" camunda:delegateExpression="${PrepareConfigDeployDelegate}">
81       <bpmn:incoming>SequenceFlow_1owbpsy</bpmn:incoming>
82       <bpmn:outgoing>SequenceFlow_0jfgn7n</bpmn:outgoing>
83     </bpmn:serviceTask>
84   </bpmn:process>
85   <bpmn:error id="Error_11v8tez" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
86   <bpmn:error id="Error_0rjwti0" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
87   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
88     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ConfigurePnfResource">
89       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="ConfigurePnfResource_StartEvent">
90         <dc:Bounds x="165" y="158" width="36" height="36" />
91       </bpmndi:BPMNShape>
92       <bpmndi:BPMNShape id="ExclusiveGateway_079gavg_di" bpmnElement="ExclusiveGateway_079gavg" isMarkerVisible="true">
93         <dc:Bounds x="401" y="151" width="50" height="50" />
94         <bpmndi:BPMNLabel>
95           <dc:Bounds x="383" y="113.5" width="86" height="27" />
96         </bpmndi:BPMNLabel>
97       </bpmndi:BPMNShape>
98       <bpmndi:BPMNShape id="EndEvent_0xky46v_di" bpmnElement="EndEvent_0xky46v">
99         <dc:Bounds x="1402" y="158" width="36" height="36" />
100       </bpmndi:BPMNShape>
101       <bpmndi:BPMNEdge id="SequenceFlow_157of54_di" bpmnElement="SequenceFlow_157of54">
102         <di:waypoint x="451" y="176" />
103         <di:waypoint x="1402" y="176" />
104         <bpmndi:BPMNLabel>
105           <dc:Bounds x="918" y="158" width="19" height="14" />
106         </bpmndi:BPMNLabel>
107       </bpmndi:BPMNEdge>
108       <bpmndi:BPMNShape id="ServiceTask_0h627qv_di" bpmnElement="Task_0k2q5vd">
109         <dc:Bounds x="486" y="286" width="100" height="80" />
110       </bpmndi:BPMNShape>
111       <bpmndi:BPMNEdge id="SequenceFlow_17llfxw_di" bpmnElement="SequenceFlow_17llfxw">
112         <di:waypoint x="586" y="326" />
113         <di:waypoint x="621" y="326" />
114       </bpmndi:BPMNEdge>
115       <bpmndi:BPMNShape id="CallActivity_0y8mxy4_di" bpmnElement="Task_1u5pka9">
116         <dc:Bounds x="621" y="286" width="100" height="80" />
117       </bpmndi:BPMNShape>
118       <bpmndi:BPMNShape id="ExclusiveGateway_0vtv1wi_di" bpmnElement="ExclusiveGateway_0vtv1wi" isMarkerVisible="true">
119         <dc:Bounds x="786" y="301" width="50" height="50" />
120       </bpmndi:BPMNShape>
121       <bpmndi:BPMNEdge id="SequenceFlow_0p0aqtx_di" bpmnElement="SequenceFlow_0p0aqtx">
122         <di:waypoint x="721" y="326" />
123         <di:waypoint x="786" y="326" />
124       </bpmndi:BPMNEdge>
125       <bpmndi:BPMNEdge id="SequenceFlow_1owbpsy_di" bpmnElement="SequenceFlow_1owbpsy">
126         <di:waypoint x="836" y="326" />
127         <di:waypoint x="901" y="326" />
128         <bpmndi:BPMNLabel>
129           <dc:Bounds x="847" y="308" width="43" height="14" />
130         </bpmndi:BPMNLabel>
131       </bpmndi:BPMNEdge>
132       <bpmndi:BPMNEdge id="SequenceFlow_0jfgn7n_di" bpmnElement="SequenceFlow_0jfgn7n">
133         <di:waypoint x="1001" y="326" />
134         <di:waypoint x="1066" y="326" />
135       </bpmndi:BPMNEdge>
136       <bpmndi:BPMNShape id="CallActivity_1viph1b_di" bpmnElement="Task_1a5w1si">
137         <dc:Bounds x="1066" y="286" width="100" height="80" />
138       </bpmndi:BPMNShape>
139       <bpmndi:BPMNShape id="ExclusiveGateway_01jwwmc_di" bpmnElement="ExclusiveGateway_01jwwmc" isMarkerVisible="true">
140         <dc:Bounds x="1231" y="301" width="50" height="50" />
141       </bpmndi:BPMNShape>
142       <bpmndi:BPMNEdge id="SequenceFlow_08voj55_di" bpmnElement="SequenceFlow_08voj55">
143         <di:waypoint x="1166" y="326" />
144         <di:waypoint x="1231" y="326" />
145       </bpmndi:BPMNEdge>
146       <bpmndi:BPMNEdge id="SequenceFlow_1n080up_di" bpmnElement="SequenceFlow_1n080up">
147         <di:waypoint x="1256" y="301" />
148         <di:waypoint x="1256" y="176" />
149         <di:waypoint x="1402" y="176" />
150         <bpmndi:BPMNLabel>
151           <dc:Bounds x="1250" y="236" width="43" height="14" />
152         </bpmndi:BPMNLabel>
153       </bpmndi:BPMNEdge>
154       <bpmndi:BPMNEdge id="SequenceFlow_1w4p9f7_di" bpmnElement="SequenceFlow_1w4p9f7">
155         <di:waypoint x="811" y="351" />
156         <di:waypoint x="811" y="418" />
157         <bpmndi:BPMNLabel>
158           <dc:Bounds x="809" y="382" width="34" height="14" />
159         </bpmndi:BPMNLabel>
160       </bpmndi:BPMNEdge>
161       <bpmndi:BPMNShape id="EndEvent_0etscol_di" bpmnElement="EndEvent_16620h9">
162         <dc:Bounds x="793" y="418" width="36" height="36" />
163       </bpmndi:BPMNShape>
164       <bpmndi:BPMNEdge id="SequenceFlow_0d24h26_di" bpmnElement="SequenceFlow_0d24h26">
165         <di:waypoint x="1256" y="351" />
166         <di:waypoint x="1256" y="418" />
167         <bpmndi:BPMNLabel>
168           <dc:Bounds x="1254" y="382" width="34" height="14" />
169         </bpmndi:BPMNLabel>
170       </bpmndi:BPMNEdge>
171       <bpmndi:BPMNShape id="EndEvent_0buf1g3_di" bpmnElement="EndEvent_0izr65x">
172         <dc:Bounds x="1238" y="418" width="36" height="36" />
173       </bpmndi:BPMNShape>
174       <bpmndi:BPMNShape id="ServiceTask_0dzvrj0_di" bpmnElement="Task_1nhh7ob">
175         <dc:Bounds x="251" y="136" width="100" height="80" />
176       </bpmndi:BPMNShape>
177       <bpmndi:BPMNEdge id="SequenceFlow_069mxkg_di" bpmnElement="SequenceFlow_069mxkg">
178         <di:waypoint x="201" y="176" />
179         <di:waypoint x="251" y="176" />
180       </bpmndi:BPMNEdge>
181       <bpmndi:BPMNEdge id="SequenceFlow_1u89rk8_di" bpmnElement="SequenceFlow_1u89rk8">
182         <di:waypoint x="351" y="176" />
183         <di:waypoint x="401" y="176" />
184       </bpmndi:BPMNEdge>
185       <bpmndi:BPMNEdge id="SequenceFlow_0j3pm2g_di" bpmnElement="SequenceFlow_0j3pm2g">
186         <di:waypoint x="426" y="201" />
187         <di:waypoint x="426" y="326" />
188         <di:waypoint x="486" y="326" />
189         <bpmndi:BPMNLabel>
190           <dc:Bounds x="429" y="261" width="24" height="14" />
191         </bpmndi:BPMNLabel>
192       </bpmndi:BPMNEdge>
193       <bpmndi:BPMNShape id="ServiceTask_0vmu4wk_di" bpmnElement="Task_1uvsz0c">
194         <dc:Bounds x="901" y="286" width="100" height="80" />
195       </bpmndi:BPMNShape>
196     </bpmndi:BPMNPlane>
197   </bpmndi:BPMNDiagram>
198 </bpmn:definitions>