Skip to content

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

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

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

@blgm blgm force-pushed the fetchparams branch 2 times, most recently from ac114ba to 4683682 Compare February 17, 2026 12:01
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
@blgm
Copy link
Member Author

blgm commented Feb 17, 2026

On further investigation, these parameters (although useful) are part of the OSBAPI 2.16 spec that the cloud controller does not yet implement. Therefore it's premature to make this change.

@blgm blgm closed this Feb 17, 2026
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

Comments