flysystem-rackspace icon indicating copy to clipboard operation
flysystem-rackspace copied to clipboard

V2 of the OpenCloud API

Open PatrickRose opened this issue 9 years ago • 16 comments

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 avatar Feb 08 '16 18:02 PatrickRose

It actually sounds like V1 might be deprecated...

PatrickRose avatar Feb 10 '16 13:02 PatrickRose

@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.

frankdejonge avatar Feb 10 '16 13:02 frankdejonge

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

PatrickRose avatar Feb 10 '16 14:02 PatrickRose

@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.

jamiehannaford avatar Feb 10 '16 14:02 jamiehannaford

@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?

frankdejonge avatar Feb 10 '16 14:02 frankdejonge

@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 [email protected] so I can pass on your creds.

jamiehannaford avatar Feb 10 '16 19:02 jamiehannaford

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

frankdejonge avatar Feb 10 '16 21:02 frankdejonge

@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!

kreeves avatar Jul 14 '16 22:07 kreeves

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.

PatrickRose avatar Jul 25 '16 15:07 PatrickRose

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.

scottconnerly avatar Jul 26 '16 01:07 scottconnerly

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 avatar Jul 26 '16 06:07 frankdejonge

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

frankdejonge avatar Jul 26 '16 06:07 frankdejonge

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.

drjonnicholson avatar May 23 '17 09:05 drjonnicholson

@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.

frankdejonge avatar May 23 '17 09:05 frankdejonge

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.

drjonnicholson avatar May 23 '17 09:05 drjonnicholson

#26 is implementing this

dsas avatar Sep 05 '19 15:09 dsas