Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore space_guids param when listing service plans and allow include=space.organization #3431

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

georgethebeatle
Copy link
Member

Is there a related GitHub Issue?

No

What is this change about?

  • Ignore space_guids param when listing service plans

    This is needed by the cf service-access command. We simply ignore the
    param as space scoped brokers are not supported yet.

  • Make service_plan payload validation more strict

    It was possible to pass fileds like
    fileds[service_broker.service_offering] which make no sense as
    offerings have relationships to brokers, but not vice versa.

    Also add spaces.organization to the valid set of values of the
    include param. This is needed by the cf marketplace command.

Tag your pair, your PM, and/or team

@danail-branekov

georgethebeatle and others added 2 commits August 15, 2024 13:22
It was possible to pass fileds like
`fileds[service_broker.service_offering]` which make no sense as
offerings have relationships to brokers, but not vice versa.

Also add `spaces.organization` to the valid set of values of the
`include` param. This is needed by the `cf marketplace` command.

Co-authored-by: Yusmen Zabanov <[email protected]>
This is needed by the `cf service-access` command. We simply ignore the
param as space scoped brokers are not supported yet.

Co-authored-by: Yusmen Zabanov <[email protected]>
@danail-branekov danail-branekov enabled auto-merge (rebase) August 15, 2024 13:38
@danail-branekov danail-branekov merged commit d3f479b into main Aug 15, 2024
11 checks passed
@danail-branekov danail-branekov deleted the wip-ignore-query-params branch August 15, 2024 13:40
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.

2 participants