Open jcnelson opened 10 years ago
I'll look at this over the weekend and upgrade to the latest driver API.
Take a look at the S3 driver architecture--it's already updated :)
Just looked at it and liking the new organization/interface! I noticed that the other drivers have also moved into folders with respective replica.py files etc. I'm assuming that only S3 complies right now and others need fixing. Looking at Dropbox first.
Right. S3 works; disk should work; everything else is as you left it.
I've updated the RG wiki page to describe the new interface. Link: https://github.com/jcnelson/syndicate/wiki/Replica-Gateways
Very helpful. Thanks! I'll first push Dropbox and we can test it out to see if it complies correctly and then upgrade others in a similar way
One aspect of this that needs attention is that the UG will need to pass driver directives to the RG.
To do this, we should add an "RG" and "RG_secret" namespace. RG.$ATTRNAME values will be passed as keyword arguments to the RG, and RG_secret.$ATTRNAME values will be encrypted with the RG's public key first before being sent.
EDIT: Now tracked in issue #105
We already have disk and S3 working. Make sure that we can get them installed and configured automatically.
Glacier, GStorage, Dropbox, and Box.net DO NOT WORK right now. They need to be tested and upgraded to use the latest RG driver API.