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