Add undeploy xApp function
[portal/ric-dashboard.git] / webapp-frontend / src / app / services / control / control.service.ts
index 1a1dc22..41819c4 100644 (file)
@@ -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) {