+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb3ee380.a31f6",
+ "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": 2444.555374145508,
+ "y": 395.00002002716064,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "18b65688.6247a9",
+ "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": 2459.555419921875,
+ "y": 515.5555419921875,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "60f37767.9663c8",
+ "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": 2447.888458251953,
+ "y": 473.1006660461426,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4275158.f071b",
+ "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": 2437.8888397216797,
+ "y": 703.3332843780518,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2172e92c.2bb7a6",
+ "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": 2433.8895950317383,
+ "y": 781.3229923248291,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd2e3271.2ab31",
+ "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": 2419.8893508911133,
+ "y": 836.646032333374,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4939df4b.81aa3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3545,
+ "y": 2006.5554428100586,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "c3225e8e.a8c0f"
+ ]
+ ]
+ },
+ {
+ "id": "c3225e8e.a8c0f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3711.6665115356445,
+ "y": 2016.2221221923828,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "f87e7389.9784a",
+ "ff9432eb.2057f"
+ ]
+ ]
+ },
+ {
+ "id": "ff9432eb.2057f",
+ "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": 3892.333511352539,
+ "y": 1987.6664142608643,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "f87e7389.9784a",
+ "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": 3911.333351135254,
+ "y": 2042.555417060852,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "90d9112e.d5cdf",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3546.8180351257324,
+ "y": 2143.1311712265015,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "18f212e1.91964d"
+ ]
+ ]
+ },
+ {
+ "id": "18f212e1.91964d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3734.8178787231445,
+ "y": 2128.1313123703003,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "396ba563.4859ca"
+ ]
+ ]
+ },
+ {
+ "id": "396ba563.4859ca",
+ "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": 3920.151382446289,
+ "y": 2106.1315155029297,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8429e54b.dc5a28",
+ "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": 3360.5322265625,
+ "y": 1951.8493860960007,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db83a8cd.a7e918",
+ "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": 3335.5322189331055,
+ "y": 2000.1830463409424,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "707fba60.3b30b4",
+ "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": 3302.3320236206055,
+ "y": 2104.982894897461,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "4939df4b.81aa3",
+ "90d9112e.d5cdf"
+ ]
+ ]
+ },
+ {
+ "id": "9be28260.a1a7a",
+ "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": 3280.1721954345703,
+ "y": 2052.8990716934204,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a2cf544.19442c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3062.2223205566406,
+ "y": 2010.3334369659424,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "36fdbbb1.627594",
+ "8429e54b.dc5a28",
+ "db83a8cd.a7e918",
+ "9be28260.a1a7a",
+ "707fba60.3b30b4"
+ ]
+ ]
+ },
+ {
+ "id": "7791894d.479ba8",
+ "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=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3580.8889770507812,
+ "y": 1217.6666278839111,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "597e0eca.2d59f",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2934.2224082946777,
+ "y": 1126.7779941558838,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "fae83536.2ee118"
+ ]
+ ]
+ },
+ {
+ "id": "6a55128a.0aafbc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3831.5551528930664,
+ "y": 1322.888656616211,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "34abfa0f.cd5386"
+ ]
+ ]
+ },
+ {
+ "id": "34abfa0f.cd5386",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3998.221664428711,
+ "y": 1332.5553359985352,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "9c7d15fc.305158",
+ "5530b818.47cf08"
+ ]
+ ]
+ },
+ {
+ "id": "5530b818.47cf08",
+ "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": 4178.8886642456055,
+ "y": 1303.9996280670166,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "9c7d15fc.305158",
+ "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": 4197.88850402832,
+ "y": 1358.8886308670044,
+ "z": "53ac5fd0.5848d",
+ "wires": []
+ },
+ {
+ "id": "f95e6860.2de3a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3833.373188018799,
+ "y": 1459.4643850326538,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "e1494908.f2c328"
+ ]
+ ]
+ },
+ {
+ "id": "e1494908.f2c328",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4021.373031616211,
+ "y": 1444.4645261764526,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "db563586.a6db78"
+ ]
+ ]
+ },
+ {
+ "id": "db563586.a6db78",
+ "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": 4206.7065353393555,
+ "y": 1422.464729309082,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f3e942b.14ac9c",
+ "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": 3647.0873794555664,
+ "y": 1268.182599902153,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b369408e.4fccf",
+ "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": 3622.087371826172,
+ "y": 1316.5162601470947,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efeff4e7.80ec88",
+ "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": 3588.887176513672,
+ "y": 1421.3161087036133,
+ "z": "53ac5fd0.5848d",
+ "wires": [
+ [
+ "6a55128a.0aafbc",
+ "f95e6860.2de3a8"
+ ]
+ ]
+ },
+ {
+ "id": "8e1315a5.9d0c48",
+ "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": 3566.7273483276367,
+ "y": 1369.2322854995728,
+ "z": "53ac5fd0.5848d",