[
{
- "id": "5cfe1e32.70c03",
+ "id": "fb9312cb.df841",
"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": 182.77777099609375,
+ "y": 274.99999809265137,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "3e0b09ab.48e706"
+ "acb53eba.62053"
]
]
},
{
- "id": "5972e355.1f90dc",
+ "id": "2d48d97c.48c706",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 72.00000762939453,
- "y": 8.98958969116211,
- "z": "231735cb.81484a",
+ "x": 184.77777099609375,
+ "y": 44.99999809265137,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "54079cf7.5dc664"
+ "dcfac214.65cac"
]
]
},
{
- "id": "54079cf7.5dc664",
+ "id": "dcfac214.65cac",
"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": 236.7777557373047,
+ "y": 113.00009727478027,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "5cfe1e32.70c03"
+ "fb9312cb.df841"
]
]
},
{
- "id": "3e0b09ab.48e706",
+ "id": "acb53eba.62053",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 91.48960494995117,
- "y": 327.9896240234375,
- "z": "231735cb.81484a",
+ "x": 177.26736450195312,
+ "y": 415.0000286102295,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "769a67ee.dde568",
- "9f7ed3ae.40866",
- "4e6eb75.eedf548",
- "9fe3285b.bcd158",
- "5791230f.7e399c",
- "8025c437.0aac68"
+ "666ef42c.dbf21c",
+ "83d62b88.e91be8",
+ "373916d1.d4e0aa",
+ "f648c0a1.d6307",
+ "3b60a7fe.d09838",
+ "3f2bea0e.c0a8f6",
+ "46e24d05.b33174",
+ "ae0bbeed.2287",
+ "b716ea71.c1a2f8",
+ "bc1e082b.24b418",
+ "aef3c2b4.b7175",
+ "b16469e6.4fa108",
+ "88b8100a.1ccdd",
+ "b4637758.354448",
+ "825e99ea.480a28",
+ "f7fee6a.2700118",
+ "2e1b5ff3.7da19"
]
]
},
{
- "id": "769a67ee.dde568",
+ "id": "666ef42c.dbf21c",
"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": 197.77803802490234,
+ "y": 2560.0002422332764,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "e61e6aa7.761fa8",
+ "id": "e3f72452.752038",
"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": 663.7783203125,
+ "y": 153.00004386901855,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "a8c7df6e.f7389",
+ "id": "5f18efb5.a3e18",
"type": "comment",
"name": "configuration-phy-cell-id",
"info": "",
"comments": "",
- "x": 301,
- "y": 28.0000057220459,
- "z": "231735cb.81484a",
+ "x": 413.7777633666992,
+ "y": 64.01041412353516,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "98c7f031.3beb4",
+ "id": "294cdf2c.1d487",
"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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1333.0000762939453,
- "y": 147.0000033378601,
- "z": "231735cb.81484a",
+ "x": 3080.7779846191406,
+ "y": 601.0104072093964,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "37b670d3.2d75d",
+ "id": "5027884d.96e058",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1033.0002059936523,
- "y": 112.0000147819519,
- "z": "231735cb.81484a",
+ "x": 2775.778045654297,
+ "y": 543.0104224681854,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "e5c0ae7e.fb12e"
+ "726ba216.8f27fc"
]
]
},
{
- "id": "e5c0ae7e.fb12e",
+ "id": "726ba216.8f27fc",
"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": 2994.778106689453,
+ "y": 543.010445356369,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "6807fd7c.9ffd14",
+ "id": "ae519d18.8cfb5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1070.0003471374512,
- "y": 209.9999976158142,
- "z": "231735cb.81484a",
+ "x": 2780.7782287597656,
+ "y": 627.0104072093964,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "61cbf7c3.3277c8"
+ "551d0312.f9874c"
]
]
},
{
- "id": "61cbf7c3.3277c8",
+ "id": "551d0312.f9874c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1166.000057220459,
- "y": 152.00000619888306,
- "z": "231735cb.81484a",
+ "x": 2926.777862548828,
+ "y": 610.0104224681854,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "98c7f031.3beb4"
+ "294cdf2c.1d487"
]
]
},
{
- "id": "eb64f79e.fd6af8",
+ "id": "17ee19da.2e06a6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.0001621246338,
- "y": 464.6666452884674,
- "z": "231735cb.81484a",
+ "x": 2774.7779846191406,
+ "y": 883.677063703537,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "2883bb3f.bc91d4"
+ "cc177d1d.fc75d"
]
]
},
{
- "id": "2883bb3f.bc91d4",
+ "id": "cc177d1d.fc75d",
"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": 3001.777862548828,
+ "y": 881.6770942211151,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "6d15fc65.dab3d4",
+ "id": "8b7658a1.932cf8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1056.000020980835,
- "y": 603.6667590141296,
- "z": "231735cb.81484a",
+ "x": 2793.777862548828,
+ "y": 958.6771857738495,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "a0dc8cc1.dd008"
+ "8b7ad198.ac349"
]
]
},
{
- "id": "a0dc8cc1.dd008",
+ "id": "8b7ad198.ac349",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1243.999891281128,
- "y": 601.6666655540466,
- "z": "231735cb.81484a",
+ "x": 2951.7777404785156,
+ "y": 956.677063703537,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "c1020cf0.6879f"
+ "2f66525f.a6502e"
]
]
},
{
- "id": "c1020cf0.6879f",
+ "id": "2f66525f.a6502e",
"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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1427.9998245239258,
- "y": 575.6668887138367,
- "z": "231735cb.81484a",
+ "x": 3124.7777404785156,
+ "y": 951.677307844162,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "7ecd6e45.7e277",
+ "id": "70d967aa.1a9368",
"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": 2456.778751373291,
+ "y": 601.343957901001,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "4e6eb75.eedf548",
+ "id": "373916d1.d4e0aa",
"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": 508.86346435546875,
+ "y": 163.96359062194824,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "e61e6aa7.761fa8"
+ "e3f72452.752038"
]
]
},
{
- "id": "9f7ed3ae.40866",
+ "id": "83d62b88.e91be8",
"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": 511.778076171875,
+ "y": 107.02084159851074,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "7d38cbac.d25ac4",
+ "id": "bbd4941e.bc1188",
"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": 1993.778175354004,
+ "y": 1356.0104477405548,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "ad5896c2.1372a8"
+ "94835642.096968"
]
]
},
{
- "id": "88625aaa.05ac08",
+ "id": "9c695549.3b8488",
"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": 2630.779022216797,
+ "y": 380.2328453063965,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "f4e5fe0e.4b9c6",
+ "id": "3e649634.74249a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1068.000343322754,
- "y": 281.000084400177,
- "z": "231735cb.81484a",
+ "x": 2783.7782287597656,
+ "y": 751.0104987621307,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "78c5715f.569f1"
+ "30dd730e.cbc33c"
]
]
},
{
- "id": "d86bb55b.e8fa48",
+ "id": "8847ee55.0cb05",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.0002746582031,
- "y": 410.00000619888306,
- "z": "231735cb.81484a",
+ "x": 2770.778106689453,
+ "y": 829.0104072093964,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "c51a3fee.9dc2a"
+ "821b7f1d.9e832"
]
]
},
{
- "id": "78c5715f.569f1",
+ "id": "30dd730e.cbc33c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1201.0002727508545,
- "y": 240.00011587142944,
- "z": "231735cb.81484a",
+ "x": 2930.778106689453,
+ "y": 751.0105292797089,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "4bd1d88c.a2c018"
+ "3c56450a.5cb1da"
]
]
},
{
- "id": "4bd1d88c.a2c018",
+ "id": "3c56450a.5cb1da",
"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": 3094.777862548828,
+ "y": 735.0104987621307,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "c51a3fee.9dc2a",
+ "id": "821b7f1d.9e832",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1223.0000171661377,
- "y": 376.000066280365,
- "z": "231735cb.81484a",
+ "x": 2926.777862548828,
+ "y": 813.0104682445526,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "1390b236.ee339e"
+ "36568511.01697a"
]
]
},
{
- "id": "1390b236.ee339e",
+ "id": "36568511.01697a",
"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": 3087.7779846191406,
+ "y": 815.0104682445526,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "ad5896c2.1372a8",
+ "id": "94835642.096968",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 584,
- "y": 227.010498046875,
- "z": "231735cb.81484a",
+ "x": 2039.7778015136719,
+ "y": 702.0209257602692,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "88625aaa.05ac08",
- "7ecd6e45.7e277",
- "4a8297f3.fab368",
- "9f1665ce.4fd9f8",
- "f010d789.53a0a8",
- "7e3a85f3.f482ac",
- "a4027203.6535b",
- "47db6df.2075794"
+ "9c695549.3b8488",
+ "70d967aa.1a9368",
+ "af547e24.b9f33",
+ "86002496.ca4a78",
+ "322df922.bec876",
+ "ecdf8b8b.2aabe8",
+ "d50b972d.2b7b58",
+ "ffd4c30f.165a9",
+ "ea1be66.4084218",
+ "35b9952f.955e5a",
+ "ac7df1f6.d8a71",
+ "8bfa8e24.f1519",
+ "90027a5c.f27a28",
+ "5d0e468e.907008"
]
]
},
{
- "id": "7e3a85f3.f482ac",
+ "id": "322df922.bec876",
"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": 2453.7785301208496,
+ "y": 931.0208253860474,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "9fe3285b.bcd158",
+ "id": "f648c0a1.d6307",
"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": 544.7779541015625,
+ "y": 218.02084159851074,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "5791230f.7e399c",
+ "id": "3b60a7fe.d09838",
"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": 505.778076171875,
+ "y": 270.020902633667,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "9f1665ce.4fd9f8",
+ "id": "86002496.ca4a78",
"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": 2490.7786712646484,
+ "y": 662.3541316986084,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "37b670d3.2d75d",
- "6807fd7c.9ffd14"
+ "5027884d.96e058",
+ "ae519d18.8cfb5"
]
]
},
{
- "id": "4a8297f3.fab368",
+ "id": "af547e24.b9f33",
"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`\"/>",
+ "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": 841.000244140625,
- "y": 141.010498046875,
- "z": "231735cb.81484a",
+ "x": 2543.7783737182617,
+ "y": 462.0209159851074,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "f010d789.53a0a8",
- "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`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 838.0001754760742,
- "y": 311.0104126930237,
- "z": "231735cb.81484a",
- "wires": [
- []
- ]
- },
- {
- "id": "a4027203.6535b",
+ "id": "ecdf8b8b.2aabe8",
"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": 2482.111297607422,
+ "y": 988.687780380249,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "f4e5fe0e.4b9c6",
- "d86bb55b.e8fa48"
+ "3e649634.74249a",
+ "8847ee55.0cb05"
]
]
},
{
- "id": "47db6df.2075794",
+ "id": "d50b972d.2b7b58",
"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": 2475.111129760742,
+ "y": 1053.3541676998138,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "eb64f79e.fd6af8",
- "6d15fc65.dab3d4"
+ "17ee19da.2e06a6",
+ "8b7658a1.932cf8"
]
]
},
{
- "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": "3f2bea0e.c0a8f6",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 279,
- "y": 425,
- "z": "231735cb.81484a",
+ "x": 664.7777900695801,
+ "y": 1373.0103969573975,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "2ba4e078.c9991",
- "450d192e.16e4c8"
+ "375513bb.b2e1ec",
+ "be7b0f6c.4d6ac"
]
]
},
{
- "id": "2ba4e078.c9991",
+ "id": "375513bb.b2e1ec",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 355,
- "y": 313,
- "z": "231735cb.81484a",
+ "x": 1534.7777938842773,
+ "y": 1325.0104331970215,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "7d38cbac.d25ac4"
+ "bbd4941e.bc1188"
]
]
},
{
- "id": "450d192e.16e4c8",
+ "id": "be7b0f6c.4d6ac",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 253,
- "y": 526,
- "z": "231735cb.81484a",
+ "x": 1494.7777976989746,
+ "y": 1610.010440826416,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "df962bc0.9c4728"
+ "1b1395c5.64a32a"
]
]
},
{
- "id": "3804aecc.1eda72",
+ "id": "34948b7c.411194",
"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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1178.9998779296875,
- "y": 730,
- "z": "231735cb.81484a",
+ "x": 3467.9214096069336,
+ "y": 1595.010419845581,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "294e9c79.ae0324",
+ "id": "c2b62a90.f121c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 832,
- "y": 719,
- "z": "231735cb.81484a",
+ "x": 3139.7781677246094,
+ "y": 1560.010419845581,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "a2629122.94b21"
+ "eee15f2.8ab05a"
]
]
},
{
- "id": "a2629122.94b21",
+ "id": "eee15f2.8ab05a",
"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": 3335.778175354004,
+ "y": 1542.0104179382324,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "855dbbeb.68dac8",
+ "id": "80f9ac99.c2f1f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 830.0001831054688,
- "y": 794,
- "z": "231735cb.81484a",
+ "x": 3137.778495788574,
+ "y": 1621.0104217529297,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "4f5a1521.82fc2c"
+ "735961fb.29e61"
]
]
},
{
- "id": "4f5a1521.82fc2c",
+ "id": "735961fb.29e61",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1016.9998779296875,
- "y": 743,
- "z": "231735cb.81484a",
+ "x": 3312.778175354004,
+ "y": 1604.0104207992554,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "3804aecc.1eda72"
+ "34948b7c.411194"
]
]
},
{
- "id": "24eb1ccd.364114",
+ "id": "66c7192b.6893e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 713,
- "y": 1064.6666259765625,
- "z": "231735cb.81484a",
+ "x": 3177.445243835449,
+ "y": 1826.0105266571045,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "9f4cf18c.81994"
+ "410622a9.ef9b2c"
]
]
},
{
- "id": "9f4cf18c.81994",
+ "id": "410622a9.ef9b2c",
"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": 3378.7781829833984,
+ "y": 1813.010648727417,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "a0317cac.b10f8",
+ "id": "c4b58dc7.2495d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 698.9998168945312,
- "y": 1141.666748046875,
- "z": "231735cb.81484a",
+ "x": 3161.7780838012695,
+ "y": 1886.344027519226,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "f2262012.299c4"
+ "f70188e5.6dc938"
]
]
},
{
- "id": "f2262012.299c4",
+ "id": "f70188e5.6dc938",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 872.999755859375,
- "y": 1144.6666259765625,
- "z": "231735cb.81484a",
+ "x": 3337.444778442383,
+ "y": 1864.3440246582031,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "85031fd4.e0c19"
+ "3c615c20.6e2054"
]
]
},
{
- "id": "85031fd4.e0c19",
+ "id": "3c615c20.6e2054",
"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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1050.9996337890625,
- "y": 1148.6668701171875,
- "z": "231735cb.81484a",
+ "x": 3495.4444580078125,
+ "y": 1855.0108532905579,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "41d9ee9a.12b9f",
+ "id": "c54d6e1c.96714",
"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": 2813.1122245788574,
+ "y": 1545.6773357391357,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "df962bc0.9c4728",
+ "id": "1b1395c5.64a32a",
"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": 2199.777729034424,
+ "y": 1559.6771078109741,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "d2092690.d1f398"
+ "1ba0989.c572267"
]
]
},
{
- "id": "3e233d3d.e189b2",
+ "id": "d3095e1a.dc8c7",
"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": 2900.4459075927734,
+ "y": 1295.5662231445312,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "8345c5a4.2aa138",
+ "id": "f75dac7e.96a98",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 804.0001831054688,
- "y": 914.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3151.7783432006836,
+ "y": 1677.010521888733,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "d0914b29.da1bf8"
+ "7a1c2b3d.89ce94"
]
]
},
{
- "id": "e412cebf.f2b34",
+ "id": "13c00070.16003",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 773.0001220703125,
- "y": 1001,
- "z": "231735cb.81484a",
+ "x": 3120.7782821655273,
+ "y": 1764.0104608535767,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "9f57f600.00e818"
+ "198a6704.2543c9"
]
]
},
{
- "id": "d0914b29.da1bf8",
+ "id": "7a1c2b3d.89ce94",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 977.0001220703125,
- "y": 886.0001220703125,
- "z": "231735cb.81484a",
+ "x": 3324.7782821655273,
+ "y": 1649.0105829238892,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "764300f9.17734"
+ "e2096717.c8e7f8"
]
]
},
{
- "id": "764300f9.17734",
+ "id": "e2096717.c8e7f8",
"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": 3512.77791595459,
+ "y": 1639.010521888733,
+ "z": "46bc844c.8e713c",
"wires": []
},
{
- "id": "9f57f600.00e818",
+ "id": "198a6704.2543c9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 954.9998779296875,
- "y": 988.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3302.7780380249023,
+ "y": 1751.010521888733,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "3925925e.0d365e"
+ "dc539a4f.c57b98"
]
]
},
{
- "id": "3925925e.0d365e",
+ "id": "dc539a4f.c57b98",
"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": 3475.7780380249023,
+ "y": 1750.010521888733,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "d2092690.d1f398",
+ "id": "1ba0989.c572267",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 254.99981689453125,
- "y": 704.010498046875,
- "z": "231735cb.81484a",
+ "x": 2551.7779846191406,
+ "y": 1559.0209856033325,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "3e233d3d.e189b2",
- "41d9ee9a.12b9f",
- "7e6165e7.675aac",
- "6cada962.37cf28",
- "5c13f574.f957ac",
- "3d1c8150.a42e7e",
- "50d1caf4.0f4e94",
- "f59ed201.bd8d3",
- "2f51ed00.9a5384",
- "326141f0.a2e29e"
+ "d3095e1a.dc8c7",
+ "c54d6e1c.96714",
+ "1a8f6d1.45ffc93",
+ "d386b163.bc8aa",
+ "56c3f024.c3091",
+ "63f4817c.d7041",
+ "2d5b4ac.7a5e3b6",
+ "7e0a0654.bac798",
+ "29d59eaa.ea4ea2",
+ "3a58bcdb.d3c6c4",
+ "cf8f100a.ca136",
+ "55b11952.8ee478",
+ "88f0830.251918",
+ "7a26d7bd.2a31d8",
+ "6598c410.436e2c",
+ "599ef68c.e836f8"
]
]
},
{
- "id": "3d1c8150.a42e7e",
+ "id": "63f4817c.d7041",
"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": 2772.44633102417,
+ "y": 1810.687759399414,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "6cada962.37cf28",
+ "id": "d386b163.bc8aa",
"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": 2856.1117935180664,
+ "y": 1583.6875104904175,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "294e9c79.ae0324",
- "855dbbeb.68dac8"
+ "c2b62a90.f121c8",
+ "80f9ac99.c2f1f"
]
]
},
{
- "id": "7e6165e7.675aac",
+ "id": "1a8f6d1.45ffc93",
"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": 2888.778121948242,
+ "y": 1419.687744140625,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "5c13f574.f957ac",
+ "id": "56c3f024.c3091",
"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": 2865.111469268799,
+ "y": 1625.3541507720947,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "50d1caf4.0f4e94",
+ "id": "2d5b4ac.7a5e3b6",
"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": 2814.8262481689453,
+ "y": 1848.2595100402832,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "f75dac7e.96a98",
+ "13c00070.16003"
+ ]
+ ]
+ },
+ {
+ "id": "7e0a0654.bac798",
+ "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": 2851.4449005126953,
+ "y": 1885.0211915969849,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "66c7192b.6893e8",
+ "c4b58dc7.2495d"
+ ]
+ ]
+ },
+ {
+ "id": "29d59eaa.ea4ea2",
+ "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": 2859.444808959961,
+ "y": 1508.0104179382324,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a58bcdb.d3c6c4",
+ "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": 2852.7790603637695,
+ "y": 1718.3437576293945,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3458f81.be02e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 529.9998779296875,
- "y": 983.010498046875,
- "z": "231735cb.81484a",
+ "x": 2942.1114196777344,
+ "y": 2438.333263397217,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "8345c5a4.2aa138",
- "e412cebf.f2b34"
+ "c965d4.a77afa3",
+ "c8260c37.8cf93",
+ "3d4f49ec.033946"
]
]
},
{
- "id": "f59ed201.bd8d3",
+ "id": "c965d4.a77afa3",
+ "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": 3256.1114196777344,
+ "y": 2350.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c8260c37.8cf93",
+ "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": 3226.1114196777344,
+ "y": 2414.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3d4f49ec.033946",
"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": "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": 3200.1114196777344,
+ "y": 2509.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d7998446.09dcb8",
+ "61fc8b16.f26b34"
+ ]
+ ]
+ },
+ {
+ "id": "d7998446.09dcb8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3415.1114196777344,
+ "y": 2452.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "758a5388.68859c"
+ ]
+ ]
+ },
+ {
+ "id": "61fc8b16.f26b34",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3415.111297607422,
+ "y": 2548.3331413269043,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "8b87c140.569f5"
+ ]
+ ]
+ },
+ {
+ "id": "758a5388.68859c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3584.111297607422,
+ "y": 2463.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9dea66c8.312c48"
+ ]
+ ]
+ },
+ {
+ "id": "8b87c140.569f5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3577.111053466797,
+ "y": 2549.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5729c283.31b30c"
+ ]
+ ]
+ },
+ {
+ "id": "9dea66c8.312c48",
+ "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": 3738.1109924316406,
+ "y": 2456.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "5729c283.31b30c",
+ "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": 3728.1111755371094,
+ "y": 2546.333263397217,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf8f100a.ca136",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2812.206886291504,
+ "y": 1925.5714559555054,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5396f997.0d37f8",
+ "45a4d496.91e70c"
+ ]
+ ]
+ },
+ {
+ "id": "5396f997.0d37f8",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2978.444984436035,
+ "y": 2120.333480834961,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d3458f81.be02e"
+ ]
+ ]
+ },
+ {
+ "id": "7c6eefc1.72219",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 496.9998779296875,
- "y": 1057.010498046875,
- "z": "231735cb.81484a",
+ "x": 3267.1111602783203,
+ "y": 1108.3228759765625,
+ "z": "46bc844c.8e713c",
"wires": [
[
- "24eb1ccd.364114",
- "a0317cac.b10f8"
+ "26e5de13.14d962",
+ "d95cd707.d63a58",
+ "24800.765fb8008"
]
]
},
{
- "id": "2f51ed00.9a5384",
+ "id": "26e5de13.14d962",
"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": "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": 3537.1111602783203,
+ "y": 1014.3228492736816,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d95cd707.d63a58",
+ "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": 757,
- "y": 674,
- "z": "231735cb.81484a",
+ "x": 3533.1112842559814,
+ "y": 1103.3229875564575,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
},
{
- "id": "326141f0.a2e29e",
+ "id": "24800.765fb8008",
"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": "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": 3508.969207763672,
+ "y": 1168.4658844470978,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "35321bd9.a49cf4",
+ "ce6bfff6.e9068"
+ ]
+ ]
+ },
+ {
+ "id": "35321bd9.a49cf4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3740.1111602783203,
+ "y": 1122.3228759765625,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9e3914cb.22e1d8"
+ ]
+ ]
+ },
+ {
+ "id": "ce6bfff6.e9068",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3920.111717224121,
+ "y": 1213.322916507721,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c943d932.58f028"
+ ]
+ ]
+ },
+ {
+ "id": "9e3914cb.22e1d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3909.111038208008,
+ "y": 1133.3228759765625,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "ba05d7db.445d78"
+ ]
+ ]
+ },
+ {
+ "id": "c943d932.58f028",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4082.111473083496,
+ "y": 1214.3230385780334,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c25a3f62.75b5c"
+ ]
+ ]
+ },
+ {
+ "id": "ba05d7db.445d78",
+ "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": 4063.1107330322266,
+ "y": 1126.3228759765625,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "c25a3f62.75b5c",
+ "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": 565,
- "y": 865,
- "z": "231735cb.81484a",
+ "x": 4233.111595153809,
+ "y": 1210.3230118751526,
+ "z": "46bc844c.8e713c",
"wires": [
[]
]
+ },
+ {
+ "id": "ffd4c30f.165a9",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2451.111228942871,
+ "y": 1104.3228206634521,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "250b0031.e6ba4",
+ "af5e8f30.17624"
+ ]
+ ]
+ },
+ {
+ "id": "250b0031.e6ba4",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3022.1114959716797,
+ "y": 1018.9896020889282,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "7c6eefc1.72219"
+ ]
+ ]
+ },
+ {
+ "id": "628d6d71.42f8e4",
+ "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": 953.7777709960938,
+ "y": 1854.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5e95a432.c93fac",
+ "e5b17b3c.7109a8"
+ ]
+ ]
+ },
+ {
+ "id": "5e95a432.c93fac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.7777709960938,
+ "y": 1823.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3a1e1c0c.d37884"
+ ]
+ ]
+ },
+ {
+ "id": "3a1e1c0c.d37884",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1418.7777709960938,
+ "y": 1826.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "cd46b553.cd3788"
+ ]
+ ]
+ },
+ {
+ "id": "cd46b553.cd3788",
+ "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": 1586.7777709960938,
+ "y": 1827.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee0b8032.b89a6",
+ "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": 926.2777709960938,
+ "y": 1970.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "12693b89.537cd4",
+ "8af458db.b9e108"
+ ]
+ ]
+ },
+ {
+ "id": "31844626.61416a",
+ "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": 915.7777709960938,
+ "y": 2052.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d67e2614.0ca168",
+ "9351a9d4.1b3748"
+ ]
+ ]
+ },
+ {
+ "id": "d67e2614.0ca168",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1098.2777709960938,
+ "y": 2060.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "2e2c4594.7e808a"
+ ]
+ ]
+ },
+ {
+ "id": "2e2c4594.7e808a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1283.2777709960938,
+ "y": 2058.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "f877e600.537b58"
+ ]
+ ]
+ },
+ {
+ "id": "f877e600.537b58",
+ "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": 1485.2777709960938,
+ "y": 2053.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "12693b89.537cd4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.7777709960938,
+ "y": 1938.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3a1665a0.d783da"
+ ]
+ ]
+ },
+ {
+ "id": "3a1665a0.d783da",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1294.7777709960938,
+ "y": 1952.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "418c7ed4.a4dd1"
+ ]
+ ]
+ },
+ {
+ "id": "418c7ed4.a4dd1",
+ "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": 1482.7777709960938,
+ "y": 1954.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e5b17b3c.7109a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.7777709960938,
+ "y": 1880.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "511f63ea.f348dc"
+ ]
+ ]
+ },
+ {
+ "id": "511f63ea.f348dc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1395.7776489257812,
+ "y": 1886.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "b6492206.1878"
+ ]
+ ]
+ },
+ {
+ "id": "b6492206.1878",
+ "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": 1551.7774047851562,
+ "y": 1885.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "8af458db.b9e108",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.7777709960938,
+ "y": 2009.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "a19e0d3a.a5352"
+ ]
+ ]
+ },
+ {
+ "id": "a19e0d3a.a5352",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1308.7776489257812,
+ "y": 2004.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "db18dde1.0a225"
+ ]
+ ]
+ },
+ {
+ "id": "db18dde1.0a225",
+ "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": 1466.77734375,
+ "y": 2007.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "9351a9d4.1b3748",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100.7777709960938,
+ "y": 2108.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5a1ef025.55213"
+ ]
+ ]
+ },
+ {
+ "id": "5a1ef025.55213",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.7776489257812,
+ "y": 2109.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9e81d6af.ff55f8"
+ ]
+ ]
+ },
+ {
+ "id": "9e81d6af.ff55f8",
+ "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": 1423.77734375,
+ "y": 2112.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "46e24d05.b33174",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.7777709960938,
+ "y": 1975.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "628d6d71.42f8e4",
+ "ee0b8032.b89a6",
+ "31844626.61416a"
+ ]
+ ]
+ },
+ {
+ "id": "ae0bbeed.2287",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 634.7777690887451,
+ "y": 2237.9999537467957,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "8c4162a5.d81ad",
+ "70f89d30.b13c64",
+ "4a55c768.5405d8"
+ ]
+ ]
+ },
+ {
+ "id": "70f89d30.b13c64",
+ "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": 906.777868270874,
+ "y": 2349.9994707107544,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3cdfa381.8f652c",
+ "bb39b817.930928"
+ ]
+ ]
+ },
+ {
+ "id": "8c4162a5.d81ad",
+ "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": 971.4445323944092,
+ "y": 2186.0000038146973,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "3cdfa381.8f652c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.2778072357178,
+ "y": 2276.9167318344116,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e3c8fec8.7984"
+ ]
+ ]
+ },
+ {
+ "id": "bb39b817.930928",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.2777271270752,
+ "y": 2415.9165744781494,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3c65a06e.1bb79"
+ ]
+ ]
+ },
+ {
+ "id": "e3c8fec8.7984",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.2776412963867,
+ "y": 2278.916732788086,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e9015563.f77e98"
+ ]
+ ]
+ },
+ {
+ "id": "e9015563.f77e98",
+ "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": 1464.2774028778076,
+ "y": 2268.9167861938477,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "3c65a06e.1bb79",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314.2773704528809,
+ "y": 2408.9166831970215,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c5ff3621.7153e8"
+ ]
+ ]
+ },
+ {
+ "id": "c5ff3621.7153e8",
+ "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": 1496.2774868011475,
+ "y": 2393.9169540405273,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a55c768.5405d8",
+ "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": 978.2778415679932,
+ "y": 2257.4548683166504,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b716ea71.c1a2f8",
+ "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": 511.77777099609375,
+ "y": 356.99999809265137,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "55b11952.8ee478",
+ "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": 2797.7785110473633,
+ "y": 1334.3336811065674,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "88f0830.251918",
+ "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": 2823.7786254882812,
+ "y": 1763.6668224334717,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c01eeb.3d55d1",
+ "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": 3350.1115951538086,
+ "y": 1926.3334121704102,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "45a4d496.91e70c",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3063.444751739502,
+ "y": 1951.4447603225708,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "552b5e4f.154ca"
+ ]
+ ]
+ },
+ {
+ "id": "b16469e6.4fa108",
+ "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": 483.7779846191406,
+ "y": 556.6666822433472,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aef3c2b4.b7175",
+ "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": 495.5279006958008,
+ "y": 507.48805046081543,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b4637758.354448",
+ "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": 520.0753479003906,
+ "y": 649.5947036743164,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2d8e1b0.cdd98",
+ "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": 924.5750961303711,
+ "y": 634.4478524923325,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "825e99ea.480a28",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.6656036376953,
+ "y": 692.8329458236694,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "358268ea.d2df38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 721.0834121704102,
+ "y": 769.3451957702637,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "f81dcbde.e63948",
+ "cf8bff84.7959f"
+ ]
+ ]
+ },
+ {
+ "id": "e66db74.667c448",
+ "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": 1657.7819175720215,
+ "y": 213.26596641540527,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7fee6a.2700118",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 525.9510803222656,
+ "y": 729.7301635742188,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "44e05c8c.adf1d4"
+ ]
+ ]
+ },
+ {
+ "id": "44e05c8c.adf1d4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 730.4829864501953,
+ "y": 724.6864624023438,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "1478bac0.b9e245",
+ "c2d8e1b0.cdd98"
+ ]
+ ]
+ },
+ {
+ "id": "1478bac0.b9e245",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 949.0596542358398,
+ "y": 681.5436401367188,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "23f3c2e7.b2256e"
+ ]
+ ]
+ },
+ {
+ "id": "23f3c2e7.b2256e",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.3652458190918,
+ "y": 646.0158882141113,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d5569fc5.e6a2"
+ ]
+ ]
+ },
+ {
+ "id": "d5569fc5.e6a2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.667652130127,
+ "y": 157.34918594360352,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d8f9145c.df6b18",
+ "3ea829a5.c173f6"
+ ]
+ ]
+ },
+ {
+ "id": "d8f9145c.df6b18",
+ "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": 1632.5810737609863,
+ "y": 157.15472793579102,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf8bff84.7959f",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 946.8589019775391,
+ "y": 759.9170888662338,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "157de446.c219ec"
+ ]
+ ]
+ },
+ {
+ "id": "f81dcbde.e63948",
+ "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": 930.8867340087891,
+ "y": 718.6670869588852,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "157de446.c219ec",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1130.6644897460938,
+ "y": 716.389377951622,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c2330e5e.e47bd"
+ ]
+ ]
+ },
+ {
+ "id": "c2330e5e.e47bd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.8002967834473,
+ "y": 243.61154747009277,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e66db74.667c448",
+ "89ae2b32.b0fc38"
+ ]
+ ]
+ },
+ {
+ "id": "2e1b5ff3.7da19",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 519.824291229248,
+ "y": 775.190938949585,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "358268ea.d2df38"
+ ]
+ ]
+ },
+ {
+ "id": "3ea829a5.c173f6",
+ "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": 1631.6391868591309,
+ "y": 108.83376979827881,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89ae2b32.b0fc38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1673.7264137268066,
+ "y": 261.9881372451782,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "60c1bc1c.4fc694",
+ "731eea74.fdba64",
+ "af700d79.af35b",
+ "9130729b.2cc6a"
+ ]
+ ]
+ },
+ {
+ "id": "c221caea.8d05e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 733.0318908691406,
+ "y": 533.0435565710068,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "58a2743.4c9548c"
+ ]
+ ]
+ },
+ {
+ "id": "6682b05a.b4663",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 747.0320625305176,
+ "y": 607.2379722595215,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "112c3ee5.3804b1"
+ ]
+ ]
+ },
+ {
+ "id": "58a2743.4c9548c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 875.7263870239258,
+ "y": 530.6547559499741,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c8f4ffb8.dce39",
+ "b85d1e50.469e9"
+ ]
+ ]
+ },
+ {
+ "id": "112c3ee5.3804b1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 895.4762229919434,
+ "y": 583.9046787023544,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "ab95a6e4.ee8118",
+ "34378aaf.798d46"
+ ]
+ ]
+ },
+ {
+ "id": "c8f4ffb8.dce39",
+ "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": 1059.5038146972656,
+ "y": 494.48796594142914,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "ab95a6e4.ee8118",
+ "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": 1077.225986480713,
+ "y": 568.15471971035,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34378aaf.798d46",
+ "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": 1090.7542266845703,
+ "y": 600.9047216176987,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b85d1e50.469e9",
+ "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": 1053.309726715088,
+ "y": 531.0158017873764,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88b8100a.1ccdd",
+ "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": 540.7263107299805,
+ "y": 605.2618980407715,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "6682b05a.b4663",
+ "c221caea.8d05e8"
+ ]
+ ]
+ },
+ {
+ "id": "71f0ae82.b9807",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2179.5805854797363,
+ "y": 290.7801809310913,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "4975a161.3151"
+ ]
+ ]
+ },
+ {
+ "id": "4975a161.3151",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2388.580551147461,
+ "y": 261.78032302856445,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "f650848f.c55138",
+ "20bd7e3e.d98032",
+ "186aa1f7.7c683e"
+ ]
+ ]
+ },
+ {
+ "id": "44fed0f9.b287c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2202.5805492401123,
+ "y": 236.78032302856445,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "29e71e49.aeeae2"
+ ]
+ ]
+ },
+ {
+ "id": "29e71e49.aeeae2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2425.4379119873047,
+ "y": 189.0660161972046,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5f3eb114.47032"
+ ]
+ ]
+ },
+ {
+ "id": "60c1bc1c.4fc694",
+ "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": 1984.5127410888672,
+ "y": 149.7121877670288,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "731eea74.fdba64",
+ "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": 1904.512794494629,
+ "y": 191.71218872070312,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af700d79.af35b",
+ "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": 1931.5127563476562,
+ "y": 232.71218967437744,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9130729b.2cc6a",
+ "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": 1931.5126953125,
+ "y": 277.7121915817261,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "44fed0f9.b287c",
+ "71f0ae82.b9807"
+ ]
+ ]
+ },
+ {
+ "id": "20bd7e3e.d98032",
+ "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": 2575.512950897217,
+ "y": 288.7121238708496,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f650848f.c55138",
+ "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": 2574.290630340576,
+ "y": 338.71234571933746,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f3eb114.47032",
+ "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": 2571.5127906799316,
+ "y": 172.82320594787598,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "bc1e082b.24b418",
+ "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": 503.5805969238281,
+ "y": 442.11352729797363,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "186aa1f7.7c683e",
+ "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": 2597.5811500549316,
+ "y": 238.44686317443848,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a26d7bd.2a31d8",
+ "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": 2835.7778091430664,
+ "y": 1673.333360671997,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6598c410.436e2c",
+ "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": 2854.4444732666016,
+ "y": 1462.2222108840942,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "599ef68c.e836f8",
+ "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": 2793.8887825012207,
+ "y": 1377.7776527404785,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea1be66.4084218",
+ "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": 2500.3331451416016,
+ "y": 420.000018119812,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "ac7df1f6.d8a71",
+ "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": 2515.3331909179688,
+ "y": 540.5555400848389,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35b9952f.955e5a",
+ "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": 2503.666229248047,
+ "y": 498.10066413879395,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bfa8e24.f1519",
+ "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": 2493.6666107177734,
+ "y": 728.3332824707031,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90027a5c.f27a28",
+ "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": 2489.667366027832,
+ "y": 806.3229904174805,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d0e468e.907008",
+ "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": 2475.667121887207,
+ "y": 861.6460304260254,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "39e743ea.9c4c0c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3600.7777709960938,
+ "y": 2031.55544090271,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "4c667e51.d22c1"
+ ]
+ ]
+ },
+ {
+ "id": "4c667e51.d22c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3767.4442825317383,
+ "y": 2041.2221202850342,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "b53ba38a.c512e",
+ "3c60c294.872b2e"
+ ]
+ ]
+ },
+ {
+ "id": "3c60c294.872b2e",
+ "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": 3948.111282348633,
+ "y": 2012.6664123535156,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "b53ba38a.c512e",
+ "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": 3967.1111221313477,
+ "y": 2067.5554151535034,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "fc4550e.2f1ccb",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3602.595806121826,
+ "y": 2168.131169319153,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "93c78852.dc7fc8"
+ ]
+ ]
+ },
+ {
+ "id": "93c78852.dc7fc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3790.5956497192383,
+ "y": 2153.1313104629517,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "74656fd1.5993e"
+ ]
+ ]
+ },
+ {
+ "id": "74656fd1.5993e",
+ "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": 3975.929153442383,
+ "y": 2131.131513595581,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61d4f50d.8aed8c",
+ "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": 3416.3099975585938,
+ "y": 1976.849384188652,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cecd473.8d9bfc",
+ "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": 3391.309989929199,
+ "y": 2025.1830444335938,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4567c211.7a242c",
+ "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": 3358.109794616699,
+ "y": 2129.9828929901123,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "39e743ea.9c4c0c",
+ "fc4550e.2f1ccb"
+ ]
+ ]
+ },
+ {
+ "id": "845a226c.f938",
+ "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": 3335.949966430664,
+ "y": 2077.899069786072,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "552b5e4f.154ca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3118.0000915527344,
+ "y": 2035.3334350585938,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "7c01eeb.3d55d1",
+ "61d4f50d.8aed8c",
+ "2cecd473.8d9bfc",
+ "845a226c.f938",
+ "4567c211.7a242c"
+ ]
+ ]
+ },
+ {
+ "id": "6d96ad4b.d71d24",
+ "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": 3636.666748046875,
+ "y": 1242.6666259765625,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af5e8f30.17624",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2990.0001792907715,
+ "y": 1151.7779922485352,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "8492e23c.e47ad"
+ ]
+ ]
+ },
+ {
+ "id": "9522198.2b734e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3887.33292388916,
+ "y": 1347.8886547088623,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9384946b.7d4f08"
+ ]
+ ]
+ },
+ {
+ "id": "9384946b.7d4f08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4053.9994354248047,
+ "y": 1357.5553340911865,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e30d846f.d3e1f8",
+ "47520dbb.c29804"
+ ]
+ ]
+ },
+ {
+ "id": "47520dbb.c29804",
+ "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": 4234.666435241699,
+ "y": 1328.999626159668,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "e30d846f.d3e1f8",
+ "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": 4253.666275024414,
+ "y": 1383.8886289596558,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "1785d968.9c7f67",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3889.1509590148926,
+ "y": 1484.4643831253052,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "489ffb78.e71864"
+ ]
+ ]
+ },
+ {
+ "id": "489ffb78.e71864",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4077.1508026123047,
+ "y": 1469.464524269104,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "7568cc55.701ad4"
+ ]
+ ]
+ },
+ {
+ "id": "7568cc55.701ad4",
+ "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": 4262.484306335449,
+ "y": 1447.4647274017334,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "afe6df24.7406f",
+ "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": 3702.86515045166,
+ "y": 1293.1825979948044,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3bead5c3.8d6cda",
+ "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": 3677.8651428222656,
+ "y": 1341.516258239746,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e140bcea.b8b74",
+ "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": 3644.6649475097656,
+ "y": 1446.3161067962646,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9522198.2b734e8",
+ "1785d968.9c7f67"
+ ]
+ ]
+ },
+ {
+ "id": "7be69543.1d3b6c",
+ "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": 3622.5051193237305,
+ "y": 1394.2322835922241,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8492e23c.e47ad",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3404.555244445801,
+ "y": 1351.666648864746,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "6d96ad4b.d71d24",
+ "afe6df24.7406f",
+ "3bead5c3.8d6cda",
+ "7be69543.1d3b6c",
+ "e140bcea.b8b74"
+ ]
+ ]
}
-]
\ No newline at end of file
+]