Extract a CC API V3 golang client used by CLI and CF ecosystem
Closed this issue · 6 comments
This issue suggests for extraction of a library out of the CF CLI codebase for V3 api mentionned into cf-dev@ thread, similar to the cf-java-client with two levels of apis:
- a low-level api, mapping to the cloudfoundry V3 REST APIs
- a high-level api, mapping to the CF CLI concepts
CF CLI would use the high level api.
What's the user value of this feature request?
- A consistent, quality experience for CF users when using CF CLI and other tools in the ecosystem written in go-lang
- A way to speed up CC API V3 and sunset the CC API V2 earlier
- A way to reduce/optimize maintenance effort for the CLI team by sharing work with the rest of the CF golang community
Who is the functionality for?
- CLI team
- Cf go-lang eco system
- https://github.com/mevansam/terraform-provider-cf : provides programmatic UI to provision, CF and apps. See related cloudfoundry-community/terraform-provider-cloudfoundry#56
- https://github.com/cloudfoundry-incubator/stratos: web ui
- current users of https://github.com/cloudfoundry-community/go-cfclient see related cloudfoundry/go-cfclient#151
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/161316125
The labels on this github issue will be updated when the story is started.
Maybe something @hichristineyeh could consider as part of 2019 CAPI UX survey
An example of a pivotal product that could leverage a standard cf golang client, instead of building its own:
https://github.com/pivotal-cf/on-demand-service-broker/blob/master/cf/client.go
https://github.com/pivotal-cf/on-demand-service-broker/tree/master/service
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed.
Thank you for your submission. If this issue is still relevant with the latest CLI v8, please open a new ticket with the necessary information mentioned in our issue template.