From 186032afb47eb9c6d0782503ee61cfe8fc8f038a Mon Sep 17 00:00:00 2001 From: mauriziovitale84 Date: Fri, 29 Jul 2016 14:09:57 +0100 Subject: [PATCH] Fixed BPM path to using the real API --- .../src/services/AlfrescoSettingsService.service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ng2-components/ng2-alfresco-core/src/services/AlfrescoSettingsService.service.ts b/ng2-components/ng2-alfresco-core/src/services/AlfrescoSettingsService.service.ts index 918734a735..d606e8c27a 100644 --- a/ng2-components/ng2-alfresco-core/src/services/AlfrescoSettingsService.service.ts +++ b/ng2-components/ng2-alfresco-core/src/services/AlfrescoSettingsService.service.ts @@ -27,7 +27,6 @@ export class AlfrescoSettingsService { static DEFAULT_BPM_CONTEXT_PATH: string = '/activiti-app'; static DEFAULT_ECM_BASE_API_PATH: string = '/api/-default-/public/alfresco/versions/1'; - static DEFAULT_BPM_BASE_API_PATH: string = '/app'; private _ecmHost: string = AlfrescoSettingsService.DEFAULT_ECM_ADDRESS; private _bpmHost: string = AlfrescoSettingsService.DEFAULT_BPM_ADDRESS; @@ -36,7 +35,6 @@ export class AlfrescoSettingsService { private _bpmContextPath = AlfrescoSettingsService.DEFAULT_BPM_CONTEXT_PATH; private _apiECMBasePath: string = AlfrescoSettingsService.DEFAULT_ECM_BASE_API_PATH; - private _apiBPMBasePath: string = AlfrescoSettingsService.DEFAULT_BPM_BASE_API_PATH; private providers: string[] = ['ECM', 'BPM']; @@ -57,7 +55,7 @@ export class AlfrescoSettingsService { } public getBPMApiBaseUrl(): string { - return this._bpmHost + this._bpmContextPath + this._apiBPMBasePath; + return this._bpmHost + this._bpmContextPath; } public getECMApiBaseUrl(): string {