X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fanr-xapp%2Fanr-xapp.service.ts;h=c789261e6b649700b381518e0484428a4238d29a;hb=fa50e55b6e8977ad0a6a28096fe58fb54924ca2b;hp=759ad7e7ea50ba01eea73595995747194bfb0b80;hpb=4d3a7c62ddcab6abc5ca45e6cabc90258025a768;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/services/anr-xapp/anr-xapp.service.ts b/webapp-frontend/src/app/services/anr-xapp/anr-xapp.service.ts index 759ad7e7..c789261e 100644 --- a/webapp-frontend/src/app/services/anr-xapp/anr-xapp.service.ts +++ b/webapp-frontend/src/app/services/anr-xapp/anr-xapp.service.ts @@ -95,7 +95,7 @@ export class ANRXappService { * @param ggnbId Optional parameter for the gNB ID * @param servingCellNrcgi Serving cell NRCGI * @param neighborCellNrpci Neighbor cell NRPCI - * @returns Neighbor cell relation table, which wraps an array + * @returns Observable of ANR neighbor cell relation array */ getNcrtInfo(ggnodeb: string = '', servingCellNrcgi: string = '', neighborCellNrpci: string = ''): Observable { const url = this.buildPath(this.ncrtPath); @@ -115,9 +115,9 @@ export class ANRXappService { * @param servingCellNrcgi Serving cell NRCGI * @param neighborCellNrpci Neighbor cell NRPCI * @param mod Values to store in the specified relation - * @returns Response code only, no data + * @returns Observable that yields a response code only, no data */ - modifyNcr(servingCellNrcgi: string, neighborCellNrpci: string, mod: ANRNeighborCellRelationMod): Observable { + modifyNcr(servingCellNrcgi: string, neighborCellNrpci: string, mod: ANRNeighborCellRelationMod): Observable { const url = this.buildPath(this.ncrtPath, this.servingPath, servingCellNrcgi, this.neighborPath, neighborCellNrpci); return this.httpClient.put(url, mod, { observe: 'response' }); } @@ -126,9 +126,9 @@ export class ANRXappService { * Deletes neighbor cell relation based on Serving Cell NRCGI and Neighbor Cell NRPCI * @param servingCellNrcgi Serving cell NRCGI * @param neighborCellNrpci Neighbor cell NRPCI - * @returns Response code only, no data + * @returns Observable that yields a response code only, no data */ - deleteNcr(servingCellNrcgi: string, neighborCellNrpci: string): Observable { + deleteNcr(servingCellNrcgi: string, neighborCellNrpci: string): Observable { const url = this.buildPath(this.ncrtPath, this.servingPath, servingCellNrcgi, this.neighborPath, neighborCellNrpci); return this.httpClient.delete(url, { observe: 'response' }); }