+ "x": 2793.8887825012207,
+ "y": 1377.7776527404785,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea1be66.4084218",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
+ "comments": "",
+ "x": 2500.3331451416016,
+ "y": 420.000018119812,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "ac7df1f6.d8a71",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2515.3331909179688,
+ "y": 540.5555400848389,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35b9952f.955e5a",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2503.666229248047,
+ "y": 498.10066413879395,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bfa8e24.f1519",
+ "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.patchNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2493.6666107177734,
+ "y": 728.3332824707031,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90027a5c.f27a28",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2489.667366027832,
+ "y": 806.3229904174805,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d0e468e.907008",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2475.667121887207,
+ "y": 861.6460304260254,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "39e743ea.9c4c0c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3600.7777709960938,
+ "y": 2031.55544090271,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "4c667e51.d22c1"
+ ]
+ ]
+ },
+ {
+ "id": "4c667e51.d22c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3767.4442825317383,
+ "y": 2041.2221202850342,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "b53ba38a.c512e",
+ "3c60c294.872b2e"
+ ]
+ ]
+ },
+ {
+ "id": "3c60c294.872b2e",
+ "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": 3948.111282348633,
+ "y": 2012.6664123535156,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "b53ba38a.c512e",
+ "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": 3967.1111221313477,
+ "y": 2067.5554151535034,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "fc4550e.2f1ccb",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3602.595806121826,
+ "y": 2168.131169319153,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "93c78852.dc7fc8"
+ ]
+ ]
+ },
+ {
+ "id": "93c78852.dc7fc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3790.5956497192383,
+ "y": 2153.1313104629517,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "74656fd1.5993e"
+ ]
+ ]
+ },
+ {
+ "id": "74656fd1.5993e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3975.929153442383,
+ "y": 2131.131513595581,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61d4f50d.8aed8c",
+ "type": "execute",
+ "name": "generate put nrpci nrcelldu 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.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3416.3099975585938,
+ "y": 1976.849384188652,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cecd473.8d9bfc",
+ "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.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3391.309989929199,
+ "y": 2025.1830444335938,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4567c211.7a242c",
+ "type": "execute",
+ "name": "put nrpci nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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": 3358.109794616699,
+ "y": 2129.9828929901123,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "39e743ea.9c4c0c",
+ "fc4550e.2f1ccb"
+ ]
+ ]
+ },
+ {
+ "id": "845a226c.f938",
+ "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 for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3335.949966430664,
+ "y": 2077.899069786072,
+ "z": "46bc844c.8e713c",