[
{
- "id": "5cfe1e32.70c03",
+ "id": "b597980.d00b068",
"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": 178.3333282470703,
+ "y": 250,
+ "z": "c58377cf.746c38",
"wires": [
[
- "3e0b09ab.48e706"
+ "8943c880.32f118"
]
]
},
{
- "id": "5972e355.1f90dc",
+ "id": "7d5fb60e.e4ca28",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 72.00000762939453,
- "y": 8.98958969116211,
- "z": "231735cb.81484a",
+ "x": 180.3333282470703,
+ "y": 20,
+ "z": "c58377cf.746c38",
"wires": [
[
- "54079cf7.5dc664"
+ "cbc23f7b.bdd3e"
]
]
},
{
- "id": "54079cf7.5dc664",
+ "id": "cbc23f7b.bdd3e",
"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": 232.33331298828125,
+ "y": 88.0000991821289,
+ "z": "c58377cf.746c38",
"wires": [
[
- "5cfe1e32.70c03"
+ "b597980.d00b068"
]
]
},
{
- "id": "3e0b09ab.48e706",
+ "id": "8943c880.32f118",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 91.48960494995117,
- "y": 327.9896240234375,
- "z": "231735cb.81484a",
+ "x": 172.8229217529297,
+ "y": 390.0000305175781,
+ "z": "c58377cf.746c38",
"wires": [
[
- "769a67ee.dde568",
- "9f7ed3ae.40866",
- "4e6eb75.eedf548",
- "9fe3285b.bcd158",
- "5791230f.7e399c",
- "8025c437.0aac68"
+ "97d8e7ab.1a8aa8",
+ "db81fb52.aa42c8",
+ "2e2b598f.1dab86",
+ "6f26f93c.46f918",
+ "47c5c664.d239d8",
+ "fd3ca9d4.49f218",
+ "fdf8b14.ee8015",
+ "961718a3.21d988",
+ "cd63a3fb.08b76",
+ "6dc5ee71.cb084",
+ "fcd1c02a.dc8b9",
+ "3ef32216.34dcde",
+ "139219ea.fde996",
+ "276139cb.601476",
+ "90553fd2.d04e2",
+ "dbe33f92.36491",
+ "cab68aad.8e5a38"
]
]
},
{
- "id": "769a67ee.dde568",
+ "id": "97d8e7ab.1a8aa8",
"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": 193.3335952758789,
+ "y": 2535.000244140625,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "e61e6aa7.761fa8",
+ "id": "4abb38a8.f574e8",
"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": 659.3338775634766,
+ "y": 128.0000457763672,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "a8c7df6e.f7389",
+ "id": "5b26170d.302738",
"type": "comment",
"name": "configuration-phy-cell-id",
"info": "",
"comments": "",
- "x": 301,
- "y": 28.0000057220459,
- "z": "231735cb.81484a",
+ "x": 409.3333206176758,
+ "y": 39.01041603088379,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "98c7f031.3beb4",
+ "id": "11264402.65a0ac",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1333.0000762939453,
- "y": 147.0000033378601,
- "z": "231735cb.81484a",
+ "x": 3076.333541870117,
+ "y": 576.010409116745,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "37b670d3.2d75d",
+ "id": "d747393a.b75728",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1033.0002059936523,
- "y": 112.0000147819519,
- "z": "231735cb.81484a",
+ "x": 2771.3336029052734,
+ "y": 518.0104243755341,
+ "z": "c58377cf.746c38",
"wires": [
[
- "e5c0ae7e.fb12e"
+ "b9389afe.f9d0e8"
]
]
},
{
- "id": "e5c0ae7e.fb12e",
+ "id": "b9389afe.f9d0e8",
"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": 2990.3336639404297,
+ "y": 518.0104472637177,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "6807fd7c.9ffd14",
+ "id": "e5f93917.276248",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1070.0003471374512,
- "y": 209.9999976158142,
- "z": "231735cb.81484a",
+ "x": 2776.333786010742,
+ "y": 602.010409116745,
+ "z": "c58377cf.746c38",
"wires": [
[
- "61cbf7c3.3277c8"
+ "943a2f92.630a1"
]
]
},
{
- "id": "61cbf7c3.3277c8",
+ "id": "943a2f92.630a1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1166.000057220459,
- "y": 152.00000619888306,
- "z": "231735cb.81484a",
+ "x": 2922.3334197998047,
+ "y": 585.0104243755341,
+ "z": "c58377cf.746c38",
"wires": [
[
- "98c7f031.3beb4"
+ "11264402.65a0ac"
]
]
},
{
- "id": "eb64f79e.fd6af8",
+ "id": "1439b4cc.e0fb5b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.0001621246338,
- "y": 464.6666452884674,
- "z": "231735cb.81484a",
+ "x": 2770.333541870117,
+ "y": 858.6770656108856,
+ "z": "c58377cf.746c38",
"wires": [
[
- "2883bb3f.bc91d4"
+ "ebc982d7.a8e99"
]
]
},
{
- "id": "2883bb3f.bc91d4",
+ "id": "ebc982d7.a8e99",
"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": 2997.3334197998047,
+ "y": 856.6770961284637,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "6d15fc65.dab3d4",
+ "id": "6b424d29.f8c794",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1056.000020980835,
- "y": 603.6667590141296,
- "z": "231735cb.81484a",
+ "x": 2789.3334197998047,
+ "y": 933.6771876811981,
+ "z": "c58377cf.746c38",
"wires": [
[
- "a0dc8cc1.dd008"
+ "1423304.92370d"
]
]
},
{
- "id": "a0dc8cc1.dd008",
+ "id": "1423304.92370d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1243.999891281128,
- "y": 601.6666655540466,
- "z": "231735cb.81484a",
+ "x": 2947.333297729492,
+ "y": 931.6770656108856,
+ "z": "c58377cf.746c38",
"wires": [
[
- "c1020cf0.6879f"
+ "b5e6bfc0.18026"
]
]
},
{
- "id": "c1020cf0.6879f",
+ "id": "b5e6bfc0.18026",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1427.9998245239258,
- "y": 575.6668887138367,
- "z": "231735cb.81484a",
+ "x": 3120.333297729492,
+ "y": 926.6773097515106,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "7ecd6e45.7e277",
+ "id": "5ce879d1.3c75a8",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 799.000659942627,
- "y": 197.0001015663147,
- "z": "231735cb.81484a",
+ "x": 2512.334072113037,
+ "y": 543.010514497757,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "4e6eb75.eedf548",
+ "id": "2e2b598f.1dab86",
"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": 504.4190216064453,
+ "y": 138.96359252929688,
+ "z": "c58377cf.746c38",
"wires": [
[
- "e61e6aa7.761fa8"
+ "4abb38a8.f574e8"
]
]
},
{
- "id": "9f7ed3ae.40866",
+ "id": "db81fb52.aa42c8",
"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": 507.33363342285156,
+ "y": 82.02084350585938,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "7d38cbac.d25ac4",
+ "id": "3cfb6193.6677ee",
"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": 1989.3337326049805,
+ "y": 1331.0104496479034,
+ "z": "c58377cf.746c38",
"wires": [
[
- "ad5896c2.1372a8"
+ "e8126a3c.6eec98"
]
]
},
{
- "id": "88625aaa.05ac08",
+ "id": "ef244210.ce328",
"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": 2636.334518432617,
+ "y": 411.8995006084442,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "f4e5fe0e.4b9c6",
+ "id": "70360548.62681c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1068.000343322754,
- "y": 281.000084400177,
- "z": "231735cb.81484a",
+ "x": 2779.333786010742,
+ "y": 726.0105006694794,
+ "z": "c58377cf.746c38",
"wires": [
[
- "78c5715f.569f1"
+ "8051b85f.0c9a88"
]
]
},
{
- "id": "d86bb55b.e8fa48",
+ "id": "df219c80.8806e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.0002746582031,
- "y": 410.00000619888306,
- "z": "231735cb.81484a",
+ "x": 2766.3336639404297,
+ "y": 804.010409116745,
+ "z": "c58377cf.746c38",
"wires": [
[
- "c51a3fee.9dc2a"
+ "3f7c3254.c621ce"
]
]
},
{
- "id": "78c5715f.569f1",
+ "id": "8051b85f.0c9a88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1201.0002727508545,
- "y": 240.00011587142944,
- "z": "231735cb.81484a",
+ "x": 2926.3336639404297,
+ "y": 726.0105311870575,
+ "z": "c58377cf.746c38",
"wires": [
[
- "4bd1d88c.a2c018"
+ "952f4f95.295a5"
]
]
},
{
- "id": "4bd1d88c.a2c018",
+ "id": "952f4f95.295a5",
"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": 3090.3334197998047,
+ "y": 710.0105006694794,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "c51a3fee.9dc2a",
+ "id": "3f7c3254.c621ce",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1223.0000171661377,
- "y": 376.000066280365,
- "z": "231735cb.81484a",
+ "x": 2922.3334197998047,
+ "y": 788.0104701519012,
+ "z": "c58377cf.746c38",
"wires": [
[
- "1390b236.ee339e"
+ "c9455cc6.63a2e"
]
]
},
{
- "id": "1390b236.ee339e",
+ "id": "c9455cc6.63a2e",
"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": 3083.333541870117,
+ "y": 790.0104701519012,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "ad5896c2.1372a8",
+ "id": "e8126a3c.6eec98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 584,
- "y": 227.010498046875,
- "z": "231735cb.81484a",
+ "x": 2035.3333587646484,
+ "y": 677.0209276676178,
+ "z": "c58377cf.746c38",
"wires": [
[
- "88625aaa.05ac08",
- "7ecd6e45.7e277",
- "4a8297f3.fab368",
- "9f1665ce.4fd9f8",
- "f010d789.53a0a8",
- "7e3a85f3.f482ac",
- "a4027203.6535b",
- "47db6df.2075794"
+ "ef244210.ce328",
+ "5ce879d1.3c75a8",
+ "76ed4fed.d0073",
+ "c78bb3df.09a61",
+ "fee0889f.0d7778",
+ "1aeffa78.56c836",
+ "e383d6d7.392758",
+ "f49ce3d4.0ac94",
+ "941d5352.508c4"
]
]
},
{
- "id": "7e3a85f3.f482ac",
+ "id": "1aeffa78.56c836",
"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",
"comments": "",
"outputs": 1,
- "x": 800.0006637573242,
- "y": 366.0104355812073,
- "z": "231735cb.81484a",
+ "x": 2524.3340911865234,
+ "y": 716.0208461284637,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "9fe3285b.bcd158",
+ "id": "6f26f93c.46f918",
"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": 540.3335113525391,
+ "y": 193.02084350585938,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "5791230f.7e399c",
+ "id": "47c5c664.d239d8",
"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": 501.33363342285156,
+ "y": 245.02090454101562,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "9f1665ce.4fd9f8",
+ "id": "c78bb3df.09a61",
"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' />",
"comments": "",
"outputs": 1,
- "x": 828.0005416870117,
- "y": 268.0103964805603,
- "z": "231735cb.81484a",
+ "x": 2561.333969116211,
+ "y": 594.0208156108856,
+ "z": "c58377cf.746c38",
"wires": [
[
- "37b670d3.2d75d",
- "6807fd7c.9ffd14"
+ "d747393a.b75728",
+ "e5f93917.276248"
]
]
},
{
- "id": "4a8297f3.fab368",
+ "id": "76ed4fed.d0073",
"type": "execute",
"name": "generate fap-service url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 841.000244140625,
- "y": 141.010498046875,
- "z": "231735cb.81484a",
+ "x": 2554.333656311035,
+ "y": 487.02091097831726,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "f010d789.53a0a8",
+ "id": "fee0889f.0d7778",
"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",
+ "x": 2619.3336029052734,
+ "y": 660.0208156108856,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "a4027203.6535b",
+ "id": "e383d6d7.392758",
"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": 2569.333480834961,
+ "y": 787.0209681987762,
+ "z": "c58377cf.746c38",
"wires": [
[
- "f4e5fe0e.4b9c6",
- "d86bb55b.e8fa48"
+ "70360548.62681c",
+ "df219c80.8806e"
]
]
},
{
- "id": "47db6df.2075794",
+ "id": "f49ce3d4.0ac94",
"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' />",
"comments": "",
"outputs": 1,
- "x": 800.0000305175781,
- "y": 529.0104422569275,
- "z": "231735cb.81484a",
+ "x": 2547.3334197998047,
+ "y": 870.0208766460419,
+ "z": "c58377cf.746c38",
"wires": [
[
- "eb64f79e.fd6af8",
- "6d15fc65.dab3d4"
+ "1439b4cc.e0fb5b",
+ "6b424d29.f8c794"
]
]
},
{
- "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": "fd3ca9d4.49f218",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 279,
- "y": 425,
- "z": "231735cb.81484a",
+ "x": 660.3333473205566,
+ "y": 1348.010398864746,
+ "z": "c58377cf.746c38",
"wires": [
[
- "2ba4e078.c9991",
- "450d192e.16e4c8"
+ "c2d30597.23c3e8",
+ "13e5ee59.00d5c2"
]
]
},
{
- "id": "2ba4e078.c9991",
+ "id": "c2d30597.23c3e8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 355,
- "y": 313,
- "z": "231735cb.81484a",
+ "x": 1530.333351135254,
+ "y": 1300.0104351043701,
+ "z": "c58377cf.746c38",
"wires": [
[
- "7d38cbac.d25ac4"
+ "3cfb6193.6677ee"
]
]
},
{
- "id": "450d192e.16e4c8",
+ "id": "13e5ee59.00d5c2",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 253,
- "y": 526,
- "z": "231735cb.81484a",
+ "x": 1490.3333549499512,
+ "y": 1585.0104427337646,
+ "z": "c58377cf.746c38",
"wires": [
[
- "df962bc0.9c4728"
+ "155f8b1c.14be25"
]
]
},
{
- "id": "3804aecc.1eda72",
+ "id": "e4ba3c6b.34c43",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1178.9998779296875,
- "y": 730,
- "z": "231735cb.81484a",
+ "x": 3522.333595275879,
+ "y": 1468.0104627609253,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "294e9c79.ae0324",
+ "id": "2e2325b3.caf4fa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 832,
- "y": 719,
- "z": "231735cb.81484a",
+ "x": 3175.3337173461914,
+ "y": 1457.0104627609253,
+ "z": "c58377cf.746c38",
"wires": [
[
- "a2629122.94b21"
+ "92af0cb0.da314"
]
]
},
{
- "id": "a2629122.94b21",
+ "id": "92af0cb0.da314",
"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": 3357.3337173461914,
+ "y": 1429.0105237960815,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "855dbbeb.68dac8",
+ "id": "dbe372cf.0227e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 830.0001831054688,
- "y": 794,
- "z": "231735cb.81484a",
+ "x": 3173.33390045166,
+ "y": 1532.0104627609253,
+ "z": "c58377cf.746c38",
"wires": [
[
- "4f5a1521.82fc2c"
+ "1e4afaae.eef585"
]
]
},
{
- "id": "4f5a1521.82fc2c",
+ "id": "1e4afaae.eef585",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1016.9998779296875,
- "y": 743,
- "z": "231735cb.81484a",
+ "x": 3360.333595275879,
+ "y": 1481.0104627609253,
+ "z": "c58377cf.746c38",
"wires": [
[
- "3804aecc.1eda72"
+ "e4ba3c6b.34c43"
]
]
},
{
- "id": "24eb1ccd.364114",
+ "id": "b75e3ce6.384e6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 713,
- "y": 1064.6666259765625,
- "z": "231735cb.81484a",
+ "x": 3056.3337173461914,
+ "y": 1802.6770887374878,
+ "z": "c58377cf.746c38",
"wires": [
[
- "9f4cf18c.81994"
+ "95ee587a.5fa6c8"
]
]
},
{
- "id": "9f4cf18c.81994",
+ "id": "95ee587a.5fa6c8",
"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": 3244.333595275879,
+ "y": 1809.6772108078003,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "a0317cac.b10f8",
+ "id": "1f001a7c.41df16",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 698.9998168945312,
- "y": 1141.666748046875,
- "z": "231735cb.81484a",
+ "x": 3042.3335342407227,
+ "y": 1879.6772108078003,
+ "z": "c58377cf.746c38",
"wires": [
[
- "f2262012.299c4"
+ "5974fda7.dc80a4"
]
]
},
{
- "id": "f2262012.299c4",
+ "id": "5974fda7.dc80a4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 872.999755859375,
- "y": 1144.6666259765625,
- "z": "231735cb.81484a",
+ "x": 3216.3334732055664,
+ "y": 1882.6770887374878,
+ "z": "c58377cf.746c38",
"wires": [
[
- "85031fd4.e0c19"
+ "4ed37212.009a4c"
]
]
},
{
- "id": "85031fd4.e0c19",
+ "id": "4ed37212.009a4c",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1050.9996337890625,
- "y": 1148.6668701171875,
- "z": "231735cb.81484a",
+ "x": 3394.333351135254,
+ "y": 1886.6773328781128,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "41d9ee9a.12b9f",
+ "id": "d619bb83.a66628",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 523.00048828125,
- "y": 719.0001220703125,
- "z": "231735cb.81484a",
+ "x": 2808.667781829834,
+ "y": 1520.6773376464844,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "df962bc0.9c4728",
+ "id": "155f8b1c.14be25",
"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": 1790.3333587646484,
+ "y": 1558.0104484558105,
+ "z": "c58377cf.746c38",
"wires": [
[
- "d2092690.d1f398"
+ "4157b1b.cf6a45"
]
]
},
{
- "id": "3e233d3d.e189b2",
+ "id": "be955efb.e78a2",
"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": 2896.00146484375,
+ "y": 1270.5662250518799,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "8345c5a4.2aa138",
+ "id": "92452073.8cfb9",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 804.0001831054688,
- "y": 914.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3147.33390045166,
+ "y": 1652.0105237960815,
+ "z": "c58377cf.746c38",
"wires": [
[
- "d0914b29.da1bf8"
+ "ad2cd277.3b2a2"
]
]
},
{
- "id": "e412cebf.f2b34",
+ "id": "41d9252.97d78dc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 773.0001220703125,
- "y": 1001,
- "z": "231735cb.81484a",
+ "x": 3116.333839416504,
+ "y": 1739.0104627609253,
+ "z": "c58377cf.746c38",
"wires": [
[
- "9f57f600.00e818"
+ "15a7383a.280288"
]
]
},
{
- "id": "d0914b29.da1bf8",
+ "id": "ad2cd277.3b2a2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 977.0001220703125,
- "y": 886.0001220703125,
- "z": "231735cb.81484a",
+ "x": 3320.333839416504,
+ "y": 1624.0105848312378,
+ "z": "c58377cf.746c38",
"wires": [
[
- "764300f9.17734"
+ "a4153a1a.a447d8"
]
]
},
{
- "id": "764300f9.17734",
+ "id": "a4153a1a.a447d8",
"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": 3508.3334732055664,
+ "y": 1614.0105237960815,
+ "z": "c58377cf.746c38",
"wires": []
},
{
- "id": "9f57f600.00e818",
+ "id": "15a7383a.280288",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 954.9998779296875,
- "y": 988.0000610351562,
- "z": "231735cb.81484a",
+ "x": 3298.333595275879,
+ "y": 1726.0105237960815,
+ "z": "c58377cf.746c38",
"wires": [
[
- "3925925e.0d365e"
+ "9cdbb85b.36e988"
]
]
},
{
- "id": "3925925e.0d365e",
+ "id": "9cdbb85b.36e988",
"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": 3471.333595275879,
+ "y": 1725.0105237960815,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "d2092690.d1f398",
+ "id": "4157b1b.cf6a45",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 254.99981689453125,
- "y": 704.010498046875,
- "z": "231735cb.81484a",
+ "x": 2547.333541870117,
+ "y": 1534.0209875106812,
+ "z": "c58377cf.746c38",
"wires": [
[
- "3e233d3d.e189b2",
- "41d9ee9a.12b9f",
- "7e6165e7.675aac",
- "6cada962.37cf28",
- "5c13f574.f957ac",
- "3d1c8150.a42e7e",
- "50d1caf4.0f4e94",
- "f59ed201.bd8d3",
- "2f51ed00.9a5384",
- "326141f0.a2e29e"
+ "be955efb.e78a2",
+ "d619bb83.a66628",
+ "c492cc4e.cdb05",
+ "40f21f84.61773",
+ "b0db6e69.c723d",
+ "d0c9f490.3e2d68",
+ "7d4c2012.8e245",
+ "a00f80db.91416",
+ "cf8cfe25.ced3c",
+ "9e5acde4.14af",
+ "906140c7.266f9",
+ "d49ac97a.90e568",
+ "16c3686d.fbd258",
+ "42e6b286.6d1cdc",
+ "4188657a.7ee05c",
+ "ce7631de.a2bdc"
]
]
},
{
- "id": "3d1c8150.a42e7e",
+ "id": "d0c9f490.3e2d68",
"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",
"comments": "",
"outputs": 1,
- "x": 506.00048828125,
- "y": 923.0104370117188,
- "z": "231735cb.81484a",
+ "x": 2778.0016593933105,
+ "y": 1785.687663078308,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "6cada962.37cf28",
+ "id": "40f21f84.61773",
"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' />",
"comments": "",
"outputs": 1,
- "x": 590.0003662109375,
- "y": 769.0103759765625,
- "z": "231735cb.81484a",
+ "x": 2851.667350769043,
+ "y": 1558.687512397766,
+ "z": "c58377cf.746c38",
"wires": [
[
- "294e9c79.ae0324",
- "855dbbeb.68dac8"
+ "2e2325b3.caf4fa",
+ "dbe372cf.0227e"
]
]
},
{
- "id": "7e6165e7.675aac",
+ "id": "c492cc4e.cdb05",
"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`\"/>",
+ "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=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 505.00006103515625,
- "y": 658.010498046875,
- "z": "231735cb.81484a",
+ "x": 2857.667106628418,
+ "y": 1391.3543300628662,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "5c13f574.f957ac",
+ "id": "b0db6e69.c723d",
"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.x-005b9-lte.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.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": 2860.6670265197754,
+ "y": 1600.3541526794434,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "50d1caf4.0f4e94",
+ "id": "7d4c2012.8e245",
"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": 529.9998779296875,
- "y": 983.010498046875,
- "z": "231735cb.81484a",
+ "x": 2814.6674270629883,
+ "y": 1824.6878290176392,
+ "z": "c58377cf.746c38",
"wires": [
[
- "8345c5a4.2aa138",
- "e412cebf.f2b34"
+ "92452073.8cfb9",
+ "41d9252.97d78dc"
]
]
},
{
- "id": "f59ed201.bd8d3",
+ "id": "a00f80db.91416",
"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' />",
"comments": "",
"outputs": 1,
- "x": 496.9998779296875,
- "y": 1057.010498046875,
- "z": "231735cb.81484a",
+ "x": 2812.000274658203,
+ "y": 1860.0212059020996,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "b75e3ce6.384e6",
+ "1f001a7c.41df16"
+ ]
+ ]
+ },
+ {
+ "id": "cf8cfe25.ced3c",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "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=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2855.0003662109375,
+ "y": 1483.010419845581,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e5acde4.14af",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "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=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2828.3345108032227,
+ "y": 1693.3437414169312,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19707492.336ebb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2899.333724975586,
+ "y": 2080.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "3f56a771.b96478",
+ "8af1995a.23c1a8",
+ "5dd565d1.862cac"
+ ]
+ ]
+ },
+ {
+ "id": "3f56a771.b96478",
+ "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": 3213.333724975586,
+ "y": 1992.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8af1995a.23c1a8",
+ "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": 3183.333724975586,
+ "y": 2056.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5dd565d1.862cac",
+ "type": "execute",
+ "name": "Configure PCI value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3157.333724975586,
+ "y": 2151.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "d494a007.8bd97",
+ "65eff3d9.f6f53c"
+ ]
+ ]
+ },
+ {
+ "id": "d494a007.8bd97",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3372.333724975586,
+ "y": 2094.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "a1c26e21.d1084"
+ ]
+ ]
+ },
+ {
+ "id": "65eff3d9.f6f53c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3372.3336029052734,
+ "y": 2189.999930381775,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "f106146a.66d138"
+ ]
+ ]
+ },
+ {
+ "id": "a1c26e21.d1084",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3541.3336029052734,
+ "y": 2105.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "ced6db3c.563b78"
+ ]
+ ]
+ },
+ {
+ "id": "f106146a.66d138",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3534.3333587646484,
+ "y": 2191.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "3dec8a05.3ac886"
+ ]
+ ]
+ },
+ {
+ "id": "ced6db3c.563b78",
+ "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": 3695.333297729492,
+ "y": 2098.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "3dec8a05.3ac886",
+ "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": 3685.333480834961,
+ "y": 2188.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "906140c7.266f9",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2786.333724975586,
+ "y": 1902.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "c0478edb.d3de6",
+ "d74e3845.3c3728"
+ ]
+ ]
+ },
+ {
+ "id": "c0478edb.d3de6",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2824.333724975586,
+ "y": 2004.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "19707492.336ebb"
+ ]
+ ]
+ },
+ {
+ "id": "213aa2e3.174f0e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2544.3334197998047,
+ "y": 1098.3228442668915,
+ "z": "c58377cf.746c38",
"wires": [
[
- "24eb1ccd.364114",
- "a0317cac.b10f8"
+ "728afd28.7cb854",
+ "12cacc83.e2aa33",
+ "c83fe351.3785c"
]
]
},
{
- "id": "2f51ed00.9a5384",
+ "id": "728afd28.7cb854",
+ "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": 2814.3334197998047,
+ "y": 1004.3228175640106,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "12cacc83.e2aa33",
+ "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": 2815.3334197998047,
+ "y": 1068.3228175640106,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c83fe351.3785c",
"type": "execute",
- "name": "populate netconf mount",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "name": "Configure PCI value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2843.334297180176,
+ "y": 1211.323044538498,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "df5e400b.76a6e",
+ "cc94f7b8.1e29d8"
+ ]
+ ]
+ },
+ {
+ "id": "df5e400b.76a6e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3017.3334197998047,
+ "y": 1112.3228442668915,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "f85867d7.2d5b08"
+ ]
+ ]
+ },
+ {
+ "id": "cc94f7b8.1e29d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 757,
- "y": 674,
- "z": "231735cb.81484a",
+ "x": 3197.3339767456055,
+ "y": 1203.32288479805,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "2d200e34.abe802"
+ ]
+ ]
+ },
+ {
+ "id": "f85867d7.2d5b08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3186.333297729492,
+ "y": 1123.3228442668915,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "326e0bce.f9a324"
+ ]
+ ]
+ },
+ {
+ "id": "2d200e34.abe802",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3359.3337326049805,
+ "y": 1204.3230068683624,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "e811224.8fafce"
+ ]
+ ]
+ },
+ {
+ "id": "326e0bce.f9a324",
+ "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": 3340.332992553711,
+ "y": 1116.3228442668915,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "e811224.8fafce",
+ "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": 3510.333854675293,
+ "y": 1200.3229801654816,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
},
{
- "id": "326141f0.a2e29e",
+ "id": "941d5352.508c4",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2473.3334197998047,
+ "y": 924.3228175640106,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "d287ec90.65392"
+ ]
+ ]
+ },
+ {
+ "id": "d287ec90.65392",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.3334197998047,
+ "y": 1022.3228442668915,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "213aa2e3.174f0e"
+ ]
+ ]
+ },
+ {
+ "id": "f482fb64.3c4cb8",
"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": "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": 949.3333282470703,
+ "y": 1830,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "2b8e6e1b.eb4732",
+ "9728a93d.954dd8"
+ ]
+ ]
+ },
+ {
+ "id": "2b8e6e1b.eb4732",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.3333282470703,
+ "y": 1799,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "b62146d2.a556f8"
+ ]
+ ]
+ },
+ {
+ "id": "b62146d2.a556f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1414.3333282470703,
+ "y": 1802,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "ff4554c5.d52088"
+ ]
+ ]
+ },
+ {
+ "id": "ff4554c5.d52088",
+ "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": 1582.3333282470703,
+ "y": 1803,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b1bf445.9469bc",
+ "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": 921.8333282470703,
+ "y": 1946,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "c120e2b2.88ffc",
+ "5381eaea.b64024"
+ ]
+ ]
+ },
+ {
+ "id": "d59c933.00ed37",
+ "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": 911.3333282470703,
+ "y": 2028,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "e7378303.03e32",
+ "a4d388c6.e1d378"
+ ]
+ ]
+ },
+ {
+ "id": "e7378303.03e32",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1093.8333282470703,
+ "y": 2036,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "ebd1ae03.9350c"
+ ]
+ ]
+ },
+ {
+ "id": "ebd1ae03.9350c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1278.8333282470703,
+ "y": 2034,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "73d410fe.f0a35"
+ ]
+ ]
+ },
+ {
+ "id": "73d410fe.f0a35",
+ "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": 1480.8333282470703,
+ "y": 2029,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c120e2b2.88ffc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.3333282470703,
+ "y": 1914,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "2f121d3c.9e5a52"
+ ]
+ ]
+ },
+ {
+ "id": "2f121d3c.9e5a52",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1290.3333282470703,
+ "y": 1928,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "26ac8b92.155984"
+ ]
+ ]
+ },
+ {
+ "id": "26ac8b92.155984",
+ "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": 1478.3333282470703,
+ "y": 1930,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9728a93d.954dd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.3333282470703,
+ "y": 1856,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "5ec885df.3b369c"
+ ]
+ ]
+ },
+ {
+ "id": "5ec885df.3b369c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.3332061767578,
+ "y": 1862,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "784d9d63.e35d24"
+ ]
+ ]
+ },
+ {
+ "id": "784d9d63.e35d24",
+ "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": 1547.3329620361328,
+ "y": 1861,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "5381eaea.b64024",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1136.3333282470703,
+ "y": 1985,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "feda35aa.2dd568"
+ ]
+ ]
+ },
+ {
+ "id": "feda35aa.2dd568",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1304.3332061767578,
+ "y": 1980,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "394a8d28.e8bf62"
+ ]
+ ]
+ },
+ {
+ "id": "394a8d28.e8bf62",
+ "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": 1462.3329010009766,
+ "y": 1983,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "a4d388c6.e1d378",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.3333282470703,
+ "y": 2084,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "4eb3efa7.06956"
+ ]
+ ]
+ },
+ {
+ "id": "4eb3efa7.06956",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1272.3332061767578,
+ "y": 2085,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "c8930846.1da0f8"
+ ]
+ ]
+ },
+ {
+ "id": "c8930846.1da0f8",
+ "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": 1419.3329010009766,
+ "y": 2088,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "fdf8b14.ee8015",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.3333282470703,
+ "y": 1951,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "f482fb64.3c4cb8",
+ "6b1bf445.9469bc",
+ "d59c933.00ed37"
+ ]
+ ]
+ },
+ {
+ "id": "961718a3.21d988",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 630.3333263397217,
+ "y": 2212.9999556541443,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "645b2b18.b78554",
+ "7e41b7cf.948fb8",
+ "4e0d291e.342408"
+ ]
+ ]
+ },
+ {
+ "id": "7e41b7cf.948fb8",
+ "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": 902.3334255218506,
+ "y": 2324.999472618103,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "5faadc8c.00efb4",
+ "c55193fd.7ba17"
+ ]
+ ]
+ },
+ {
+ "id": "645b2b18.b78554",
+ "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": 967.0000896453857,
+ "y": 2161.000005722046,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "5faadc8c.00efb4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1122.8333644866943,
+ "y": 2251.9167337417603,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "827e4a31.8811c8"
+ ]
+ ]
+ },
+ {
+ "id": "c55193fd.7ba17",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1126.8332843780518,
+ "y": 2390.916576385498,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "bec9ce8b.12804"
+ ]
+ ]
+ },
+ {
+ "id": "827e4a31.8811c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1282.8331985473633,
+ "y": 2253.9167346954346,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "79df5c7e.676ca4"
+ ]
+ ]
+ },
+ {
+ "id": "79df5c7e.676ca4",
+ "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": 1459.8329601287842,
+ "y": 2243.9167881011963,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "bec9ce8b.12804",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1309.8329277038574,
+ "y": 2383.91668510437,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "7e059f72.a8d6a"
+ ]
+ ]
+ },
+ {
+ "id": "7e059f72.a8d6a",
+ "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": 1491.833044052124,
+ "y": 2368.916955947876,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e0d291e.342408",
+ "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": 973.8333988189697,
+ "y": 2232.454870223999,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd63a3fb.08b76",
+ "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": 507.3333282470703,
+ "y": 332,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "d49ac97a.90e568",
+ "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": 2793.33406829834,
+ "y": 1309.333683013916,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "16c3686d.fbd258",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "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=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2819.334182739258,
+ "y": 1738.6668243408203,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e304e842.d74c08",
+ "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=\"ConfigDB Update Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3209.0003509521484,
+ "y": 1948.0000524520874,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d74e3845.3c3728",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3030.0002765655518,
+ "y": 1935.111270904541,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "e304e842.d74c08"
+ ]
+ ]
+ },
+ {
+ "id": "3ef32216.34dcde",
+ "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": 479.3335418701172,
+ "y": 531.6666841506958,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fcd1c02a.dc8b9",
+ "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": 491.08345794677734,
+ "y": 482.48805236816406,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "276139cb.601476",
+ "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": 515.6309051513672,
+ "y": 624.594705581665,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e046b0c.0bfa04",
+ "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": 920.1306533813477,
+ "y": 609.4478543996811,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90553fd2.d04e2",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 548.2211608886719,
+ "y": 667.8329477310181,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f040fc3.7b741",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 716.6389694213867,
+ "y": 744.3451976776123,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "d95f3f10.e9b42",
+ "b34f9533.d06528"
+ ]
+ ]
+ },
+ {
+ "id": "3dee2f06.40933",
+ "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": 1653.337474822998,
+ "y": 188.2659683227539,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dbe33f92.36491",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 521.5066375732422,
+ "y": 704.7301654815674,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "64bd3b05.fbf404"
+ ]
+ ]
+ },
+ {
+ "id": "64bd3b05.fbf404",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 726.0385437011719,
+ "y": 699.6864643096924,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "f74e7a90.28f4e8",
+ "5e046b0c.0bfa04"
+ ]
+ ]
+ },
+ {
+ "id": "f74e7a90.28f4e8",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 944.6152114868164,
+ "y": 656.5436420440674,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "b918aa56.1e2b58"
+ ]
+ ]
+ },
+ {
+ "id": "b918aa56.1e2b58",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.9208030700684,
+ "y": 621.01589012146,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "c8ff510d.8a4e4"
+ ]
+ ]
+ },
+ {
+ "id": "c8ff510d.8a4e4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.2232093811035,
+ "y": 132.34918785095215,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "e2710b27.4b2068",
+ "2ee6585d.3f7de8"
+ ]
+ ]
+ },
+ {
+ "id": "e2710b27.4b2068",
+ "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": 1628.136631011963,
+ "y": 132.15472984313965,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b34f9533.d06528",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 942.4144592285156,
+ "y": 734.9170907735825,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "567dac79.83e914"
+ ]
+ ]
+ },
+ {
+ "id": "d95f3f10.e9b42",
+ "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": 926.4422912597656,
+ "y": 693.6670888662338,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "567dac79.83e914",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1126.2200469970703,
+ "y": 691.3893798589706,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "ca67e08a.c000e"
+ ]
+ ]
+ },
+ {
+ "id": "ca67e08a.c000e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1472.3558540344238,
+ "y": 218.6115493774414,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "3dee2f06.40933",
+ "73b26530.51d98c"
+ ]
+ ]
+ },
+ {
+ "id": "cab68aad.8e5a38",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 515.3798484802246,
+ "y": 750.1909408569336,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "2f040fc3.7b741"
+ ]
+ ]
+ },
+ {
+ "id": "2ee6585d.3f7de8",
+ "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": 1627.1947441101074,
+ "y": 83.83377170562744,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73b26530.51d98c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1669.2819709777832,
+ "y": 236.98813915252686,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "2961f4b6.76787c",
+ "c9ec4072.853ac",
+ "898e9ed2.7d262",
+ "6cb4485a.40b988"
+ ]
+ ]
+ },
+ {
+ "id": "aa82d9f0.031178",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 728.5874481201172,
+ "y": 508.0435584783554,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "52f9b872.cb1f08"
+ ]
+ ]
+ },
+ {
+ "id": "c1745830.c79c28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 742.5876197814941,
+ "y": 582.2379741668701,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "d16d7e85.f040a"
+ ]
+ ]
+ },
+ {
+ "id": "52f9b872.cb1f08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 871.2819442749023,
+ "y": 505.6547578573227,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "6e4671dc.37a73",
+ "ca554988.aee148"
+ ]
+ ]
+ },
+ {
+ "id": "d16d7e85.f040a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.0317802429199,
+ "y": 558.9046806097031,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "22a64b3b.f79184",
+ "2ccf9ec1.323512"
+ ]
+ ]
+ },
+ {
+ "id": "6e4671dc.37a73",
+ "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": 1055.0593719482422,
+ "y": 469.48796784877777,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "22a64b3b.f79184",
+ "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": 1072.7815437316895,
+ "y": 543.1547216176987,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ccf9ec1.323512",
+ "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": 1086.3097839355469,
+ "y": 575.9047235250473,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca554988.aee148",
+ "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": 1048.8652839660645,
+ "y": 506.01580369472504,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "139219ea.fde996",
+ "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": 536.281867980957,
+ "y": 580.2618999481201,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "c1745830.c79c28",
+ "aa82d9f0.031178"
+ ]
+ ]
+ },
+ {
+ "id": "ef35386d.f4d498",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2175.136142730713,
+ "y": 265.78018283843994,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "e5c8fa32.f982b8"
+ ]
+ ]
+ },
+ {
+ "id": "e5c8fa32.f982b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2384.1361083984375,
+ "y": 236.7803249359131,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "cb16367d.88f608",
+ "990802f8.cc45e",
+ "6dfb5d3d.74c2b4"
+ ]
+ ]
+ },
+ {
+ "id": "aa047f42.496c3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2198.136106491089,
+ "y": 211.7803249359131,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "d9aa5f2c.f450c"
+ ]
+ ]
+ },
+ {
+ "id": "d9aa5f2c.f450c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2420.9934692382812,
+ "y": 164.06601810455322,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "9e4f9599.04c0a8"
+ ]
+ ]
+ },
+ {
+ "id": "2961f4b6.76787c",
+ "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": 1980.0682983398438,
+ "y": 124.71218967437744,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c9ec4072.853ac",
+ "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": 1900.0683517456055,
+ "y": 166.71219062805176,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "898e9ed2.7d262",
+ "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": 1927.0683135986328,
+ "y": 207.71219158172607,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6cb4485a.40b988",
+ "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": 1927.0682525634766,
+ "y": 252.7121934890747,
+ "z": "c58377cf.746c38",
+ "wires": [
+ [
+ "aa047f42.496c3",
+ "ef35386d.f4d498"
+ ]
+ ]
+ },
+ {
+ "id": "990802f8.cc45e",
+ "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": 2571.0685081481934,
+ "y": 263.71212577819824,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb16367d.88f608",
+ "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": 2569.8461875915527,
+ "y": 313.7123476266861,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e4f9599.04c0a8",
+ "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": 2567.068347930908,
+ "y": 147.8232078552246,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "6dc5ee71.cb084",
+ "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": 499.1361541748047,
+ "y": 417.11352920532227,
+ "z": "c58377cf.746c38",
+ "wires": []
+ },
+ {
+ "id": "6dfb5d3d.74c2b4",
+ "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": 2593.136707305908,
+ "y": 213.4468650817871,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "42e6b286.6d1cdc",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2831.333366394043,
+ "y": 1648.3333625793457,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4188657a.7ee05c",
+ "type": "execute",
+ "name": "populate mount name",
+ "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=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2850.000030517578,
+ "y": 1437.2222127914429,
+ "z": "c58377cf.746c38",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ce7631de.a2bdc",
+ "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": 565,
- "y": 865,
- "z": "231735cb.81484a",
+ "x": 2789.4443397521973,
+ "y": 1352.7776546478271,
+ "z": "c58377cf.746c38",
"wires": [
[]
]
}
-]
\ No newline at end of file
+]