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
Update ANR API to version 0.0.5
[portal/ric-dashboard.git]
/
webapp-frontend
/
src
/
app
/
services
/
signal
/
signal.service.ts
diff --git
a/webapp-frontend/src/app/services/signal/signal.service.ts
b/webapp-frontend/src/app/services/signal/signal.service.ts
index
4b1024a
..
45a4dc8
100644
(file)
--- a/
webapp-frontend/src/app/services/signal/signal.service.ts
+++ b/
webapp-frontend/src/app/services/signal/signal.service.ts
@@
-19,24
+19,24
@@
*/
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
*/
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
-import { Observable } from 'rxjs';
@Injectable()
export class SignalService {
@Injectable()
export class SignalService {
- constructor(private http: HttpClient) {
+ constructor(private httpClient: HttpClient) {
+ // injects to variable httpClient
}
getAll() {
}
getAll() {
- return this.http.get('api/e2mgr/setup');
+ return this.http
Client
.get('api/e2mgr/setup');
}
x2Setup(req) {
}
x2Setup(req) {
- return this.http.post('api/e2mgr/x2Setup', req);
+ return this.http
Client
.post('api/e2mgr/x2Setup', req);
}
endcSetup(req) {
}
endcSetup(req) {
- return this.http.post('api/e2mgr/endcSetup', req);
+ return this.http
Client
.post('api/e2mgr/endcSetup', req);
}
}
}
}