-
Notifications
You must be signed in to change notification settings - Fork 130
Request: Custom Flysystem adapter #224
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
Comments
Hi @helios-ag Any estimate on when this is on the roadmap? Thanks. |
Hi Robbert! |
Hi, there already is a generic flysystem rackspace adapter, but that one isn't implemented either. So if that's one is supported is general that would be an improvement. However it's possible you have multiple drivers, for let's say public and private files. So in that case it would be nice for something like my proposal. |
I'll take a look on it.
Agreed i will try to implement this feature during weekend |
@helios-ag Good to hear that :-) |
Rackspace driver support introduced, but needs someone to review it, also added driver_options node that can be used for storing different settings regardless to driver. Unfortunately seems there is no way to write universal driver for all flysystem drivers, because of their instantiation, which differs from driver to driver. Only way here is to write own configuration reader. |
Hi @helios-ag I will try to test it end of this week or on monday. Maybe another option would be, to set a custom service as adapter through the config. The service would need to return a Filesystem Object, this way all custom configuration is done in the service, so their would be no need for the bundle to take care of this. Thanks for the Rackspace integration. |
Custom adapter support introduced, description how to use it here. |
@helios-ag looks very nice, like i said will try to test this tomorrow and otherwise on monday! Cheers |
Hi @helios-ag 2 days of delay but found time to test it, the functionality works in general. In my case i tweaked it a little, not sure if this is something you'll be integrating (i forgot to mention this explicitly in an earlier stage). But i think both ideas are solid improvements to your bundle :-) Below the code of my tweak, i do not have a custom service adapter i have a custom filesystem service (based on another adapter)
This is needed with the below configuration:
Thanks so far. |
Hi @rvmourik, thanks for sharing! I will add your case to docs and improve bundle. |
Issue Type:
Feature Idea
Bundle Version:
Master
Summary:
It's possible to use flysystem, but it's not possible to specify a self created adapter. We're using rackspace connected to an Object Store. It would be nice if a specific service can be specified:
Is this something you'd consider to implement, or am i missing something and is this already possible.
Greetings,
Robbert
The text was updated successfully, but these errors were encountered: