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

fix: adds endpoint to support get-binding response for OSB v2.16 #321

Merged
merged 6 commits into from
Jul 11, 2024
Merged

fix: adds endpoint to support get-binding response for OSB v2.16 #321

merged 6 commits into from
Jul 11, 2024

Conversation

TheSp1der
Copy link
Contributor

The Open Service Broker API defines an endpoint object in the GET Binding Response that is not defined in the brokerapi response. This pull request adds an endpoint struct and updates the GetBindingReponse and GetBindingSpec to properly support the endpoints object.

@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/187886817

The labels on this github issue will be updated when the story is started.

@TheSp1der
Copy link
Contributor Author

ready to review

@TheSp1der TheSp1der changed the title Adds endpoint to support get-binding response for OSB v2.16 fix/adds endpoint to support get-binding response for OSB v2.16 Jul 1, 2024
@TheSp1der TheSp1der changed the title fix/adds endpoint to support get-binding response for OSB v2.16 fix: adds endpoint to support get-binding response for OSB v2.16 Jul 1, 2024
@TheSp1der
Copy link
Contributor Author

Ready for review. Thanks for putting up with my multiple commits to get this to pass checks!

@zucchinidev
Copy link
Contributor

Thanks for raising the PR, we will study and analyse it and we'll come back to you soon.

domain/apiresponses/responses.go Outdated Show resolved Hide resolved
Copy link
Contributor

@FelisiaM FelisiaM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks ok in general, but I have requested a small change to make the response of create and get binding consistent.

handlers/get_binding.go Outdated Show resolved Hide resolved
@FelisiaM FelisiaM merged commit 12cad63 into pivotal-cf:main Jul 11, 2024
5 checks passed
@FelisiaM
Copy link
Contributor

FelisiaM commented Jul 11, 2024

Thank you for your contribution @TheSp1der

The changes have now been released in v11.0.4

@TheSp1der TheSp1der deleted the bugfix/add-endpoints-binding-response branch July 11, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants