Code Review
/
portal
/
ric-dashboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
add xapp deploy dialog, call backend api
[portal/ric-dashboard.git]
/
webapp-frontend
/
src
/
app
/
services
/
catalog
/
catalog.service.ts
diff --git
a/webapp-frontend/src/app/services/catalog/catalog.service.ts
b/webapp-frontend/src/app/services/catalog/catalog.service.ts
index
95b8662
..
a67e98a
100644
(file)
--- a/
webapp-frontend/src/app/services/catalog/catalog.service.ts
+++ b/
webapp-frontend/src/app/services/catalog/catalog.service.ts
@@
-30,5
+30,14
@@
export class CatalogService {
getAll() {
return this.http.get('api/xappmgr/xapps');
}
getAll() {
return this.http.get('api/xappmgr/xapps');
}
+
+ deployXapp(name) {
+ console.log(name);
+ return this.http.post('api/xappmgr/xapps',
+ {
+ "xAppName": "string",
+ "xappName": name
+ });
+ }
}
}