Merge "Synchronization fix for dmaap client"
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / process / DeleteSDNCNetworkResource.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_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
3   <bpmn:process id="DeleteSDNCNetworkResource" name="DeleteSDNCNetworkResource" isExecutable="true">
4     <bpmn:startEvent id="createNS_StartEvent" name="deleteNS_StartEvent">
5       <bpmn:outgoing>SequenceFlow_1qo2pln</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_1qo2pln" sourceRef="createNS_StartEvent" targetRef="Task_1d5rrfs" />
8     <bpmn:endEvent id="EndEvent_1x6k78c" name="Delete SDNC call end">
9       <bpmn:incoming>SequenceFlow_1ba6i0r</bpmn:incoming>
10     </bpmn:endEvent>
11     <bpmn:sequenceFlow id="SequenceFlow_092fygq" sourceRef="Task_0i59nr9" targetRef="Task_1cglzlg" />
12     <bpmn:serviceTask id="Task_0i59nr9" name="Call Custom Delete SDNC Overlay" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncNetworkTopologyOperationTask">
13       <bpmn:incoming>SequenceFlow_1twf9nk</bpmn:incoming>
14       <bpmn:outgoing>SequenceFlow_092fygq</bpmn:outgoing>
15     </bpmn:serviceTask>
16     <bpmn:subProcess id="SubProcess_0rd2egn" triggeredByEvent="true">
17       <bpmn:startEvent id="StartEvent_1dikunf">
18         <bpmn:outgoing>SequenceFlow_00oxyoj</bpmn:outgoing>
19         <bpmn:errorEventDefinition />
20       </bpmn:startEvent>
21       <bpmn:endEvent id="EndEvent_1bbyk46">
22         <bpmn:incoming>SequenceFlow_0k06srk</bpmn:incoming>
23       </bpmn:endEvent>
24       <bpmn:sequenceFlow id="SequenceFlow_00oxyoj" sourceRef="StartEvent_1dikunf" targetRef="Task_0kqrld2" />
25       <bpmn:sequenceFlow id="SequenceFlow_0k06srk" sourceRef="Task_0kqrld2" targetRef="EndEvent_1bbyk46" />
26       <bpmn:scriptTask id="Task_0kqrld2" name="Log / Print Unexpected Error">
27         <bpmn:incoming>SequenceFlow_00oxyoj</bpmn:incoming>
28         <bpmn:outgoing>SequenceFlow_0k06srk</bpmn:outgoing>
29         <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
30 ExceptionUtil ex = new ExceptionUtil()
31 ex.processJavaException(execution)]]></bpmn:script>
32       </bpmn:scriptTask>
33     </bpmn:subProcess>
34     <bpmn:sequenceFlow id="SequenceFlow_1twf9nk" sourceRef="Task_1t687g1" targetRef="Task_0i59nr9" />
35     <bpmn:sequenceFlow id="SequenceFlow_1ba6i0r" sourceRef="Task_1cglzlg" targetRef="EndEvent_1x6k78c" />
36     <bpmn:scriptTask id="Task_1t687g1" name="Pre Resource Delete" scriptFormat="groovy">
37       <bpmn:incoming>SequenceFlow_01medil</bpmn:incoming>
38       <bpmn:outgoing>SequenceFlow_1twf9nk</bpmn:outgoing>
39       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
40 def dsdncr = new DeleteSDNCNetworkResource()
41 dsdncr.preProcessRequest(execution)]]></bpmn:script>
42     </bpmn:scriptTask>
43     <bpmn:scriptTask id="Task_1cglzlg" name="Post Resource Delete" scriptFormat="groovy">
44       <bpmn:incoming>SequenceFlow_092fygq</bpmn:incoming>
45       <bpmn:outgoing>SequenceFlow_1ba6i0r</bpmn:outgoing>
46       <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
47 def dsdncr = new DeleteSDNCNetworkResource()
48 dsdncr.postProcessSDNCDelete(execution)]]></bpmn:script>
49     </bpmn:scriptTask>
50     <bpmn:sequenceFlow id="SequenceFlow_01medil" sourceRef="Task_1d5rrfs" targetRef="Task_1t687g1" />
51     <bpmn:scriptTask id="Task_1d5rrfs" name="Set RecipeParam" scriptFormat="groovy">
52       <bpmn:incoming>SequenceFlow_1qo2pln</bpmn:incoming>
53       <bpmn:outgoing>SequenceFlow_01medil</bpmn:outgoing>
54       <bpmn:script><![CDATA[String recipeParamXsdDemo="""
55 {"operationType":"GRE"}"""
56
57 String recipeParamXsd=""
58 execution.setVariable("recipeParamXsd", recipeParamXsd)]]></bpmn:script>
59     </bpmn:scriptTask>
60   </bpmn:process>
61   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
62     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteSDNCNetworkResource">
63       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="createNS_StartEvent">
64         <dc:Bounds x="-168" y="111" width="36" height="36" />
65         <bpmndi:BPMNLabel>
66           <dc:Bounds x="-193" y="147" width="88" height="25" />
67         </bpmndi:BPMNLabel>
68       </bpmndi:BPMNShape>
69       <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
70         <di:waypoint xsi:type="dc:Point" x="-132" y="129" />
71         <di:waypoint xsi:type="dc:Point" x="-60" y="129" />
72         <bpmndi:BPMNLabel>
73           <dc:Bounds x="-141" y="108" width="90" height="12" />
74         </bpmndi:BPMNLabel>
75       </bpmndi:BPMNEdge>
76       <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c">
77         <dc:Bounds x="722" y="111" width="36" height="36" />
78         <bpmndi:BPMNLabel>
79           <dc:Bounds x="682" y="153" width="88" height="24" />
80         </bpmndi:BPMNLabel>
81       </bpmndi:BPMNShape>
82       <bpmndi:BPMNEdge id="SequenceFlow_092fygq_di" bpmnElement="SequenceFlow_092fygq">
83         <di:waypoint xsi:type="dc:Point" x="419" y="129" />
84         <di:waypoint xsi:type="dc:Point" x="527" y="129" />
85         <bpmndi:BPMNLabel>
86           <dc:Bounds x="428" y="107.5" width="90" height="13" />
87         </bpmndi:BPMNLabel>
88       </bpmndi:BPMNEdge>
89       <bpmndi:BPMNShape id="ServiceTask_1lqz0ta_di" bpmnElement="Task_0i59nr9">
90         <dc:Bounds x="319" y="89" width="100" height="80" />
91       </bpmndi:BPMNShape>
92       <bpmndi:BPMNShape id="SubProcess_1u3lwl3_di" bpmnElement="SubProcess_0rd2egn" isExpanded="true">
93         <dc:Bounds x="38" y="273" width="350" height="200" />
94       </bpmndi:BPMNShape>
95       <bpmndi:BPMNShape id="StartEvent_0eyldml_di" bpmnElement="StartEvent_1dikunf">
96         <dc:Bounds x="69" y="340" width="36" height="36" />
97         <bpmndi:BPMNLabel>
98           <dc:Bounds x="41" y="378" width="90" height="13" />
99         </bpmndi:BPMNLabel>
100       </bpmndi:BPMNShape>
101       <bpmndi:BPMNShape id="EndEvent_1bbyk46_di" bpmnElement="EndEvent_1bbyk46">
102         <dc:Bounds x="333" y="340" width="36" height="36" />
103         <bpmndi:BPMNLabel>
104           <dc:Bounds x="306" y="379" width="90" height="13" />
105         </bpmndi:BPMNLabel>
106       </bpmndi:BPMNShape>
107       <bpmndi:BPMNEdge id="SequenceFlow_00oxyoj_di" bpmnElement="SequenceFlow_00oxyoj">
108         <di:waypoint xsi:type="dc:Point" x="105" y="358" />
109         <di:waypoint xsi:type="dc:Point" x="165" y="358" />
110         <bpmndi:BPMNLabel>
111           <dc:Bounds x="90" y="337" width="90" height="13" />
112         </bpmndi:BPMNLabel>
113       </bpmndi:BPMNEdge>
114       <bpmndi:BPMNEdge id="SequenceFlow_0k06srk_di" bpmnElement="SequenceFlow_0k06srk">
115         <di:waypoint xsi:type="dc:Point" x="265" y="358" />
116         <di:waypoint xsi:type="dc:Point" x="333" y="358" />
117         <bpmndi:BPMNLabel>
118           <dc:Bounds x="254" y="337" width="90" height="13" />
119         </bpmndi:BPMNLabel>
120       </bpmndi:BPMNEdge>
121       <bpmndi:BPMNShape id="ScriptTask_1b3k692_di" bpmnElement="Task_0kqrld2">
122         <dc:Bounds x="165" y="318" width="100" height="80" />
123       </bpmndi:BPMNShape>
124       <bpmndi:BPMNEdge id="SequenceFlow_1twf9nk_di" bpmnElement="SequenceFlow_1twf9nk">
125         <di:waypoint xsi:type="dc:Point" x="213" y="129" />
126         <di:waypoint xsi:type="dc:Point" x="319" y="129" />
127         <bpmndi:BPMNLabel>
128           <dc:Bounds x="266" y="108" width="0" height="12" />
129         </bpmndi:BPMNLabel>
130       </bpmndi:BPMNEdge>
131       <bpmndi:BPMNEdge id="SequenceFlow_1ba6i0r_di" bpmnElement="SequenceFlow_1ba6i0r">
132         <di:waypoint xsi:type="dc:Point" x="627" y="129" />
133         <di:waypoint xsi:type="dc:Point" x="722" y="129" />
134         <bpmndi:BPMNLabel>
135           <dc:Bounds x="674.5" y="108" width="0" height="12" />
136         </bpmndi:BPMNLabel>
137       </bpmndi:BPMNEdge>
138       <bpmndi:BPMNShape id="ScriptTask_1t116cs_di" bpmnElement="Task_1t687g1">
139         <dc:Bounds x="113" y="89" width="100" height="80" />
140       </bpmndi:BPMNShape>
141       <bpmndi:BPMNShape id="ScriptTask_18zliw7_di" bpmnElement="Task_1cglzlg">
142         <dc:Bounds x="527" y="89" width="100" height="80" />
143       </bpmndi:BPMNShape>
144       <bpmndi:BPMNEdge id="SequenceFlow_01medil_di" bpmnElement="SequenceFlow_01medil">
145         <di:waypoint xsi:type="dc:Point" x="40" y="129" />
146         <di:waypoint xsi:type="dc:Point" x="113" y="129" />
147         <bpmndi:BPMNLabel>
148           <dc:Bounds x="76.5" y="107.5" width="0" height="13" />
149         </bpmndi:BPMNLabel>
150       </bpmndi:BPMNEdge>
151       <bpmndi:BPMNShape id="ScriptTask_0f9etr5_di" bpmnElement="Task_1d5rrfs">
152         <dc:Bounds x="-60" y="89" width="100" height="80" />
153       </bpmndi:BPMNShape>
154     </bpmndi:BPMNPlane>
155   </bpmndi:BPMNDiagram>
156 </bpmn:definitions>