/**
* Gets ANR xApp client version details
- * @returns Observable that should yield a DashboardSuccessTransport
+ * @returns Observable that should yield a String
*/
getVersion(): Observable<string> {
const url = this.buildPath('version');
*/
getHealthAlive(): Observable<any> {
const url = this.buildPath('health/alive');
- return this.httpClient.get(url);
+ return this.httpClient.get(url, { observe: 'response' });
}
/**
*/
getHealthReady(): Observable<any> {
const url = this.buildPath('health/ready');
- return this.httpClient.get(url);
+ return this.httpClient.get(url, { observe: 'response' });
}
- /**
- * Gets ANR xApp client version details
- * @returns Observable that should yield a DashboardSuccessTransport
- */
+/**
+ * Gets array of gNodeB IDs
+ * @returns Observable that should yield a string array
+ */
getgNodeBs(): Observable<string[]> {
const url = this.buildPath('gnodebs');
return this.httpClient.get<string[]>(url).pipe(