Background
...
The queue's Application are responsible to check for cancelRequested value and update SubmissionStatus appropriately.
Queryable Annotations
Both canCancel and cancelRequested will be added to the list of Queryable Annotations. We will also add Cancel Control object to this lis.
CancelControl |
---|
submissionId : String |
canCancel : Boolean |
userId : String |
Service Layer
Add a new boolean field to submission status called 'cancelRequested'.
...
Add a leaderboard widget, including an executionStatus column. The query should use 'where userId==@CURRENT_USER' to show just the submitter's jobs.
Choose the 'stop button' renderer for this column.
...