Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 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="3.7.0"> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 3 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 10 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 11 | def delVfModuleVol = new DoDeleteVfModuleVolumeV2() |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 12 | delVfModuleVol.executeMethod('callRESTQueryAAICloudRegion', execution, isDebugLogEnabled)</bpmn:script> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 13 | </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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 17 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 18 | def deleteVfMod = new DoDeleteVfModuleVolumeV2() |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 19 | deleteVfMod.executeMethod('callRESTQueryAAIForVolumeGroup', execution, isDebugLogEnabled)</bpmn:script> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 20 | </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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 24 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 25 | def deleteVfMod = new DoDeleteVfModuleVolumeV2() |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 26 | deleteVfMod.executeMethod('prepareVnfAdapterDeleteRequest', execution, isDebugLogEnabled)</bpmn:script> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 27 | </bpmn:scriptTask> |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 28 | <bpmn:callActivity id="Task_14fsstq" name="Call REST VNF Adapter Delete" calledElement="openstackAdapterTask"> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 29 | <bpmn:extensionElements> |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 30 | <camunda:in source="DDVMV_deleteVnfARequest" target="openstackAdapterTaskRequest" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 31 | <camunda:in source="mso-request-id" target="mso-request-id" /> |
| 32 | <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" /> |
Boslet, Cory | cd4e5b4 | 2020-03-25 16:04:41 -0400 | [diff] [blame] | 33 | <camunda:out source="WorkflowResponse" target="DDVMV_deleteVnfAResponse" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 34 | <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, Cory | cd4e5b4 | 2020-03-25 16:04:41 -0400 | [diff] [blame] | 38 | <bpmn:outgoing>SequenceFlow_04zsr0f</bpmn:outgoing> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 39 | </bpmn:callActivity> |
| 40 | <bpmn:scriptTask id="Task_17q1roq" name="Call REST AAI Delete Volume Group" scriptFormat="groovy"> |
Boslet, Cory | cd4e5b4 | 2020-03-25 16:04:41 -0400 | [diff] [blame] | 41 | <bpmn:incoming>SequenceFlow_04zsr0f</bpmn:incoming> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 42 | <bpmn:outgoing>SequenceFlow_13c3cv2</bpmn:outgoing> |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 43 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 44 | def deleteVfMod = new DoDeleteVfModuleVolumeV2() |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 45 | deleteVfMod.executeMethod('callRESTDeleteAAIVolumeGroup', execution, isDebugLogEnabled)</bpmn:script> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 46 | </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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 56 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 57 | def deleteVfMod = new DoDeleteVfModuleVolumeV2() |
| 58 | deleteVfMod.executeMethod('preProcessRequest', execution, isDebugLogEnabled) |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 59 | </bpmn:script> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 60 | </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) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 63 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 66 | <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 67 | def deleteVfMod = new DoDeleteVfModuleVolumeV2() |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 68 | deleteVfMod.executeMethod('postProcess', execution, isDebugLogEnabled)</bpmn:script> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 69 | </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, Cory | cd4e5b4 | 2020-03-25 16:04:41 -0400 | [diff] [blame] | 72 | <bpmn:sequenceFlow id="SequenceFlow_04zsr0f" sourceRef="Task_14fsstq" targetRef="Task_17q1roq" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 73 | </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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 105 | <di:waypoint x="507" y="120" /> |
| 106 | <di:waypoint x="564" y="120" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 107 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 112 | <di:waypoint x="664" y="120" /> |
| 113 | <di:waypoint x="713" y="120" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 114 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 119 | <di:waypoint x="813" y="120" /> |
| 120 | <di:waypoint x="865" y="120" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 121 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 129 | <di:waypoint x="209" y="120" /> |
| 130 | <di:waypoint x="247" y="120" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 131 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 136 | <di:waypoint x="347" y="120" /> |
| 137 | <di:waypoint x="407" y="120" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 138 | <bpmndi:BPMNLabel> |
| 139 | <dc:Bounds x="377" y="95" width="0" height="0" /> |
| 140 | </bpmndi:BPMNLabel> |
| 141 | </bpmndi:BPMNEdge> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 142 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 146 | <di:waypoint x="1251" y="120" /> |
| 147 | <di:waypoint x="1298" y="120" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 148 | <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, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 153 | <di:waypoint x="1398" y="120" /> |
| 154 | <di:waypoint x="1463" y="120" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 155 | <bpmndi:BPMNLabel> |
| 156 | <dc:Bounds x="1431" y="95" width="0" height="0" /> |
| 157 | </bpmndi:BPMNLabel> |
| 158 | </bpmndi:BPMNEdge> |
Boslet, Cory | cd4e5b4 | 2020-03-25 16:04:41 -0400 | [diff] [blame] | 159 | <bpmndi:BPMNEdge id="SequenceFlow_04zsr0f_di" bpmnElement="SequenceFlow_04zsr0f"> |
Boslet, Cory | fa9a707 | 2020-04-16 10:43:38 -0400 | [diff] [blame] | 160 | <di:waypoint x="965" y="120" /> |
| 161 | <di:waypoint x="1151" y="120" /> |
Boslet, Cory | cd4e5b4 | 2020-03-25 16:04:41 -0400 | [diff] [blame] | 162 | <bpmndi:BPMNLabel> |
| 163 | <dc:Bounds x="1058" y="99" width="0" height="12" /> |
| 164 | </bpmndi:BPMNLabel> |
| 165 | </bpmndi:BPMNEdge> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 166 | </bpmndi:BPMNPlane> |
| 167 | </bpmndi:BPMNDiagram> |
| 168 | </bpmn:definitions> |