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

filemanager: implement a querying Lambda function #110

Closed
mmalenic opened this issue Feb 21, 2024 · 2 comments · Fixed by #372
Closed

filemanager: implement a querying Lambda function #110

mmalenic opened this issue Feb 21, 2024 · 2 comments · Fixed by #372
Assignees
Labels
feature New feature filemanager an issue relating to the filemanager

Comments

@mmalenic
Copy link
Member

In order to support #109, another Lambda function should be written which processes API gateway requests for querying the database. Some initial query parameters could be supported, e.g. /objects?key=...&bucket=..., or we could have some sort of filter query parameter, e.g. /objects?filter=bucket:bucket-name.

@mmalenic mmalenic added filemanager an issue relating to the filemanager feature New feature labels Feb 21, 2024
@mmalenic
Copy link
Member Author

mmalenic commented Feb 21, 2024

If using a filter parameter, we could take inspiration from something like this: https://google.aip.dev/160.

@reisingerf
Copy link
Member

Possible initial query use cases as discussed on Slack:

  • find all FASTQs (by suffix for now)
  • find all files given a portal run id (or more general a path fragment)

Perhaps even combine queries, e.g.

  • find VCF, TSV, JSON files for a given portal run id
  • find FASTQs created within a given timeframe
  • find FASTQs smaller than 10MB
  • list FASTQs in archive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature filemanager an issue relating to the filemanager
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants