diff options
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.json | 170 |
1 files changed, 85 insertions, 85 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 a4f65e72..86ae420f 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": "b2c9d122.8079d",
+ "id": "dc8e74bc.6b0e6",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 279.566650390625,
- "y": 287,
- "z": "4d560a72.e4927c",
+ "x": 201.5,
+ "y": 89.5,
+ "z": "78cee624.48d318",
"wires": [
[
- "b624e48.81e8398"
+ "793fbbb8.688d0c"
]
]
},
{
- "id": "b624e48.81e8398",
+ "id": "793fbbb8.688d0c",
"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": 466.566650390625,
- "y": 236,
- "z": "4d560a72.e4927c",
+ "x": 388.5,
+ "y": 38.5,
+ "z": "78cee624.48d318",
"wires": [
[
- "e75c0d8a.68d908"
+ "fac8c114.6a11a"
]
]
},
{
- "id": "e75c0d8a.68d908",
+ "id": "fac8c114.6a11a",
"type": "method",
"name": "method",
"xml": "<method rpc='aai-delete-service-handling' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 320.566650390625,
- "y": 410,
- "z": "4d560a72.e4927c",
+ "x": 242.5,
+ "y": 212.5,
+ "z": "78cee624.48d318",
"wires": [
[
- "730df27.f0e4c0c"
+ "af5e3982.ec86d8"
]
]
},
{
- "id": "730df27.f0e4c0c",
+ "id": "af5e3982.ec86d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 493.566650390625,
- "y": 409,
- "z": "4d560a72.e4927c",
+ "x": 415.5,
+ "y": 211.5,
+ "z": "78cee624.48d318",
"wires": [
[
- "6723ac25.55f13c",
- "eb2abe2d.21c0e8",
- "914875aa.50ff98",
- "7a255a1a.b26164",
- "8dbb40fc.b81ee",
- "c3a4108f.675268"
+ "47ce9b8c.699c64",
+ "532ef147.e30af8",
+ "d5300514.b84e18",
+ "e3be8795.085c9",
+ "31c5321a.c7540e",
+ "137b4c1c.0ee49c"
]
]
},
{
- "id": "6723ac25.55f13c",
+ "id": "47ce9b8c.699c64",
"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": 724.566650390625,
- "y": 296,
- "z": "4d560a72.e4927c",
+ "x": 646.5,
+ "y": 98.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "eb2abe2d.21c0e8",
+ "id": "532ef147.e30af8",
"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": 743.566650390625,
- "y": 412,
- "z": "4d560a72.e4927c",
+ "x": 665.5,
+ "y": 214.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "914875aa.50ff98",
+ "id": "d5300514.b84e18",
"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": 753.566650390625,
- "y": 478,
- "z": "4d560a72.e4927c",
+ "x": 675.5,
+ "y": 280.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "7a255a1a.b26164",
+ "id": "e3be8795.085c9",
"type": "for",
"name": "for",
- "xml": "<for index='idx' start='0' end='`$aai.service.relationship-list.relationship_length`' >\n",
+ "xml": "<for index='idx' start='1' end='`$aai.service.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 726.566650390625,
- "y": 541,
- "z": "4d560a72.e4927c",
+ "x": 648.5,
+ "y": 343.5,
+ "z": "78cee624.48d318",
"wires": [
[
- "d1115849.8412c"
+ "3755c730.096448"
]
]
},
{
- "id": "9d29a06.61df4e",
+ "id": "9620ad1b.3b5ab",
"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": 1136.566650390625,
- "y": 228,
- "z": "4d560a72.e4927c",
+ "x": 1058.5,
+ "y": 30.5,
+ "z": "78cee624.48d318",
"wires": []
},
{
- "id": "99771c42.d3d4f",
+ "id": "7afe7104.170b88",
"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": 1159.566650390625,
- "y": 297,
- "z": "4d560a72.e4927c",
+ "x": 1081.5,
+ "y": 99.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "8dbb40fc.b81ee",
+ "id": "31c5321a.c7540e",
"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": 746.566650390625,
- "y": 617,
- "z": "4d560a72.e4927c",
+ "x": 668.5,
+ "y": 419.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "d1115849.8412c",
+ "id": "3755c730.096448",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 910.566650390625,
- "y": 545,
- "z": "4d560a72.e4927c",
+ "x": 832.5,
+ "y": 347.5,
+ "z": "78cee624.48d318",
"wires": [
[
- "9d29a06.61df4e",
- "99771c42.d3d4f",
- "d7dc2f90.81174",
- "1e0cbdbd.3ee7f2",
- "d3321d96.966928",
- "d37a6f28.98bec"
+ "9620ad1b.3b5ab",
+ "7afe7104.170b88",
+ "d6286179.01c048",
+ "651efb55.9daa24",
+ "24dec78d.b7fd48",
+ "3e61b022.837b4"
]
]
},
{
- "id": "c3a4108f.675268",
+ "id": "137b4c1c.0ee49c",
"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": 683.566650390625,
- "y": 674,
- "z": "4d560a72.e4927c",
+ "x": 605.5,
+ "y": 476.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "d3321d96.966928",
+ "id": "24dec78d.b7fd48",
"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": 1256.4554443359375,
- "y": 353.1111145019531,
- "z": "4d560a72.e4927c",
+ "x": 1178.3887939453125,
+ "y": 155.61111450195312,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "d37a6f28.98bec",
+ "id": "3e61b022.837b4",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='new-rate' value='`$p.in.details.speed-value`' />\n",
"comments": "",
- "x": 1196.677734375,
- "y": 443.3333435058594,
- "z": "4d560a72.e4927c",
+ "x": 1118.611083984375,
+ "y": 245.83334350585938,
+ "z": "78cee624.48d318",
"wires": []
},
{
- "id": "d7dc2f90.81174",
+ "id": "d6286179.01c048",
"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": 1163.566650390625,
- "y": 549,
- "z": "4d560a72.e4927c",
+ "x": 1085.5,
+ "y": 351.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
},
{
- "id": "1e0cbdbd.3ee7f2",
+ "id": "651efb55.9daa24",
"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": 1154.566650390625,
- "y": 617,
- "z": "4d560a72.e4927c",
+ "x": 1076.5,
+ "y": 419.5,
+ "z": "78cee624.48d318",
"wires": [
[]
]
|