Skip to content

Conversation

@jochenehret
Copy link
Contributor

Description of the Change

Enhance "service" command to display information for multiple service bindings. Example output for a service that is bound to 3 apps 2 times each:

cf service service1
(...)

Showing bound apps:
   name       guid                                   binding name    status             created_at             message
   testapp1   e6805afe-b50c-4995-83e3-b4c3368538a4                   create succeeded   2025-12-05T10:33:55Z
   testapp1   32c46bb1-9925-4620-9d8b-a373b18f7801                   create succeeded   2025-12-05T10:33:30Z
   testapp2   d15b704c-6bfd-48c8-a0bf-eb4eafdf4b3c   app2_service1   create succeeded   2025-12-08T13:21:07Z
   testapp2   778370b4-e457-4dbd-b527-7413ba12088c   app2_service1   create succeeded   2025-12-08T13:20:57Z
   testapp3   9bdb47a6-261c-402b-87f6-6f637278c647   app3_service1   create succeeded   2025-12-08T14:07:09Z
   testapp3   c1e534fc-51d4-4eac-a033-f4d0dc5c08ec   app3_service1   create succeeded   2025-12-08T13:06:57Z

Why Is This PR Valuable?

Supports management of multiple service bindings per (app, service) which is useful for rotating credentials.

Applicable Issues

https://github.com/cloudfoundry/community/blob/main/toc/rfc/rfc-0040-service-binding-rotation.md#cf-cli

How Urgent Is The Change?

Not super-urgent.

Other Relevant Parties

This change is for the next major release of CLI (v9). TBD: Should the same change be implemented for v8?

* in the "bound apps" section, show also multiple service bindings for an app
* add binding guid and created_at timestamp to table
* sort by 1. name 2. created_at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant