Allow add new Job step to Workflow Jobs
This commit is contained in:
committed by
Arnold Gálovics
parent
1a18759c2f
commit
11b1e6793b
@@ -262,12 +262,19 @@ export class SystemService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Observable<any>} Fetches Jobs.
|
||||
* @returns {Observable<any>} Updates Jobs.
|
||||
*/
|
||||
putWorkflowJobSteps(jobName: String, payload: any): Observable<any> {
|
||||
return this.http.put(`/jobs/${jobName}/steps`, payload);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Observable<any>} Fetches Steps.
|
||||
*/
|
||||
getAvailablesJobSteps(jobCategory: String): Observable<any> {
|
||||
return this.http.get(`/jobs/${jobCategory}/available-steps`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Observable<any>} Fetches Scheduler.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user