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.2.3">
3 <bpmn:process id="ActivateSDNCNetworkResource" name="ActivateSDNCNetworkResource" isExecutable="true">
4 <bpmn:startEvent id="createNS_StartEvent_activate" name="createNS_StartEvent">
5 <bpmn:outgoing>SequenceFlow_1c92ks3_activate</bpmn:outgoing>
7 <bpmn:endEvent id="EndEvent_1x6k78c_activate" name="create SDNC call end">
8 <bpmn:incoming>SequenceFlow_0ow44q0_activate</bpmn:incoming>
10 <bpmn:sequenceFlow id="SequenceFlow_0ow44q0_activate" sourceRef="Task_023hred_activate" targetRef="EndEvent_1x6k78c_activate" />
11 <bpmn:scriptTask id="Task_023hred_activate" name="post SDNC activate call">
12 <bpmn:incoming>SequenceFlow_1vnx1pp_activate</bpmn:incoming>
13 <bpmn:outgoing>SequenceFlow_0ow44q0_activate</bpmn:outgoing>
14 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
15 def dcsi = new ActivateSDNCNetworkResource()
16 dcsi.postActivateSDNCCall(execution)</bpmn:script>
18 <bpmn:sequenceFlow id="SequenceFlow_18l3crb_activate" sourceRef="Task_13sx2bp_activate" targetRef="ScriptTask_1gih50a_activate" />
19 <bpmn:scriptTask id="Task_13sx2bp_activate" name="Pre Process Request" scriptFormat="groovy">
20 <bpmn:incoming>SequenceFlow_1c92ks3_activate</bpmn:incoming>
21 <bpmn:outgoing>SequenceFlow_18l3crb_activate</bpmn:outgoing>
22 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
23 def dcsi = new ActivateSDNCNetworkResource()
24 dcsi.preProcessRequest(execution)</bpmn:script>
26 <bpmn:scriptTask id="Task_0uwlr22_activate" name="Create progress update parameters After create" scriptFormat="groovy">
27 <bpmn:incoming>SequenceFlow_13ee4rf</bpmn:incoming>
28 <bpmn:outgoing>SequenceFlow_1jr6zi0_activate</bpmn:outgoing>
29 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
30 def dcsi = new ActivateSDNCNetworkResource()
31 dcsi.prepareUpdateAfterActivateSDNCResource(execution)</bpmn:script>
33 <bpmn:serviceTask id="ServiceTask_1cm8iwr_activate" name="update progress update">
34 <bpmn:extensionElements>
37 <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
38 <camunda:inputParameter name="headers">
40 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
41 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
43 </camunda:inputParameter>
44 <camunda:inputParameter name="payload">${CVFMI_updateResOperStatusRequest}</camunda:inputParameter>
45 <camunda:inputParameter name="method">POST</camunda:inputParameter>
46 <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
47 <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
48 </camunda:inputOutput>
49 <camunda:connectorId>http-connector</camunda:connectorId>
51 </bpmn:extensionElements>
52 <bpmn:incoming>SequenceFlow_1jr6zi0_activate</bpmn:incoming>
53 <bpmn:outgoing>SequenceFlow_1vnx1pp_activate</bpmn:outgoing>
55 <bpmn:sequenceFlow id="SequenceFlow_1jr6zi0_activate" sourceRef="Task_0uwlr22_activate" targetRef="ServiceTask_1cm8iwr_activate" />
56 <bpmn:sequenceFlow id="SequenceFlow_1vnx1pp_activate" sourceRef="ServiceTask_1cm8iwr_activate" targetRef="Task_023hred_activate" />
57 <bpmn:sequenceFlow id="SequenceFlow_1c92ks3_activate" sourceRef="createNS_StartEvent_activate" targetRef="Task_13sx2bp_activate" />
58 <bpmn:scriptTask id="ScriptTask_1gih50a_activate" name="Prepare SDNC Actiate request" scriptFormat="groovy">
59 <bpmn:incoming>SequenceFlow_18l3crb_activate</bpmn:incoming>
60 <bpmn:outgoing>SequenceFlow_0sjrnv5_activate</bpmn:outgoing>
61 <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
62 def dcsi = new ActivateSDNCNetworkResource()
63 dcsi.prepareSDNCRequest(execution)</bpmn:script>
65 <bpmn:sequenceFlow id="SequenceFlow_0sjrnv5_activate" sourceRef="ScriptTask_1gih50a_activate" targetRef="CallActivity_1241bmd_activate" />
66 <bpmn:callActivity id="CallActivity_1241bmd_activate" name="Call SDNC RSRC Adapter V1 " calledElement="sdncAdapter">
67 <bpmn:extensionElements>
68 <camunda:in source="sdncAdapterWorkflowRequest" target="sdncAdapterWorkflowRequest" />
69 <camunda:in source="mso-request-id" target="mso-request-id" />
70 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
71 <camunda:out source="sdncAdapterResponse" target="DELSDNCRES_activateSDNCResponse" />
72 <camunda:out source="SDNCA_ResponseCode" target="DELSDNCRES_sdncDeleteReturnCode" />
73 <camunda:out source="SDNCA_SuccessIndicator" target="DELSDNCRES_SuccessIndicator" />
74 <camunda:out source="WorkflowException" target="WorkflowException" />
75 <camunda:in source="sdncAdapterWorkflowRequest" target="sdncAdapterWorkflowRequest" />
76 </bpmn:extensionElements>
77 <bpmn:incoming>SequenceFlow_0sjrnv5_activate</bpmn:incoming>
78 <bpmn:outgoing>SequenceFlow_13ee4rf</bpmn:outgoing>
80 <bpmn:sequenceFlow id="SequenceFlow_13ee4rf" sourceRef="CallActivity_1241bmd_activate" targetRef="Task_0uwlr22_activate" />
82 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
83 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ActivateSDNCNetworkResource">
84 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="createNS_StartEvent_activate">
85 <dc:Bounds x="-275" y="306" width="36" height="36" />
87 <dc:Bounds x="-299" y="352" width="84" height="27" />
90 <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c_activate">
91 <dc:Bounds x="776" y="306" width="36" height="36" />
93 <dc:Bounds x="740" y="348" width="84" height="27" />
96 <bpmndi:BPMNEdge id="SequenceFlow_0ow44q0_di" bpmnElement="SequenceFlow_0ow44q0_activate">
97 <di:waypoint x="694" y="324" />
98 <di:waypoint x="776" y="324" />
100 <dc:Bounds x="780.5" y="314" width="90" height="12" />
103 <bpmndi:BPMNShape id="ScriptTask_0gyej62_di" bpmnElement="Task_023hred_activate">
104 <dc:Bounds x="594" y="284" width="100" height="80" />
106 <bpmndi:BPMNEdge id="SequenceFlow_18l3crb_di" bpmnElement="SequenceFlow_18l3crb_activate">
107 <di:waypoint x="-105" y="324" />
108 <di:waypoint x="-63" y="324" />
110 <dc:Bounds x="235.5" y="108" width="90" height="12" />
113 <bpmndi:BPMNShape id="ScriptTask_14l9mlv_di" bpmnElement="Task_13sx2bp_activate">
114 <dc:Bounds x="-205" y="284" width="100" height="80" />
116 <bpmndi:BPMNShape id="ScriptTask_0hu4lhm_di" bpmnElement="Task_0uwlr22_activate">
117 <dc:Bounds x="246" y="284" width="100" height="80" />
119 <bpmndi:BPMNShape id="ServiceTask_1cm8iwr_di" bpmnElement="ServiceTask_1cm8iwr_activate">
120 <dc:Bounds x="417" y="284" width="100" height="80" />
122 <bpmndi:BPMNEdge id="SequenceFlow_1jr6zi0_di" bpmnElement="SequenceFlow_1jr6zi0_activate">
123 <di:waypoint x="346" y="324" />
124 <di:waypoint x="417" y="324" />
126 <dc:Bounds x="444.5" y="314" width="0" height="12" />
129 <bpmndi:BPMNEdge id="SequenceFlow_1vnx1pp_di" bpmnElement="SequenceFlow_1vnx1pp_activate">
130 <di:waypoint x="517" y="324" />
131 <di:waypoint x="594" y="324" />
133 <dc:Bounds x="641" y="314" width="0" height="12" />
136 <bpmndi:BPMNEdge id="SequenceFlow_1c92ks3_di" bpmnElement="SequenceFlow_1c92ks3_activate">
137 <di:waypoint x="-239" y="324" />
138 <di:waypoint x="-205" y="324" />
140 <bpmndi:BPMNShape id="ScriptTask_1gih50a_di" bpmnElement="ScriptTask_1gih50a_activate">
141 <dc:Bounds x="-63" y="284" width="100" height="80" />
143 <bpmndi:BPMNEdge id="SequenceFlow_0sjrnv5_di" bpmnElement="SequenceFlow_0sjrnv5_activate">
144 <di:waypoint x="37" y="324" />
145 <di:waypoint x="80" y="324" />
147 <bpmndi:BPMNShape id="CallActivity_1241bmd_di" bpmnElement="CallActivity_1241bmd_activate">
148 <dc:Bounds x="80" y="284" width="100" height="80" />
150 <bpmndi:BPMNEdge id="SequenceFlow_13ee4rf_di" bpmnElement="SequenceFlow_13ee4rf">
151 <di:waypoint x="180" y="324" />
152 <di:waypoint x="246" y="324" />
155 </bpmndi:BPMNDiagram>