X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fapp-mgr%2Fapp-mgr.service.ts;fp=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fapp-mgr%2Fapp-mgr.service.ts;h=33dd1cb6829a6f7da5e01e1f18262e89a3635c32;hb=52b5162f9ca85034e0def247f4a4e5c1bda85191;hp=13df94c24336376a844e09c0923db3ba026bb265;hpb=bf91f764c67001c4cad28075a38fd9196744c041;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts b/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts index 13df94c2..33dd1cb6 100644 --- a/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts +++ b/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts @@ -48,4 +48,14 @@ export class AppMgrService { return this.httpClient.delete((this.basePath + '/' + name), { observe: 'response' }); } + getConfig(): Observable{ + return this.httpClient.get("/assets/mockdata/config.json"); + //return this.httpClient.get((this.basePath + '/config')); + } + + putConfig(config: any): Observable> { + return this.httpClient.post((this.basePath + '/config' ), config, { observe: 'response' }); + } + + }