InformaticsMatters / portal

lac portal
Apache License 2.0
0 stars 0 forks source link

Add ability to terminate a job #16

Open tdudgeon opened 8 years ago

tdudgeon commented 8 years ago

Jobs sometime hang and never complete. This results in the portal app continually polling for the job status. When this happens it will be useful for the user to be able to terminate the job. The JobStatusClient supports this using this method: updateStatus(String id, JobStatus.Status status, String event) The status should be JobStatus.Status.CANCELLED and the event "Job cancelled by user". For long running jobs this would allow them to actually be halted. But in all cases it would allow the portal to stop refreshing and for the cell to be re-executed.

Probably best if this option was available directly from the clock icon in the cell header?