3 "id": "dc8e74bc.6b0e6",
\r
9 "z": "78cee624.48d318",
\r
17 "id": "793fbbb8.688d0c",
\r
18 "type": "service-logic",
\r
19 "name": "optical-service ${project.version}",
\r
20 "module": "optical-service",
\r
21 "version": "${project.version}",
\r
23 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='optical-service' version='${project.version}'>",
\r
27 "z": "78cee624.48d318",
\r
35 "id": "fac8c114.6a11a",
\r
38 "xml": "<method rpc='aai-delete-service-handling' mode='sync'>\n",
\r
43 "z": "78cee624.48d318",
\r
51 "id": "af5e3982.ec86d8",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic='true'>",
\r
60 "z": "78cee624.48d318",
\r
73 "id": "47ce9b8c.699c64",
\r
76 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside Revert PInterface details\"/>\n",
\r
81 "z": "78cee624.48d318",
\r
87 "id": "532ef147.e30af8",
\r
88 "type": "get-resource",
\r
89 "name": "Get service from AAI",
\r
90 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"service-instance\"\n key='customer.global-customer-id = $output.global-customer-id AND\n service-subscription.service-type = $output.service-type AND\n service-instance.service-instance-id = $output.service-instance-id' \npfx='aai.service' local-only='false'>\n\n",
\r
95 "z": "78cee624.48d318",
\r
101 "id": "d5300514.b84e18",
\r
104 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside Revert PInterface details\"/>\n<parameter name=\"field2\" value=\"`$aai.service.orchestration-status`\"/>\n<parameter name=\"field3\" value=\"`$aai.service.relationship-list.relationship_length`\"/>\n\n\n",
\r
109 "z": "78cee624.48d318",
\r
115 "id": "e3be8795.085c9",
\r
118 "xml": "<for index='idx' start='1' end='`$aai.service.relationship-list.relationship_length`' >\n",
\r
123 "z": "78cee624.48d318",
\r
131 "id": "9620ad1b.3b5ab",
\r
134 "xml": "<set>\n<parameter name='pnf-name' value='`$aai.service.relationship-list.relationship[$idx].relationship-data[0].relationship-value`' />\n<parameter name='pinterface-name' value='`$aai.service.relationship-list.relationship[$idx].relationship-data[1].relationship-value`' />\n\n",
\r
138 "z": "78cee624.48d318",
\r
142 "id": "7afe7104.170b88",
\r
145 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside Revert PInterface details\"/>\n<parameter name=\"field2\" value=\"`$pnf-name`\"/>\n<parameter name=\"field3\" value=\"`$pinterface-name`\"/>\n\n\n\n\n",
\r
150 "z": "78cee624.48d318",
\r
156 "id": "31c5321a.c7540e",
\r
158 "name": "delete service instance AAI",
\r
159 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"service-instance\"\nkey='customer.global-customer-id = $output.global-customer-id AND\nservice-subscription.service-type = $output.service-type AND\nservice-instance.service-instance-id = $output.service-instance-id'>\n",
\r
164 "z": "78cee624.48d318",
\r
170 "id": "3755c730.096448",
\r
172 "name": "block : atomic",
\r
173 "xml": "<block atomic='true'>",
\r
179 "z": "78cee624.48d318",
\r
192 "id": "137b4c1c.0ee49c",
\r
194 "name": "delete from db",
\r
195 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM REQUEST_DETAILS WHERE request_id = $request-id\">",
\r
200 "z": "78cee624.48d318",
\r
206 "id": "24dec78d.b7fd48",
\r
207 "type": "get-resource",
\r
208 "name": "get p-interface total capacity",
\r
209 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"p-interface\"\n key='pnf.pnf-name = $pnf-name AND\n p-interface.interface-name = $pinterface-name ' \npfx='p.in.details' local-only='false'>\n\n",
\r
212 "x": 1178.3887939453125,
\r
213 "y": 155.61111450195312,
\r
214 "z": "78cee624.48d318",
\r
220 "id": "3e61b022.837b4",
\r
223 "xml": "<set>\n<parameter name='new-rate' value='`$p.in.details.speed-value`' />\n",
\r
225 "x": 1118.611083984375,
\r
226 "y": 245.83334350585938,
\r
227 "z": "78cee624.48d318",
\r
231 "id": "d6286179.01c048",
\r
233 "name": "update p-interface capacity AAI",
\r
234 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='p-interface'\n key='pnf.pnf-name = $pnf-name AND\n p-interface.interface-name = $pinterface-name '\n local-only='false'>\n<parameter name='available-capacity' value='`$new-rate`' />\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n",
\r
239 "z": "78cee624.48d318",
\r
245 "id": "651efb55.9daa24",
\r
247 "name": "update pinterface rate DB",
\r
248 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE SET rate = $new-rate WHERE interface_name = $pinterface-name '\nforce='true' pfx='save-result'>",
\r
253 "z": "78cee624.48d318",
\r