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

Ingest from Slate-scratch #142

Open
ri-pandey opened this issue Jan 31, 2024 · 2 comments
Open

Ingest from Slate-scratch #142

ri-pandey opened this issue Jan 31, 2024 · 2 comments
Assignees
Labels
In Development Feature is in active development

Comments

@ri-pandey
Copy link
Contributor

This is a follow up of ticket #99. The intention is to enable the same upload functionality from Slate-Scratch.

@ri-pandey ri-pandey self-assigned this Jan 31, 2024
@charlesbrandt
Copy link
Contributor

This feature involves ingesting data from a user-specified path that is already available server-side. Ideally, the specified path can be validated as existing and accessible by the API service.

For IU and HPC systems, only slate-project spaces have had the ability to be shared via Samba. We recently learned that HPFS is expanding availability of the samba gateway to include slate-scratch.

Once access to the data has been confirmed, the data can be processed using the standard ingestion workflow (inspect-bundle-archive-stage-validate). Any user supplied metadata provided by the user at the time of the upload should be associated with the newly created dataset in the Bioloop system.

@deepakduggirala
Copy link
Contributor

deepakduggirala commented Feb 17, 2024

Added a couple of APIs to secure download server to show directory listings and size given a path. The code is in operator-data-import branch.

Added service in UI code to call these APIs and a sample page (/datasets/import) to test the functionality.

The size API is not a typical request-response, but a Server Sent Event (SSE) style API. This is made because it can take long to get size of a directory especially on mounted file systems such as Slate Project / Slate Scratch. By making this SSE, http connection will be kept alive till the size is computed.

TODO:
No auth is set up yet.

Download routes are moved under /download but the client code is not updated yet. So downloading files will not work.

image

@ri-pandey ri-pandey added the In Development Feature is in active development label Apr 23, 2024
@ri-pandey ri-pandey changed the title Upload from Slate-scratch Ingest from Slate-scratch Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Development Feature is in active development
Projects
None yet
Development

No branches or pull requests

3 participants