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>
7 <bpmn:serviceTask id="Task_SNDCUnAssign" name="Call SDNC Adapter Topology UnAssign" camunda:expression="${SDNCUnassignTasks.unassignNetwork(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
8 <bpmn:incoming>SequenceFlow_0le4vrj</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_1ks8kmt</bpmn:outgoing>
11 <bpmn:endEvent id="End_UnassignNetworkBB" name="end">
12 <bpmn:incoming>SequenceFlow_0csh9dc</bpmn:incoming>
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("gBuildingBlockExecution")))}">
18 <bpmn:incoming>SequenceFlow_1ks8kmt</bpmn:incoming>
19 <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
21 <bpmn:serviceTask id="Task_VfModuleRelatioship" name="Veriyf 'vf-module' relationship exists" camunda:expression="${UnassignNetworkBB.checkRelationshipRelatedTo(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")), "vf-module")}">
22 <bpmn:incoming>SequenceFlow_1gd5h4c</bpmn:incoming>
23 <bpmn:outgoing>SequenceFlow_0mxe1a7</bpmn:outgoing>
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("gBuildingBlockExecution")))}">
28 <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
29 <bpmn:outgoing>SequenceFlow_1gd5h4c</bpmn:outgoing>
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("gBuildingBlockExecution")))}">
33 <bpmn:incoming>SequenceFlow_0mxe1a7</bpmn:incoming>
34 <bpmn:outgoing>SequenceFlow_0le4vrj</bpmn:outgoing>
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" />
42 <dc:Bounds x="152" y="155" width="22" height="12" />
45 <bpmndi:BPMNShape id="ServiceTask_0m0ikey_di" bpmnElement="Task_SNDCUnAssign">
46 <dc:Bounds x="665" y="97" width="100" height="80" />
48 <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_UnassignNetworkBB">
49 <dc:Bounds x="946" y="119" width="36" height="36" />
51 <dc:Bounds x="955" y="159" width="18" height="12" />
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" />
58 <dc:Bounds x="207" y="122" width="0" height="0" />
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" />
65 <dc:Bounds x="785" y="122" width="0" height="0" />
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" />
72 <dc:Bounds x="925" y="122" width="0" height="0" />
75 <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_DeleteNetwork">
76 <dc:Bounds x="804" y="97" width="100" height="80" />
78 <bpmndi:BPMNShape id="ServiceTask_194x6el_di" bpmnElement="Task_VfModuleRelatioship">
79 <dc:Bounds x="375" y="97" width="100" height="80" />
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" />
85 <dc:Bounds x="500" y="122" width="0" height="0" />
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" />
92 <dc:Bounds x="354" y="122" width="0" height="0" />
95 <bpmndi:BPMNShape id="ServiceTask_1scptd7_di" bpmnElement="Task_GetL3NetworkById">
96 <dc:Bounds x="232" y="97" width="100" height="80" />
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" />
102 <dc:Bounds x="645" y="122" width="0" height="0" />
105 <bpmndi:BPMNShape id="ServiceTask_1ev9w69_di" bpmnElement="Task_GetCloudRegionVersion">
106 <dc:Bounds x="524" y="97" width="100" height="80" />
109 </bpmndi:BPMNDiagram>