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

Prototype mirroring of a single HCA file #6857

Open
hannes-ucsc opened this issue Jan 28, 2025 · 1 comment
Open

Prototype mirroring of a single HCA file #6857

hannes-ucsc opened this issue Jan 28, 2025 · 1 comment
Assignees
Labels
+ [priority] High code [subject] Production code demo [process] To be demonstrated at the end of the sprint orange [process] Done by the Azul team task [type] Resolution requires engineering action other than code changes

Comments

@hannes-ucsc
Copy link
Member

hannes-ucsc commented Jan 28, 2025

This is to get our feet wet with the epic and to quickly identify potential technological obstacles to our implementation.

Write a script that, given the name of a catalog and the ID of a file in that catalog (same parameters as the /repository/files endpoint), copies that file from TDR to the storage bucket of the current deployment (via multi-part upload), signs a URL to that file and prints the URL. The signed URL should bake in the Content-Type (using the file's content-type) and Content-Disposition (using the file's name) headers for the response.

@github-actions github-actions bot added the orange [process] Done by the Azul team label Jan 28, 2025
@achave11-ucsc achave11-ucsc added task [type] Resolution requires engineering action other than code changes code [subject] Production code + [priority] High labels Jan 28, 2025
@hannes-ucsc
Copy link
Member Author

hannes-ucsc commented Feb 4, 2025

For demo, invoke the script to mirror a sequence file. Download the file using the resulting signed URL and show that the file is complete and valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
+ [priority] High code [subject] Production code demo [process] To be demonstrated at the end of the sprint orange [process] Done by the Azul team task [type] Resolution requires engineering action other than code changes
Projects
None yet
Development

No branches or pull requests

3 participants