X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=dashboard%2Fwebapp-frontend%2Fsrc%2Fapp%2Fservices%2Fapp-mgr%2Fapp-mgr.service.ts;fp=dashboard%2Fwebapp-frontend%2Fsrc%2Fapp%2Fservices%2Fapp-mgr%2Fapp-mgr.service.ts;h=e280e7f02470d5283a4089ea05a07038c9f2d56b;hb=8139455dc6a9db3958ececed5a54f5dc3541d429;hp=bddf690c073349277873d71f3de376f32b21a946;hpb=5447254cb207353b33e6a444cce8a7fd84cfd34a;p=portal%2Fric-dashboard.git diff --git a/dashboard/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts b/dashboard/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts index bddf690c..e280e7f0 100644 --- a/dashboard/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts +++ b/dashboard/webapp-frontend/src/app/services/app-mgr/app-mgr.service.ts @@ -57,10 +57,10 @@ export class AppMgrService { getConfig(instanceKey: string): Observable { // For demo purpose, pull example config from local - return this.httpClient.get('/assets/mockdata/config.json'); + //return this.httpClient.get('/assets/mockdata/config.json'); // Once Xapp manager contains layout, should call backend to get xapp config - // const path = this.dashboardSvc.buildPath(this.component, instanceKey, 'config'); - // return this.httpClient.get(path); + const path = this.dashboardSvc.buildPath(this.component, instanceKey, 'config'); + return this.httpClient.get(path); } putConfig(instanceKey: string, config: XMXappConfig): Observable> {