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

Support driver models with read paths (e.g. Dropbox or Google Drive) #121

Open
kantai opened this issue Jun 18, 2018 · 4 comments
Open

Support driver models with read paths (e.g. Dropbox or Google Drive) #121

kantai opened this issue Jun 18, 2018 · 4 comments
Labels
enhancement Iterations on existing features or infrastructure. request-for-comment Requires further input to figure out tasks. Add to external requests.

Comments

@kantai
Copy link
Member

kantai commented Jun 18, 2018

It would be nice to be able to support some drivers with more complex requirements (i.e., because the storage provider doesn't provide the ability to pre-determine the URL for a file).

These drivers would require that the gaia hub be invoked on the read path -- so if we want to support something like this, we need a "read-path" gaia driver type. For this spec, I'd propose a get endpoint:

GET /read/

Which will return the data (or, in an ideal world, a 301, but I think that these kinds of backends wouldn't typically have CORS headers set).

@kantai kantai added the request-for-comment Requires further input to figure out tasks. Add to external requests. label Jun 18, 2018
kantai added a commit that referenced this issue Jun 21, 2018
#121 Support driver models with read paths (e.g. Dropbox or Google Drive)
@kantai
Copy link
Member Author

kantai commented Jun 22, 2018

Work for this is ongoing in https://github.com/blockstack/gaia/tree/feature/read-drivers-support

Will add some content here for the proposed driver model and exposed API.

@kantai kantai self-assigned this Jun 22, 2018
@markmhendrickson
Copy link

@kantai mind providing a quick update here on the work (ongoing or otherwise), and perhaps the proposed driver model and API?

Also, I've added this to the "Expand storage driver support" project but see @jcnelson also added it earlier to "User-selectable Gaia Storage". My sense is that it's not exactly required to support user-selectable storage, is it?

@jcnelson
Copy link
Member

This is more closely aligned with "Expand storage driver support."

@kantai
Copy link
Member Author

kantai commented Sep 10, 2018

Yep -- this is more in the "expand storage driver support", which may ultimately play a part in making running a gaia hub more user-friendly.

@moxiegirl moxiegirl added the enhancement Iterations on existing features or infrastructure. label Dec 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Iterations on existing features or infrastructure. request-for-comment Requires further input to figure out tasks. Add to external requests.
Projects
None yet
Development

No branches or pull requests

4 participants