import { Injectable } from "@angular/core"; import { BaseService } from "@common/base/base.service"; import { Observable } from "rxjs"; import { ConfigurationService } from "../configuration/configuration.service"; import { BaseHttpService } from "../http/base-http.service"; @Injectable() export class MaintenanceTasksService extends BaseService { private actionUrl: string; constructor(private http: BaseHttpService, configurationService: ConfigurationService) { super(); this.actionUrl = configurationService.server + 'management/'; } migrateSchematics(): Observable { return this.http.post(this.actionUrl + 'addSchematics/', null); } }