/*-
* ========================LICENSE_START=================================
- * ORAN-OSC
+ * O-RAN-SC
* %%
* Copyright (C) 2019 AT&T Intellectual Property and Nokia
* %%
@Injectable()
export class CatalogService {
-
+
constructor(private http: HttpClient) {
}
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' });
+ }
+
}