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="2.0.0">
3 <bpmn:process id="DeActivateSDNCNetworkResource" name="DeActivateSDNCNetworkResource" isExecutable="true">
4 <bpmn:startEvent id="deleteNetworkResource_StartEvent_deactivate" name="deleteNetworkResource_StartEvent">
5 <bpmn:outgoing>SequenceFlow_1qo2pln</bpmn:outgoing>
7 <bpmn:sequenceFlow id="SequenceFlow_1qo2pln" sourceRef="deleteNetworkResource_StartEvent_deactivate" targetRef="Task_13sx2bp_deactivate" />
8 <bpmn:scriptTask id="PreprocessIncomingRequest_deactivate" name="prepare SDNC Deactivate Request" scriptFormat="groovy">
9 <bpmn:incoming>SequenceFlow_18l3crb</bpmn:incoming>
10 <bpmn:outgoing>SequenceFlow_1fjtgq7</bpmn:outgoing>
11 <bpmn:outgoing>SequenceFlow_0nmt8ph</bpmn:outgoing>
12 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
13 def dcsi = new DeActivateSDNCNetworkResource()
14 dcsi.prepareSDNCRequest(execution)</bpmn:script>
16 <bpmn:endEvent id="EndEvent_1x6k78c_deactivate" name="delete SDNC call end">
17 <bpmn:incoming>SequenceFlow_15wux6a</bpmn:incoming>
19 <bpmn:sequenceFlow id="SequenceFlow_0ow44q0" sourceRef="Task_023hred_deactivate" targetRef="ScriptTask_1emjxm2_deactivate" />
20 <bpmn:scriptTask id="Task_023hred_deactivate" name="post SDNC deactivate call">
21 <bpmn:incoming>SequenceFlow_13gl3wv</bpmn:incoming>
22 <bpmn:outgoing>SequenceFlow_0ow44q0</bpmn:outgoing>
23 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
24 def dcsi = new DeActivateSDNCNetworkResource()
25 dcsi.postDeactivateSDNCCall(execution)</bpmn:script>
27 <bpmn:sequenceFlow id="SequenceFlow_18l3crb" sourceRef="Task_13sx2bp_deactivate" targetRef="PreprocessIncomingRequest_deactivate" />
28 <bpmn:scriptTask id="Task_13sx2bp_deactivate" name="Pre Process Request" scriptFormat="groovy">
29 <bpmn:incoming>SequenceFlow_1qo2pln</bpmn:incoming>
30 <bpmn:outgoing>SequenceFlow_18l3crb</bpmn:outgoing>
31 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
32 def dcsi = new DeActivateSDNCNetworkResource()
33 dcsi.preProcessRequest(execution)</bpmn:script>
35 <bpmn:scriptTask id="Task_0tezqd4_deactivate" name="Delete progress update parameters after deactivate" scriptFormat="groovy">
36 <bpmn:incoming>SequenceFlow_0rn8vky</bpmn:incoming>
37 <bpmn:outgoing>SequenceFlow_1pzm7qx</bpmn:outgoing>
38 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
39 def dcsi = new DeActivateSDNCNetworkResource()
40 dcsi.prepareUpdateAfterDeActivateSDNCResource(execution)</bpmn:script>
42 <bpmn:scriptTask id="ScriptTask_1emjxm2_deactivate" name="Send Sync Ack Response" scriptFormat="groovy">
43 <bpmn:incoming>SequenceFlow_0ow44q0</bpmn:incoming>
44 <bpmn:outgoing>SequenceFlow_15wux6a</bpmn:outgoing>
45 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
46 def csi = new DeActivateSDNCNetworkResource()
47 csi.sendSyncResponse(execution)</bpmn:script>
49 <bpmn:sequenceFlow id="SequenceFlow_15wux6a" sourceRef="ScriptTask_1emjxm2_deactivate" targetRef="EndEvent_1x6k78c_deactivate" />
50 <bpmn:sequenceFlow id="SequenceFlow_1fjtgq7" sourceRef="PreprocessIncomingRequest_deactivate" targetRef="Task_0n0lj30_deactivate" />
51 <bpmn:callActivity id="Task_0n0lj30_deactivate" name="Call SDNC Adapter V1" calledElement="SDNCAdapterRestV1">
52 <bpmn:incoming>SequenceFlow_1fjtgq7</bpmn:incoming>
53 <bpmn:outgoing>SequenceFlow_0c58p9k</bpmn:outgoing>
55 <bpmn:sequenceFlow id="SequenceFlow_0c58p9k" sourceRef="Task_0n0lj30_deactivate" targetRef="Task_0tezqd4_deactivate" />
56 <bpmn:sequenceFlow id="SequenceFlow_1pzm7qx" sourceRef="Task_0tezqd4_deactivate" targetRef="Task_1a6f0p9_deactivate" />
57 <bpmn:serviceTask id="Task_1a6f0p9_deactivate" name="update progress update">
58 <bpmn:extensionElements>
61 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
62 <camunda:inputParameter name="headers">
64 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
65 <camunda:entry key="Authorization">Basic QlBFTENsaWVudDpwYXNzd29yZDEk</camunda:entry>
67 </camunda:inputParameter>
68 <camunda:inputParameter name="payload">${CVFMI_updateResOperStatusRequest}</camunda:inputParameter>
69 <camunda:inputParameter name="method">POST</camunda:inputParameter>
70 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
71 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
72 </camunda:inputOutput>
73 <camunda:connectorId>http-connector</camunda:connectorId>
75 </bpmn:extensionElements>
76 <bpmn:incoming>SequenceFlow_1pzm7qx</bpmn:incoming>
77 <bpmn:outgoing>SequenceFlow_13gl3wv</bpmn:outgoing>
79 <bpmn:sequenceFlow id="SequenceFlow_13gl3wv" sourceRef="Task_1a6f0p9_deactivate" targetRef="Task_023hred_deactivate" />
80 <bpmn:callActivity id="CallActivity_0a0txik_DeActivate" name="Call SDNC RSRC Adapter V1 " calledElement="sdncAdapter">
81 <bpmn:extensionElements>
82 <camunda:in source="sdncAdapterWorkflowRequest" target="sdncAdapterWorkflowRequest" />
83 <camunda:in source="mso-request-id" target="mso-request-id" />
84 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
85 <camunda:out source="sdncAdapterResponse" target="DELSDNCRES_activateSDNCResponse" />
86 <camunda:out source="SDNCA_ResponseCode" target="DELSDNCRES_sdncDeleteReturnCode" />
87 <camunda:out source="SDNCA_SuccessIndicator" target="DELSDNCRES_SuccessIndicator" />
88 <camunda:out source="WorkflowException" target="WorkflowException" />
89 <camunda:in source="sdncAdapterWorkflowRequest" target="sdncAdapterWorkflowRequest" />
90 </bpmn:extensionElements>
91 <bpmn:incoming>SequenceFlow_1fjtgq7</bpmn:incoming>
92 <bpmn:incoming>SequenceFlow_0nmt8ph</bpmn:incoming>
93 <bpmn:outgoing>SequenceFlow_0rn8vky</bpmn:outgoing>
95 <bpmn:sequenceFlow id="SequenceFlow_0rn8vky" sourceRef="CallActivity_0a0txik_DeActivate" targetRef="Task_0tezqd4_deactivate" />
96 <bpmn:sequenceFlow id="SequenceFlow_0nmt8ph" sourceRef="PreprocessIncomingRequest_deactivate" targetRef="CallActivity_0a0txik_DeActivate" />
98 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
99 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeActivateSDNCNetworkResource">
100 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="deleteNetworkResource_StartEvent_deactivate">
101 <dc:Bounds x="-111" y="111" width="36" height="36" />
103 <dc:Bounds x="-135" y="147" width="88" height="40" />
106 <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
107 <di:waypoint x="-75" y="129" />
108 <di:waypoint x="5" y="129" />
110 <dc:Bounds x="-87.5" y="108" width="90" height="12" />
113 <bpmndi:BPMNShape id="ScriptTask_03j6ogo_di" bpmnElement="PreprocessIncomingRequest_deactivate">
114 <dc:Bounds x="178" y="89" width="100" height="80" />
116 <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c_deactivate">
117 <dc:Bounds x="964" y="327" width="36" height="36" />
119 <dc:Bounds x="928" y="369" width="84" height="27" />
122 <bpmndi:BPMNEdge id="SequenceFlow_0ow44q0_di" bpmnElement="SequenceFlow_0ow44q0">
123 <di:waypoint x="735" y="345" />
124 <di:waypoint x="795" y="345" />
126 <dc:Bounds x="719" y="314" width="90" height="12" />
129 <bpmndi:BPMNShape id="ScriptTask_0gyej62_di" bpmnElement="Task_023hred_deactivate">
130 <dc:Bounds x="635" y="305" width="100" height="80" />
132 <bpmndi:BPMNEdge id="SequenceFlow_18l3crb_di" bpmnElement="SequenceFlow_18l3crb">
133 <di:waypoint x="105" y="129" />
134 <di:waypoint x="178" y="129" />
136 <dc:Bounds x="235.5" y="108" width="90" height="12" />
139 <bpmndi:BPMNShape id="ScriptTask_14l9mlv_di" bpmnElement="Task_13sx2bp_deactivate">
140 <dc:Bounds x="5" y="89" width="100" height="80" />
142 <bpmndi:BPMNShape id="ScriptTask_1kqf4ge_di" bpmnElement="Task_0tezqd4_deactivate">
143 <dc:Bounds x="333" y="305" width="100" height="80" />
145 <bpmndi:BPMNShape id="ScriptTask_1emjxm2_di" bpmnElement="ScriptTask_1emjxm2_deactivate">
146 <dc:Bounds x="795" y="305" width="100" height="80" />
148 <bpmndi:BPMNEdge id="SequenceFlow_15wux6a_di" bpmnElement="SequenceFlow_15wux6a">
149 <di:waypoint x="895" y="345" />
150 <di:waypoint x="964" y="345" />
152 <dc:Bounds x="930" y="313" width="0" height="14" />
155 <bpmndi:BPMNEdge id="SequenceFlow_1fjtgq7_di" bpmnElement="SequenceFlow_1fjtgq7">
156 <di:waypoint x="278" y="129" />
157 <di:waypoint x="333" y="129" />
159 <bpmndi:BPMNEdge id="SequenceFlow_1pzm7qx_di" bpmnElement="SequenceFlow_1pzm7qx">
160 <di:waypoint x="433" y="345" />
161 <di:waypoint x="487" y="345" />
163 <bpmndi:BPMNShape id="ServiceTask_0k4fp1d_di" bpmnElement="Task_1a6f0p9_deactivate">
164 <dc:Bounds x="487" y="305" width="100" height="80" />
166 <bpmndi:BPMNEdge id="SequenceFlow_13gl3wv_di" bpmnElement="SequenceFlow_13gl3wv">
167 <di:waypoint x="587" y="345" />
168 <di:waypoint x="635" y="345" />
170 <bpmndi:BPMNShape id="CallActivity_0a0txik_di" bpmnElement="CallActivity_0a0txik_DeActivate">
171 <dc:Bounds x="333" y="89" width="100" height="80" />
173 <bpmndi:BPMNEdge id="SequenceFlow_0rn8vky_di" bpmnElement="SequenceFlow_0rn8vky">
174 <di:waypoint x="383" y="169" />
175 <di:waypoint x="383" y="305" />
177 <bpmndi:BPMNEdge id="SequenceFlow_0nmt8ph_di" bpmnElement="SequenceFlow_0nmt8ph">
178 <di:waypoint x="278" y="129" />
179 <di:waypoint x="333" y="129" />
182 </bpmndi:BPMNDiagram>