mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Fixed BPM path to using the real API
This commit is contained in:
parent
74c205ec11
commit
186032afb4
@ -27,7 +27,6 @@ export class AlfrescoSettingsService {
|
|||||||
static DEFAULT_BPM_CONTEXT_PATH: string = '/activiti-app';
|
static DEFAULT_BPM_CONTEXT_PATH: string = '/activiti-app';
|
||||||
|
|
||||||
static DEFAULT_ECM_BASE_API_PATH: string = '/api/-default-/public/alfresco/versions/1';
|
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 _ecmHost: string = AlfrescoSettingsService.DEFAULT_ECM_ADDRESS;
|
||||||
private _bpmHost: string = AlfrescoSettingsService.DEFAULT_BPM_ADDRESS;
|
private _bpmHost: string = AlfrescoSettingsService.DEFAULT_BPM_ADDRESS;
|
||||||
@ -36,7 +35,6 @@ export class AlfrescoSettingsService {
|
|||||||
private _bpmContextPath = AlfrescoSettingsService.DEFAULT_BPM_CONTEXT_PATH;
|
private _bpmContextPath = AlfrescoSettingsService.DEFAULT_BPM_CONTEXT_PATH;
|
||||||
|
|
||||||
private _apiECMBasePath: string = AlfrescoSettingsService.DEFAULT_ECM_BASE_API_PATH;
|
private _apiECMBasePath: string = AlfrescoSettingsService.DEFAULT_ECM_BASE_API_PATH;
|
||||||
private _apiBPMBasePath: string = AlfrescoSettingsService.DEFAULT_BPM_BASE_API_PATH;
|
|
||||||
|
|
||||||
private providers: string[] = ['ECM', 'BPM'];
|
private providers: string[] = ['ECM', 'BPM'];
|
||||||
|
|
||||||
@ -57,7 +55,7 @@ export class AlfrescoSettingsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public getBPMApiBaseUrl(): string {
|
public getBPMApiBaseUrl(): string {
|
||||||
return this._bpmHost + this._bpmContextPath + this._apiBPMBasePath;
|
return this._bpmHost + this._bpmContextPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public getECMApiBaseUrl(): string {
|
public getECMApiBaseUrl(): string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user