/*-
* ========================LICENSE_START=================================
- * ORAN-OSC
+ * O-RAN-SC
* %%
* Copyright (C) 2019 AT&T Intellectual Property and Nokia
* %%
@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' });
+ }
+
}