[
{
- "id": "5cfe1e32.70c03",
+ "id": "bc5eb749.049f08",
"type": "method",
"name": "method",
"xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 70.00000762939453,
- "y": 157.98959350585938,
- "z": "231735cb.81484a",
+ "x": 127,
+ "y": 250,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "3e0b09ab.48e706"
+ "581d586d.790578"
]
]
},
{
- "id": "5972e355.1f90dc",
+ "id": "2b47598a.404656",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 72.00000762939453,
- "y": 8.98958969116211,
- "z": "231735cb.81484a",
+ "x": 129,
+ "y": 20,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "54079cf7.5dc664"
+ "4532a7a5.10d318"
]
]
},
{
- "id": "54079cf7.5dc664",
+ "id": "4532a7a5.10d318",
"type": "service-logic",
"name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"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='oofpcipoc-api' version='${project.version}'>",
"outputs": 1,
- "x": 123.99999237060547,
- "y": 75.98968505859375,
- "z": "231735cb.81484a",
+ "x": 180.99998474121094,
+ "y": 88.0000991821289,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "5cfe1e32.70c03"
+ "bc5eb749.049f08"
]
]
},
{
- "id": "3e0b09ab.48e706",
+ "id": "581d586d.790578",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 91.48960494995117,
- "y": 327.9896240234375,
- "z": "231735cb.81484a",
+ "x": 121.48959350585938,
+ "y": 390.0000305175781,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "769a67ee.dde568",
- "9f7ed3ae.40866",
- "4e6eb75.eedf548",
- "9fe3285b.bcd158",
- "5791230f.7e399c",
- "8025c437.0aac68"
+ "d4995b93.98bc58",
+ "c5f49c5c.99a04",
+ "b48ff18c.33815",
+ "62bc8a33.6849f4",
+ "330e586.5781aa8",
+ "1a836b7b.d39e35",
+ "1402ffdd.7aaa3",
+ "d3a1a502.8392d8",
+ "f6e35591.d1d158",
+ "915b5f1b.acb1",
+ "2fa4a845.8275d8",
+ "eb728676.156e58",
+ "bd606a8d.eeca78",
+ "be6270f5.aa16d",
+ "c950590b.012dd8",
+ "ab7add37.674c1",
+ "36bfd25c.6ba71e"
]
]
},
{
- "id": "769a67ee.dde568",
+ "id": "d4995b93.98bc58",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
"comments": "",
- "x": 89.00027465820312,
- "y": 605.98974609375,
- "z": "231735cb.81484a",
+ "x": 142.0002670288086,
+ "y": 2535.000244140625,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "e61e6aa7.761fa8",
+ "id": "3edaf765.7e8ad8",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>",
"comments": "",
"outputs": 1,
- "x": 586.0005493164062,
- "y": 16.989639282226562,
- "z": "231735cb.81484a",
+ "x": 608.0005493164062,
+ "y": 128.0000457763672,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "a8c7df6e.f7389",
+ "id": "5a892962.3b5848",
"type": "comment",
"name": "configuration-phy-cell-id",
"info": "",
"comments": "",
- "x": 301,
- "y": 28.0000057220459,
- "z": "231735cb.81484a",
+ "x": 357.99999237060547,
+ "y": 39.01041603088379,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "98c7f031.3beb4",
+ "id": "8ae385dd.d5f038",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1333.0000762939453,
- "y": 147.0000033378601,
- "z": "231735cb.81484a",
+ "x": 3807.0007247924805,
+ "y": 559.0104417800903,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "37b670d3.2d75d",
+ "id": "125a0785.4f2c48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1033.0002059936523,
- "y": 112.0000147819519,
- "z": "231735cb.81484a",
+ "x": 2720.000274658203,
+ "y": 518.0104243755341,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "e5c0ae7e.fb12e"
+ "aa742465.f16098"
]
]
},
{
- "id": "e5c0ae7e.fb12e",
+ "id": "aa742465.f16098",
"type": "returnFailure",
"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 executing Get odutopo node details rest api\" />",
"comments": "",
- "x": 1349.0001907348633,
- "y": 104.00003385543823,
- "z": "231735cb.81484a",
+ "x": 2939.0003356933594,
+ "y": 518.0104472637177,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "6807fd7c.9ffd14",
+ "id": "3e9fa50e.2515fa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1070.0003471374512,
- "y": 209.9999976158142,
- "z": "231735cb.81484a",
+ "x": 2725.000457763672,
+ "y": 602.010409116745,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "61cbf7c3.3277c8"
+ "40c8cba9.0538a4"
]
]
},
{
- "id": "61cbf7c3.3277c8",
+ "id": "40c8cba9.0538a4",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1166.000057220459,
- "y": 152.00000619888306,
- "z": "231735cb.81484a",
+ "x": 2885,
+ "y": 585.0104336738586,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "98c7f031.3beb4"
+ "f5cfc304.18074"
]
]
},
{
- "id": "eb64f79e.fd6af8",
+ "id": "e986352f.b94328",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.0001621246338,
- "y": 464.6666452884674,
- "z": "231735cb.81484a",
+ "x": 2719.000213623047,
+ "y": 858.6770656108856,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "2883bb3f.bc91d4"
+ "a9254e01.2ea2e"
]
]
},
{
- "id": "2883bb3f.bc91d4",
+ "id": "a9254e01.2ea2e",
"type": "returnFailure",
"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 executing patch rest api\" />",
"comments": "",
- "x": 1275.0000553131104,
- "y": 483.66669511795044,
- "z": "231735cb.81484a",
+ "x": 2946.0000915527344,
+ "y": 856.6770961284637,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "6d15fc65.dab3d4",
+ "id": "9dbdd2a2.3425c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1056.000020980835,
- "y": 603.6667590141296,
- "z": "231735cb.81484a",
+ "x": 2738.0000915527344,
+ "y": 933.6771876811981,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "a0dc8cc1.dd008"
+ "43b4001c.7cb41"
]
]
},
{
- "id": "a0dc8cc1.dd008",
+ "id": "43b4001c.7cb41",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1243.999891281128,
- "y": 601.6666655540466,
- "z": "231735cb.81484a",
+ "x": 2895.999969482422,
+ "y": 931.6770656108856,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "c1020cf0.6879f"
+ "55a6cc6c.29a174"
]
]
},
{
- "id": "c1020cf0.6879f",
+ "id": "2e2f13e1.1f2d7c",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1427.9998245239258,
- "y": 575.6668887138367,
- "z": "231735cb.81484a",
+ "x": 3815.5000915527344,
+ "y": 892.6774454116821,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "7ecd6e45.7e277",
+ "id": "5f54d266.4099dc",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 799.000659942627,
- "y": 197.0001015663147,
- "z": "231735cb.81484a",
+ "x": 2401.0009803771973,
+ "y": 576.3439598083496,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "4e6eb75.eedf548",
+ "id": "b48ff18c.33815",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 456.085693359375,
- "y": 16.95317840576172,
- "z": "231735cb.81484a",
+ "x": 453.085693359375,
+ "y": 138.96359252929688,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "e61e6aa7.761fa8"
+ "3edaf765.7e8ad8"
]
]
},
{
- "id": "9f7ed3ae.40866",
+ "id": "c5f49c5c.99a04",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure PCI INVOKED. Number of Cells to configure: \"/>\n<parameter name=\"field2\" value=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 241.00030517578125,
- "y": 137.01043701171875,
- "z": "231735cb.81484a",
+ "x": 456.00030517578125,
+ "y": 82.02084350585938,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "7d38cbac.d25ac4",
+ "id": "1e5692df.3d386d",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 480.00018310546875,
- "y": 381,
- "z": "231735cb.81484a",
+ "x": 1938.0004043579102,
+ "y": 1331.0104496479034,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "ad5896c2.1372a8"
+ "d8f8629c.bfa34"
]
]
},
{
- "id": "88625aaa.05ac08",
+ "id": "33d8e9d1.c13c16",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n",
"comments": "",
- "x": 927.0010986328125,
- "y": 74.88908624649048,
- "z": "231735cb.81484a",
+ "x": 2575.001251220703,
+ "y": 355.2328472137451,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "f4e5fe0e.4b9c6",
+ "id": "7f490ca6.0f79b4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1068.000343322754,
- "y": 281.000084400177,
- "z": "231735cb.81484a",
+ "x": 2728.000457763672,
+ "y": 726.0105006694794,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "78c5715f.569f1"
+ "69ffc374.99cfbc"
]
]
},
{
- "id": "d86bb55b.e8fa48",
+ "id": "acb741c0.a04e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.0002746582031,
- "y": 410.00000619888306,
- "z": "231735cb.81484a",
+ "x": 2715.0003356933594,
+ "y": 804.010409116745,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "c51a3fee.9dc2a"
+ "fbb6737d.7b243"
]
]
},
{
- "id": "78c5715f.569f1",
+ "id": "69ffc374.99cfbc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1201.0002727508545,
- "y": 240.00011587142944,
- "z": "231735cb.81484a",
+ "x": 2875.0003356933594,
+ "y": 726.0105311870575,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "4bd1d88c.a2c018"
+ "2cf2ffd4.474cb"
]
]
},
{
- "id": "4bd1d88c.a2c018",
+ "id": "2cf2ffd4.474cb",
"type": "returnFailure",
"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 executing patch rest api\" />",
"comments": "",
- "x": 1379.999963760376,
- "y": 237.00008344650269,
- "z": "231735cb.81484a",
+ "x": 3039.0000915527344,
+ "y": 710.0105006694794,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "c51a3fee.9dc2a",
+ "id": "fbb6737d.7b243",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1223.0000171661377,
- "y": 376.000066280365,
- "z": "231735cb.81484a",
+ "x": 2871.0000915527344,
+ "y": 788.0104701519012,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "1390b236.ee339e"
+ "6d021775.20de68"
]
]
},
{
- "id": "1390b236.ee339e",
+ "id": "6d021775.20de68",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>",
"comments": "",
"outputs": 1,
- "x": 1402.0000858306885,
- "y": 375.00005292892456,
- "z": "231735cb.81484a",
+ "x": 3032.000213623047,
+ "y": 790.0104701519012,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "ad5896c2.1372a8",
+ "id": "d8f8629c.bfa34",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 584,
- "y": 227.010498046875,
- "z": "231735cb.81484a",
+ "x": 1984.0000305175781,
+ "y": 677.0209276676178,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "88625aaa.05ac08",
- "7ecd6e45.7e277",
- "4a8297f3.fab368",
- "9f1665ce.4fd9f8",
- "f010d789.53a0a8",
- "7e3a85f3.f482ac",
- "a4027203.6535b",
- "47db6df.2075794"
+ "33d8e9d1.c13c16",
+ "5f54d266.4099dc",
+ "f80af4a3.cf75d8",
+ "aad98597.00dc38",
+ "a321562e.13d0b8",
+ "3538c4d0.a2008c",
+ "92ccecc0.6aa79",
+ "299044d0.ed447c",
+ "cb3ee380.a31f6",
+ "60f37767.9663c8",
+ "18b65688.6247a9",
+ "d4275158.f071b",
+ "2172e92c.2bb7a6",
+ "cd2e3271.2ab31"
]
]
},
{
- "id": "7e3a85f3.f482ac",
+ "id": "a321562e.13d0b8",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />",
"comments": "",
"outputs": 1,
- "x": 800.0006637573242,
- "y": 366.0104355812073,
- "z": "231735cb.81484a",
+ "x": 2398.000759124756,
+ "y": 906.020827293396,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "9fe3285b.bcd158",
+ "id": "62bc8a33.6849f4",
"type": "execute",
"name": "execute Properties",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 482.00018310546875,
- "y": 68.01042175292969,
- "z": "231735cb.81484a",
+ "x": 489.00018310546875,
+ "y": 193.02084350585938,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "5791230f.7e399c",
+ "id": "330e586.5781aa8",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. pci patch target\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc.patch.pci.target`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field6\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field7\" value=\"`$prop.ransim-mounted`\"/>",
"comments": "",
"outputs": 1,
- "x": 447.00030517578125,
- "y": 112.01048278808594,
- "z": "231735cb.81484a",
+ "x": 450.00030517578125,
+ "y": 245.02090454101562,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "9f1665ce.4fd9f8",
+ "id": "aad98597.00dc38",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "Get GNBDUFunction Details",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 828.0005416870117,
- "y": 268.0103964805603,
- "z": "231735cb.81484a",
+ "x": 2435.0009002685547,
+ "y": 637.354133605957,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "37b670d3.2d75d",
- "6807fd7c.9ffd14"
+ "125a0785.4f2c48",
+ "3e9fa50e.2515fa"
]
]
},
{
- "id": "4a8297f3.fab368",
- "type": "execute",
- "name": "generate fap-service url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 841.000244140625,
- "y": 141.010498046875,
- "z": "231735cb.81484a",
- "wires": [
- []
- ]
- },
- {
- "id": "f010d789.53a0a8",
+ "id": "f80af4a3.cf75d8",
"type": "execute",
- "name": "generate pci patch url for a cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "name": "generate getGNBDUFunction url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 838.0001754760742,
- "y": 311.0104126930237,
- "z": "231735cb.81484a",
+ "x": 2488.000602722168,
+ "y": 437.02091789245605,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "a4027203.6535b",
+ "id": "3538c4d0.a2008c",
"type": "execute",
"name": "Recofigure PCI for a Cell",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 821.0000762939453,
- "y": 442.01055097579956,
- "z": "231735cb.81484a",
+ "x": 2426.333526611328,
+ "y": 963.6877822875977,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "f4e5fe0e.4b9c6",
- "d86bb55b.e8fa48"
+ "7f490ca6.0f79b4",
+ "acb741c0.a04e8"
]
]
},
{
- "id": "47db6df.2075794",
+ "id": "92ccecc0.6aa79",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "Get GNBDUFunction details",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 800.0000305175781,
- "y": 529.0104422569275,
- "z": "231735cb.81484a",
+ "x": 2419.3333587646484,
+ "y": 1028.3541696071625,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "eb64f79e.fd6af8",
- "6d15fc65.dab3d4"
+ "e986352f.b94328",
+ "9dbdd2a2.3425c"
]
]
},
{
- "id": "8e234f95.57b72",
- "type": "execute",
- "name": "Recofigure PCI for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='accept' value='application/yang.patch-status+json' />",
- "comments": "",
- "outputs": 1,
- "x": 111,
- "y": 867.0104370117188,
- "z": "231735cb.81484a",
- "wires": [
- []
- ]
- },
- {
- "id": "8025c437.0aac68",
+ "id": "1a836b7b.d39e35",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 279,
- "y": 425,
- "z": "231735cb.81484a",
+ "x": 609.0000190734863,
+ "y": 1348.010398864746,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "2ba4e078.c9991",
- "450d192e.16e4c8"
+ "e66bd0d.449713",
+ "208e6469.b6e26c"
]
]
},
{
- "id": "2ba4e078.c9991",
+ "id": "e66bd0d.449713",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 355,
- "y": 313,
- "z": "231735cb.81484a",
+ "x": 1479.0000228881836,
+ "y": 1300.0104351043701,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "7d38cbac.d25ac4"
+ "1e5692df.3d386d"
]
]
},
{
- "id": "450d192e.16e4c8",
+ "id": "208e6469.b6e26c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 253,
- "y": 526,
- "z": "231735cb.81484a",
+ "x": 1439.0000267028809,
+ "y": 1585.0104427337646,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "df962bc0.9c4728"
+ "3e955ea0.b79f22"
]
]
},
{
- "id": "3804aecc.1eda72",
+ "id": "3fa84223.41702e",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial NRCellDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1178.9998779296875,
- "y": 730,
- "z": "231735cb.81484a",
+ "x": 4200.144073486328,
+ "y": 1543.510404586792,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "294e9c79.ae0324",
+ "id": "29e6206e.562d5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 832,
- "y": 719,
- "z": "231735cb.81484a",
+ "x": 3084.0003967285156,
+ "y": 1535.0104217529297,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "a2629122.94b21"
+ "2882707e.6fafc"
]
]
},
{
- "id": "a2629122.94b21",
+ "id": "2882707e.6fafc",
"type": "returnFailure",
"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 executing Get odutopo node details rest api\" />",
"comments": "",
- "x": 1014,
- "y": 691.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3280.00040435791,
+ "y": 1517.010419845581,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "855dbbeb.68dac8",
+ "id": "2d6e408.62926c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 830.0001831054688,
- "y": 794,
- "z": "231735cb.81484a",
+ "x": 3082.0007247924805,
+ "y": 1596.0104236602783,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "4f5a1521.82fc2c"
+ "1b7f6463.3c4afc"
]
]
},
{
- "id": "4f5a1521.82fc2c",
+ "id": "1b7f6463.3c4afc",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1016.9998779296875,
- "y": 743,
- "z": "231735cb.81484a",
+ "x": 3257.00040435791,
+ "y": 1579.010422706604,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "3804aecc.1eda72"
+ "ce3707d5.c47378"
]
]
},
{
- "id": "24eb1ccd.364114",
+ "id": "2fe85c6d.53b954",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 713,
- "y": 1064.6666259765625,
- "z": "231735cb.81484a",
+ "x": 3121.6674728393555,
+ "y": 1801.0105285644531,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "9f4cf18c.81994"
+ "f6104f85.18cb4"
]
]
},
{
- "id": "9f4cf18c.81994",
+ "id": "f6104f85.18cb4",
"type": "returnFailure",
"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 executing patch rest api\" />",
"comments": "",
- "x": 900.9998779296875,
- "y": 1071.666748046875,
- "z": "231735cb.81484a",
+ "x": 3323.0004119873047,
+ "y": 1788.0106506347656,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "a0317cac.b10f8",
+ "id": "3b60c1c5.f61d0e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 698.9998168945312,
- "y": 1141.666748046875,
- "z": "231735cb.81484a",
+ "x": 3106.000312805176,
+ "y": 1861.3440294265747,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "f2262012.299c4"
+ "eb4c9e4c.8da0d"
]
]
},
{
- "id": "f2262012.299c4",
+ "id": "eb4c9e4c.8da0d",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 872.999755859375,
- "y": 1144.6666259765625,
- "z": "231735cb.81484a",
+ "x": 3281.667007446289,
+ "y": 1839.3440265655518,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "85031fd4.e0c19"
+ "81c631c6.64bed"
]
]
},
{
- "id": "85031fd4.e0c19",
+ "id": "7df1c55c.3df42c",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1050.9996337890625,
- "y": 1148.6668701171875,
- "z": "231735cb.81484a",
+ "x": 4207.166847229004,
+ "y": 1814.0110654830933,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "41d9ee9a.12b9f",
+ "id": "c9fb935.38b307",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 523.00048828125,
- "y": 719.0001220703125,
- "z": "231735cb.81484a",
+ "x": 2757.3344535827637,
+ "y": 1520.6773376464844,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "df962bc0.9c4728",
+ "id": "3e955ea0.b79f22",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 475,
- "y": 477,
- "z": "231735cb.81484a",
+ "x": 2143.99995803833,
+ "y": 1534.6771097183228,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "d2092690.d1f398"
+ "3f793294.df175e"
]
]
},
{
- "id": "3e233d3d.e189b2",
+ "id": "35528e0f.7b8ec2",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n",
"comments": "",
- "x": 607.0009155273438,
- "y": 609.8890991210938,
- "z": "231735cb.81484a",
+ "x": 2844.6681365966797,
+ "y": 1270.5662250518799,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "8345c5a4.2aa138",
+ "id": "de23f1ab.ea25b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 804.0001831054688,
- "y": 914.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3096.00057220459,
+ "y": 1652.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "d0914b29.da1bf8"
+ "49382202.17833c"
]
]
},
{
- "id": "e412cebf.f2b34",
+ "id": "97abaafa.1d95f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 773.0001220703125,
- "y": 1001,
- "z": "231735cb.81484a",
+ "x": 3065.0005111694336,
+ "y": 1739.0104627609253,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "9f57f600.00e818"
+ "3df1371.a9568c8"
]
]
},
{
- "id": "d0914b29.da1bf8",
+ "id": "49382202.17833c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 977.0001220703125,
- "y": 886.0001220703125,
- "z": "231735cb.81484a",
+ "x": 3269.0005111694336,
+ "y": 1624.0105848312378,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "764300f9.17734"
+ "f2b1f658.5171f8"
]
]
},
{
- "id": "764300f9.17734",
+ "id": "f2b1f658.5171f8",
"type": "returnFailure",
"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 executing patch rest api\" />",
"comments": "",
- "x": 1164.999755859375,
- "y": 876.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3457.000144958496,
+ "y": 1614.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": []
},
{
- "id": "9f57f600.00e818",
+ "id": "3df1371.a9568c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 954.9998779296875,
- "y": 988.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3247.0002670288086,
+ "y": 1726.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "3925925e.0d365e"
+ "76a95310.18f3cc"
]
]
},
{
- "id": "3925925e.0d365e",
+ "id": "76a95310.18f3cc",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>",
"comments": "",
"outputs": 1,
- "x": 1127.9998779296875,
- "y": 987.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3420.0002670288086,
+ "y": 1725.0105237960815,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "d2092690.d1f398",
+ "id": "3f793294.df175e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 254.99981689453125,
- "y": 704.010498046875,
- "z": "231735cb.81484a",
+ "x": 2496.000213623047,
+ "y": 1534.0209875106812,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "3e233d3d.e189b2",
- "41d9ee9a.12b9f",
- "7e6165e7.675aac",
- "6cada962.37cf28",
- "5c13f574.f957ac",
- "3d1c8150.a42e7e",
- "50d1caf4.0f4e94",
- "f59ed201.bd8d3",
- "2f51ed00.9a5384",
- "326141f0.a2e29e"
+ "35528e0f.7b8ec2",
+ "c9fb935.38b307",
+ "cf1cb1e7.a54a",
+ "1046608.be59ca",
+ "7439cd74.cec184",
+ "3da2fae9.a7dc26",
+ "f255168.f1bb8e8",
+ "71dea216.12285c",
+ "2b7aacab.d746b4",
+ "33a72cd2.d27734",
+ "9ea26627.0c1ef8",
+ "e50d1970.ba2a28",
+ "bbc6c31.9895c4",
+ "d29fc0a2.cbef7",
+ "9b3c2eb6.b4f39",
+ "9035e7b3.9c24b8"
]
]
},
{
- "id": "3d1c8150.a42e7e",
+ "id": "3da2fae9.a7dc26",
"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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.nrcelldu.patch.pci.url`\" />\n",
"comments": "",
"outputs": 1,
- "x": 506.00048828125,
- "y": 923.0104370117188,
- "z": "231735cb.81484a",
+ "x": 2716.668560028076,
+ "y": 1785.6877613067627,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "6cada962.37cf28",
+ "id": "1046608.be59ca",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "Get GNBDUFunction Details",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 590.0003662109375,
- "y": 769.0103759765625,
- "z": "231735cb.81484a",
+ "x": 2800.3340225219727,
+ "y": 1558.687512397766,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "294e9c79.ae0324",
- "855dbbeb.68dac8"
+ "29e6206e.562d5",
+ "2d6e408.62926c"
]
]
},
{
- "id": "7e6165e7.675aac",
+ "id": "cf1cb1e7.a54a",
"type": "execute",
- "name": "generate fap-service url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "name": "generate getGNBDUFunction url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 505.00006103515625,
- "y": 658.010498046875,
- "z": "231735cb.81484a",
+ "x": 2833.0003509521484,
+ "y": 1394.6877460479736,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "5c13f574.f957ac",
+ "id": "7439cd74.cec184",
"type": "execute",
"name": "generate pci patch url for a cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 609,
- "y": 814.0104370117188,
- "z": "231735cb.81484a",
+ "x": 2809.333698272705,
+ "y": 1600.3541526794434,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "50d1caf4.0f4e94",
+ "id": "f255168.f1bb8e8",
"type": "execute",
"name": "Recofigure PCI for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.nrcelldu.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"nrcelldu-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2759.0484771728516,
+ "y": 1823.2595119476318,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "de23f1ab.ea25b",
+ "97abaafa.1d95f8"
+ ]
+ ]
+ },
+ {
+ "id": "71dea216.12285c",
+ "type": "execute",
+ "name": "Get GNBDUFunction details for a Cell",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 529.9998779296875,
- "y": 983.010498046875,
- "z": "231735cb.81484a",
+ "x": 2795.6671295166016,
+ "y": 1860.0211935043335,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "8345c5a4.2aa138",
- "e412cebf.f2b34"
+ "2fe85c6d.53b954",
+ "3b60c1c5.f61d0e"
]
]
},
{
- "id": "f59ed201.bd8d3",
+ "id": "2b7aacab.d746b4",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2803.667037963867,
+ "y": 1483.010419845581,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33a72cd2.d27734",
"type": "execute",
- "name": "Get FAP details for a Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2797.001289367676,
+ "y": 1693.3437595367432,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ca740c9.78f26",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 496.9998779296875,
- "y": 1057.010498046875,
- "z": "231735cb.81484a",
+ "x": 2886.3336486816406,
+ "y": 2413.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[
- "24eb1ccd.364114",
- "a0317cac.b10f8"
+ "cd4ac104.c7ca4",
+ "37c6c50d.1e713a",
+ "2878a7a6.c14518"
]
]
},
{
- "id": "2f51ed00.9a5384",
+ "id": "cd4ac104.c7ca4",
+ "type": "execute",
+ "name": "generate configdb phy cell id patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3200.3336486816406,
+ "y": 2325.3332653045654,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37c6c50d.1e713a",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3170.3336486816406,
+ "y": 2389.3332653045654,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2878a7a6.c14518",
"type": "execute",
- "name": "populate netconf mount",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "name": "Configure PCI value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3144.3336486816406,
+ "y": 2484.3332653045654,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "38fea44f.4893bc",
+ "a7752170.3ee07"
+ ]
+ ]
+ },
+ {
+ "id": "38fea44f.4893bc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3359.3336486816406,
+ "y": 2427.3332653045654,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "b9f63e4d.41f2c"
+ ]
+ ]
+ },
+ {
+ "id": "a7752170.3ee07",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3359.333526611328,
+ "y": 2523.333143234253,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "65321af7.fce354"
+ ]
+ ]
+ },
+ {
+ "id": "b9f63e4d.41f2c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3528.333526611328,
+ "y": 2438.3332653045654,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "10de0799.23bca8"
+ ]
+ ]
+ },
+ {
+ "id": "65321af7.fce354",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3521.333282470703,
+ "y": 2524.3332653045654,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "9d2947d1.ed9748"
+ ]
+ ]
+ },
+ {
+ "id": "10de0799.23bca8",
+ "type": "returnFailure",
+ "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 updating configDB. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 3682.333221435547,
+ "y": 2431.3332653045654,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "9d2947d1.ed9748",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 757,
- "y": 674,
- "z": "231735cb.81484a",
+ "x": 3672.3334045410156,
+ "y": 2521.3332653045654,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
},
{
- "id": "326141f0.a2e29e",
+ "id": "9ea26627.0c1ef8",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2756.42911529541,
+ "y": 1900.571457862854,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "9b2b014d.01283",
+ "e68f25b7.b74a08"
+ ]
+ ]
+ },
+ {
+ "id": "9b2b014d.01283",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2922.6672134399414,
+ "y": 2095.3334827423096,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7ca740c9.78f26"
+ ]
+ ]
+ },
+ {
+ "id": "86d3ebb5.64bbe8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3211.3333892822266,
+ "y": 1083.3228778839111,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "387cbe4b.d03812",
+ "4f4a975.b252f68",
+ "98773b4a.65ed28"
+ ]
+ ]
+ },
+ {
+ "id": "387cbe4b.d03812",
"type": "execute",
- "name": "populate netconf mount",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "name": "generate configdb phy cell id patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3481.3333892822266,
+ "y": 989.3228511810303,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f4a975.b252f68",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 565,
- "y": 865,
- "z": "231735cb.81484a",
+ "x": 3477.3335132598877,
+ "y": 1078.3229894638062,
+ "z": "53ac5fd0.5848d",
"wires": [
[]
]
+ },
+ {
+ "id": "98773b4a.65ed28",
+ "type": "execute",
+ "name": "Configure PCI value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3453.191436767578,
+ "y": 1143.4658863544464,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "a2c27c7c.e07dc",
+ "387ed606.5e99aa"
+ ]
+ ]
+ },
+ {
+ "id": "a2c27c7c.e07dc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3684.3333892822266,
+ "y": 1097.3228778839111,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "73319bd3.a7c854"
+ ]
+ ]
+ },
+ {
+ "id": "387ed606.5e99aa",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3864.3339462280273,
+ "y": 1188.3229184150696,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "2278b0d3.4d38c"
+ ]
+ ]
+ },
+ {
+ "id": "73319bd3.a7c854",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3853.333267211914,
+ "y": 1108.3228778839111,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "5709aa9.6dc1654"
+ ]
+ ]
+ },
+ {
+ "id": "2278b0d3.4d38c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4026.3337020874023,
+ "y": 1189.323040485382,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "44eb94c8.826edc"
+ ]
+ ]
+ },
+ {
+ "id": "5709aa9.6dc1654",
+ "type": "returnFailure",
+ "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 adding neighbor to configdb. Aborting notification handler\" />",
+ "comments": "",
+ "x": 4007.332962036133,
+ "y": 1101.3228778839111,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "44eb94c8.826edc",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4177.333824157715,
+ "y": 1185.3230137825012,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "299044d0.ed447c",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2395.3334579467773,
+ "y": 1079.3228225708008,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d54a0170.8e85a",
+ "597e0eca.2d59f"
+ ]
+ ]
+ },
+ {
+ "id": "d54a0170.8e85a",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2966.333724975586,
+ "y": 993.9896039962769,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "86d3ebb5.64bbe8"
+ ]
+ ]
+ },
+ {
+ "id": "c918c86b.bcce58",
+ "type": "execute",
+ "name": "execute TemplateNode",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfig-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 898,
+ "y": 1830,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "23354a7f.abe5a6",
+ "b936193a.237718"
+ ]
+ ]
+ },
+ {
+ "id": "23354a7f.abe5a6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172,
+ "y": 1799,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d123e276.4b071"
+ ]
+ ]
+ },
+ {
+ "id": "d123e276.4b071",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1363,
+ "y": 1802,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "b152b886.d780a8"
+ ]
+ ]
+ },
+ {
+ "id": "b152b886.d780a8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1531,
+ "y": 1803,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "728a3826.841b48",
+ "type": "execute",
+ "name": "remove new lines",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 870.5,
+ "y": 1946,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "8e344a27.d39c88",
+ "4de8d227.762b8c"
+ ]
+ ]
+ },
+ {
+ "id": "25a789cd.d929a6",
+ "type": "execute",
+ "name": "remove tabs",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 860,
+ "y": 2028,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "a490cbb.bee4838",
+ "14b4c319.51f5dd"
+ ]
+ ]
+ },
+ {
+ "id": "a490cbb.bee4838",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1042.5,
+ "y": 2036,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f1b02dbc.cbce4"
+ ]
+ ]
+ },
+ {
+ "id": "f1b02dbc.cbce4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.5,
+ "y": 2034,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6c34c130.2f071"
+ ]
+ ]
+ },
+ {
+ "id": "6c34c130.2f071",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1429.5,
+ "y": 2029,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e344a27.d39c88",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1064,
+ "y": 1914,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f6b54c29.74b6b"
+ ]
+ ]
+ },
+ {
+ "id": "f6b54c29.74b6b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1239,
+ "y": 1928,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d36d1158.04e93"
+ ]
+ ]
+ },
+ {
+ "id": "d36d1158.04e93",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1427,
+ "y": 1930,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b936193a.237718",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171,
+ "y": 1856,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "286c9885.46df38"
+ ]
+ ]
+ },
+ {
+ "id": "286c9885.46df38",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1339.9998779296875,
+ "y": 1862,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "76e66fd0.02673"
+ ]
+ ]
+ },
+ {
+ "id": "76e66fd0.02673",
+ "type": "returnFailure",
+ "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 creating SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1495.9996337890625,
+ "y": 1861,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "4de8d227.762b8c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085,
+ "y": 1985,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "e51a49bc.44b938"
+ ]
+ ]
+ },
+ {
+ "id": "e51a49bc.44b938",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1252.9998779296875,
+ "y": 1980,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7d9d93ab.611b4c"
+ ]
+ ]
+ },
+ {
+ "id": "7d9d93ab.611b4c",
+ "type": "returnFailure",
+ "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 removing lines from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1410.9995727539062,
+ "y": 1983,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "14b4c319.51f5dd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1045,
+ "y": 2084,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "bccd3dac.0be5d"
+ ]
+ ]
+ },
+ {
+ "id": "bccd3dac.0be5d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1220.9998779296875,
+ "y": 2085,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4688e9de.9bfe08"
+ ]
+ ]
+ },
+ {
+ "id": "4688e9de.9bfe08",
+ "type": "returnFailure",
+ "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 removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1367.9995727539062,
+ "y": 2088,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "1402ffdd.7aaa3",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 615,
+ "y": 1951,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c918c86b.bcce58",
+ "728a3826.841b48",
+ "25a789cd.d929a6"
+ ]
+ ]
+ },
+ {
+ "id": "d3a1a502.8392d8",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 578.9999980926514,
+ "y": 2212.9999556541443,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "a274e0c7.04611",
+ "12864fab.3866d",
+ "aba1f9dc.0c9bd8"
+ ]
+ ]
+ },
+ {
+ "id": "12864fab.3866d",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 851.0000972747803,
+ "y": 2324.999472618103,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "b752380f.8a4c28",
+ "a0ea2d6b.f914"
+ ]
+ ]
+ },
+ {
+ "id": "a274e0c7.04611",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfig`'/>",
+ "comments": "",
+ "x": 915.6667613983154,
+ "y": 2161.000005722046,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "b752380f.8a4c28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1071.500036239624,
+ "y": 2251.9167337417603,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "83870f28.fa9c6"
+ ]
+ ]
+ },
+ {
+ "id": "a0ea2d6b.f914",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1075.4999561309814,
+ "y": 2390.916576385498,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d3db2d15.8bb35"
+ ]
+ ]
+ },
+ {
+ "id": "83870f28.fa9c6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1231.499870300293,
+ "y": 2253.9167346954346,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "daf3c9f3.630078"
+ ]
+ ]
+ },
+ {
+ "id": "daf3c9f3.630078",
+ "type": "returnFailure",
+ "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 publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+ "comments": "",
+ "x": 1408.4996318817139,
+ "y": 2243.9167881011963,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "d3db2d15.8bb35",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.499599456787,
+ "y": 2383.91668510437,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "95a6e939.866c08"
+ ]
+ ]
+ },
+ {
+ "id": "95a6e939.866c08",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440.4997158050537,
+ "y": 2368.916955947876,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aba1f9dc.0c9bd8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 922.5000705718994,
+ "y": 2232.454870223999,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6e35591.d1d158",
+ "type": "set",
+ "name": "set properties for DMAAP header",
+ "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$configuration-phy-cell-id-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$configuration-phy-cell-id-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$configuration-phy-cell-id-input.subRequestID`\"/>",
+ "comments": "",
+ "x": 456,
+ "y": 332,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "e50d1970.ba2a28",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
+ "comments": "",
+ "x": 2742.0007400512695,
+ "y": 1309.333683013916,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "bbc6c31.9895c4",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2768.0008544921875,
+ "y": 1738.6668243408203,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36fdbbb1.627594",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3294.333824157715,
+ "y": 1901.3334140777588,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e68f25b7.b74a08",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3007.666980743408,
+ "y": 1926.4447622299194,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4a2cf544.19442c"
+ ]
+ ]
+ },
+ {
+ "id": "eb728676.156e58",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 428.0002136230469,
+ "y": 531.6666841506958,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2fa4a845.8275d8",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.75012969970703,
+ "y": 482.48805236816406,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be6270f5.aa16d",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 464.2975769042969,
+ "y": 624.594705581665,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f25730c7.30ea4",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 868.7973251342773,
+ "y": 609.4478543996811,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c950590b.012dd8",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.88783264160156,
+ "y": 667.8329477310181,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c70dbff8.4e894",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.3056411743164,
+ "y": 744.3451976776123,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "cb57fa9c.a9acc8",
+ "d3e9c1b8.3e8bb"
+ ]
+ ]
+ },
+ {
+ "id": "f7fe19f3.4ff218",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1602.0041465759277,
+ "y": 188.2659683227539,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab7add37.674c1",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 470.1733093261719,
+ "y": 704.7301654815674,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f5358153.6da27"
+ ]
+ ]
+ },
+ {
+ "id": "f5358153.6da27",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 674.7052154541016,
+ "y": 699.6864643096924,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "675cd472.bff13c",
+ "f25730c7.30ea4"
+ ]
+ ]
+ },
+ {
+ "id": "675cd472.bff13c",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.2818832397461,
+ "y": 656.5436420440674,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "294f8977.23db66"
+ ]
+ ]
+ },
+ {
+ "id": "294f8977.23db66",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1076.587474822998,
+ "y": 621.01589012146,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "115c78bf.8ca8f7"
+ ]
+ ]
+ },
+ {
+ "id": "115c78bf.8ca8f7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1397.8898811340332,
+ "y": 132.34918785095215,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "1ebc844e.40168c",
+ "d2147f26.09c8d"
+ ]
+ ]
+ },
+ {
+ "id": "1ebc844e.40168c",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1576.8033027648926,
+ "y": 132.15472984313965,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3e9c1b8.3e8bb",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.0811309814453,
+ "y": 734.9170907735825,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6d288f2b.233be"
+ ]
+ ]
+ },
+ {
+ "id": "cb57fa9c.a9acc8",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 875.1089630126953,
+ "y": 693.6670888662338,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d288f2b.233be",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.88671875,
+ "y": 691.3893798589706,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "764663a0.fc43fc"
+ ]
+ ]
+ },
+ {
+ "id": "764663a0.fc43fc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.0225257873535,
+ "y": 218.6115493774414,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f7fe19f3.4ff218",
+ "917c4aec.1daf98"
+ ]
+ ]
+ },
+ {
+ "id": "36bfd25c.6ba71e",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 464.0465202331543,
+ "y": 750.1909408569336,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c70dbff8.4e894"
+ ]
+ ]
+ },
+ {
+ "id": "d2147f26.09c8d",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1575.861415863037,
+ "y": 83.83377170562744,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "917c4aec.1daf98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.948642730713,
+ "y": 236.98813915252686,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7c189082.ae6cf",
+ "bf9f0a37.65b058",
+ "5546e92e.2cddf8",
+ "cf64a64b.aafba8"
+ ]
+ ]
+ },
+ {
+ "id": "ab1371d1.4bb7a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 677.2541198730469,
+ "y": 508.0435584783554,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "1abb54f3.638f0b"
+ ]
+ ]
+ },
+ {
+ "id": "c89731e6.27985",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 691.2542915344238,
+ "y": 582.2379741668701,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "315a5.5e302a5ba"
+ ]
+ ]
+ },
+ {
+ "id": "1abb54f3.638f0b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 819.948616027832,
+ "y": 505.6547578573227,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4f2750ab.ef11f",
+ "548b6757.689c28"
+ ]
+ ]
+ },
+ {
+ "id": "315a5.5e302a5ba",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 839.6984519958496,
+ "y": 558.9046806097031,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "50e8ee40.48307",
+ "af3d6562.366a98"
+ ]
+ ]
+ },
+ {
+ "id": "4f2750ab.ef11f",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1003.7260437011719,
+ "y": 469.48796784877777,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "50e8ee40.48307",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.4482154846191,
+ "y": 543.1547216176987,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af3d6562.366a98",
+ "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/configuration-phy-cell-id-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034.9764556884766,
+ "y": 575.9047235250473,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "548b6757.689c28",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 997.5319557189941,
+ "y": 506.01580369472504,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd606a8d.eeca78",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 484.9485397338867,
+ "y": 580.2618999481201,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c89731e6.27985",
+ "ab1371d1.4bb7a"
+ ]
+ ]
+ },
+ {
+ "id": "a1f73290.969ff",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2123.8028144836426,
+ "y": 265.78018283843994,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "b06e715a.41dfd"
+ ]
+ ]
+ },
+ {
+ "id": "b06e715a.41dfd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2332.802780151367,
+ "y": 236.7803249359131,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "796fd782.6521b8",
+ "76e465da.15eacc",
+ "128b99cd.e3ed16"
+ ]
+ ]
+ },
+ {
+ "id": "e518a3e9.1eb8e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2146.8027782440186,
+ "y": 211.7803249359131,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d8156f1a.ef18e"
+ ]
+ ]
+ },
+ {
+ "id": "d8156f1a.ef18e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2369.660140991211,
+ "y": 164.06601810455322,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "65ab80d4.dabf2"
+ ]
+ ]
+ },
+ {
+ "id": "7c189082.ae6cf",
+ "type": "execute",
+ "name": "generate getNearRTRIC From idGNBDUFunction URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1928.7349700927734,
+ "y": 124.71218967437744,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf9f0a37.65b058",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbdufunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1848.7350234985352,
+ "y": 166.71219062805176,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5546e92e.2cddf8",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for idGNBDUFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1875.7349853515625,
+ "y": 207.71219158172607,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf64a64b.aafba8",
+ "type": "execute",
+ "name": "Get nearRTRIC for idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbdufunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1875.7349243164062,
+ "y": 252.7121934890747,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "e518a3e9.1eb8e",
+ "a1f73290.969ff"
+ ]
+ ]
+ },
+ {
+ "id": "76e465da.15eacc",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRTRIC ID info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2519.735179901123,
+ "y": 263.71212577819824,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "796fd782.6521b8",
+ "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/configuration-phy-cell-id-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2518.5128593444824,
+ "y": 313.7123476266861,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65ab80d4.dabf2",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2515.735019683838,
+ "y": 147.8232078552246,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "915b5f1b.acb1",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idGNBDU\" value=\"`$configuration-phy-cell-id-input.fap-service[0].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 447.8028259277344,
+ "y": 417.11352920532227,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "128b99cd.e3ed16",
+ "type": "execute",
+ "name": "read nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.[0]'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2541.803379058838,
+ "y": 213.4468650817871,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d29fc0a2.cbef7",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2780.0000381469727,
+ "y": 1648.3333625793457,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9b3c2eb6.b4f39",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2798.666702270508,
+ "y": 1437.2222127914429,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9035e7b3.9c24b8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field3\" value=\"idGNBDUFunction\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"nRPCI\"/>\n<parameter name=\"field6\" value=\"`$tmp.nRPCI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2738.111011505127,
+ "y": 1352.7776546478271,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb3ee380.a31f6",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
+ "comments": "",
+ "x": 2444.555374145508,
+ "y": 395.00002002716064,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "18b65688.6247a9",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2459.555419921875,
+ "y": 515.5555419921875,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "60f37767.9663c8",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2447.888458251953,
+ "y": 473.1006660461426,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4275158.f071b",
+ "type": "execute",
+ "name": "generate pci patch url for a cell",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2437.8888397216797,
+ "y": 703.3332843780518,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2172e92c.2bb7a6",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2433.8895950317383,
+ "y": 781.3229923248291,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd2e3271.2ab31",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2419.8893508911133,
+ "y": 836.646032333374,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4939df4b.81aa3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3545,
+ "y": 2006.5554428100586,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c3225e8e.a8c0f"
+ ]
+ ]
+ },
+ {
+ "id": "c3225e8e.a8c0f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3711.6665115356445,
+ "y": 2016.2221221923828,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f87e7389.9784a",
+ "ff9432eb.2057f"
+ ]
+ ]
+ },
+ {
+ "id": "ff9432eb.2057f",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3892.333511352539,
+ "y": 1987.6664142608643,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "f87e7389.9784a",
+ "type": "returnFailure",
+ "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 updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3911.333351135254,
+ "y": 2042.555417060852,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "90d9112e.d5cdf",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3546.8180351257324,
+ "y": 2143.1311712265015,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "18f212e1.91964d"
+ ]
+ ]
+ },
+ {
+ "id": "18f212e1.91964d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3734.8178787231445,
+ "y": 2128.1313123703003,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "396ba563.4859ca"
+ ]
+ ]
+ },
+ {
+ "id": "396ba563.4859ca",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3920.151382446289,
+ "y": 2106.1315155029297,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8429e54b.dc5a28",
+ "type": "execute",
+ "name": "generate put nrpci nrcelldu url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3360.5322265625,
+ "y": 1951.8493860960007,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db83a8cd.a7e918",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3335.5322189331055,
+ "y": 2000.1830463409424,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "707fba60.3b30b4",
+ "type": "execute",
+ "name": "put nrpci nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3302.3320236206055,
+ "y": 2104.982894897461,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4939df4b.81aa3",
+ "90d9112e.d5cdf"
+ ]
+ ]
+ },
+ {
+ "id": "9be28260.a1a7a",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3280.1721954345703,
+ "y": 2052.8990716934204,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a2cf544.19442c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3062.2223205566406,
+ "y": 2010.3334369659424,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "36fdbbb1.627594",
+ "8429e54b.dc5a28",
+ "db83a8cd.a7e918",
+ "9be28260.a1a7a",
+ "707fba60.3b30b4"
+ ]
+ ]
+ },
+ {
+ "id": "7791894d.479ba8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3580.8889770507812,
+ "y": 1217.6666278839111,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "597e0eca.2d59f",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2934.2224082946777,
+ "y": 1126.7779941558838,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "fae83536.2ee118"
+ ]
+ ]
+ },
+ {
+ "id": "6a55128a.0aafbc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3831.5551528930664,
+ "y": 1322.888656616211,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "34abfa0f.cd5386"
+ ]
+ ]
+ },
+ {
+ "id": "34abfa0f.cd5386",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3998.221664428711,
+ "y": 1332.5553359985352,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "9c7d15fc.305158",
+ "5530b818.47cf08"
+ ]
+ ]
+ },
+ {
+ "id": "5530b818.47cf08",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4178.8886642456055,
+ "y": 1303.9996280670166,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "9c7d15fc.305158",
+ "type": "returnFailure",
+ "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 updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4197.88850402832,
+ "y": 1358.8886308670044,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "f95e6860.2de3a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3833.373188018799,
+ "y": 1459.4643850326538,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "e1494908.f2c328"
+ ]
+ ]
+ },
+ {
+ "id": "e1494908.f2c328",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4021.373031616211,
+ "y": 1444.4645261764526,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "db563586.a6db78"
+ ]
+ ]
+ },
+ {
+ "id": "db563586.a6db78",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4206.7065353393555,
+ "y": 1422.464729309082,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f3e942b.14ac9c",
+ "type": "execute",
+ "name": "generate put nrpci nrcelldu url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3647.0873794555664,
+ "y": 1268.182599902153,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b369408e.4fccf",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3622.087371826172,
+ "y": 1316.5162601470947,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efeff4e7.80ec88",
+ "type": "execute",
+ "name": "put nrpci nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3588.887176513672,
+ "y": 1421.3161087036133,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6a55128a.0aafbc",
+ "f95e6860.2de3a8"
+ ]
+ ]
+ },
+ {
+ "id": "8e1315a5.9d0c48",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3566.7273483276367,
+ "y": 1369.2322854995728,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fae83536.2ee118",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3348.777473449707,
+ "y": 1326.6666507720947,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7791894d.479ba8",
+ "2f3e942b.14ac9c",
+ "b369408e.4fccf",
+ "8e1315a5.9d0c48",
+ "efeff4e7.80ec88"
+ ]
+ ]
+ },
+ {
+ "id": "6cd14351.41d5ec",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3810.6668395996094,
+ "y": 1561.9999885559082,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "2e5d3156.82819e"
+ ]
+ ]
+ },
+ {
+ "id": "2e5d3156.82819e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4023.3335189819336,
+ "y": 1552.3333206176758,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "3fa84223.41702e"
+ ]
+ ]
+ },
+ {
+ "id": "ce3707d5.c47378",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3432.5,
+ "y": 1563.333251953125,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "ca7aecd9.fef1e"
+ ]
+ ]
+ },
+ {
+ "id": "ca7aecd9.fef1e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3595,
+ "y": 1565.833251953125,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6cd14351.41d5ec"
+ ]
+ ]
+ },
+ {
+ "id": "d68d11a5.ab646",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3832.5,
+ "y": 1840.833251953125,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "b5b85352.e9887"
+ ]
+ ]
+ },
+ {
+ "id": "b5b85352.e9887",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4045.166679382324,
+ "y": 1831.1665840148926,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "7df1c55c.3df42c"
+ ]
+ ]
+ },
+ {
+ "id": "81c631c6.64bed",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3454.3331604003906,
+ "y": 1842.1665153503418,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "186afe59.10a2a2"
+ ]
+ ]
+ },
+ {
+ "id": "186afe59.10a2a2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3616.8331604003906,
+ "y": 1844.6665153503418,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "d68d11a5.ab646"
+ ]
+ ]
+ },
+ {
+ "id": "42ef0bb7.4422e4",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3420.833251953125,
+ "y": 572.5,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "352618e0.125aa8"
+ ]
+ ]
+ },
+ {
+ "id": "352618e0.125aa8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3633.499931335449,
+ "y": 562.8333320617676,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "8ae385dd.d5f038"
+ ]
+ ]
+ },
+ {
+ "id": "f5cfc304.18074",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3042.6664123535156,
+ "y": 573.8332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "9681ccad.3a6ca"
+ ]
+ ]
+ },
+ {
+ "id": "9681ccad.3a6ca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3205.1664123535156,
+ "y": 576.3332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "42ef0bb7.4422e4"
+ ]
+ ]
+ },
+ {
+ "id": "adebd19d.9df39",
+ "type": "switchNode",
+ "name": "check idNRCellDU",
+ "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3445.833251953125,
+ "y": 910,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "cdf289ed.631ff8"
+ ]
+ ]
+ },
+ {
+ "id": "cdf289ed.631ff8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658.499931335449,
+ "y": 900.3333320617676,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "2e2f13e1.1f2d7c"
+ ]
+ ]
+ },
+ {
+ "id": "55a6cc6c.29a174",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3067.6664123535156,
+ "y": 911.3332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "151a131b.871b2d"
+ ]
+ ]
+ },
+ {
+ "id": "151a131b.871b2d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.1664123535156,
+ "y": 913.8332633972168,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "adebd19d.9df39"
+ ]
+ ]
}
-]
\ No newline at end of file
+]