Merge "added test case to CamundaClientTest.java"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / UpdateNetworkBB.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_MagIIMOUEeW8asg-vCEgWQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="UpdateNetworkBB" name="UpdateNetworkBB" isExecutable="true">
4     <bpmn2:startEvent id="UpdateNetworkBB_Start" name="Start">
5       <bpmn2:outgoing>SequenceFlow_074w2et</bpmn2:outgoing>
6     </bpmn2:startEvent>
7     <bpmn2:serviceTask id="SDNCChangeAssignNetwork" name="SDNC ChangeAssign Network" camunda:expression="${SDNCChangeAssignTasks.changeAssignNetwork(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn2:incoming>SequenceFlow_074w2et</bpmn2:incoming>
9       <bpmn2:outgoing>SequenceFlow_04yezm3</bpmn2:outgoing>
10     </bpmn2:serviceTask>
11     <bpmn2:sequenceFlow id="SequenceFlow_074w2et" sourceRef="UpdateNetworkBB_Start" targetRef="SDNCChangeAssignNetwork" />
12     <bpmn2:intermediateThrowEvent id="SDNC_End" name="To AAI">
13       <bpmn2:incoming>SequenceFlow_04yezm3</bpmn2:incoming>
14       <bpmn2:linkEventDefinition name="SDNC_to_AAI" />
15     </bpmn2:intermediateThrowEvent>
16     <bpmn2:sequenceFlow id="SequenceFlow_04yezm3" sourceRef="SDNCChangeAssignNetwork" targetRef="SDNC_End" />
17     <bpmn2:intermediateCatchEvent id="AAI_Start" name="To AAI">
18       <bpmn2:outgoing>SequenceFlow_1trqq6d</bpmn2:outgoing>
19       <bpmn2:linkEventDefinition name="SDNC_to_AAI" />
20     </bpmn2:intermediateCatchEvent>
21     <bpmn2:sequenceFlow id="SequenceFlow_1trqq6d" sourceRef="AAI_Start" targetRef="QueryVpnBindingAAI" />
22     <bpmn2:serviceTask id="QueryVpnBindingAAI" name="Query Vpn Binding (AAI)" camunda:expression="${AAIQueryTasks.queryNetworkVpnBinding(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
23       <bpmn2:incoming>SequenceFlow_1trqq6d</bpmn2:incoming>
24       <bpmn2:outgoing>SequenceFlow_1io4cl7</bpmn2:outgoing>
25     </bpmn2:serviceTask>
26     <bpmn2:serviceTask id="QueryNetworkPolicyAAI" name="Query Network Policy (AAI)" camunda:expression="${AAIQueryTasks.queryNetworkPolicy(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
27       <bpmn2:incoming>SequenceFlow_1io4cl7</bpmn2:incoming>
28       <bpmn2:outgoing>SequenceFlow_16fm47t</bpmn2:outgoing>
29     </bpmn2:serviceTask>
30     <bpmn2:sequenceFlow id="SequenceFlow_1io4cl7" sourceRef="QueryVpnBindingAAI" targetRef="QueryNetworkPolicyAAI" />
31     <bpmn2:sequenceFlow id="SequenceFlow_16fm47t" sourceRef="QueryNetworkPolicyAAI" targetRef="QueryNetworkTableRefAAI" />
32     <bpmn2:serviceTask id="QueryNetworkTableRefAAI" name="Query Network TableRef (AAI)" camunda:expression="${AAIQueryTasks.queryNetworkTableRef(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
33       <bpmn2:incoming>SequenceFlow_16fm47t</bpmn2:incoming>
34       <bpmn2:outgoing>SequenceFlow_00xbxe7</bpmn2:outgoing>
35     </bpmn2:serviceTask>
36     <bpmn2:intermediateThrowEvent id="AAI_End" name="To AIC">
37       <bpmn2:incoming>SequenceFlow_00xbxe7</bpmn2:incoming>
38       <bpmn2:linkEventDefinition name="AAI_to_AIC" />
39     </bpmn2:intermediateThrowEvent>
40     <bpmn2:sequenceFlow id="SequenceFlow_00xbxe7" sourceRef="QueryNetworkTableRefAAI" targetRef="AAI_End" />
41     <bpmn2:intermediateCatchEvent id="AIC_Start" name="To AIC">
42       <bpmn2:outgoing>SequenceFlow_196cgux</bpmn2:outgoing>
43       <bpmn2:linkEventDefinition name="AAI_to_AIC" />
44     </bpmn2:intermediateCatchEvent>
45     <bpmn2:sequenceFlow id="SequenceFlow_196cgux" sourceRef="AIC_Start" targetRef="UpdateNetworkAdapter" />
46     <bpmn2:serviceTask id="UpdateNetworkAdapter" name="Update Network (Network Adapter)" camunda:expression="${NetworkAdapterUpdateTasks.updateNetwork(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
47       <bpmn2:incoming>SequenceFlow_196cgux</bpmn2:incoming>
48       <bpmn2:outgoing>SequenceFlow_0hsvgje</bpmn2:outgoing>
49     </bpmn2:serviceTask>
50     <bpmn2:sequenceFlow id="SequenceFlow_0hsvgje" sourceRef="UpdateNetworkAdapter" targetRef="UpdateNetworkAAI" />
51     <bpmn2:serviceTask id="UpdateNetworkAAI" name="Update Network (AAI)" camunda:expression="${AAIUpdateTasks.updateObjectNetwork(execution.getVariable(&#34;&#34;))}">
52       <bpmn2:incoming>SequenceFlow_0hsvgje</bpmn2:incoming>
53       <bpmn2:outgoing>SequenceFlow_0fhfitm</bpmn2:outgoing>
54     </bpmn2:serviceTask>
55     <bpmn2:endEvent id="UpdateNetworkBB_End" name="End">
56       <bpmn2:incoming>SequenceFlow_0fhfitm</bpmn2:incoming>
57     </bpmn2:endEvent>
58     <bpmn2:sequenceFlow id="SequenceFlow_0fhfitm" sourceRef="UpdateNetworkAAI" targetRef="UpdateNetworkBB_End" />
59   </bpmn2:process>
60   <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
61   <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
62   <bpmn2:error id="Error_01yvdm8" name="gDelegateError" errorCode="7000" />
63   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
64     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateNetworkBB">
65       <bpmndi:BPMNShape id="StartEvent_1kewmmc_di" bpmnElement="UpdateNetworkBB_Start">
66         <dc:Bounds x="144" y="77" width="36" height="36" />
67         <bpmndi:BPMNLabel>
68           <dc:Bounds x="150" y="117" width="24" height="12" />
69         </bpmndi:BPMNLabel>
70       </bpmndi:BPMNShape>
71       <bpmndi:BPMNShape id="ServiceTask_12470s8_di" bpmnElement="SDNCChangeAssignNetwork">
72         <dc:Bounds x="278" y="55" width="100" height="80" />
73       </bpmndi:BPMNShape>
74       <bpmndi:BPMNEdge id="SequenceFlow_074w2et_di" bpmnElement="SequenceFlow_074w2et">
75         <di:waypoint xsi:type="dc:Point" x="180" y="95" />
76         <di:waypoint xsi:type="dc:Point" x="278" y="95" />
77         <bpmndi:BPMNLabel>
78           <dc:Bounds x="229" y="74" width="0" height="12" />
79         </bpmndi:BPMNLabel>
80       </bpmndi:BPMNEdge>
81       <bpmndi:BPMNShape id="IntermediateThrowEvent_0pce3rm_di" bpmnElement="SDNC_End">
82         <dc:Bounds x="487" y="77" width="36" height="36" />
83         <bpmndi:BPMNLabel>
84           <dc:Bounds x="490" y="117" width="33" height="12" />
85         </bpmndi:BPMNLabel>
86       </bpmndi:BPMNShape>
87       <bpmndi:BPMNEdge id="SequenceFlow_04yezm3_di" bpmnElement="SequenceFlow_04yezm3">
88         <di:waypoint xsi:type="dc:Point" x="378" y="95" />
89         <di:waypoint xsi:type="dc:Point" x="487" y="95" />
90         <bpmndi:BPMNLabel>
91           <dc:Bounds x="432.5" y="74" width="0" height="12" />
92         </bpmndi:BPMNLabel>
93       </bpmndi:BPMNEdge>
94       <bpmndi:BPMNShape id="IntermediateCatchEvent_1hbb3j8_di" bpmnElement="AAI_Start">
95         <dc:Bounds x="144" y="215" width="36" height="36" />
96         <bpmndi:BPMNLabel>
97           <dc:Bounds x="147" y="255" width="33" height="12" />
98         </bpmndi:BPMNLabel>
99       </bpmndi:BPMNShape>
100       <bpmndi:BPMNEdge id="SequenceFlow_1trqq6d_di" bpmnElement="SequenceFlow_1trqq6d">
101         <di:waypoint xsi:type="dc:Point" x="180" y="233" />
102         <di:waypoint xsi:type="dc:Point" x="280" y="233" />
103         <bpmndi:BPMNLabel>
104           <dc:Bounds x="185" y="212" width="90" height="12" />
105         </bpmndi:BPMNLabel>
106       </bpmndi:BPMNEdge>
107       <bpmndi:BPMNShape id="ServiceTask_09dctlw_di" bpmnElement="QueryVpnBindingAAI">
108         <dc:Bounds x="280" y="193" width="100" height="80" />
109       </bpmndi:BPMNShape>
110       <bpmndi:BPMNShape id="ServiceTask_1slp95d_di" bpmnElement="QueryNetworkPolicyAAI">
111         <dc:Bounds x="455" y="193" width="100" height="80" />
112       </bpmndi:BPMNShape>
113       <bpmndi:BPMNEdge id="SequenceFlow_1io4cl7_di" bpmnElement="SequenceFlow_1io4cl7">
114         <di:waypoint xsi:type="dc:Point" x="380" y="233" />
115         <di:waypoint xsi:type="dc:Point" x="455" y="233" />
116         <bpmndi:BPMNLabel>
117           <dc:Bounds x="417.5" y="212" width="0" height="12" />
118         </bpmndi:BPMNLabel>
119       </bpmndi:BPMNEdge>
120       <bpmndi:BPMNEdge id="SequenceFlow_16fm47t_di" bpmnElement="SequenceFlow_16fm47t">
121         <di:waypoint xsi:type="dc:Point" x="555" y="233" />
122         <di:waypoint xsi:type="dc:Point" x="625" y="233" />
123         <bpmndi:BPMNLabel>
124           <dc:Bounds x="590" y="212" width="0" height="12" />
125         </bpmndi:BPMNLabel>
126       </bpmndi:BPMNEdge>
127       <bpmndi:BPMNShape id="ServiceTask_0e0nlcc_di" bpmnElement="QueryNetworkTableRefAAI">
128         <dc:Bounds x="625" y="193" width="100" height="80" />
129       </bpmndi:BPMNShape>
130       <bpmndi:BPMNShape id="IntermediateThrowEvent_0x5f0zk_di" bpmnElement="AAI_End">
131         <dc:Bounds x="785" y="215" width="36" height="36" />
132         <bpmndi:BPMNLabel>
133           <dc:Bounds x="787" y="255" width="34" height="12" />
134         </bpmndi:BPMNLabel>
135       </bpmndi:BPMNShape>
136       <bpmndi:BPMNEdge id="SequenceFlow_00xbxe7_di" bpmnElement="SequenceFlow_00xbxe7">
137         <di:waypoint xsi:type="dc:Point" x="725" y="233" />
138         <di:waypoint xsi:type="dc:Point" x="785" y="233" />
139         <bpmndi:BPMNLabel>
140           <dc:Bounds x="755" y="212" width="0" height="12" />
141         </bpmndi:BPMNLabel>
142       </bpmndi:BPMNEdge>
143       <bpmndi:BPMNShape id="IntermediateCatchEvent_0sx0nb6_di" bpmnElement="AIC_Start">
144         <dc:Bounds x="144" y="332" width="36" height="36" />
145         <bpmndi:BPMNLabel>
146           <dc:Bounds x="146" y="372" width="34" height="12" />
147         </bpmndi:BPMNLabel>
148       </bpmndi:BPMNShape>
149       <bpmndi:BPMNEdge id="SequenceFlow_196cgux_di" bpmnElement="SequenceFlow_196cgux">
150         <di:waypoint xsi:type="dc:Point" x="180" y="350" />
151         <di:waypoint xsi:type="dc:Point" x="248" y="350" />
152         <bpmndi:BPMNLabel>
153           <dc:Bounds x="169" y="329" width="90" height="12" />
154         </bpmndi:BPMNLabel>
155       </bpmndi:BPMNEdge>
156       <bpmndi:BPMNShape id="ServiceTask_0i66n9g_di" bpmnElement="UpdateNetworkAdapter">
157         <dc:Bounds x="248" y="310" width="100" height="80" />
158       </bpmndi:BPMNShape>
159       <bpmndi:BPMNEdge id="SequenceFlow_0hsvgje_di" bpmnElement="SequenceFlow_0hsvgje">
160         <di:waypoint xsi:type="dc:Point" x="348" y="350" />
161         <di:waypoint xsi:type="dc:Point" x="422" y="350" />
162         <bpmndi:BPMNLabel>
163           <dc:Bounds x="340" y="329" width="90" height="12" />
164         </bpmndi:BPMNLabel>
165       </bpmndi:BPMNEdge>
166       <bpmndi:BPMNShape id="ServiceTask_1ydm5u9_di" bpmnElement="UpdateNetworkAAI">
167         <dc:Bounds x="422" y="310" width="100" height="80" />
168       </bpmndi:BPMNShape>
169       <bpmndi:BPMNShape id="EndEvent_0fsts2w_di" bpmnElement="UpdateNetworkBB_End">
170         <dc:Bounds x="637" y="332" width="36" height="36" />
171         <bpmndi:BPMNLabel>
172           <dc:Bounds x="646" y="372" width="19" height="12" />
173         </bpmndi:BPMNLabel>
174       </bpmndi:BPMNShape>
175       <bpmndi:BPMNEdge id="SequenceFlow_0fhfitm_di" bpmnElement="SequenceFlow_0fhfitm">
176         <di:waypoint xsi:type="dc:Point" x="522" y="350" />
177         <di:waypoint xsi:type="dc:Point" x="637" y="350" />
178         <bpmndi:BPMNLabel>
179           <dc:Bounds x="535" y="329" width="90" height="12" />
180         </bpmndi:BPMNLabel>
181       </bpmndi:BPMNEdge>
182     </bpmndi:BPMNPlane>
183   </bpmndi:BPMNDiagram>
184 </bpmn2:definitions>