summaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_aai-delete-service-handling.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_aai-delete-service-handling.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_aai-delete-service-handling.json168
1 files changed, 84 insertions, 84 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_aai-delete-service-handling.json b/platform-logic/optical-service/src/main/json/optical-service_aai-delete-service-handling.json
index 6cf5663f..a4f65e72 100644
--- a/platform-logic/optical-service/src/main/json/optical-service_aai-delete-service-handling.json
+++ b/platform-logic/optical-service/src/main/json/optical-service_aai-delete-service-handling.json
@@ -1,20 +1,20 @@
[
{
- "id": "168f1b9b.e0d8a4",
+ "id": "b2c9d122.8079d",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 290,
- "y": 256.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 279.566650390625,
+ "y": 287,
+ "z": "4d560a72.e4927c",
"wires": [
[
- "69efd249.69fbdc"
+ "b624e48.81e8398"
]
]
},
{
- "id": "69efd249.69fbdc",
+ "id": "b624e48.81e8398",
"type": "service-logic",
"name": "optical-service ${project.version}",
"module": "optical-service",
@@ -22,235 +22,235 @@
"comments": "",
"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}'>",
"outputs": 1,
- "x": 477,
- "y": 205.66665649414062,
- "z": "5b091ac8.c4f784",
+ "x": 466.566650390625,
+ "y": 236,
+ "z": "4d560a72.e4927c",
"wires": [
[
- "7c805408.44c49c"
+ "e75c0d8a.68d908"
]
]
},
{
- "id": "7c805408.44c49c",
+ "id": "e75c0d8a.68d908",
"type": "method",
"name": "method",
"xml": "<method rpc='aai-delete-service-handling' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 331,
- "y": 379.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 320.566650390625,
+ "y": 410,
+ "z": "4d560a72.e4927c",
"wires": [
[
- "9d8283a.657188"
+ "730df27.f0e4c0c"
]
]
},
{
- "id": "9d8283a.657188",
+ "id": "730df27.f0e4c0c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 504,
- "y": 378.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 493.566650390625,
+ "y": 409,
+ "z": "4d560a72.e4927c",
"wires": [
[
- "f165a108.8a699",
- "940496d9.dec278",
- "32c002b0.0f4fce",
- "2caf6515.aa94aa",
- "a8c5a8ab.1bde18",
- "a1d8c39f.8281b"
+ "6723ac25.55f13c",
+ "eb2abe2d.21c0e8",
+ "914875aa.50ff98",
+ "7a255a1a.b26164",
+ "8dbb40fc.b81ee",
+ "c3a4108f.675268"
]
]
},
{
- "id": "f165a108.8a699",
+ "id": "6723ac25.55f13c",
"type": "record",
"name": "record",
"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",
"comments": "",
"outputs": 1,
- "x": 735,
- "y": 265.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 724.566650390625,
+ "y": 296,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "940496d9.dec278",
+ "id": "eb2abe2d.21c0e8",
"type": "get-resource",
"name": "Get service from AAI",
"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",
"comments": "",
"outputs": 1,
- "x": 754,
- "y": 381.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 743.566650390625,
+ "y": 412,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "32c002b0.0f4fce",
+ "id": "914875aa.50ff98",
"type": "record",
"name": "record",
"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",
"comments": "",
"outputs": 1,
- "x": 764,
- "y": 447.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 753.566650390625,
+ "y": 478,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "2caf6515.aa94aa",
+ "id": "7a255a1a.b26164",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end='`$aai.service.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 737,
- "y": 510.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 726.566650390625,
+ "y": 541,
+ "z": "4d560a72.e4927c",
"wires": [
[
- "c68f711c.1667a"
+ "d1115849.8412c"
]
]
},
{
- "id": "1e030001.bace",
+ "id": "9d29a06.61df4e",
"type": "set",
"name": "set",
"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",
"comments": "",
- "x": 1147,
- "y": 197.66665649414062,
- "z": "5b091ac8.c4f784",
+ "x": 1136.566650390625,
+ "y": 228,
+ "z": "4d560a72.e4927c",
"wires": []
},
{
- "id": "e3a487a2.2e5338",
+ "id": "99771c42.d3d4f",
"type": "record",
"name": "record",
"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",
"comments": "",
"outputs": 1,
- "x": 1170,
- "y": 266.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 1159.566650390625,
+ "y": 297,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "a8c5a8ab.1bde18",
+ "id": "8dbb40fc.b81ee",
"type": "delete",
"name": "delete service instance AAI",
"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",
"comments": "",
"outputs": 1,
- "x": 757,
- "y": 586.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 746.566650390625,
+ "y": 617,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "c68f711c.1667a",
+ "id": "d1115849.8412c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 921,
- "y": 514.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 910.566650390625,
+ "y": 545,
+ "z": "4d560a72.e4927c",
"wires": [
[
- "1e030001.bace",
- "e3a487a2.2e5338",
- "2c623e61.ef3c52",
- "46559965.50bc28",
- "c493aa8c.c04b68",
- "d87c55e6.d344b8"
+ "9d29a06.61df4e",
+ "99771c42.d3d4f",
+ "d7dc2f90.81174",
+ "1e0cbdbd.3ee7f2",
+ "d3321d96.966928",
+ "d37a6f28.98bec"
]
]
},
{
- "id": "a1d8c39f.8281b",
+ "id": "c3a4108f.675268",
"type": "delete",
"name": "delete from db",
"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\">",
"comments": "",
"outputs": 1,
- "x": 694,
- "y": 643.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 683.566650390625,
+ "y": 674,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "c493aa8c.c04b68",
+ "id": "d3321d96.966928",
"type": "get-resource",
"name": "get p-interface total capacity",
"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",
"comments": "",
"outputs": 1,
- "x": 1266.8887939453125,
- "y": 322.77777099609375,
- "z": "5b091ac8.c4f784",
+ "x": 1256.4554443359375,
+ "y": 353.1111145019531,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "d87c55e6.d344b8",
+ "id": "d37a6f28.98bec",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='new-rate' value='`$p.in.details.speed-value`' />\n",
"comments": "",
- "x": 1207.111083984375,
- "y": 413,
- "z": "5b091ac8.c4f784",
+ "x": 1196.677734375,
+ "y": 443.3333435058594,
+ "z": "4d560a72.e4927c",
"wires": []
},
{
- "id": "2c623e61.ef3c52",
+ "id": "d7dc2f90.81174",
"type": "update",
"name": "update p-interface capacity AAI",
"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",
"comments": "",
"outputs": 1,
- "x": 1174,
- "y": 518.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 1163.566650390625,
+ "y": 549,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]
},
{
- "id": "46559965.50bc28",
+ "id": "1e0cbdbd.3ee7f2",
"type": "save",
"name": "update pinterface rate DB",
"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'>",
"comments": "",
"outputs": 1,
- "x": 1165,
- "y": 586.6666564941406,
- "z": "5b091ac8.c4f784",
+ "x": 1154.566650390625,
+ "y": 617,
+ "z": "4d560a72.e4927c",
"wires": [
[]
]