Code Review
/
portal
/
ric-dashboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add AC xApp control screen
[portal/ric-dashboard.git]
/
webapp-frontend
/
src
/
app
/
services
/
anr-xapp
/
anr-xapp.service.ts
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
a2dfb75
..
759ad7e
100644
(file)
--- a/
webapp-frontend/src/app/services/anr-xapp/anr-xapp.service.ts
+++ b/
webapp-frontend/src/app/services/anr-xapp/anr-xapp.service.ts
@@
-50,7
+50,7
@@
export class ANRXappService {
/**
* Gets ANR xApp client version details
/**
* 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');
*/
getVersion(): Observable<string> {
const url = this.buildPath('version');
@@
-66,7
+66,7
@@
export class ANRXappService {
*/
getHealthAlive(): Observable<any> {
const url = this.buildPath('health/alive');
*/
getHealthAlive(): Observable<any> {
const url = this.buildPath('health/alive');
- return this.httpClient.get(url);
+ return this.httpClient.get(url
, { observe: 'response' }
);
}
/**
}
/**
@@
-75,13
+75,13
@@
export class ANRXappService {
*/
getHealthReady(): Observable<any> {
const url = this.buildPath('health/ready');
*/
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 detail
s
- * @returns Observable that should yield a DashboardSuccessTransport
-
*/
+/**
+
* Gets array of gNodeB ID
s
+ * @returns Observable that should yield a string array
+ */
getgNodeBs(): Observable<string[]> {
const url = this.buildPath('gnodebs');
return this.httpClient.get<string[]>(url).pipe(
getgNodeBs(): Observable<string[]> {
const url = this.buildPath('gnodebs');
return this.httpClient.get<string[]>(url).pipe(