+ "y": 1124.4444580078125,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b39b4de.4e9c6c",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.3990783691406,
+ "y": 854.8888320922852,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "593d77a0.5cb8a8",
+ "b8bab935.c41c08"
+ ]
+ ]
+ },
+ {
+ "id": "593d77a0.5cb8a8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2706.399085998535,
+ "y": 836.8888311386108,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "b83ed74b.3225d8"
+ ]
+ ]
+ },
+ {
+ "id": "b8bab935.c41c08",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2713.371253967285,
+ "y": 877.5277490615845,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "edf1018d.5b0f1"
+ ]
+ ]
+ },
+ {
+ "id": "8e20a8df.c00c88",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 3137.3434295654297,
+ "y": 833.6388311386108,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "936b434c.4f285",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 3130.7877655029297,
+ "y": 871.9720849990845,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "b83ed74b.3225d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2890.399085998535,
+ "y": 835.666501045227,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "8e20a8df.c00c88"
+ ]
+ ]
+ },
+ {
+ "id": "edf1018d.5b0f1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2878.565589904785,
+ "y": 883.0831680297852,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "936b434c.4f285"
+ ]
+ ]
+ },
+ {
+ "id": "f5ee8b6.12ca678",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRTCI\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n",
+ "comments": "",
+ "x": 2535.3991203308105,
+ "y": 907.888858795166,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "82978ac0.ed8dc8",
+ "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/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>\n<parameter name=\"field9\" value=\"nRTCI\"/>\n<parameter name=\"field10\" value=\"`$tmp.nRTCI`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.6103019714355,
+ "y": 954.8331985473633,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f32aefb.8b268",
+ "type": "execute",
+ "name": "populate idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellCU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2548.065788269043,
+ "y": 1090.999906539917,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f51e527f.45e31",
+ "type": "execute",
+ "name": "populate idNRCellRelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellRelation}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellRelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2557.732208251953,
+ "y": 1145.3331623077393,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b608403.2d3acc",
+ "type": "execute",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2573.888542175293,
+ "y": 1051.2221240997314,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2607273f.d4a8a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1810,
+ "y": 1895,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "21213307.d7adac"
+ ]
+ ]
+ },
+ {
+ "id": "21213307.d7adac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2054.6666946411133,
+ "y": 1850.6667003631592,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "979fa2e8.fdf3d",
+ "c2f4298b.e18828"
+ ]
+ ]
+ },
+ {
+ "id": "c2f4298b.e18828",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2235.333694458008,
+ "y": 1822.1109924316406,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "979fa2e8.fdf3d",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2254.3335342407227,
+ "y": 1876.9999952316284,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "292c5ef9.66d1b2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1827.8181381225586,
+ "y": 2017.5757112503052,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "dac40ec9.1497"
+ ]
+ ]
+ },
+ {
+ "id": "dac40ec9.1497",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2077.8180618286133,
+ "y": 1962.5758905410767,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "fedcc61a.6b0308"
+ ]
+ ]
+ },
+ {
+ "id": "fedcc61a.6b0308",
+ "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/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellRelation info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2263.151565551758,
+ "y": 1940.576093673706,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f693817.b45ca8",
+ "type": "execute",
+ "name": "generate put ho nrcellrelation url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.5321083068848,
+ "y": 1828.2939586639404,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f88ba7.9742646",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-ho-nrcellrelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1564.5321998596191,
+ "y": 1882.6273803710938,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef019585.316058",
+ "type": "execute",
+ "name": "put ho nrcellrelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-ho-nrcellrelation-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1539.9984130859375,
+ "y": 1989.4272632598877,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "2607273f.d4a8a8",
+ "292c5ef9.66d1b2"
+ ]
+ ]
+ },
+ {
+ "id": "9d1fcee2.302c3",
+ "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/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put ho NRCellRelation\"/>\n<parameter name='field2' value=\"`$tmp.cps.putho.nrcellrelation.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1520.1722450256348,
+ "y": 1936.6771001815796,
+ "z": "27bb3cd4.ff8ff4",