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

Bug 1565648 - expose _apb_service_binding_id to bind role #883

Merged
merged 1 commit into from Apr 10, 2018

Conversation

pb82
Copy link
Contributor

@pb82 pb82 commented Apr 10, 2018

Describe what this PR does and why we need it:

This PR exposes a new parameter _apb_service_binding_id to the bind role that contains the externalId of the associated service binding. This is useful in cases where you want to trigger unbind by deleting the service instance.

Changes proposed in this pull request

  • Add _apb_service_binding_id to the injected parameters for the Bind action.

Does this PR depend on another PR (Use this to track when PRs should be merged)

No

Which issue this PR fixes (This will close that issue when PR gets merged)

fixes https://bugzilla.redhat.com/show_bug.cgi?id=1565648

ping @maleck13 @shawn-hurley

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 10, 2018
Copy link
Member

@djzager djzager left a comment

Choose a reason for hiding this comment

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

Other than needing a bugzilla and changing the title to be of the form Bug <Bug #> - Title. This looks good to me.

@@ -835,19 +835,23 @@ func (a AnsibleBroker) Bind(instance apb.ServiceInstance, bindingUUID uuid.UUID,
planParameterKey, plan.Name)

params[planParameterKey] = plan.Name

Copy link
Member

Choose a reason for hiding this comment

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

🎉

@pb82 pb82 changed the title expose _apb_service_binding_id to bind role Bug <866> - expose _apb_service_binding_id to bind role Apr 10, 2018
@pb82
Copy link
Contributor Author

pb82 commented Apr 10, 2018

@djzager Thanks for the review, creating a bugzilla account now

@djzager
Copy link
Member

djzager commented Apr 10, 2018

That was my fault @pb82. I was not clear. We are currently under a feature freeze. In order for this PR to be merged into 3.10, which I believe we do, we must have a bugzilla for it. The product is OpenShift Container Platform and the Component is Service Broker. Once a bugzilla is created, the Title of this PR would become Bug $BUGZILLA_ID - $TITLE. This helps me out when I go to release the broker downstream and allows some of the OpenShift automation to reconcile the bug.

@djzager
Copy link
Member

djzager commented Apr 10, 2018

Thank you for @pb82 for your contribution. It is appreciated.

@pb82 pb82 changed the title Bug <866> - expose _apb_service_binding_id to bind role 1565648 - expose _apb_service_binding_id to bind role Apr 10, 2018
@pb82
Copy link
Contributor Author

pb82 commented Apr 10, 2018

@djzager No problem, i've created a bug in Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1565648

Also updated the title.

@shawn-hurley shawn-hurley changed the title 1565648 - expose _apb_service_binding_id to bind role Bug 1565648 - expose _apb_service_binding_id to bind role Apr 10, 2018
@djzager
Copy link
Member

djzager commented Apr 10, 2018

Thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants