#1370 Remove use of AlfrescoSettingsService

This commit is contained in:
mauriziovitale84
2017-01-04 13:30:43 +00:00
parent 61b94488d8
commit 58af422d62
27 changed files with 62 additions and 62 deletions

View File

@@ -25,11 +25,11 @@ export class DiagramsService {
constructor(private authService: AuthService,
private http: Http,
private alfrescoSettingsService: SettingsService) {
private settingsService: SettingsService) {
}
getProcessDefinitionModel(processDefinitionId: string): Observable<any> {
let url = `${this.alfrescoSettingsService.getBPMApiBaseUrl()}/app/rest/process-definitions/${processDefinitionId}/model-json`;
let url = `${this.settingsService.getBPMApiBaseUrl()}/app/rest/process-definitions/${processDefinitionId}/model-json`;
let options = this.getRequestOptions();
return this.http
.get(url, options)