Merge "Add junit tests for MsoCloudifyUtils"
[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="&#10;SDNC&#10;Unassign&#10;(network)&#10;" camunda:expression="${SDNCUnassignTasks.unassignNetwork(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_0le4vrj</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_1woj6rc</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_VfModuleRelatioship" />
15     <bpmn:sequenceFlow id="SequenceFlow_0csh9dc" sourceRef="Task_DeleteNetwork" targetRef="End_UnassignNetworkBB" />
16     <bpmn:serviceTask id="Task_DeleteNetwork" name="&#10;AAI&#10;Delete&#10;(network)&#10;" camunda:expression="${AAIDeleteTasks.deleteNetwork(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
17       <bpmn:incoming>SequenceFlow_15oc7ot</bpmn:incoming>
18       <bpmn:outgoing>SequenceFlow_0csh9dc</bpmn:outgoing>
19     </bpmn:serviceTask>
20     <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;)}">
21       <bpmn:incoming>SequenceFlow_0zaz9o2</bpmn:incoming>
22       <bpmn:outgoing>SequenceFlow_0mxe1a7</bpmn:outgoing>
23     </bpmn:serviceTask>
24     <bpmn:sequenceFlow id="SequenceFlow_0mxe1a7" sourceRef="Task_VfModuleRelatioship" targetRef="Task_GetCloudRegionVersion" />
25     <bpmn:sequenceFlow id="SequenceFlow_0le4vrj" sourceRef="Task_GetCloudRegionVersion" targetRef="Task_SNDCUnAssign" />
26     <bpmn:serviceTask id="Task_GetCloudRegionVersion" name="Get Sdnc Cloud Region Version" camunda:expression="${UnassignNetworkBB.getCloudSdncRegion(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
27       <bpmn:incoming>SequenceFlow_0mxe1a7</bpmn:incoming>
28       <bpmn:outgoing>SequenceFlow_0le4vrj</bpmn:outgoing>
29     </bpmn:serviceTask>
30     <bpmn:callActivity id="CallActivity_sdncHandlerCall" name="SDNC Unassign (network)" calledElement="SDNCHandler">
31       <bpmn:extensionElements>
32         <camunda:in source="SDNCRequest" target="SDNCRequest" />
33         <camunda:out source="SDNCResponse" target="SDNCResponse" />
34         <camunda:out source="WorkflowException" target="WorkflowException" />
35         <camunda:in source="mso-request-id" target="mso-request-id" />
36       </bpmn:extensionElements>
37       <bpmn:incoming>SequenceFlow_1woj6rc</bpmn:incoming>
38       <bpmn:outgoing>SequenceFlow_15oc7ot</bpmn:outgoing>
39     </bpmn:callActivity>
40     <bpmn:sequenceFlow id="SequenceFlow_1woj6rc" sourceRef="Task_SNDCUnAssign" targetRef="CallActivity_sdncHandlerCall" />
41     <bpmn:sequenceFlow id="SequenceFlow_15oc7ot" sourceRef="CallActivity_sdncHandlerCall" targetRef="Task_DeleteNetwork" />
42   </bpmn:process>
43   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
44     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UnassignNetworkBB">
45       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_UnassignNetworkBB">
46         <dc:Bounds x="269" y="119" width="36" height="36" />
47         <bpmndi:BPMNLabel>
48           <dc:Bounds x="276" y="155" width="23" height="12" />
49         </bpmndi:BPMNLabel>
50       </bpmndi:BPMNShape>
51       <bpmndi:BPMNShape id="ServiceTask_0m0ikey_di" bpmnElement="Task_SNDCUnAssign">
52         <dc:Bounds x="665" y="97" width="100" height="80" />
53       </bpmndi:BPMNShape>
54       <bpmndi:BPMNShape id="EndEvent_1h93h9d_di" bpmnElement="End_UnassignNetworkBB">
55         <dc:Bounds x="1084" y="119" width="36" height="36" />
56         <bpmndi:BPMNLabel>
57           <dc:Bounds x="1093" y="159" width="18" height="12" />
58         </bpmndi:BPMNLabel>
59       </bpmndi:BPMNShape>
60       <bpmndi:BPMNEdge id="SequenceFlow_0zaz9o2_di" bpmnElement="SequenceFlow_0zaz9o2">
61         <di:waypoint xsi:type="dc:Point" x="305" y="137" />
62         <di:waypoint xsi:type="dc:Point" x="375" y="137" />
63         <bpmndi:BPMNLabel>
64           <dc:Bounds x="295" y="122" width="90" height="0" />
65         </bpmndi:BPMNLabel>
66       </bpmndi:BPMNEdge>
67       <bpmndi:BPMNEdge id="SequenceFlow_0csh9dc_di" bpmnElement="SequenceFlow_0csh9dc">
68         <di:waypoint xsi:type="dc:Point" x="1054" y="137" />
69         <di:waypoint xsi:type="dc:Point" x="1084" y="137" />
70         <bpmndi:BPMNLabel>
71           <dc:Bounds x="1024" y="122" width="90" height="0" />
72         </bpmndi:BPMNLabel>
73       </bpmndi:BPMNEdge>
74       <bpmndi:BPMNShape id="ServiceTask_0s6d1be_di" bpmnElement="Task_DeleteNetwork">
75         <dc:Bounds x="954" y="97" width="100" height="80" />
76       </bpmndi:BPMNShape>
77       <bpmndi:BPMNShape id="ServiceTask_194x6el_di" bpmnElement="Task_VfModuleRelatioship">
78         <dc:Bounds x="375" y="97" width="100" height="80" />
79       </bpmndi:BPMNShape>
80       <bpmndi:BPMNEdge id="SequenceFlow_0mxe1a7_di" bpmnElement="SequenceFlow_0mxe1a7">
81         <di:waypoint xsi:type="dc:Point" x="475" y="137" />
82         <di:waypoint xsi:type="dc:Point" x="524" y="137" />
83         <bpmndi:BPMNLabel>
84           <dc:Bounds x="500" y="122" width="0" height="0" />
85         </bpmndi:BPMNLabel>
86       </bpmndi:BPMNEdge>
87       <bpmndi:BPMNEdge id="SequenceFlow_0le4vrj_di" bpmnElement="SequenceFlow_0le4vrj">
88         <di:waypoint xsi:type="dc:Point" x="624" y="137" />
89         <di:waypoint xsi:type="dc:Point" x="665" y="137" />
90         <bpmndi:BPMNLabel>
91           <dc:Bounds x="645" y="122" width="0" height="0" />
92         </bpmndi:BPMNLabel>
93       </bpmndi:BPMNEdge>
94       <bpmndi:BPMNShape id="ServiceTask_1ev9w69_di" bpmnElement="Task_GetCloudRegionVersion">
95         <dc:Bounds x="524" y="97" width="100" height="80" />
96       </bpmndi:BPMNShape>
97       <bpmndi:BPMNShape id="CallActivity_172bbje_di" bpmnElement="CallActivity_sdncHandlerCall">
98         <dc:Bounds x="813" y="97" width="100" height="80" />
99       </bpmndi:BPMNShape>
100       <bpmndi:BPMNEdge id="SequenceFlow_1woj6rc_di" bpmnElement="SequenceFlow_1woj6rc">
101         <di:waypoint xsi:type="dc:Point" x="765" y="137" />
102         <di:waypoint xsi:type="dc:Point" x="787" y="137" />
103         <di:waypoint xsi:type="dc:Point" x="787" y="137" />
104         <di:waypoint xsi:type="dc:Point" x="813" y="137" />
105         <bpmndi:BPMNLabel>
106           <dc:Bounds x="802" y="131" width="0" height="12" />
107         </bpmndi:BPMNLabel>
108       </bpmndi:BPMNEdge>
109       <bpmndi:BPMNEdge id="SequenceFlow_15oc7ot_di" bpmnElement="SequenceFlow_15oc7ot">
110         <di:waypoint xsi:type="dc:Point" x="913" y="137" />
111         <di:waypoint xsi:type="dc:Point" x="954" y="137" />
112         <bpmndi:BPMNLabel>
113           <dc:Bounds x="933.5" y="116" width="0" height="12" />
114         </bpmndi:BPMNLabel>
115       </bpmndi:BPMNEdge>
116     </bpmndi:BPMNPlane>
117   </bpmndi:BPMNDiagram>
118 </bpmn:definitions>