cli icon indicating copy to clipboard operation
cli copied to clipboard

[v8] Enhance "service" command for multiple service bindings

Open jochenehret opened this issue 1 month ago • 0 comments

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

jochenehret avatar Dec 09 '25 07:12 jochenehret