[SO] Release so 1.13.0 image
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / process / DeActivateSDNCNetworkResource.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="3.1.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>
6     </bpmn:startEvent>
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>
15     </bpmn:scriptTask>
16     <bpmn:endEvent id="EndEvent_1x6k78c_deactivate" name="delete SDNC call end">
17       <bpmn:incoming>SequenceFlow_0ow44q0</bpmn:incoming>
18     </bpmn:endEvent>
19     <bpmn:sequenceFlow id="SequenceFlow_0ow44q0" sourceRef="Task_023hred_deactivate" targetRef="EndEvent_1x6k78c_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>
26     </bpmn:scriptTask>
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>
34     </bpmn:scriptTask>
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>
41     </bpmn:scriptTask>
42     <bpmn:sequenceFlow id="SequenceFlow_1fjtgq7" sourceRef="PreprocessIncomingRequest_deactivate" targetRef="Task_0n0lj30_deactivate" />
43     <bpmn:callActivity id="Task_0n0lj30_deactivate" name="Call SDNC &#10; Adapter V1" calledElement="SDNCAdapterRestV1">
44       <bpmn:incoming>SequenceFlow_1fjtgq7</bpmn:incoming>
45       <bpmn:outgoing>SequenceFlow_0c58p9k</bpmn:outgoing>
46     </bpmn:callActivity>
47     <bpmn:sequenceFlow id="SequenceFlow_0c58p9k" sourceRef="Task_0n0lj30_deactivate" targetRef="Task_0tezqd4_deactivate" />
48     <bpmn:sequenceFlow id="SequenceFlow_1pzm7qx" sourceRef="Task_0tezqd4_deactivate" targetRef="Task_1a6f0p9_deactivate" />
49     <bpmn:serviceTask id="Task_1a6f0p9_deactivate" name="update progress update">
50       <bpmn:extensionElements>
51         <camunda:connector>
52           <camunda:inputOutput>
53             <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
54             <camunda:inputParameter name="headers">
55               <camunda:map>
56                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
57                 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
58               </camunda:map>
59             </camunda:inputParameter>
60             <camunda:inputParameter name="payload">${CVFMI_updateResOperStatusRequest}</camunda:inputParameter>
61             <camunda:inputParameter name="method">POST</camunda:inputParameter>
62             <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
63             <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
64           </camunda:inputOutput>
65           <camunda:connectorId>http-connector</camunda:connectorId>
66         </camunda:connector>
67       </bpmn:extensionElements>
68       <bpmn:incoming>SequenceFlow_1pzm7qx</bpmn:incoming>
69       <bpmn:outgoing>SequenceFlow_13gl3wv</bpmn:outgoing>
70     </bpmn:serviceTask>
71     <bpmn:sequenceFlow id="SequenceFlow_13gl3wv" sourceRef="Task_1a6f0p9_deactivate" targetRef="Task_023hred_deactivate" />
72     <bpmn:callActivity id="CallActivity_0a0txik_DeActivate" name="Call SDNC RSRC &#10; Adapter V1&#10;" calledElement="sdncAdapter">
73       <bpmn:extensionElements>
74         <camunda:in source="sdncAdapterWorkflowRequest" target="sdncAdapterWorkflowRequest" />
75         <camunda:in source="mso-request-id" target="mso-request-id" />
76         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
77         <camunda:out source="sdncAdapterResponse" target="DELSDNCRES_activateSDNCResponse" />
78         <camunda:out source="SDNCA_ResponseCode" target="DELSDNCRES_sdncDeleteReturnCode" />
79         <camunda:out source="SDNCA_SuccessIndicator" target="DELSDNCRES_SuccessIndicator" />
80         <camunda:out source="WorkflowException" target="WorkflowException" />
81         <camunda:in source="sdncAdapterWorkflowRequest" target="sdncAdapterWorkflowRequest" />
82       </bpmn:extensionElements>
83       <bpmn:incoming>SequenceFlow_1fjtgq7</bpmn:incoming>
84       <bpmn:incoming>SequenceFlow_0nmt8ph</bpmn:incoming>
85       <bpmn:outgoing>SequenceFlow_0rn8vky</bpmn:outgoing>
86     </bpmn:callActivity>
87     <bpmn:sequenceFlow id="SequenceFlow_0rn8vky" sourceRef="CallActivity_0a0txik_DeActivate" targetRef="Task_0tezqd4_deactivate" />
88     <bpmn:sequenceFlow id="SequenceFlow_0nmt8ph" sourceRef="PreprocessIncomingRequest_deactivate" targetRef="CallActivity_0a0txik_DeActivate" />
89   </bpmn:process>
90   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
91     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeActivateSDNCNetworkResource">
92       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="deleteNetworkResource_StartEvent_deactivate">
93         <dc:Bounds x="180" y="111" width="36" height="36" />
94         <bpmndi:BPMNLabel>
95           <dc:Bounds x="156" y="147" width="88" height="40" />
96         </bpmndi:BPMNLabel>
97       </bpmndi:BPMNShape>
98       <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
99         <di:waypoint x="216" y="129" />
100         <di:waypoint x="296" y="129" />
101         <bpmndi:BPMNLabel>
102           <dc:Bounds x="-87.5" y="108" width="90" height="12" />
103         </bpmndi:BPMNLabel>
104       </bpmndi:BPMNEdge>
105       <bpmndi:BPMNShape id="ScriptTask_03j6ogo_di" bpmnElement="PreprocessIncomingRequest_deactivate">
106         <dc:Bounds x="469" y="89" width="100" height="80" />
107       </bpmndi:BPMNShape>
108       <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c_deactivate">
109         <dc:Bounds x="1255" y="327" width="36" height="36" />
110         <bpmndi:BPMNLabel>
111           <dc:Bounds x="1219" y="369" width="84" height="27" />
112         </bpmndi:BPMNLabel>
113       </bpmndi:BPMNShape>
114       <bpmndi:BPMNEdge id="SequenceFlow_0ow44q0_di" bpmnElement="SequenceFlow_0ow44q0">
115         <di:waypoint x="1026" y="345" />
116         <di:waypoint x="1255" y="345" />
117         <bpmndi:BPMNLabel>
118           <dc:Bounds x="719" y="314" width="90" height="12" />
119         </bpmndi:BPMNLabel>
120       </bpmndi:BPMNEdge>
121       <bpmndi:BPMNShape id="ScriptTask_0gyej62_di" bpmnElement="Task_023hred_deactivate">
122         <dc:Bounds x="926" y="305" width="100" height="80" />
123       </bpmndi:BPMNShape>
124       <bpmndi:BPMNEdge id="SequenceFlow_18l3crb_di" bpmnElement="SequenceFlow_18l3crb">
125         <di:waypoint x="396" y="129" />
126         <di:waypoint x="469" y="129" />
127         <bpmndi:BPMNLabel>
128           <dc:Bounds x="235.5" y="108" width="90" height="12" />
129         </bpmndi:BPMNLabel>
130       </bpmndi:BPMNEdge>
131       <bpmndi:BPMNShape id="ScriptTask_14l9mlv_di" bpmnElement="Task_13sx2bp_deactivate">
132         <dc:Bounds x="296" y="89" width="100" height="80" />
133       </bpmndi:BPMNShape>
134       <bpmndi:BPMNShape id="ScriptTask_1kqf4ge_di" bpmnElement="Task_0tezqd4_deactivate">
135         <dc:Bounds x="624" y="305" width="100" height="80" />
136       </bpmndi:BPMNShape>
137       <bpmndi:BPMNEdge id="SequenceFlow_1fjtgq7_di" bpmnElement="SequenceFlow_1fjtgq7">
138         <di:waypoint x="278" y="129" />
139         <di:waypoint x="333" y="129" />
140       </bpmndi:BPMNEdge>
141       <bpmndi:BPMNEdge id="SequenceFlow_1pzm7qx_di" bpmnElement="SequenceFlow_1pzm7qx">
142         <di:waypoint x="724" y="345" />
143         <di:waypoint x="778" y="345" />
144       </bpmndi:BPMNEdge>
145       <bpmndi:BPMNShape id="ServiceTask_0k4fp1d_di" bpmnElement="Task_1a6f0p9_deactivate">
146         <dc:Bounds x="778" y="305" width="100" height="80" />
147       </bpmndi:BPMNShape>
148       <bpmndi:BPMNEdge id="SequenceFlow_13gl3wv_di" bpmnElement="SequenceFlow_13gl3wv">
149         <di:waypoint x="878" y="345" />
150         <di:waypoint x="926" y="345" />
151       </bpmndi:BPMNEdge>
152       <bpmndi:BPMNShape id="CallActivity_0a0txik_di" bpmnElement="CallActivity_0a0txik_DeActivate">
153         <dc:Bounds x="624" y="89" width="100" height="80" />
154       </bpmndi:BPMNShape>
155       <bpmndi:BPMNEdge id="SequenceFlow_0rn8vky_di" bpmnElement="SequenceFlow_0rn8vky">
156         <di:waypoint x="674" y="169" />
157         <di:waypoint x="674" y="305" />
158       </bpmndi:BPMNEdge>
159       <bpmndi:BPMNEdge id="SequenceFlow_0nmt8ph_di" bpmnElement="SequenceFlow_0nmt8ph">
160         <di:waypoint x="569" y="129" />
161         <di:waypoint x="624" y="129" />
162       </bpmndi:BPMNEdge>
163     </bpmndi:BPMNPlane>
164   </bpmndi:BPMNDiagram>
165 </bpmn:definitions>