thephpleague / flysystem-rackspace

Flysystem Adapter for Rackspace
37 stars 28 forks source link

V2 of the OpenCloud API #11

Open PatrickRose opened 8 years ago

PatrickRose commented 8 years ago

It looks like there's a new version of the OpenCloud API coming out - according to rackspace/php-opencloud#655 it could be considered production ready.

Is it worth looking at updating? The API looks to be fairly similar.

PatrickRose commented 8 years ago

It actually sounds like V1 might be deprecated...

frankdejonge commented 8 years ago

@PatrickRose do they know anything about timetables there? I always like to do an actual integration test when updating vendor SDK, which requires a little more time.

PatrickRose commented 8 years ago

Not sure. Might be best asking @jamiehannaford? There doesn't seem to be any explicit notes about when people should switch over.

jamiehannaford commented 8 years ago

@frankdejonge V2 is currently in the RC stages. I'm confident that it's production-ready, but want to wait for user feedback before releasing the full v2. All of the CORE OpenStack services are supported, including unit tests, integration tests, user docs, sample files (most use Keystone v3) and reference docs.

I can help with the migration when I get some free time. I'm currently working on upgrading the Rackspace provider.

frankdejonge commented 8 years ago

@jamiehannaford that would be greatly appreciated. Perhaps you'd also be able to sort me out with a dev env where I can give the adapter a run through?

jamiehannaford commented 8 years ago

@frankdejonge Sure - did you need pure OpenStack or Rackspace cloud? For the former I can spin you up a devstack VM, for the latter I can add you as a sub-user. Did you want to start testing now or wait until it's out of RC? Also, can you post an e-mail address or send it to jamie.hannaford@rackspace.com so I can pass on your creds.

frankdejonge commented 8 years ago

@jamiehannaford expect a mail there soon, I'd like to test both :) Somewhere this week at least.

kreeves commented 8 years ago

@frankdejonge Out of curiosity, has there been any movement on this? V1 php-opencloud says "This codebase which you are now looking at will enter end-of-life soon."

Thanks!

PatrickRose commented 8 years ago

I'm not sure that we can use the new version of the SDK, since it uses PHP7 return types etc. I assume flysystem will still support 5.6 for some time.

scottconnerly commented 8 years ago

Yikes. If Rackspace themselves are requiring us to use the new API soon, the options then become maintain a fork of their SDK, or bite the bullet and require PHP7. I lean towards the latter, myself.

frankdejonge commented 8 years ago

I'd recommend upgrading to php 7. I've not had time to dig into this (moving house, busy life). I've been without internet at home for the last month. Hope that situation is tackled soon so I can work on this issue.

frankdejonge commented 8 years ago

Also, while Flysystem itself has a lower php requirement, adapters are free to upgrade when needed. Like in this case.

drjonnicholson commented 7 years ago

Almost a year later, would it be possible to get an update on this please? Would be good to support v2 of the OpenCloud API.

frankdejonge commented 7 years ago

@drjonnicholson about a year ago I had time to work on this, immediately ran into issues which prevented me to complete this. At the moment I don't have the time to invest into something I don't personally need. Community contributions are greatly appreciated, so if you want to pitch in, you're more than welcome. I'll help out with issues and such whenever needed.

drjonnicholson commented 7 years ago

Thanks for the update @frankdejonge, I may try and do a fork and have a go at some point - but like you time is too short.

dsas commented 5 years ago

26 is implementing this