[
{
- "id": "c92045e8.ea6de8",
+ "id": "4ee6cf31.f3a4b",
"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": 117,
+ "y": 256,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "9f1b4c27.d960a"
+ "b32f13c7.d4c7"
]
]
},
{
- "id": "9539a9a2.85af98",
+ "id": "5f0e1e83.1d9c9",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 162.010404586792,
- "y": 59.989585876464844,
- "z": "630a4d24.993484",
+ "x": 119,
+ "y": 26,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "3e707ad2.360716"
+ "fe2de3d.042bf2"
]
]
},
{
- "id": "3e707ad2.360716",
+ "id": "fe2de3d.042bf2",
"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": 170.99998474121094,
+ "y": 94.0000991821289,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "c92045e8.ea6de8"
+ "4ee6cf31.f3a4b"
]
]
},
{
- "id": "9f1b4c27.d960a",
+ "id": "b32f13c7.d4c7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 128.50000381469727,
- "y": 452.9896240234375,
- "z": "630a4d24.993484",
+ "x": 111.48959350585938,
+ "y": 396.0000305175781,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "3b3e33d7.8ccbec",
- "aea59ecf.32eac",
- "64536be7.433404",
- "1c97574b.348629",
- "d18d833e.494d1",
- "9cf5b7f.c337448"
+ "5a32e1ce.a4b21",
+ "57523251.c3abac",
+ "1a3da184.a33a9e",
+ "77253f1d.366af",
+ "953f0fc8.08a01",
+ "2516ca70.246136",
+ "1f3b8a0c.2a9db6",
+ "88919954.3b19c8",
+ "b0f7f9ac.278698"
]
]
},
{
- "id": "3b3e33d7.8ccbec",
+ "id": "5a32e1ce.a4b21",
"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": 132.0002670288086,
+ "y": 2541.000244140625,
+ "z": "50d68be7.8b2664",
"wires": []
},
{
- "id": "1659db0a.819375",
+ "id": "42033756.fb6048",
"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": 598.0005493164062,
+ "y": 134.0000457763672,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "719be637.af1098",
+ "id": "8d771b2b.000c58",
"type": "comment",
"name": "configuration-phy-cell-id",
"info": "",
"comments": "",
- "x": 365.010404586792,
- "y": 20,
- "z": "630a4d24.993484",
+ "x": 347.99999237060547,
+ "y": 45.01041603088379,
+ "z": "50d68be7.8b2664",
"wires": []
},
{
- "id": "fdc1c4b9.c07738",
+ "id": "8b66190.7b9e6e8",
"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": 1410.0001220703125,
+ "y": 247.01040649414062,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "8e0153f0.5dad7",
+ "id": "a05f4e4b.9c8cc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 873.0106048583984,
- "y": 214.00000953674316,
- "z": "630a4d24.993484",
+ "x": 1105.0001831054688,
+ "y": 189.0104217529297,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "b5827573.4ab448"
+ "b1632833.634428"
]
]
},
{
- "id": "b5827573.4ab448",
+ "id": "b1632833.634428",
"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": 1324.000244140625,
+ "y": 189.01044464111328,
+ "z": "50d68be7.8b2664",
"wires": []
},
{
- "id": "7c752a60.4979e4",
+ "id": "6c131cfa.f2d144",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 910.0107460021973,
- "y": 311.99999237060547,
- "z": "630a4d24.993484",
+ "x": 1110.0003662109375,
+ "y": 273.0104064941406,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "e7ad2f93.1f739"
+ "a61dc2f7.35137"
]
]
},
{
- "id": "e7ad2f93.1f739",
+ "id": "a61dc2f7.35137",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1006.0104560852051,
- "y": 254.00000095367432,
- "z": "630a4d24.993484",
+ "x": 1256,
+ "y": 256.0104217529297,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "fdc1c4b9.c07738"
+ "8b66190.7b9e6e8"
]
]
},
{
- "id": "cb2275bc.1f41e8",
+ "id": "69fae148.7eb9e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 905.0105609893799,
- "y": 566.6666400432587,
- "z": "630a4d24.993484",
+ "x": 1104.0001220703125,
+ "y": 529.6770629882812,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "905dd9f3.40a588"
+ "968bccb3.4286"
]
]
},
{
- "id": "905dd9f3.40a588",
+ "id": "968bccb3.4286",
"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": 1331,
+ "y": 527.6770935058594,
+ "z": "50d68be7.8b2664",
"wires": []
},
{
- "id": "5c97d0d3.3281d",
+ "id": "40cd6380.3794bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 896.010419845581,
- "y": 705.6667537689209,
- "z": "630a4d24.993484",
+ "x": 1123,
+ "y": 604.6771850585938,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "8d8c927b.5b512"
+ "be79eed0.bfda6"
]
]
},
{
- "id": "8d8c927b.5b512",
+ "id": "be79eed0.bfda6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1084.010290145874,
- "y": 703.6666603088379,
- "z": "630a4d24.993484",
+ "x": 1280.9998779296875,
+ "y": 602.6770629882812,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "989894d0.463e08"
+ "be01a281.ac9f1"
]
]
},
{
- "id": "989894d0.463e08",
+ "id": "be01a281.ac9f1",
"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": 1453.9998779296875,
+ "y": 597.6773071289062,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "fcc41fc.bfb59e",
+ "id": "65e2d2cb.cf5a3c",
"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": 846.0006523132324,
+ "y": 214.0105118751526,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "64536be7.433404",
+ "id": "1a3da184.a33a9e",
"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": 443.085693359375,
+ "y": 144.96359252929688,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "1659db0a.819375"
+ "42033756.fb6048"
]
]
},
{
- "id": "aea59ecf.32eac",
+ "id": "57523251.c3abac",
"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": 446.00030517578125,
+ "y": 88.02084350585938,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "9cf5b7f.c337448",
+ "id": "adcb6dc1.9be5f",
"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": 608.0001831054688,
+ "y": 437.0104064941406,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "6b550b6e.4ab944"
+ "f8a76f90.29da8"
]
]
},
{
- "id": "65d9020f.1c2dbc",
+ "id": "8be594e3.6d8688",
"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": 970.0010986328125,
+ "y": 82.89949798583984,
+ "z": "50d68be7.8b2664",
"wires": []
},
{
- "id": "10092a64.445696",
+ "id": "f6ddb3a1.efd5b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 908.0107421875,
- "y": 383.00007915496826,
- "z": "630a4d24.993484",
+ "x": 1113.0003662109375,
+ "y": 397.010498046875,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "83ffe0f1.145c2"
+ "6a108f5f.873d2"
]
]
},
{
- "id": "2f27ee2e.cd2152",
+ "id": "33b5f89d.e80cf8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 905.0106735229492,
- "y": 512.0000009536743,
- "z": "630a4d24.993484",
+ "x": 1100.000244140625,
+ "y": 475.0104064941406,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "9a40bd5d.b03b7"
+ "def4e26f.40b75"
]
]
},
{
- "id": "83ffe0f1.145c2",
+ "id": "6a108f5f.873d2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1041.0106716156006,
- "y": 342.0001106262207,
- "z": "630a4d24.993484",
+ "x": 1260.000244140625,
+ "y": 397.0105285644531,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "ebac1d30.63c39"
+ "836bcfb6.19bda"
]
]
},
{
- "id": "ebac1d30.63c39",
+ "id": "836bcfb6.19bda",
"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": 1424,
+ "y": 381.010498046875,
+ "z": "50d68be7.8b2664",
"wires": []
},
{
- "id": "9a40bd5d.b03b7",
+ "id": "def4e26f.40b75",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1063.0104160308838,
- "y": 478.00006103515625,
- "z": "630a4d24.993484",
+ "x": 1256,
+ "y": 459.0104675292969,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "6b0cf27b.81140c"
+ "ee42d567.cd69a8"
]
]
},
{
- "id": "6b0cf27b.81140c",
+ "id": "ee42d567.cd69a8",
"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": 1417.0001220703125,
+ "y": 461.0104675292969,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "6b550b6e.4ab944",
+ "id": "f8a76f90.29da8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 397.0103988647461,
- "y": 392.0104808807373,
- "z": "630a4d24.993484",
+ "x": 634,
+ "y": 253.02090454101562,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "65d9020f.1c2dbc",
- "fcc41fc.bfb59e",
- "a04061b8.e630e",
- "2fa514b0.d7bf8c",
- "3efc9869.e2bda8",
- "ec3507db.a35b28",
- "31202ee3.c34b22",
- "aab3655.f43a598"
+ "8be594e3.6d8688",
+ "65e2d2cb.cf5a3c",
+ "5ce6a301.a18cec",
+ "49a6fb58.2fce44",
+ "f2b3bdcf.f52a9",
+ "1d4e42f.60d63bd",
+ "ccf11ec5.7bbd1",
+ "de4361c0.25785",
+ "889e7977.5506f8"
]
]
},
{
- "id": "ec3507db.a35b28",
+ "id": "1d4e42f.60d63bd",
"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": 858.0006713867188,
+ "y": 387.0208435058594,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "1c97574b.348629",
+ "id": "77253f1d.366af",
"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": 479.00018310546875,
+ "y": 199.02084350585938,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "d18d833e.494d1",
+ "id": "953f0fc8.08a01",
"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": 440.00030517578125,
+ "y": 251.02090454101562,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "2fa514b0.d7bf8c",
+ "id": "49a6fb58.2fce44",
"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": 895.0005493164062,
+ "y": 265.02081298828125,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "8e0153f0.5dad7",
- "7c752a60.4979e4"
+ "a05f4e4b.9c8cc",
+ "6c131cfa.f2d144"
]
]
},
{
- "id": "a04061b8.e630e",
+ "id": "5ce6a301.a18cec",
"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": 888.0002365112305,
+ "y": 158.0209083557129,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "3efc9869.e2bda8",
+ "id": "f2b3bdcf.f52a9",
"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": 953.0001831054688,
+ "y": 331.02081298828125,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
},
{
- "id": "31202ee3.c34b22",
+ "id": "ccf11ec5.7bbd1",
"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": 903.0000610351562,
+ "y": 458.0209655761719,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "10092a64.445696",
- "2f27ee2e.cd2152"
+ "f6ddb3a1.efd5b",
+ "33b5f89d.e80cf8"
]
]
},
{
- "id": "aab3655.f43a598",
+ "id": "de4361c0.25785",
"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": 881,
+ "y": 541.0208740234375,
+ "z": "50d68be7.8b2664",
"wires": [
[
- "cb2275bc.1f41e8",
- "5c97d0d3.3281d"
+ "69fae148.7eb9e",
+ "40cd6380.3794bc"
]
]
},
{
- "id": "dc5e9a0c.421988",
+ "id": "2516ca70.246136",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 429,
+ "y": 469.0103759765625,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "296e2da5.4e8922",
+ "5c171ca1.83e394"
+ ]
+ ]
+ },
+ {
+ "id": "296e2da5.4e8922",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 504,
+ "y": 376.0104064941406,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "adcb6dc1.9be5f"
+ ]
+ ]
+ },
+ {
+ "id": "5c171ca1.83e394",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 559,
+ "y": 556.0104370117188,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "b7803635.7b20e8"
+ ]
+ ]
+ },
+ {
+ "id": "f74f8504.75cdc8",
+ "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": 1490.999870300293,
+ "y": 1014.0104103088379,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba398223.0862a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1143.9999923706055,
+ "y": 1003.0104103088379,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "8ea5fd88.19126"
+ ]
+ ]
+ },
+ {
+ "id": "8ea5fd88.19126",
+ "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": 1325.9999923706055,
+ "y": 975.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "6e73a65.efd8158",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1142.0001754760742,
+ "y": 1078.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "76b317fe.6c7558"
+ ]
+ ]
+ },
+ {
+ "id": "76b317fe.6c7558",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1328.999870300293,
+ "y": 1027.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "f74f8504.75cdc8"
+ ]
+ ]
+ },
+ {
+ "id": "c782576f.e50328",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1024.9999923706055,
+ "y": 1348.6770362854004,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "c1944ae1.891168"
+ ]
+ ]
+ },
+ {
+ "id": "c1944ae1.891168",
+ "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": 1212.999870300293,
+ "y": 1355.677158355713,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "4ef2ea92.7af554",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1010.9998092651367,
+ "y": 1425.677158355713,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "b8c9a86f.a5d5c8"
+ ]
+ ]
+ },
+ {
+ "id": "b8c9a86f.a5d5c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184.9997482299805,
+ "y": 1428.6770362854004,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "fcc6c415.ff34e8"
+ ]
+ ]
+ },
+ {
+ "id": "fcc6c415.ff34e8",
+ "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": 1362.999626159668,
+ "y": 1432.6772804260254,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51dff42c.4f94dc",
+ "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": 834.00048828125,
+ "y": 1010.0105590820312,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7803635.7b20e8",
+ "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": 604,
+ "y": 664.0103759765625,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "64d0ea44.9e38b4"
+ ]
+ ]
+ },
+ {
+ "id": "e32cda0b.03a948",
+ "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": 906.0009155273438,
+ "y": 877.8995361328125,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "31c132cb.aa27fe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1116.0001754760742,
+ "y": 1198.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "4e3d7d98.25f974"
+ ]
+ ]
+ },
+ {
+ "id": "b44616cd.a2e8c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.000114440918,
+ "y": 1285.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "e3ae6269.630ad"
+ ]
+ ]
+ },
+ {
+ "id": "4e3d7d98.25f974",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1289.000114440918,
+ "y": 1170.0105323791504,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "993028c6.fd4d38"
+ ]
+ ]
+ },
+ {
+ "id": "993028c6.fd4d38",
+ "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": 1476.9997482299805,
+ "y": 1160.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "e3ae6269.630ad",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1266.999870300293,
+ "y": 1272.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "a57f2fc0.1d319"
+ ]
+ ]
+ },
+ {
+ "id": "a57f2fc0.1d319",
+ "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": 1439.999870300293,
+ "y": 1271.0104713439941,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64d0ea44.9e38b4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 515.9998168945312,
+ "y": 1080.0209350585938,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "e32cda0b.03a948",
+ "51dff42c.4f94dc",
+ "db7bd4c1.056cd8",
+ "6eec9618.7c6218",
+ "fe775b3c.962a18",
+ "1c9e981.cacf768",
+ "f1b383a9.8c8a5",
+ "c7513391.64888",
+ "b215210a.3cffc",
+ "f1bd6f0a.00d0c",
+ "e608d4d3.6b9098"
+ ]
+ ]
+ },
+ {
+ "id": "1c9e981.cacf768",
+ "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": 818.0004806518555,
+ "y": 1207.0208473205566,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6eec9618.7c6218",
+ "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": 902.000358581543,
+ "y": 1053.0207862854004,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ba398223.0862a",
+ "6e73a65.efd8158"
+ ]
+ ]
+ },
+ {
+ "id": "db7bd4c1.056cd8",
+ "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": 833.0000610351562,
+ "y": 929.0209350585938,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe775b3c.962a18",
+ "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": 920.9999923706055,
+ "y": 1098.0208473205566,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1b383a9.8c8a5",
+ "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": 841.999870300293,
+ "y": 1267.020908355713,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "31c132cb.aa27fe",
+ "b44616cd.a2e8c8"
+ ]
+ ]
+ },
+ {
+ "id": "c7513391.64888",
+ "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": 808.999870300293,
+ "y": 1341.020908355713,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "c782576f.e50328",
+ "4ef2ea92.7af554"
+ ]
+ ]
+ },
+ {
+ "id": "b215210a.3cffc",
+ "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": 917,
+ "y": 973.0104370117188,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1bd6f0a.00d0c",
+ "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": 876.9999923706055,
+ "y": 1149.010410308838,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8fd7576.b137b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 868,
+ "y": 1626,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "c3281595.0ceec8",
+ "ae3a063.62d70f8",
+ "6d4fb749.9b7cf8"
+ ]
+ ]
+ },
+ {
+ "id": "c3281595.0ceec8",
+ "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": 1182,
+ "y": 1538,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae3a063.62d70f8",
+ "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": 1152,
+ "y": 1602,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d4fb749.9b7cf8",
+ "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": 1126,
+ "y": 1697,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "25f0d085.93f7f",
+ "fde52d6a.b6f8b"
+ ]
+ ]
+ },
+ {
+ "id": "25f0d085.93f7f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341,
+ "y": 1640,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "dd50580a.ae4348"
+ ]
+ ]
+ },
+ {
+ "id": "fde52d6a.b6f8b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1340.9998779296875,
+ "y": 1735.9998779296875,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "dbd4a5b.02a1558"
+ ]
+ ]
+ },
+ {
+ "id": "dd50580a.ae4348",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1509.9998779296875,
+ "y": 1651,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "8da67cbb.0866b"
+ ]
+ ]
+ },
+ {
+ "id": "dbd4a5b.02a1558",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.9996337890625,
+ "y": 1737,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "2062305.38a56d"
+ ]
+ ]
+ },
+ {
+ "id": "8da67cbb.0866b",
+ "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": 1663.9995727539062,
+ "y": 1644,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "2062305.38a56d",
+ "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": 1653.999755859375,
+ "y": 1734,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e608d4d3.6b9098",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 755,
+ "y": 1448,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "d31f7c6e.50d38"
+ ]
+ ]
+ },
+ {
+ "id": "d31f7c6e.50d38",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 793,
+ "y": 1550,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "f8fd7576.b137b8"
+ ]
+ ]
+ },
+ {
+ "id": "2229282f.5b0b28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 878,
+ "y": 769.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "b7a0de8d.7643d",
+ "2dcf1d71.5f7352",
+ "bd6f0e4e.4392"
+ ]
+ ]
+ },
+ {
+ "id": "b7a0de8d.7643d",
+ "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": 1148,
+ "y": 675.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2dcf1d71.5f7352",
+ "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": 1149,
+ "y": 739.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd6f0e4e.4392",
+ "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": 1132.0000762939453,
+ "y": 812.3228282928467,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "31060b44.1b99f4",
+ "51ed9fbb.b7cb7"
+ ]
+ ]
+ },
+ {
+ "id": "31060b44.1b99f4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1351,
+ "y": 783.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ac223d99.e70fc"
+ ]
+ ]
+ },
+ {
+ "id": "51ed9fbb.b7cb7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1350.9998779296875,
+ "y": 879.3227195739746,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "5b8b254d.2e681c"
+ ]
+ ]
+ },
+ {
+ "id": "ac223d99.e70fc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1519.9998779296875,
+ "y": 794.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "90b022ce.a1d39"
+ ]
+ ]
+ },
+ {
+ "id": "5b8b254d.2e681c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1512.9996337890625,
+ "y": 880.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "a34090d1.54a54"
+ ]
+ ]
+ },
+ {
+ "id": "90b022ce.a1d39",
+ "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": 1673.9995727539062,
+ "y": 787.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "a34090d1.54a54",
+ "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": 1663.999755859375,
+ "y": 876.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "889e7977.5506f8",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 807,
+ "y": 595.3228149414062,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ced1c9ca.4f9978"
+ ]
+ ]
+ },
+ {
+ "id": "ced1c9ca.4f9978",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 803,
+ "y": 693.3228416442871,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "2229282f.5b0b28"
+ ]
+ ]
+ },
+ {
+ "id": "958427a8.01e3e8",
+ "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": 888,
+ "y": 1836,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "46357e3b.7b463",
+ "5368f4ec.7ba84c"
+ ]
+ ]
+ },
+ {
+ "id": "46357e3b.7b463",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1162,
+ "y": 1805,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "79a08354.a9c57c"
+ ]
+ ]
+ },
+ {
+ "id": "79a08354.a9c57c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353,
+ "y": 1808,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "74d21297.1b0e3c"
+ ]
+ ]
+ },
+ {
+ "id": "74d21297.1b0e3c",
+ "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": 1521,
+ "y": 1809,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db4fcfac.9f61c",
+ "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": 860.5,
+ "y": 1952,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "2275c209.df7ffe",
+ "5070522e.6844dc"
+ ]
+ ]
+ },
+ {
+ "id": "1b7d6b6a.a645e5",
+ "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": 850,
+ "y": 2034,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "eba0e657.38a428",
+ "3108d1bf.8f1bfe"
+ ]
+ ]
+ },
+ {
+ "id": "eba0e657.38a428",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1032.5,
+ "y": 2042,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ed35703b.e3d53"
+ ]
+ ]
+ },
+ {
+ "id": "ed35703b.e3d53",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1217.5,
+ "y": 2040,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "cbc05b9a.dfdca8"
+ ]
+ ]
+ },
+ {
+ "id": "cbc05b9a.dfdca8",
+ "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": 1419.5,
+ "y": 2035,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2275c209.df7ffe",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054,
+ "y": 1920,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "62153117.dfa37"
+ ]
+ ]
+ },
+ {
+ "id": "62153117.dfa37",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1229,
+ "y": 1934,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "449a5e0a.b0801"
+ ]
+ ]
+ },
+ {
+ "id": "449a5e0a.b0801",
+ "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": 1417,
+ "y": 1936,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5368f4ec.7ba84c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161,
+ "y": 1862,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "e6dd79e2.78d458"
+ ]
+ ]
+ },
+ {
+ "id": "e6dd79e2.78d458",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1329.9998779296875,
+ "y": 1868,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "a071522b.e89a3"
+ ]
+ ]
+ },
+ {
+ "id": "a071522b.e89a3",
+ "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": 1485.9996337890625,
+ "y": 1867,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "5070522e.6844dc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1075,
+ "y": 1991,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "243fe9a9.58e386"
+ ]
+ ]
+ },
+ {
+ "id": "243fe9a9.58e386",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1242.9998779296875,
+ "y": 1986,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ca575d7c.67624"
+ ]
+ ]
+ },
+ {
+ "id": "ca575d7c.67624",
+ "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": 1400.9995727539062,
+ "y": 1989,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "3108d1bf.8f1bfe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035,
+ "y": 2090,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "24d4bdbf.f1c4f2"
+ ]
+ ]
+ },
+ {
+ "id": "24d4bdbf.f1c4f2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1210.9998779296875,
+ "y": 2091,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "3e4bd657.f1158a"
+ ]
+ ]
+ },
+ {
+ "id": "3e4bd657.f1158a",
+ "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": 1357.9995727539062,
+ "y": 2094,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "1f3b8a0c.2a9db6",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 605,
+ "y": 1957,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "958427a8.01e3e8",
+ "db4fcfac.9f61c",
+ "1b7d6b6a.a645e5"
+ ]
+ ]
+ },
+ {
+ "id": "88919954.3b19c8",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 568.9999980926514,
+ "y": 2218.9999556541443,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "cdc92ad3.c5e8c8",
+ "2c913977.4a3276",
+ "b40657e3.2d4448"
+ ]
+ ]
+ },
+ {
+ "id": "2c913977.4a3276",
"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": 841.0000972747803,
+ "y": 2330.999472618103,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "17a131ee.db046e",
+ "203259f5.942d96"
+ ]
+ ]
+ },
+ {
+ "id": "cdc92ad3.c5e8c8",
+ "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": 905.6667613983154,
+ "y": 2167.000005722046,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "17a131ee.db046e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1061.500036239624,
+ "y": 2257.9167337417603,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "ccf8f3f7.0a076"
+ ]
+ ]
+ },
+ {
+ "id": "203259f5.942d96",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.4999561309814,
+ "y": 2396.916576385498,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "946b739c.173d5"
+ ]
+ ]
+ },
+ {
+ "id": "ccf8f3f7.0a076",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1221.499870300293,
+ "y": 2259.9167346954346,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "954678f3.8402c8"
+ ]
+ ]
+ },
+ {
+ "id": "954678f3.8402c8",
+ "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": 1398.4996318817139,
+ "y": 2249.9167881011963,
+ "z": "50d68be7.8b2664",
+ "wires": []
+ },
+ {
+ "id": "946b739c.173d5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1248.499599456787,
+ "y": 2389.91668510437,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ [
+ "d11da3a0.90335"
+ ]
+ ]
+ },
+ {
+ "id": "d11da3a0.90335",
+ "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": 1430.4997158050537,
+ "y": 2374.916955947876,
+ "z": "50d68be7.8b2664",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b40657e3.2d4448",
+ "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": 839.0104293823242,
- "y": 795.0104370117188,
- "z": "630a4d24.993484",
+ "x": 912.5000705718994,
+ "y": 2238.454870223999,
+ "z": "50d68be7.8b2664",
"wires": [
[]
]
+ },
+ {
+ "id": "b0f7f9ac.278698",
+ "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": 446,
+ "y": 338,
+ "z": "50d68be7.8b2664",
+ "wires": []
}
-]
+]
\ No newline at end of file