RAN Slice DG - Honolulu updates - coverageAreaTAList
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceModifyAllocate.json
index 046c963..242d276 100644 (file)
@@ -64,9 +64,9 @@
                 "df01ad79.7438a",
                 "1801c640.1eb6aa",
                 "ed3c9a78.956f38",
-                "51b41b66.216574",
                 "ade269f7.3d78c8",
-                "d0d24863.8121f8"
+                "d0d24863.8121f8",
+                "963ff2bf.d8e52"
             ]
         ]
     },
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 482.27777099609375,
-        "y": 872.0000157356262,
+        "x": 502.2777404785156,
+        "y": 1002.0000991821289,
         "z": "ecab9296.c8bb5",
         "wires": [
             [
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 496.27777099609375,
-        "y": 700.7499809265137,
+        "x": 491.83331298828125,
+        "y": 638.5278072357178,
         "z": "ecab9296.c8bb5",
         "wires": [
             [
                 "70150931.91cfa8",
                 "c28b4d37.26d9",
                 "b4a6eeb6.15b65",
-                "e507ae6f.0ca78"
+                "abc69ccc.b8816",
+                "facbc015.91451"
             ]
         ]
     },
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>\n",
         "comments": "",
         "outputs": 1,
-        "x": 782.7777709960938,
-        "y": 763.4999942779541,
+        "x": 812.7777709960938,
+        "y": 764.6111183166504,
         "z": "ecab9296.c8bb5",
         "wires": [
             []
         "xml": "<outcome value='success'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1058.5278015136719,
-        "y": 673.2500448226929,
+        "x": 974.0834159851074,
+        "y": 795.472339630127,
         "z": "ecab9296.c8bb5",
         "wires": [
             [
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1226.5275421142578,
-        "y": 665.2502279281616,
+        "x": 1133.1940898895264,
+        "y": 786.3613233566284,
         "z": "ecab9296.c8bb5",
         "wires": [
             [
                 "8de7df6e.15597",
-                "3f2fbfdf.2aa34"
+                "3f2fbfdf.2aa34",
+                "71818c2.be80c74",
+                "699af871.c57d28",
+                "6b78e53.3ea641c",
+                "a67af35e.5f654",
+                "1c1677de.c69718"
             ]
         ]
     },
         "id": "8de7df6e.15597",
         "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved coverageAreaTAList\"/>\n<parameter name=\"field2\" value=\"`$get-coverageAreaTAList-response`\"/>",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved coverageAreaTAList\"/>\n<parameter name=\"field2\" value=\"`$get-coverageAreaTAList-response.coverage-area-TA-list`\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1398.2772979736328,
-        "y": 666.0001964569092,
+        "x": 1238.2774810791016,
+        "y": 547.1113529205322,
         "z": "ecab9296.c8bb5",
         "wires": [
             []
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 1426.0554809570312,
-        "y": 707.2501668930054,
+        "x": 1269.3889999389648,
+        "y": 590.5835800170898,
         "z": "ecab9296.c8bb5",
         "wires": [
             []
         "name": "set",
         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>",
         "comments": "",
-        "x": 1394.0907592773438,
-        "y": 747.9235363006592,
+        "x": 1230.7574729919434,
+        "y": 822.3680152893066,
         "z": "ecab9296.c8bb5",
         "wires": []
     },
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
         "comments": "",
-        "x": 1340.0904235839844,
-        "y": 792.8125143051147,
+        "x": 1267.8683700561523,
+        "y": 856.1458129882812,
         "z": "ecab9296.c8bb5",
         "wires": []
     },
         "atomic": "false",
         "comments": "",
         "outputs": 1,
-        "x": 1217.0903778076172,
-        "y": 719.8124837875366,
+        "x": 1125.9793224334717,
+        "y": 857.5903253555298,
         "z": "ecab9296.c8bb5",
         "wires": [
             [
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1068.0905456542969,
-        "y": 718.8125286102295,
+        "x": 1000.312801361084,
+        "y": 856.5903720855713,
         "z": "ecab9296.c8bb5",
         "wires": [
             [
             []
         ]
     },
-    {
-        "id": "e507ae6f.0ca78",
-        "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 782.2777709960938,
-        "y": 929.4999942779541,
-        "z": "ecab9296.c8bb5",
-        "wires": [
-            []
-        ]
-    },
     {
         "id": "7d0cab41.5d62e4",
         "type": "execute",
         "wires": [
             []
         ]
+    },
+    {
+        "id": "963ff2bf.d8e52",
+        "type": "for",
+        "name": "For coverageAreaTAList",
+        "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 492.2222442626953,
+        "y": 756.6666660308838,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            [
+                "5bcb2c99.0378c4"
+            ]
+        ]
+    },
+    {
+        "id": "5bcb2c99.0378c4",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 508.4094543457031,
+        "y": 810.9892473220825,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            [
+                "c16418c0.4be368",
+                "51b41b66.216574",
+                "338340aa.07add"
+            ]
+        ]
+    },
+    {
+        "id": "abc69ccc.b8816",
+        "type": "execute",
+        "name": "set trackingArea size",
+        "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$tmp.coverageAreaTAList_length`\"/>\n\t",
+        "comments": "",
+        "outputs": 1,
+        "x": 847.7777709960938,
+        "y": 913.0555419921875,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "facbc015.91451",
+        "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 811.111083984375,
+        "y": 944.1666259765625,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "699af871.c57d28",
+        "type": "execute",
+        "name": "SliStringUtils - split",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.aai.coverageAreaTAList`\" />\n    <parameter name=\"regex\" value=\",\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.coverageAreaTAList\"/>\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1334.1668701171875,
+        "y": 758.3334369659424,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "71818c2.be80c74",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='tmp.aai.coverageAreaTAList' value=\"`$get-coverageAreaTAList-response.coverage-area-TA-list`\"/>\n",
+        "comments": "",
+        "x": 1262.5000801086426,
+        "y": 629.1667566299438,
+        "z": "ecab9296.c8bb5",
+        "wires": []
+    },
+    {
+        "id": "a67af35e.5f654",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1346.1112213134766,
+        "y": 795.2779369354248,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c16418c0.4be368",
+        "type": "execute",
+        "name": "read trackingArea",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'tmp.coverageAreaTAList['+ $ta+']'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 598.3333892822266,
+        "y": 896.9444751739502,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "338340aa.07add",
+        "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 552.2222290039062,
+        "y": 945.2777099609375,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1c1677de.c69718",
+        "type": "execute",
+        "name": "replace [",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.aai.coverageAreaTAList`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.aai.coverageAreaTAList\"/>\n    <parameter name=\"target\" value=\"[\"/>\n    <parameter name=\"replacement\" value=\"\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1277.7779006958008,
+        "y": 667.2221508026123,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6b78e53.3ea641c",
+        "type": "execute",
+        "name": "replace ]",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.aai.coverageAreaTAList`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.aai.coverageAreaTAList\"/>\n    <parameter name=\"target\" value=\"]\"/>\n    <parameter name=\"replacement\" value=\"\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1293.6110763549805,
+        "y": 704.1666836738586,
+        "z": "ecab9296.c8bb5",
+        "wires": [
+            []
+        ]
     }
 ]
\ No newline at end of file