blob: 6a44a117c15bb90c11d90137dd7c18cbb079ff64 [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001<?xml version="1.0" encoding="UTF-8"?>
Boslet, Coryfa9a7072020-04-16 10:43:38 -04002<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="3.7.0">
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04003 <bpmn:process id="DoDeleteVfModuleVolumeV2" name="DoDeleteVfModuleVolumeV2" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1" name="Start">
5 <bpmn:outgoing>SequenceFlow_1gvfdp4</bpmn:outgoing>
6 </bpmn:startEvent>
7 <bpmn:scriptTask id="Task_06u1lr0" name="Call REST AAI Query Cloud Region" scriptFormat="groovy">
8 <bpmn:incoming>SequenceFlow_1vy2ojp</bpmn:incoming>
9 <bpmn:outgoing>SequenceFlow_1dlcqmc</bpmn:outgoing>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040010 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040011def delVfModuleVol = new DoDeleteVfModuleVolumeV2()
Boslet, Coryfa9a7072020-04-16 10:43:38 -040012delVfModuleVol.executeMethod('callRESTQueryAAICloudRegion', execution, isDebugLogEnabled)</bpmn:script>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040013 </bpmn:scriptTask>
14 <bpmn:scriptTask id="Task_1woqfjw" name="Call REST AAI Query for Volume Group" scriptFormat="groovy">
15 <bpmn:incoming>SequenceFlow_1dlcqmc</bpmn:incoming>
16 <bpmn:outgoing>SequenceFlow_1kjccf1</bpmn:outgoing>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040017 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040018def deleteVfMod = new DoDeleteVfModuleVolumeV2()
Boslet, Coryfa9a7072020-04-16 10:43:38 -040019deleteVfMod.executeMethod('callRESTQueryAAIForVolumeGroup', execution, isDebugLogEnabled)</bpmn:script>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040020 </bpmn:scriptTask>
21 <bpmn:scriptTask id="Task_0yjx0p2" name="Prepare VNF Adapter Delete" scriptFormat="groovy">
22 <bpmn:incoming>SequenceFlow_1kjccf1</bpmn:incoming>
23 <bpmn:outgoing>SequenceFlow_1tgngf7</bpmn:outgoing>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040024 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040025def deleteVfMod = new DoDeleteVfModuleVolumeV2()
Boslet, Coryfa9a7072020-04-16 10:43:38 -040026deleteVfMod.executeMethod('prepareVnfAdapterDeleteRequest', execution, isDebugLogEnabled)</bpmn:script>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040027 </bpmn:scriptTask>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040028 <bpmn:callActivity id="Task_14fsstq" name="Call REST VNF Adapter Delete" calledElement="openstackAdapterTask">
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040029 <bpmn:extensionElements>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040030 <camunda:in source="DDVMV_deleteVnfARequest" target="openstackAdapterTaskRequest" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040031 <camunda:in source="mso-request-id" target="mso-request-id" />
32 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
Boslet, Corycd4e5b42020-03-25 16:04:41 -040033 <camunda:out source="WorkflowResponse" target="DDVMV_deleteVnfAResponse" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040034 <camunda:out source="WorkflowException" target="WorkflowException" />
35 <camunda:out source="VNFREST_SuccessIndicator" target="VNFREST_SuccessIndicator" />
36 </bpmn:extensionElements>
37 <bpmn:incoming>SequenceFlow_1tgngf7</bpmn:incoming>
Boslet, Corycd4e5b42020-03-25 16:04:41 -040038 <bpmn:outgoing>SequenceFlow_04zsr0f</bpmn:outgoing>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040039 </bpmn:callActivity>
40 <bpmn:scriptTask id="Task_17q1roq" name="Call REST AAI Delete Volume Group" scriptFormat="groovy">
Boslet, Corycd4e5b42020-03-25 16:04:41 -040041 <bpmn:incoming>SequenceFlow_04zsr0f</bpmn:incoming>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040042 <bpmn:outgoing>SequenceFlow_13c3cv2</bpmn:outgoing>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040043 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040044def deleteVfMod = new DoDeleteVfModuleVolumeV2()
Boslet, Coryfa9a7072020-04-16 10:43:38 -040045deleteVfMod.executeMethod('callRESTDeleteAAIVolumeGroup', execution, isDebugLogEnabled)</bpmn:script>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040046 </bpmn:scriptTask>
47 <bpmn:endEvent id="EndEvent_0fw1gkf" name="Stop">
48 <bpmn:incoming>SequenceFlow_1sgtwr2</bpmn:incoming>
49 </bpmn:endEvent>
50 <bpmn:sequenceFlow id="SequenceFlow_1dlcqmc" sourceRef="Task_06u1lr0" targetRef="Task_1woqfjw" />
51 <bpmn:sequenceFlow id="SequenceFlow_1kjccf1" sourceRef="Task_1woqfjw" targetRef="Task_0yjx0p2" />
52 <bpmn:sequenceFlow id="SequenceFlow_1tgngf7" sourceRef="Task_0yjx0p2" targetRef="Task_14fsstq" />
53 <bpmn:scriptTask id="Task_1i432ud" name="Pre Process Request" scriptFormat="groovy">
54 <bpmn:incoming>SequenceFlow_1gvfdp4</bpmn:incoming>
55 <bpmn:outgoing>SequenceFlow_1vy2ojp</bpmn:outgoing>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040056 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040057def deleteVfMod = new DoDeleteVfModuleVolumeV2()
58deleteVfMod.executeMethod('preProcessRequest', execution, isDebugLogEnabled)
Boslet, Coryfa9a7072020-04-16 10:43:38 -040059</bpmn:script>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040060 </bpmn:scriptTask>
61 <bpmn:sequenceFlow id="SequenceFlow_1gvfdp4" sourceRef="StartEvent_1" targetRef="Task_1i432ud" />
62 <bpmn:sequenceFlow id="SequenceFlow_1vy2ojp" sourceRef="Task_1i432ud" targetRef="Task_06u1lr0" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040063 <bpmn:scriptTask id="Task_018w43g" name="Post Process" scriptFormat="groovy">
64 <bpmn:incoming>SequenceFlow_13c3cv2</bpmn:incoming>
65 <bpmn:outgoing>SequenceFlow_1sgtwr2</bpmn:outgoing>
Boslet, Coryfa9a7072020-04-16 10:43:38 -040066 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040067def deleteVfMod = new DoDeleteVfModuleVolumeV2()
Boslet, Coryfa9a7072020-04-16 10:43:38 -040068deleteVfMod.executeMethod('postProcess', execution, isDebugLogEnabled)</bpmn:script>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040069 </bpmn:scriptTask>
70 <bpmn:sequenceFlow id="SequenceFlow_13c3cv2" sourceRef="Task_17q1roq" targetRef="Task_018w43g" />
71 <bpmn:sequenceFlow id="SequenceFlow_1sgtwr2" sourceRef="Task_018w43g" targetRef="EndEvent_0fw1gkf" />
Boslet, Corycd4e5b42020-03-25 16:04:41 -040072 <bpmn:sequenceFlow id="SequenceFlow_04zsr0f" sourceRef="Task_14fsstq" targetRef="Task_17q1roq" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040073 </bpmn:process>
74 <bpmn:error id="Error_0fa7ks7" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
75 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
76 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoDeleteVfModuleVolumeV2">
77 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
78 <dc:Bounds x="173" y="102" width="36" height="36" />
79 <bpmndi:BPMNLabel>
80 <dc:Bounds x="179" y="138" width="23" height="12" />
81 </bpmndi:BPMNLabel>
82 </bpmndi:BPMNShape>
83 <bpmndi:BPMNShape id="ScriptTask_1qojxu5_di" bpmnElement="Task_06u1lr0">
84 <dc:Bounds x="407" y="80" width="100" height="80" />
85 </bpmndi:BPMNShape>
86 <bpmndi:BPMNShape id="ScriptTask_1mht6f6_di" bpmnElement="Task_1woqfjw">
87 <dc:Bounds x="564" y="80" width="100" height="80" />
88 </bpmndi:BPMNShape>
89 <bpmndi:BPMNShape id="ScriptTask_02ujn8y_di" bpmnElement="Task_0yjx0p2">
90 <dc:Bounds x="713" y="80" width="100" height="80" />
91 </bpmndi:BPMNShape>
92 <bpmndi:BPMNShape id="CallActivity_0bf87en_di" bpmnElement="Task_14fsstq">
93 <dc:Bounds x="865" y="80" width="100" height="80" />
94 </bpmndi:BPMNShape>
95 <bpmndi:BPMNShape id="ScriptTask_07kmkio_di" bpmnElement="Task_17q1roq">
96 <dc:Bounds x="1151" y="80" width="100" height="80" />
97 </bpmndi:BPMNShape>
98 <bpmndi:BPMNShape id="EndEvent_0fw1gkf_di" bpmnElement="EndEvent_0fw1gkf">
99 <dc:Bounds x="1463" y="102" width="36" height="36" />
100 <bpmndi:BPMNLabel>
101 <dc:Bounds x="1470" y="138" width="22" height="12" />
102 </bpmndi:BPMNLabel>
103 </bpmndi:BPMNShape>
104 <bpmndi:BPMNEdge id="SequenceFlow_1dlcqmc_di" bpmnElement="SequenceFlow_1dlcqmc">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400105 <di:waypoint x="507" y="120" />
106 <di:waypoint x="564" y="120" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400107 <bpmndi:BPMNLabel>
108 <dc:Bounds x="536" y="95" width="0" height="0" />
109 </bpmndi:BPMNLabel>
110 </bpmndi:BPMNEdge>
111 <bpmndi:BPMNEdge id="SequenceFlow_1kjccf1_di" bpmnElement="SequenceFlow_1kjccf1">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400112 <di:waypoint x="664" y="120" />
113 <di:waypoint x="713" y="120" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400114 <bpmndi:BPMNLabel>
115 <dc:Bounds x="689" y="95" width="0" height="0" />
116 </bpmndi:BPMNLabel>
117 </bpmndi:BPMNEdge>
118 <bpmndi:BPMNEdge id="SequenceFlow_1tgngf7_di" bpmnElement="SequenceFlow_1tgngf7">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400119 <di:waypoint x="813" y="120" />
120 <di:waypoint x="865" y="120" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400121 <bpmndi:BPMNLabel>
122 <dc:Bounds x="839" y="95" width="0" height="0" />
123 </bpmndi:BPMNLabel>
124 </bpmndi:BPMNEdge>
125 <bpmndi:BPMNShape id="ScriptTask_0wjwf8w_di" bpmnElement="Task_1i432ud">
126 <dc:Bounds x="247" y="80" width="100" height="80" />
127 </bpmndi:BPMNShape>
128 <bpmndi:BPMNEdge id="SequenceFlow_1gvfdp4_di" bpmnElement="SequenceFlow_1gvfdp4">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400129 <di:waypoint x="209" y="120" />
130 <di:waypoint x="247" y="120" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400131 <bpmndi:BPMNLabel>
132 <dc:Bounds x="228" y="95" width="0" height="0" />
133 </bpmndi:BPMNLabel>
134 </bpmndi:BPMNEdge>
135 <bpmndi:BPMNEdge id="SequenceFlow_1vy2ojp_di" bpmnElement="SequenceFlow_1vy2ojp">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400136 <di:waypoint x="347" y="120" />
137 <di:waypoint x="407" y="120" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400138 <bpmndi:BPMNLabel>
139 <dc:Bounds x="377" y="95" width="0" height="0" />
140 </bpmndi:BPMNLabel>
141 </bpmndi:BPMNEdge>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400142 <bpmndi:BPMNShape id="ScriptTask_1ilduoy_di" bpmnElement="Task_018w43g">
143 <dc:Bounds x="1298" y="80" width="100" height="80" />
144 </bpmndi:BPMNShape>
145 <bpmndi:BPMNEdge id="SequenceFlow_13c3cv2_di" bpmnElement="SequenceFlow_13c3cv2">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400146 <di:waypoint x="1251" y="120" />
147 <di:waypoint x="1298" y="120" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400148 <bpmndi:BPMNLabel>
149 <dc:Bounds x="1275" y="95" width="0" height="0" />
150 </bpmndi:BPMNLabel>
151 </bpmndi:BPMNEdge>
152 <bpmndi:BPMNEdge id="SequenceFlow_1sgtwr2_di" bpmnElement="SequenceFlow_1sgtwr2">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400153 <di:waypoint x="1398" y="120" />
154 <di:waypoint x="1463" y="120" />
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400155 <bpmndi:BPMNLabel>
156 <dc:Bounds x="1431" y="95" width="0" height="0" />
157 </bpmndi:BPMNLabel>
158 </bpmndi:BPMNEdge>
Boslet, Corycd4e5b42020-03-25 16:04:41 -0400159 <bpmndi:BPMNEdge id="SequenceFlow_04zsr0f_di" bpmnElement="SequenceFlow_04zsr0f">
Boslet, Coryfa9a7072020-04-16 10:43:38 -0400160 <di:waypoint x="965" y="120" />
161 <di:waypoint x="1151" y="120" />
Boslet, Corycd4e5b42020-03-25 16:04:41 -0400162 <bpmndi:BPMNLabel>
163 <dc:Bounds x="1058" y="99" width="0" height="12" />
164 </bpmndi:BPMNLabel>
165 </bpmndi:BPMNEdge>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400166 </bpmndi:BPMNPlane>
167 </bpmndi:BPMNDiagram>
168</bpmn:definitions>