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
Merge "Upgrade Angular and Spring-Boot"
[portal/ric-dashboard.git]
/
webapp-frontend
/
src
/
app
/
services
/
e2-mgr
/
e2-mgr.service.ts
diff --git
a/webapp-frontend/src/app/services/e2-mgr/e2-mgr.service.ts
b/webapp-frontend/src/app/services/e2-mgr/e2-mgr.service.ts
index
1c1a534
..
55fd9d5
100644
(file)
--- a/
webapp-frontend/src/app/services/e2-mgr/e2-mgr.service.ts
+++ b/
webapp-frontend/src/app/services/e2-mgr/e2-mgr.service.ts
@@
-21,7
+21,10
@@
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { E2SetupRequest } from '../../interfaces/e2-mgr.types';
import { HttpClient } from '@angular/common/http';
import { E2SetupRequest } from '../../interfaces/e2-mgr.types';
-@Injectable()
+@Injectable({
+ providedIn: 'root'
+})
+
export class E2ManagerService {
private basePath = 'api/e2mgr/';
export class E2ManagerService {
private basePath = 'api/e2mgr/';
@@
-62,4
+65,12
@@
export class E2ManagerService {
return this.httpClient.post(this.basePath + 'x2Setup', req);
}
return this.httpClient.post(this.basePath + 'x2Setup', req);
}
+ /**
+ * Sends a request to drop all RAN connections
+ * @returns Observable
+ */
+ nodebDelete() {
+ return this.httpClient.delete((this.basePath + 'nodeb'), { observe: 'response' });
+ }
+
}
}