Skip to content

Imminent v2 api death and impact on client intialization #220

@thelangley

Description

@thelangley

CF API V2 is about to be retired. I think the first cut of cf-deployment from January 2025 onwards will no longer have v2 enabled by default

https://lists.cloudfoundry.org/g/cf-dev/message/9487

We've disabled it in our deployment ahead of time to test and although the majority of the V3 API calls in this library are supported, the init of the client requires V2 API so it no can no longer initialize.

We also get errors like below, because the V2 API no longer responds

 File "/usr/local/lib/python3.10/site-packages/cloudfoundry_client/client.py", line 210, in _get_info
    root_links["cloud_controller_v2"]["meta"]["version"],
KeyError: 'cloud_controller_v2'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions