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

Object endpoint for DRS bundles - local directories as bundles #16

Open
jb-adams opened this issue Jan 26, 2021 · 0 comments
Open

Object endpoint for DRS bundles - local directories as bundles #16

jb-adams opened this issue Jan 26, 2021 · 0 comments
Assignees

Comments

@jb-adams
Copy link
Member

Currently, the /objects/{object_id} endpoint is only configured to load a DRSObject representing a single blob. This functionality should be expanded to handle bundles. In a local filesystem context, files map to DRSObject single blobs, whereas directories map to DRSObject bundles. For a given id mapping to a directory, the server app must traverse all subdirectories to all files, and format this as a DRSObject bundle.

This will likely lead to a revamp of our current data source registration model, as the current lookup based on regex has no mechanism to give the correct id for a file under a requested bundle

@jb-adams jb-adams changed the title Object endpoint for DRS bundles Object endpoint for DRS bundles - local directories as bundles Jan 26, 2021
@andersleung andersleung self-assigned this Feb 12, 2021
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

No branches or pull requests

2 participants