Improve some integration-tests and cleanup /v2/info endpoint. fix #1229 #1249
Replace calls to /v2/info endpoint with calls to root endpoint of API version 3. Skip integration tests that depend on routing if server does not provide it.
Fixes cloudfoundry#1249 and cloudfoundry#1229
Hey we've disabled V2 in our env in preparation for the V2 API deprecation which is scheduled for this month I think.
Think we need these changes merging in so we can exclusively use the v3 apis
I totally agree. Who can do the review and merge? When this (and hopefully my other changes) are in, I will continue. For sure a lot of changes are required in the test suite, and I assume when v2 is missing, some more problems will show up.
@anthonydahanne what do you think of the proposed changes?
Looks like v2 api is now disabled by default on any opensource CF builds
https://github.com/cloudfoundry/cf-deployment/releases/tag/v47.0.0
@anthonydahanne, do you think this PR is a suitable approach?