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 undeploy xApp function
[portal/ric-dashboard.git]
/
webapp-frontend
/
src
/
app
/
services
/
control
/
control.service.ts
diff --git
a/webapp-frontend/src/app/services/control/control.service.ts
b/webapp-frontend/src/app/services/control/control.service.ts
index
1a1dc22
..
41819c4
100644
(file)
--- a/
webapp-frontend/src/app/services/control/control.service.ts
+++ b/
webapp-frontend/src/app/services/control/control.service.ts
@@
-35,6
+35,10
@@
export class ControlService {
}
+ undeployxApp(xapp) {
+ return this.http.delete(('api/xappmgr/xapps/' + xapp),{ observe: 'response' })
+ }
+
fetchInstance(allxappdata) {
var xAppInstances = []
for (const xappindex in allxappdata) {