Provide a way to change the contextBpmRoot from the app.config file (#3144)

This commit is contained in:
Maurizio Vitale
2018-04-05 14:13:28 +01:00
committed by Denys Vuika
parent c7507c0c31
commit 9792f83c9b
2 changed files with 3 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
"$schema": "../../lib/core/app-config/schema.json",
"ecmHost": "http://{hostname}:{port}",
"bpmHost": "http://{hostname}:{port}",
"contextRootBpm": "activiti-app",
"application": {
"name": "Alfresco ADF Application"
},

View File

@@ -95,7 +95,8 @@ export class AlfrescoApiService {
ticketBpm: this.storage.getItem('ticket-BPM'),
hostEcm: this.appConfig.get<string>('ecmHost'),
hostBpm: this.appConfig.get<string>('bpmHost'),
contextRoot: 'alfresco',
contextRootBpm: this.appConfig.get<string>('contextRootBpm'),
contextRoot: this.appConfig.get<string>('contextRootEcm'),
disableCsrf: this.storage.getItem('DISABLE_CSRF') === 'true',
oauth2: this.appConfig.get<any>('oauth2')
});