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

As a Korifi API user I want to be able to unbind from a managed service instance #3296

Open
danail-branekov opened this issue May 23, 2024 · 0 comments

Comments

@danail-branekov
Copy link
Member

GIVEN I have bound an app to a managed service
WHEN I DELETE /v3/service_credential_bindings/my-binding-guid
THEN I get a 202 Accepted response with Location header ppointing me to a binding deletion job
THEN eventually I see the binding deletion job to succeed
THEN binding data should not be available to the app (after a restart/restage) any more

Dev notes:

  • The implementation should call Unbind on the service broker

  • When requesting unbind from the broker, the implementation should send the accepts_incomplete=true query parameter to enable async unbind

  • When the broker unbinds the service in a sync manner (the broker responds with 200 OK), the implementation must not check for binding last operation as the binding has been already deleted and no operation is running

  • When the broker responds with 202 Accepted, then the implementation should poll the binding last operation until the operation completes.

  • If the operation succeeds, the CFServiceBinding along its credentials secrets should be deleted

  • If the operation fails, the failure should be reflected in the CFServiceBinding status

  • Unbind OSBAPI docs

  • Binding last operation OSBAPI docs

  • Synchronous vs asynchronous operations OSBAPI docs

  • Managed services proposal

  • Delete service binding docs

@danail-branekov danail-branekov changed the title As a Korifi API user I want to be able to unbind from a service instance As a Korifi API user I want to be able to unbind from a managed service instance May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🇪🇺 To do
Development

No branches or pull requests

1 participant