Merge "Fixed IP validation RANConnect"
[portal/ric-dashboard.git] / webapp-frontend / src / app / services / catalog / catalog.service.ts
index 95b8662..f412a4e 100644 (file)
@@ -1,6 +1,6 @@
 /*-
  * ========================LICENSE_START=================================
- * ORAN-OSC
+ * O-RAN-SC
  * %%
  * Copyright (C) 2019 AT&T Intellectual Property and Nokia
  * %%
@@ -23,12 +23,20 @@ import { Observable } from 'rxjs';
 
 @Injectable()
 export class CatalogService {
-  
+
   constructor(private http: HttpClient) {
   }
 
   getAll() {
     return this.http.get('api/xappmgr/xapps');
   }
-    
+
+  deployXapp(name) {
+    return this.http.post('api/xappmgr/xapps',
+      {
+        "xAppName": name
+      }
+      , { observe: 'response' });
+  }
+
 }