- "id": "fa22a415.571198",
- "type": "execute",
- "name": "generate configdb add URL for nbr",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1127,
- "y": 240.9895896911621,
- "z": "f630c4e8.64d488",
- "wires": [
- []
- ]
- },
- {
- "id": "6f4fe94a.b1ffa8",
- "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1122,
- "y": 289.9895896911621,
- "z": "f630c4e8.64d488",
- "wires": [
- []
- ]
- },
- {
- "id": "49fbbbb9.e37cd4",
- "type": "execute",
- "name": "Add neighbor to Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-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": 1093,
- "y": 367.9895896911621,
- "z": "f630c4e8.64d488",
- "wires": [
- [
- "e8bd439c.2947",
- "780d51b3.1fe4c"
- ]
- ]
- },
- {
- "id": "e8bd439c.2947",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1295,
- "y": 334.9895896911621,
- "z": "f630c4e8.64d488",
- "wires": [
- [
- "3e77d15e.509e8e"
- ]
- ]
- },
- {
- "id": "780d51b3.1fe4c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1287.999891281128,
- "y": 413.98949909210205,
- "z": "f630c4e8.64d488",
- "wires": [
- [
- "ec0f9390.bc092"
- ]
- ]
- },
- {
- "id": "3e77d15e.509e8e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1455.9998779296875,
- "y": 291.98962020874023,
- "z": "f630c4e8.64d488",
- "wires": [
- [
- "1a2c5cb9.93d263"
- ]
- ]
- },
- {
- "id": "1a2c5cb9.93d263",
- "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 update\" />",
- "comments": "",
- "x": 1634.999568939209,
- "y": 288.9895877838135,
- "z": "f630c4e8.64d488",
- "wires": []
- },
- {
- "id": "ec0f9390.bc092",