Skip to content

fix: add service_id and plan_id to OSBAPI (service) fetch endpoints#4851

Open
blgm wants to merge 1 commit intocloudfoundry:mainfrom
blgm:fetchparams
Open

fix: add service_id and plan_id to OSBAPI (service) fetch endpoints#4851
blgm wants to merge 1 commit intocloudfoundry:mainfrom
blgm:fetchparams

Conversation

@blgm
Copy link
Member

@blgm blgm commented Feb 16, 2026

Add optional service_id and plan_id query parameters to fetch_service_instance and fetch_service_binding broker requests, matching the pattern used by last_operation endpoints.

Enables delegate/router brokers to route fetch requests without falling back to trying all sub-brokers. While optional per OSBAPI spec, these parameters are helpful hints that CC already has available. An aim of a platform (like CC) is to make it easier to write brokers - especially stateless brokers, so low cost hints like this bring the code in line with the product aims.

  • I have reviewed the contributing guide
  • I have viewed, signed, and submitted the Contributor License Agreement
  • I have made this pull request to the main branch
  • I have run all the unit tests using bundle exec rake
  • I have run CF Acceptance Tests

Add optional service_id and plan_id query parameters to fetch_service_instance
and fetch_service_binding broker requests, matching the pattern used by
last_operation endpoints.

Enables delegate/router brokers to route fetch requests without falling back
to trying all sub-brokers. While optional per OSBAPI spec, these parameters
are helpful hints that CC already has available. An aim of a platform (like CC)
is to make it easier to write brokers - especially stateless brokers, so low
cost hints like this bring the code in line with the product aims.

- [x] I have reviewed the contributing guide
- [x] I have viewed, signed, and submitted the Contributor License Agreement
- [x] I have made this pull request to the `main` branch
- [x] I have run all the unit tests using `bundle exec rake`
- [ ] I have run CF Acceptance Tests
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