+ "x": 935.75,
+ "y": 35.99999713897705,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "34629ea.5895d62",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.predictedMaxNumberofConns`'/>\n",
+ "comments": "",
+ "x": 1757.0000915527344,
+ "y": 1559.0001287460327,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "a8d5a9ac.730108",
+ "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.4997863769531,
+ "y": 1603.2224187850952,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c4b8c70.1468",
+ "type": "execute",
+ "name": "Update cellCU in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateCellCU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateCellCU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"update-nrCellCU-configdb-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": 1799.2776222229004,
+ "y": 1670.305549621582,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "1be8565f.d0eb8a",
+ "c21a1a8b.b0ecb8"
+ ]
+ ]
+ },
+ {
+ "id": "1be8565f.d0eb8a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2070.7221870422363,
+ "y": 1689.0835781097412,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "b2438ed7.b11a"
+ ]
+ ]
+ },
+ {
+ "id": "c21a1a8b.b0ecb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2067.278232574463,
+ "y": 1739.3057317733765,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "33cade2c.41ecc2"
+ ]
+ ]
+ },
+ {
+ "id": "b2438ed7.b11a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232.2776832580566,
+ "y": 1675.3054876327515,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "ef477f6f.e72e4",
+ "eaefe735.81a6e8",
+ "bf48a70f.d59638"
+ ]
+ ]
+ },
+ {
+ "id": "eaefe735.81a6e8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2429.388645172119,
+ "y": 1625.9722356796265,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "ef477f6f.e72e4",
+ "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 NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2414.6106910705566,
+ "y": 1676.7500066757202,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "c9376999.76aee8",
+ "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2360.3891944885254,
+ "y": 1760.5283269882202,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33cade2c.41ecc2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2205.722137451172,
+ "y": 1746.8611516952515,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "c9376999.76aee8"
+ ]
+ ]
+ },
+ {
+ "id": "e31c9ea.89d486",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1566.25,
+ "y": 1601.000023841858,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "34629ea.5895d62",
+ "a8d5a9ac.730108",
+ "9c4b8c70.1468"
+ ]
+ ]
+ },
+ {
+ "id": "deb0e7c6.b92d08",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 494,
+ "y": 1600.000023841858,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "692a2173.eda43",
+ "a1fa482d.1fb048"
+ ]
+ ]
+ },
+ {
+ "id": "692a2173.eda43",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.0000534057617,
+ "y": 1570.0000047683716,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "aadf185.f14b3e8"
+ ]
+ ]
+ },
+ {
+ "id": "a1fa482d.1fb048",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 692.9999656677246,
+ "y": 1608.9999688863754,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "75c63bbd.ade934"
+ ]
+ ]
+ },
+ {
+ "id": "aadf185.f14b3e8",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 852.9999809265137,
+ "y": 1560.0002435445786,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "75c63bbd.ade934",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 853.9999656677246,
+ "y": 1603.9999688863754,
+ "z": "87f870d4.48ff2",