Merge "Fixed IP validation RANConnect"
[portal/ric-dashboard.git] / webapp-frontend / src / app / services / catalog / catalog.service.ts
index a5b2f9a..f412a4e 100644 (file)
@@ -23,7 +23,7 @@ import { Observable } from 'rxjs';
 
 @Injectable()
 export class CatalogService {
-  
+
   constructor(private http: HttpClient) {
   }
 
@@ -31,13 +31,12 @@ export class CatalogService {
     return this.http.get('api/xappmgr/xapps');
   }
 
-    deployXapp(name) {
-        console.log(name);
-        return this.http.post('api/xappmgr/xapps',
-            {
-                "xAppName": "string",
-                "xappName": name
-            });
-    }
-    
+  deployXapp(name) {
+    return this.http.post('api/xappmgr/xapps',
+      {
+        "xAppName": name
+      }
+      , { observe: 'response' });
+  }
+
 }