[
{
- "id": "c92045e8.ea6de8",
+ "id": "a56935f3.4d3038",
"type": "method",
"name": "method",
"xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 146.01040649414062,
- "y": 255.98958015441895,
- "z": "630a4d24.993484",
+ "x": 108,
+ "y": 264,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "9f1b4c27.d960a"
+ "ef6e3c43.ed0b3"
]
]
},
{
- "id": "9539a9a2.85af98",
+ "id": "3df3d1aa.57745e",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 162.010404586792,
- "y": 59.989585876464844,
- "z": "630a4d24.993484",
+ "x": 110,
+ "y": 34,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "3e707ad2.360716"
+ "a593b0f.85d915"
]
]
},
{
- "id": "3e707ad2.360716",
+ "id": "a593b0f.85d915",
"type": "service-logic",
- "name": "oofpcipoc-api 0.4.2-SNAPSHOT",
+ "name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"version": "${project.version}",
"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='0.4.2-SNAPSHOT'>",
+ "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": 163.01039123535156,
- "y": 141.98968315124512,
- "z": "630a4d24.993484",
+ "x": 161.99998474121094,
+ "y": 102.0000991821289,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "c92045e8.ea6de8"
+ "a56935f3.4d3038"
]
]
},
{
- "id": "9f1b4c27.d960a",
+ "id": "ef6e3c43.ed0b3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 128.50000381469727,
- "y": 452.9896240234375,
- "z": "630a4d24.993484",
+ "x": 102.48959350585938,
+ "y": 404.0000305175781,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "3b3e33d7.8ccbec",
- "aea59ecf.32eac",
- "64536be7.433404",
- "1c97574b.348629",
- "d18d833e.494d1",
- "9cf5b7f.c337448"
+ "999a0696.5c3b68",
+ "462fd16f.2ce25",
+ "2db1fa7f.454a86",
+ "d2854a92.929028",
+ "de9247e2.4bddb8",
+ "cbd508bf.1f9948",
+ "4b4d0ad6.dd5bc4",
+ "f6929731.8a42a8"
]
]
},
{
- "id": "3b3e33d7.8ccbec",
+ "id": "999a0696.5c3b68",
"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": 574.010663986206,
- "y": 766.9897136688232,
- "z": "630a4d24.993484",
+ "x": 123.0002670288086,
+ "y": 2549.000244140625,
+ "z": "3ab6fc36.bf1844",
"wires": []
},
{
- "id": "1659db0a.819375",
+ "id": "7a545fed.e7a77",
"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": 714.0109386444092,
- "y": 45.989633560180664,
- "z": "630a4d24.993484",
+ "x": 589.0005493164062,
+ "y": 142.0000457763672,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "719be637.af1098",
+ "id": "9515dc9e.39723",
"type": "comment",
"name": "configuration-phy-cell-id",
"info": "",
"comments": "",
- "x": 365.010404586792,
- "y": 20,
- "z": "630a4d24.993484",
+ "x": 338.99999237060547,
+ "y": 53.01041603088379,
+ "z": "3ab6fc36.bf1844",
"wires": []
},
{
- "id": "fdc1c4b9.c07738",
+ "id": "b854c746.0de9d8",
"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": 1173.0104751586914,
- "y": 248.99999809265137,
- "z": "630a4d24.993484",
+ "x": 1401.0001220703125,
+ "y": 255.01040649414062,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "8e0153f0.5dad7",
+ "id": "69f6509a.091e1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 873.0106048583984,
- "y": 214.00000953674316,
- "z": "630a4d24.993484",
+ "x": 1096.0001831054688,
+ "y": 197.0104217529297,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "b5827573.4ab448"
+ "e2f4a4a1.d370f8"
]
]
},
{
- "id": "b5827573.4ab448",
+ "id": "e2f4a4a1.d370f8",
"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": 1189.0105895996094,
- "y": 206.0000286102295,
- "z": "630a4d24.993484",
+ "x": 1315.000244140625,
+ "y": 197.01044464111328,
+ "z": "3ab6fc36.bf1844",
"wires": []
},
{
- "id": "7c752a60.4979e4",
+ "id": "b6239e81.1f817",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 910.0107460021973,
- "y": 311.99999237060547,
- "z": "630a4d24.993484",
+ "x": 1101.0003662109375,
+ "y": 281.0104064941406,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "e7ad2f93.1f739"
+ "e0cabe0f.505c5"
]
]
},
{
- "id": "e7ad2f93.1f739",
+ "id": "e0cabe0f.505c5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1006.0104560852051,
- "y": 254.00000095367432,
- "z": "630a4d24.993484",
+ "x": 1247,
+ "y": 264.0104217529297,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "fdc1c4b9.c07738"
+ "b854c746.0de9d8"
]
]
},
{
- "id": "cb2275bc.1f41e8",
+ "id": "3f77f64c.3dd7aa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 905.0105609893799,
- "y": 566.6666400432587,
- "z": "630a4d24.993484",
+ "x": 1095.0001220703125,
+ "y": 537.6770629882812,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "905dd9f3.40a588"
+ "26b6096e.4923e6"
]
]
},
{
- "id": "905dd9f3.40a588",
+ "id": "26b6096e.4923e6",
"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": 1115.0104541778564,
- "y": 585.6666898727417,
- "z": "630a4d24.993484",
+ "x": 1322,
+ "y": 535.6770935058594,
+ "z": "3ab6fc36.bf1844",
"wires": []
},
{
- "id": "5c97d0d3.3281d",
+ "id": "bee15fb0.acc1",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 896.010419845581,
- "y": 705.6667537689209,
- "z": "630a4d24.993484",
+ "x": 1114,
+ "y": 612.6771850585938,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "8d8c927b.5b512"
+ "fa59582d.79d328"
]
]
},
{
- "id": "8d8c927b.5b512",
+ "id": "fa59582d.79d328",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1084.010290145874,
- "y": 703.6666603088379,
- "z": "630a4d24.993484",
+ "x": 1271.9998779296875,
+ "y": 610.6770629882812,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "989894d0.463e08"
+ "bdff86f4.1a7438"
]
]
},
{
- "id": "989894d0.463e08",
+ "id": "bdff86f4.1a7438",
"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": 1268.0102233886719,
- "y": 677.6668834686279,
- "z": "630a4d24.993484",
+ "x": 1444.9998779296875,
+ "y": 605.6773071289062,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "fcc41fc.bfb59e",
+ "id": "aec0a219.4aafa",
"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": 639.011058807373,
- "y": 299.00009632110596,
- "z": "630a4d24.993484",
+ "x": 837.0006523132324,
+ "y": 222.0105118751526,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "64536be7.433404",
+ "id": "2db1fa7f.454a86",
"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": 560.0960960388184,
- "y": 43.95316982269287,
- "z": "630a4d24.993484",
+ "x": 434.085693359375,
+ "y": 152.96359252929688,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "1659db0a.819375"
+ "7a545fed.e7a77"
]
]
},
{
- "id": "aea59ecf.32eac",
+ "id": "462fd16f.2ce25",
"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": 381.01070404052734,
- "y": 85.01043033599854,
- "z": "630a4d24.993484",
+ "x": 437.00030517578125,
+ "y": 96.02084350585938,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "9cf5b7f.c337448",
+ "id": "c4cb43a3.b214",
"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": 317.0105800628662,
- "y": 453.99998664855957,
- "z": "630a4d24.993484",
+ "x": 599.0001831054688,
+ "y": 445.0104064941406,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "6b550b6e.4ab944"
+ "223df5ed.4f95aa"
]
]
},
{
- "id": "65d9020f.1c2dbc",
+ "id": "d9addb74.3baa98",
"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": 767.0114974975586,
- "y": 176.88908100128174,
- "z": "630a4d24.993484",
+ "x": 961.0010986328125,
+ "y": 90.89949798583984,
+ "z": "3ab6fc36.bf1844",
"wires": []
},
{
- "id": "10092a64.445696",
+ "id": "793cadd5.b98534",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 908.0107421875,
- "y": 383.00007915496826,
- "z": "630a4d24.993484",
+ "x": 1104.0003662109375,
+ "y": 405.010498046875,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "83ffe0f1.145c2"
+ "3edcc1aa.bd4cee"
]
]
},
{
- "id": "2f27ee2e.cd2152",
+ "id": "8235045c.b53238",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 905.0106735229492,
- "y": 512.0000009536743,
- "z": "630a4d24.993484",
+ "x": 1091.000244140625,
+ "y": 483.0104064941406,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "9a40bd5d.b03b7"
+ "796d00b5.a0e61"
]
]
},
{
- "id": "83ffe0f1.145c2",
+ "id": "3edcc1aa.bd4cee",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1041.0106716156006,
- "y": 342.0001106262207,
- "z": "630a4d24.993484",
+ "x": 1251.000244140625,
+ "y": 405.0105285644531,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "ebac1d30.63c39"
+ "5f31b8ac.b394a8"
]
]
},
{
- "id": "ebac1d30.63c39",
+ "id": "5f31b8ac.b394a8",
"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": 1220.010362625122,
- "y": 339.00007820129395,
- "z": "630a4d24.993484",
+ "x": 1415,
+ "y": 389.010498046875,
+ "z": "3ab6fc36.bf1844",
"wires": []
},
{
- "id": "9a40bd5d.b03b7",
+ "id": "796d00b5.a0e61",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1063.0104160308838,
- "y": 478.00006103515625,
- "z": "630a4d24.993484",
+ "x": 1247,
+ "y": 467.0104675292969,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "6b0cf27b.81140c"
+ "6cee8561.12b37c"
]
]
},
{
- "id": "6b0cf27b.81140c",
+ "id": "6cee8561.12b37c",
"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": 1242.0104846954346,
- "y": 477.0000476837158,
- "z": "630a4d24.993484",
+ "x": 1408.0001220703125,
+ "y": 469.0104675292969,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "6b550b6e.4ab944",
+ "id": "223df5ed.4f95aa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 397.0103988647461,
- "y": 392.0104808807373,
- "z": "630a4d24.993484",
+ "x": 621.9999923706055,
+ "y": 252.0209083557129,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "65d9020f.1c2dbc",
- "fcc41fc.bfb59e",
- "a04061b8.e630e",
- "2fa514b0.d7bf8c",
- "3efc9869.e2bda8",
- "ec3507db.a35b28",
- "31202ee3.c34b22",
- "aab3655.f43a598"
+ "d9addb74.3baa98",
+ "aec0a219.4aafa",
+ "9a4c9d5d.cdbb7",
+ "1f853db2.97c882",
+ "26067730.7d0a88",
+ "288ec912.b142d6",
+ "7380a80e.9f2798",
+ "34a55830.edc018",
+ "11c1dc80.b90664"
]
]
},
{
- "id": "ec3507db.a35b28",
+ "id": "288ec912.b142d6",
"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": 640.0110626220703,
- "y": 468.01043033599854,
- "z": "630a4d24.993484",
+ "x": 849.0006713867188,
+ "y": 395.0208435058594,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "1c97574b.348629",
+ "id": "d2854a92.929028",
"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": 606.0105514526367,
- "y": 92.0104169845581,
- "z": "630a4d24.993484",
+ "x": 470.00018310546875,
+ "y": 207.02084350585938,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "d18d833e.494d1",
+ "id": "de9247e2.4bddb8",
"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`\"/>",
+ "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": 603.0106964111328,
- "y": 139.0104742050171,
- "z": "630a4d24.993484",
+ "x": 425.00030517578125,
+ "y": 300.02088928222656,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "2fa514b0.d7bf8c",
+ "id": "1f853db2.97c882",
"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": 668.0109405517578,
- "y": 370.01039123535156,
- "z": "630a4d24.993484",
+ "x": 886.0005493164062,
+ "y": 273.02081298828125,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "8e0153f0.5dad7",
- "7c752a60.4979e4"
+ "69f6509a.091e1",
+ "b6239e81.1f817"
]
]
},
{
- "id": "a04061b8.e630e",
+ "id": "9a4c9d5d.cdbb7",
"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": 680.0106430053711,
- "y": 242.01049280166626,
- "z": "630a4d24.993484",
+ "x": 879.0002365112305,
+ "y": 166.0209083557129,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "3efc9869.e2bda8",
+ "id": "26067730.7d0a88",
"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": 678.0105743408203,
- "y": 413.01040744781494,
- "z": "630a4d24.993484",
+ "x": 944.0001831054688,
+ "y": 339.02081298828125,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]
},
{
- "id": "31202ee3.c34b22",
+ "id": "7380a80e.9f2798",
"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": 661.0104751586914,
- "y": 544.0105457305908,
- "z": "630a4d24.993484",
+ "x": 894.0000610351562,
+ "y": 466.0209655761719,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "10092a64.445696",
- "2f27ee2e.cd2152"
+ "793cadd5.b98534",
+ "8235045c.b53238"
]
]
},
{
- "id": "aab3655.f43a598",
+ "id": "34a55830.edc018",
"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": 640.0104293823242,
- "y": 631.0104370117188,
- "z": "630a4d24.993484",
+ "x": 872,
+ "y": 549.0208740234375,
+ "z": "3ab6fc36.bf1844",
"wires": [
[
- "cb2275bc.1f41e8",
- "5c97d0d3.3281d"
+ "3f77f64c.3dd7aa",
+ "bee15fb0.acc1"
]
]
},
{
- "id": "dc5e9a0c.421988",
+ "id": "cbd508bf.1f9948",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 420,
+ "y": 477.0103759765625,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "56749baa.a78df4",
+ "9c793e23.28d07"
+ ]
+ ]
+ },
+ {
+ "id": "56749baa.a78df4",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 501,
+ "y": 372.0104064941406,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "c4cb43a3.b214"
+ ]
+ ]
+ },
+ {
+ "id": "9c793e23.28d07",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 550,
+ "y": 564.0104370117188,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "333ff9a3.f9e676"
+ ]
+ ]
+ },
+ {
+ "id": "63d201bc.e0a8c",
+ "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": 1481.999870300293,
+ "y": 1022.0104103088379,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "760b1313.ffe8fc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1134.9999923706055,
+ "y": 1011.0104103088379,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "4bddd3b2.b1953c"
+ ]
+ ]
+ },
+ {
+ "id": "4bddd3b2.b1953c",
+ "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": 1316.9999923706055,
+ "y": 983.0104713439941,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "8f7d3b9a.8bfbb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1133.0001754760742,
+ "y": 1086.010410308838,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "cfc19b27.de46f8"
+ ]
+ ]
+ },
+ {
+ "id": "cfc19b27.de46f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1319.999870300293,
+ "y": 1035.010410308838,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "63d201bc.e0a8c"
+ ]
+ ]
+ },
+ {
+ "id": "127b098e.b6a836",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1015.9999923706055,
+ "y": 1356.6770362854004,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "c8490f00.fab44"
+ ]
+ ]
+ },
+ {
+ "id": "c8490f00.fab44",
+ "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": 1203.999870300293,
+ "y": 1363.677158355713,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "c160441d.a6c7b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1001.9998092651367,
+ "y": 1433.677158355713,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "573df648.f762d8"
+ ]
+ ]
+ },
+ {
+ "id": "573df648.f762d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1175.9997482299805,
+ "y": 1436.6770362854004,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "7e194196.5bce9"
+ ]
+ ]
+ },
+ {
+ "id": "7e194196.5bce9",
+ "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": 1353.999626159668,
+ "y": 1440.6772804260254,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b87e933.35bbc8",
+ "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": 825.00048828125,
+ "y": 1018.0105590820312,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "333ff9a3.f9e676",
+ "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": 595,
+ "y": 672.0103759765625,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "caaab21e.173d6"
+ ]
+ ]
+ },
+ {
+ "id": "d6618a8.8d47778",
+ "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": 897.0009155273438,
+ "y": 885.8995361328125,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "970590.65d90a7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1107.0001754760742,
+ "y": 1206.0104713439941,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "8a9b063c.206ef8"
+ ]
+ ]
+ },
+ {
+ "id": "27f77794.2482e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1076.000114440918,
+ "y": 1293.010410308838,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "9ed3714e.73d88"
+ ]
+ ]
+ },
+ {
+ "id": "8a9b063c.206ef8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1280.000114440918,
+ "y": 1178.0105323791504,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "9246b164.ae354"
+ ]
+ ]
+ },
+ {
+ "id": "9246b164.ae354",
+ "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": 1467.9997482299805,
+ "y": 1168.0104713439941,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "9ed3714e.73d88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1257.999870300293,
+ "y": 1280.0104713439941,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "81e12f1a.2cda3"
+ ]
+ ]
+ },
+ {
+ "id": "81e12f1a.2cda3",
+ "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": 1430.999870300293,
+ "y": 1279.0104713439941,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "caaab21e.173d6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 506.99981689453125,
+ "y": 1088.0209350585938,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "d6618a8.8d47778",
+ "7b87e933.35bbc8",
+ "f15fe286.6c578",
+ "9e18cefd.efb4e",
+ "13aa007d.5e7e9",
+ "ee15ba88.203348",
+ "b582d50f.78e0e8",
+ "f23a41a7.283e5",
+ "12c46bb6.023c04",
+ "7283cfac.cf851",
+ "1c833d87.2ea8f2"
+ ]
+ ]
+ },
+ {
+ "id": "ee15ba88.203348",
+ "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": 809.0004806518555,
+ "y": 1215.0208473205566,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e18cefd.efb4e",
+ "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": 893.000358581543,
+ "y": 1061.0207862854004,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "760b1313.ffe8fc",
+ "8f7d3b9a.8bfbb8"
+ ]
+ ]
+ },
+ {
+ "id": "f15fe286.6c578",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 824.0000610351562,
+ "y": 937.0209350585938,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "13aa007d.5e7e9",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 911.9999923706055,
+ "y": 1106.0208473205566,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b582d50f.78e0e8",
+ "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": 832.999870300293,
+ "y": 1275.020908355713,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "970590.65d90a7",
+ "27f77794.2482e8"
+ ]
+ ]
+ },
+ {
+ "id": "f23a41a7.283e5",
+ "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": 799.999870300293,
+ "y": 1349.020908355713,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "127b098e.b6a836",
+ "c160441d.a6c7b8"
+ ]
+ ]
+ },
+ {
+ "id": "12c46bb6.023c04",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 908,
+ "y": 981.0104370117188,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7283cfac.cf851",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 867.9999923706055,
+ "y": 1157.010410308838,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a281c5e.d2a1f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 859,
+ "y": 1634,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "6198b4f0.d538fc",
+ "1e423b05.ed3eb5",
+ "a346114.07fe0f"
+ ]
+ ]
+ },
+ {
+ "id": "6198b4f0.d538fc",
+ "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": 1173,
+ "y": 1546,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e423b05.ed3eb5",
+ "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": 1143,
+ "y": 1610,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a346114.07fe0f",
+ "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": 1117,
+ "y": 1705,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "97d802c8.37d15",
+ "fee402d7.6ade4"
+ ]
+ ]
+ },
+ {
+ "id": "97d802c8.37d15",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1332,
+ "y": 1648,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "4ef2042b.130fec"
+ ]
+ ]
+ },
+ {
+ "id": "fee402d7.6ade4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.9998779296875,
+ "y": 1743.9998779296875,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "b926758.e620b88"
+ ]
+ ]
+ },
+ {
+ "id": "4ef2042b.130fec",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1500.9998779296875,
+ "y": 1659,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "83519a55.c98588"
+ ]
+ ]
+ },
+ {
+ "id": "b926758.e620b88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.9996337890625,
+ "y": 1745,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "e3711f2b.ae7cb"
+ ]
+ ]
+ },
+ {
+ "id": "83519a55.c98588",
+ "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": 1654.9995727539062,
+ "y": 1652,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "e3711f2b.ae7cb",
+ "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": 1644.999755859375,
+ "y": 1742,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c833d87.2ea8f2",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 746,
+ "y": 1456,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "6631853d.97d65c"
+ ]
+ ]
+ },
+ {
+ "id": "6631853d.97d65c",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 784,
+ "y": 1558,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "2a281c5e.d2a1f4"
+ ]
+ ]
+ },
+ {
+ "id": "57dfe0e1.47019",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 869,
+ "y": 777.3228416442871,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "4ca47f36.fa5c8",
+ "d15b89c2.581e08",
+ "1fc5ba73.7d3816"
+ ]
+ ]
+ },
+ {
+ "id": "4ca47f36.fa5c8",
+ "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": 1139,
+ "y": 683.3228149414062,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d15b89c2.581e08",
+ "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": 1140,
+ "y": 747.3228149414062,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fc5ba73.7d3816",
+ "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": 1123.0000762939453,
+ "y": 820.3228282928467,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "ba2f9d26.4c071",
+ "25a03d2b.5923c2"
+ ]
+ ]
+ },
+ {
+ "id": "ba2f9d26.4c071",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1342,
+ "y": 791.3228416442871,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "9ab485af.2ca428"
+ ]
+ ]
+ },
+ {
+ "id": "25a03d2b.5923c2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.9998779296875,
+ "y": 887.3227195739746,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "af46e990.c5e538"
+ ]
+ ]
+ },
+ {
+ "id": "9ab485af.2ca428",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510.9998779296875,
+ "y": 802.3228416442871,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "3bc9e9b1.fac316"
+ ]
+ ]
+ },
+ {
+ "id": "af46e990.c5e538",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503.9996337890625,
+ "y": 888.3228416442871,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "89352005.6c218"
+ ]
+ ]
+ },
+ {
+ "id": "3bc9e9b1.fac316",
+ "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": 1664.9995727539062,
+ "y": 795.3228416442871,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "89352005.6c218",
+ "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": 1654.999755859375,
+ "y": 884.3228149414062,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11c1dc80.b90664",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 798,
+ "y": 603.3228149414062,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "2570ba97.638906"
+ ]
+ ]
+ },
+ {
+ "id": "2570ba97.638906",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 794,
+ "y": 701.3228416442871,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "57dfe0e1.47019"
+ ]
+ ]
+ },
+ {
+ "id": "521ad3e9.6a770c",
+ "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": 879,
+ "y": 1844,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "ef8ff6e9.86b828",
+ "7697d6f2.332f28"
+ ]
+ ]
+ },
+ {
+ "id": "ef8ff6e9.86b828",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153,
+ "y": 1813,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "4d3fbe7.120834"
+ ]
+ ]
+ },
+ {
+ "id": "4d3fbe7.120834",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1344,
+ "y": 1816,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "42869be0.f741b4"
+ ]
+ ]
+ },
+ {
+ "id": "42869be0.f741b4",
+ "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": 1512,
+ "y": 1817,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fbb0b389.b7aff",
+ "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": 851.5,
+ "y": 1960,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "7bf7bace.f89764",
+ "f8b788a9.137b38"
+ ]
+ ]
+ },
+ {
+ "id": "7f3d1672.4560b8",
+ "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": 841,
+ "y": 2042,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "e28b1895.7be268",
+ "cae77fa4.6625"
+ ]
+ ]
+ },
+ {
+ "id": "33f0c48d.fd610c",
+ "type": "execute",
+ "name": "Escape JSON String",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='escapeJsonString' >\n <parameter name=\"source\" value='`$tmp.oofpcipoc-dmaap-config-resp.payload`'/>\n <parameter name=\"target\" value='tmp.oofpcipoc-dmaap-config-resp.payload'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 828.5,
+ "y": 2158,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "727bc37e.4cc61c",
+ "a2331760.45b9a8"
+ ]
+ ]
+ },
+ {
+ "id": "727bc37e.4cc61c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.5,
+ "y": 2148,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "e7f1bcf3.909e1"
+ ]
+ ]
+ },
+ {
+ "id": "e28b1895.7be268",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1023.5,
+ "y": 2050,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "1654fe1e.928c32"
+ ]
+ ]
+ },
+ {
+ "id": "e7f1bcf3.909e1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1194.5,
+ "y": 2150,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "f065d3e0.c2419"
+ ]
+ ]
+ },
+ {
+ "id": "f065d3e0.c2419",
+ "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 as an Escaped string\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1354.5,
+ "y": 2149,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1654fe1e.928c32",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.5,
+ "y": 2048,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "2b43fbf9.c2ba14"
+ ]
+ ]
+ },
+ {
+ "id": "2b43fbf9.c2ba14",
+ "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": 1410.5,
+ "y": 2043,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bf7bace.f89764",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1045,
+ "y": 1928,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "f96218d5.aefe58"
+ ]
+ ]
+ },
+ {
+ "id": "f96218d5.aefe58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1220,
+ "y": 1942,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "f95a30fb.559c9"
+ ]
+ ]
+ },
+ {
+ "id": "f95a30fb.559c9",
+ "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": 1408,
+ "y": 1944,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7697d6f2.332f28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1152,
+ "y": 1870,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "f82e9af2.fd97c8"
+ ]
+ ]
+ },
+ {
+ "id": "f82e9af2.fd97c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320.9998779296875,
+ "y": 1876,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "9dc76bb2.d10498"
+ ]
+ ]
+ },
+ {
+ "id": "9dc76bb2.d10498",
+ "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": 1476.9996337890625,
+ "y": 1875,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "f8b788a9.137b38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1066,
+ "y": 1999,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "ce2a00dd.a7d93"
+ ]
+ ]
+ },
+ {
+ "id": "ce2a00dd.a7d93",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1233.9998779296875,
+ "y": 1994,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "c8502ddf.753f"
+ ]
+ ]
+ },
+ {
+ "id": "c8502ddf.753f",
+ "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": 1391.9995727539062,
+ "y": 1997,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "cae77fa4.6625",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1026,
+ "y": 2098,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "45be5487.15b1fc"
+ ]
+ ]
+ },
+ {
+ "id": "45be5487.15b1fc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.9998779296875,
+ "y": 2099,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "323fff8f.f802"
+ ]
+ ]
+ },
+ {
+ "id": "323fff8f.f802",
+ "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": 1348.9995727539062,
+ "y": 2102,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "a2331760.45b9a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1024,
+ "y": 2210,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "4f3dcb55.c70b64"
+ ]
+ ]
+ },
+ {
+ "id": "4f3dcb55.c70b64",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1185.9998779296875,
+ "y": 2206,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "86cf38.d3cc70c8"
+ ]
+ ]
+ },
+ {
+ "id": "86cf38.d3cc70c8",
+ "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 inserting escape chars in SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1346.9995727539062,
+ "y": 2214,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "4b4d0ad6.dd5bc4",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 596,
+ "y": 1965,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "521ad3e9.6a770c",
+ "fbb0b389.b7aff",
+ "7f3d1672.4560b8",
+ "33f0c48d.fd610c"
+ ]
+ ]
+ },
+ {
+ "id": "f6929731.8a42a8",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 590,
+ "y": 2337,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "3b3de811.c71c68",
+ "2bf26107.a6146e"
+ ]
+ ]
+ },
+ {
+ "id": "2bf26107.a6146e",
"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' />",
+ "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": 837,
+ "y": 2454,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "ab460f24.61aa7",
+ "47494462.f8125c"
+ ]
+ ]
+ },
+ {
+ "id": "3b3de811.c71c68",
+ "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": 801.666748046875,
+ "y": 2259,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "ab460f24.61aa7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1032.5,
+ "y": 2393.9166870117188,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "55287e9c.c3279"
+ ]
+ ]
+ },
+ {
+ "id": "47494462.f8125c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.4998779296875,
+ "y": 2527.9166259765625,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "ae8bbad3.6dc778"
+ ]
+ ]
+ },
+ {
+ "id": "55287e9c.c3279",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.4998779296875,
+ "y": 2423.916717529297,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "a463bca9.96c86"
+ ]
+ ]
+ },
+ {
+ "id": "a463bca9.96c86",
+ "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": 1402.499568939209,
+ "y": 2420.91668510437,
+ "z": "3ab6fc36.bf1844",
+ "wires": []
+ },
+ {
+ "id": "ae8bbad3.6dc778",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.4996337890625,
+ "y": 2511.9166564941406,
+ "z": "3ab6fc36.bf1844",
+ "wires": [
+ [
+ "2e1981bc.3e21ee"
+ ]
+ ]
+ },
+ {
+ "id": "2e1981bc.3e21ee",
+ "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": 839.0104293823242,
- "y": 795.0104370117188,
- "z": "630a4d24.993484",
+ "x": 1392.4997024536133,
+ "y": 2510.9166431427,
+ "z": "3ab6fc36.bf1844",
"wires": [
[]
]