diff options
Diffstat (limited to 'components/datalake-handler/admin/src/src/app/core/services/rest-api.service.ts')
-rw-r--r-- | components/datalake-handler/admin/src/src/app/core/services/rest-api.service.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/components/datalake-handler/admin/src/src/app/core/services/rest-api.service.ts b/components/datalake-handler/admin/src/src/app/core/services/rest-api.service.ts index 97421e42..ec5e2dce 100644 --- a/components/datalake-handler/admin/src/src/app/core/services/rest-api.service.ts +++ b/components/datalake-handler/admin/src/src/app/core/services/rest-api.service.ts @@ -142,7 +142,7 @@ export class RestApiService { } /* - Database + Database and tools */ public getAllDbs(): Observable<Db[]> { return this.http @@ -150,6 +150,12 @@ export class RestApiService { .pipe(retry(1), catchError(this.handleError)); } + public getAllTools(): Observable<Db[]> { + return this.http + .get<Db[]>(prefix + "dbs/list?isDb=false") + .pipe(retry(1), catchError(this.handleError)); + } + public getDbTypes(): Observable<DbType[]> { return this.http .get<DbType[]>(prefix + "dbs/dbtypes") |