cli
cli copied to clipboard
[v8] Add "--strategy" parameter to "bind-service" command
Description of the Change
Enhancement for rfc-0040-service-binding-rotation.
Add parameter strategy to bind-service command. Allowed values are single (default) and multiple. With multiple, the CLI sends and additional parameter "strategy": "multiple" to the CC v3 API:
https://v3-apidocs.cloudfoundry.org/version/3.207.0/index.html#create-a-service-credential-binding
Why Is This PR Valuable?
This PR enhances the CLI so that the multiple service binding feature is enabled for end users. More PRs for other related commands will follow.
Applicable Issues
https://github.com/cloudfoundry/community/pull/1198
How Urgent Is The Change?
Not super urgent.
Other Relevant Parties
Change is backwards compatible, so no regressions expected.