X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fapp-mgr%2Fapp-mgr.service.ts;h=33dd1cb6829a6f7da5e01e1f18262e89a3635c32;hb=refs%2Fchanges%2F47%2F647%2F12;hp=13df94c24336376a844e09c0923db3ba026bb265;hpb=fa50e55b6e8977ad0a6a28096fe58fb54924ca2b;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' }); + } + + }