Containerization feature of SO
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / UnassignNetworkBB.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: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.8.2">
3   <bpmn:process id="UnassignNetworkBB" name="UnassignNetworkBB" isExecutable="true">
4     <bpmn:startEvent id="Start_UnassignNetworkBB" name="start">
5       <bpmn:outgoing>SequenceFlow_0zaz9o2</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="Task_SNDCUnAssign" name="Call SDNC Adapter Topology UnAssign" camunda:expression="${SDNCUnassignTasks.unassignNetwork(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_0le4vrj</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_1ks8kmt</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:endEvent id="End_UnassignNetworkBB" name="end">
12       <bpmn:incoming>SequenceFlow_0csh9dc</bpmn:incoming>
13     </bpmn:endEvent>
14     <bpmn:sequenceFlow id="SequenceFlow_0zaz9o2" sourceRef="Start_UnassignNetworkBB" targetRef="Task_GetL3NetworkById" />
15     <bpmn:sequenceFlow id="SequenceFlow_1ks8kmt" sourceRef="Task_SNDCUnAssign" targetRef="Task_DeleteNetwork" />
16     <bpmn:sequenceFlow id="SequenceFlow_0csh9dc" sourceRef="Task_DeleteNetwork" targetRef="End_UnassignNetworkBB" />
17     <bpmn:serviceTask id="Task_DeleteNetwork" name="Delete Network (AAI)" camunda:expression="${AAIDeleteTasks.deleteNetwork(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
18       <bpmn:incoming>SequenceFlow_1ks8kmt</bpmn:incoming>
19       <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
20     </bpmn:serviceTask>
21     <bpmn:serviceTask id="Task_VfModuleRelatioship" name="Veriyf &#39;vf-module&#39; relationship exists" camunda:expression="${UnassignNetworkBB.checkRelationshipRelatedTo(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)), &#34;vf-module&#34;)}">
22       <bpmn:incoming>SequenceFlow_1gd5h4c</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_0mxe1a7</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <bpmn:sequenceFlow id="SequenceFlow_0mxe1a7" sourceRef="Task_VfModuleRelatioship" targetRef="Task_GetCloudRegionVersion" />
26     <bpmn:sequenceFlow id="SequenceFlow_1gd5h4c" sourceRef="Task_GetL3NetworkById" targetRef="Task_VfModuleRelatioship" />
27     <bpmn:serviceTask id="Task_GetL3NetworkById" name="Get L3Network by networkId (AAI)" camunda:expression="${AAIQueryTasks.getNetworkWrapperById(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
28       <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
29       <bpmn:outgoing>SequenceFlow_1gd5h4c</bpmn:outgoing>
30     </bpmn:serviceTask>
31     <bpmn:sequenceFlow id="SequenceFlow_0le4vrj" sourceRef="Task_GetCloudRegionVersion" targetRef="Task_SNDCUnAssign" />
32     <bpmn:serviceTask id="Task_GetCloudRegionVersion" name="Get Sdnc Cloud Region Version" camunda:expression="${UnassignNetworkBB.getCloudSdncRegion(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
33       <bpmn:incoming>SequenceFlow_0mxe1a7</bpmn:incoming>
34       <bpmn:outgoing>SequenceFlow_0le4vrj</bpmn:outgoing>
35     </bpmn:serviceTask>
36   </bpmn:process>
37   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
38     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UnassignNetworkBB">
39       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_UnassignNetworkBB">
40         <dc:Bounds x="145" y="119" width="36" height="36" />
41         <bpmndi:BPMNLabel>
42           <dc:Bounds x="152" y="155" width="22" height="12" />
43         </bpmndi:BPMNLabel>
44       </bpmndi:BPMNShape>
45       <bpmndi:BPMNShape id="ServiceTask_0m0ikey_di" bpmnElement="Task_SNDCUnAssign">
46         <dc:Bounds x="665" y="97" width="100" height="80" />
47       </bpmndi:BPMNShape>
48       <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_UnassignNetworkBB">
49         <dc:Bounds x="946" y="119" width="36" height="36" />
50         <bpmndi:BPMNLabel>
51           <dc:Bounds x="955" y="159" width="18" height="12" />
52         </bpmndi:BPMNLabel>
53       </bpmndi:BPMNShape>
54       <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
55         <di:waypoint xsi:type="dc:Point" x="181" y="137" />
56         <di:waypoint xsi:type="dc:Point" x="232" y="137" />
57         <bpmndi:BPMNLabel>
58           <dc:Bounds x="207" y="122" width="0" height="0" />
59         </bpmndi:BPMNLabel>
60       </bpmndi:BPMNEdge>
61       <bpmndi:BPMNEdge id="SequenceFlow_1ks8kmt_di" bpmnElement="SequenceFlow_1ks8kmt">
62         <di:waypoint xsi:type="dc:Point" x="765" y="137" />
63         <di:waypoint xsi:type="dc:Point" x="804" y="137" />
64         <bpmndi:BPMNLabel>
65           <dc:Bounds x="785" y="122" width="0" height="0" />
66         </bpmndi:BPMNLabel>
67       </bpmndi:BPMNEdge>
68       <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
69         <di:waypoint xsi:type="dc:Point" x="904" y="137" />
70         <di:waypoint xsi:type="dc:Point" x="946" y="137" />
71         <bpmndi:BPMNLabel>
72           <dc:Bounds x="925" y="122" width="0" height="0" />
73         </bpmndi:BPMNLabel>
74       </bpmndi:BPMNEdge>
75       <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_DeleteNetwork">
76         <dc:Bounds x="804" y="97" width="100" height="80" />
77       </bpmndi:BPMNShape>
78       <bpmndi:BPMNShape id="ServiceTask_194x6el_di" bpmnElement="Task_VfModuleRelatioship">
79         <dc:Bounds x="375" y="97" width="100" height="80" />
80       </bpmndi:BPMNShape>
81       <bpmndi:BPMNEdge id="SequenceFlow_0mxe1a7_di" bpmnElement="SequenceFlow_0mxe1a7">
82         <di:waypoint xsi:type="dc:Point" x="475" y="137" />
83         <di:waypoint xsi:type="dc:Point" x="524" y="137" />
84         <bpmndi:BPMNLabel>
85           <dc:Bounds x="500" y="122" width="0" height="0" />
86         </bpmndi:BPMNLabel>
87       </bpmndi:BPMNEdge>
88       <bpmndi:BPMNEdge id="SequenceFlow_1gd5h4c_di" bpmnElement="SequenceFlow_1gd5h4c">
89         <di:waypoint xsi:type="dc:Point" x="332" y="137" />
90         <di:waypoint xsi:type="dc:Point" x="375" y="137" />
91         <bpmndi:BPMNLabel>
92           <dc:Bounds x="354" y="122" width="0" height="0" />
93         </bpmndi:BPMNLabel>
94       </bpmndi:BPMNEdge>
95       <bpmndi:BPMNShape id="ServiceTask_1scptd7_di" bpmnElement="Task_GetL3NetworkById">
96         <dc:Bounds x="232" y="97" width="100" height="80" />
97       </bpmndi:BPMNShape>
98       <bpmndi:BPMNEdge id="SequenceFlow_0le4vrj_di" bpmnElement="SequenceFlow_0le4vrj">
99         <di:waypoint xsi:type="dc:Point" x="624" y="137" />
100         <di:waypoint xsi:type="dc:Point" x="665" y="137" />
101         <bpmndi:BPMNLabel>
102           <dc:Bounds x="645" y="122" width="0" height="0" />
103         </bpmndi:BPMNLabel>
104       </bpmndi:BPMNEdge>
105       <bpmndi:BPMNShape id="ServiceTask_1ev9w69_di" bpmnElement="Task_GetCloudRegionVersion">
106         <dc:Bounds x="524" y="97" width="100" height="80" />
107       </bpmndi:BPMNShape>
108     </bpmndi:BPMNPlane>
109   </bpmndi:BPMNDiagram>
110 </bpmn:definitions>