Skip to content
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

DM-48552: Remove requestPath from job Filtering - Allows synchronous queries to show up under uws job list #122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stvoutsin
Copy link
Member

Summary

We want both sync and async queries to appear in the UWS async job list. Our interpretation of the IVOA spec seems to allow this if in the back end we are running synchronous queries as jobs as well. In some ways we are so I think we are ok to do this. More importantly this aligns with the functionality we want for query history, where Firefly and other clients will be able to get a user's query history from the UWS job list, regardless of if the job was run sync or async.

Fix

The fix implemented here was to remove the requestPath that normally get's used by the TAP service to filter out jobs. So until now, the jobs are filtered with something like requestPath="tap/async" so we just set this to null to remove this filter all together.

How was this tested?

Tests were done manually. I created a sync job, and then checked the job lists (using LAST=1) and made sure the last job that appears was infact the sync job I just ran

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant