add xapp deploy dialog, call backend api
[portal/ric-dashboard.git] / webapp-frontend / src / app / services / catalog / catalog.service.ts
index 95b8662..a67e98a 100644 (file)
@@ -30,5 +30,14 @@ export class CatalogService {
   getAll() {
     return this.http.get('api/xappmgr/xapps');
   }
+
+    deployXapp(name) {
+        console.log(name);
+        return this.http.post('api/xappmgr/xapps',
+            {
+                "xAppName": "string",
+                "xappName": name
+            });
+    }
     
 }