- @ApiOperation(value = "Query NCRT of a single serving cell", response = NeighborCellRelationTable.class)
- @RequestMapping(value = "/cell/" + CELL_ID + "/{" + CELL_ID + "}", method = RequestMethod.GET)
- public NeighborCellRelationTable queryNcrtServingCell(@PathVariable(CELL_ID) String cellIdentifier, //
- @RequestParam(name = START_INDEX, required = false) String startIndex, //
- @RequestParam(name = LIMIT, required = false) Integer limit,
- @RequestParam(name = NRPCI, required = false) String nrpci,
- @RequestParam(name = NRCGI, required = false) String nrcgi) {
- logger.debug("queryNcrtAllCells: cellIdentifier {}, startIndex {} limit {} nrpci {} nrcgi {}", cellIdentifier,
- startIndex, limit, nrpci, nrcgi);
- return ncrtApi.getCellNcrtInfo(cellIdentifier, startIndex, limit, nrpci, nrcgi);
+ @ApiOperation(value = "Returns neighbor cell relation table for all gNodeBs or based on query parameters", response = NeighborCellRelationTable.class)
+ @RequestMapping(value = "/ncrt", method = RequestMethod.GET)
+ public NeighborCellRelationTable getNcrtInfo( //
+ @RequestParam(name = QP_NODEB, required = false) String ggnbId, //
+ @RequestParam(name = QP_SERVING, required = false) String servingCellNrcgi, //
+ @RequestParam(name = QP_NEIGHBOR, required = false) String neighborCellNrpci) {
+ logger.debug("getNcrtInfo: ggnbid {}, servingCellNrpci {} neighborCellNrcgi {}", ggnbId, servingCellNrcgi,
+ neighborCellNrpci);
+ return ncrtApi.getNcrtInfo(ggnbId, servingCellNrcgi, neighborCellNrpci);