This is an automated email from the ASF dual-hosted git repository. ankovalyshyn pushed a commit to branch project_grid in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit d8898c1ef76a3762094fee149550d4e905ea44b7 Author: Andriana Kovalyshyn <andriana_kovalys...@epam.com> AuthorDate: Thu May 23 17:05:36 2019 +0300 endpoint.service methods added --- .../src/app/core/services/applicationServiceFacade.service.ts | 7 +++++++ .../src/main/resources/webapp/src/app/core/services/index.ts | 1 + 2 files changed, 8 insertions(+) diff --git a/services/self-service/src/main/resources/webapp/src/app/core/services/applicationServiceFacade.service.ts b/services/self-service/src/main/resources/webapp/src/app/core/services/applicationServiceFacade.service.ts index 5085056..c9b176c 100644 --- a/services/self-service/src/main/resources/webapp/src/app/core/services/applicationServiceFacade.service.ts +++ b/services/self-service/src/main/resources/webapp/src/app/core/services/applicationServiceFacade.service.ts @@ -69,6 +69,7 @@ export class ApplicationServiceFacade { private static readonly DOWNLOAD_REPORT = 'download_report'; private static readonly SETTINGS = 'settings'; private static readonly PROJECT = 'project'; + private static readonly ENDPOINT = 'endpoint'; private accessTokenKey: string = 'access_token'; private requestRegistry: Dictionary<string>; @@ -532,6 +533,11 @@ export class ApplicationServiceFacade { this.requestRegistry.Item(ApplicationServiceFacade.PROJECT), null); } + public buildGetEndpointsData(): Observable<any> { + return this.buildRequest(RequestMethod.Get, + this.requestRegistry.Item(ApplicationServiceFacade.ENDPOINT), + null); + } private setupRegistry(): void { this.requestRegistry = new Dictionary<string>(); @@ -608,6 +614,7 @@ export class ApplicationServiceFacade { // project this.requestRegistry.Add(ApplicationServiceFacade.PROJECT, '/api/project'); + this.requestRegistry.Add(ApplicationServiceFacade.ENDPOINT, '/api/endpoint'); } private buildRequest(method: RequestMethod, url: string, body: any, opt?) { diff --git a/services/self-service/src/main/resources/webapp/src/app/core/services/index.ts b/services/self-service/src/main/resources/webapp/src/app/core/services/index.ts index 1bf598c..803fd9d 100644 --- a/services/self-service/src/main/resources/webapp/src/app/core/services/index.ts +++ b/services/self-service/src/main/resources/webapp/src/app/core/services/index.ts @@ -36,3 +36,4 @@ export * from './rolesManagement.service'; export * from './dataengineConfiguration.service'; export * from './storage.service'; export * from './project.service'; +export * from './endpoint.service'; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org