-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request a batch of status messages #21
Comments
This would allow a client to display for the user a dashboard of running workflows (retrieving, say, a page at a time rather than making a new request for each row of the table). |
Couldn't this be achieved using the ListWorkflows endpoint with filtering? |
@adamstruck yes! One way to close this would be to add a parameter |
Yes, that is a good point. @david4096 also makes a good suggestion to determine the subset by passing a list of IDs. This relieves the WES implementation from having to implement filtering, sorting, etc. Please also see #23 which requests richer status than just a "state" string, (percent complete or other progress information). To me ideally the ListWorkflows would accept a list of IDs and return a list of maps (sets of key-value pairs) containing status metadata for the workflow. It seems to me that we would also need an endpoint to POST status information, that endpoint callable by the workflow itself. |
Thanks @brucehoff , to actually close this, one would need to get the workflow logs using a filtered list, not just the list of workflows. |
Pinging @vsmalladi and @patmagee - this is coming up as a would-be-useful feature for us too (updating CBAS to monitor run statuses in batches). I imagine that having some way to filter results would be useful for anyone who ends up with more than a handful of runs to query against in their engine. Would it be worthwhile me making an implementation PR to modify |
@cjllanwarne I think its worth making the PR and then discussing where there might be issues. |
@cjllanwarne I agree, if you have the bandwidth could you add a PR for discussion? |
For reference, there is a PR for filtering list outputs in TES as well: ga4gh/task-execution-schemas#170 |
Paraphrased from Bruce Hoff bruce.hoff@sagebase.org:
I would like a request that allows me to return a list of status messages for each ID requested, instead of performing get requests for each workflow being tracked.
The text was updated successfully, but these errors were encountered: