feat: add view scheduler job history component (#676)

Fixes: #675
This commit is contained in:
Benura Abeywardena
2020-08-24 11:39:25 +05:30
committed by GitHub
parent 755e079f28
commit 2f654ef664
14 changed files with 327 additions and 7 deletions
+8
View File
@@ -252,6 +252,14 @@ export class SystemService {
return this.http.put(`/jobs/${jobId}`, job);
}
/*
* @param jobId Job Id to view the history.
* @returns {Observable<any>} Fetches History of the Job.
*/
getHistoryScheduler(jobId: string): Observable<any> {
return this.http.get(`/jobs/${jobId}/runhistory`);
}
/**
* @param {any} code Code to be created.
* @returns {Observable<any>}