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 delete managed service instances #3292

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

Comments

@danail-branekov
Copy link
Member

GIVEN I have enabled the experimental managed services flag in the helm values
GIVEN I have created a managed service instance
WHEN I DELETE /v3/service_instances/service-instance-guid
THEN I get a 202 Accepted response with Location header pointing me to the delete operation
THEN eventually I see the delete operation succeeds
THEN I see the service instance is deleted from the service broker

Dev notes:

  • The implementation should deprovision the service with the broker over OSBAPI

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

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

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

  • If the operation succeeds, the CFServiceInstance should be deleted

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

  • Deprovision service OSBAPI docs

  • Service instance last operation OSBAPI docs

  • Synchronous vs asynchronous operations OSBAPI docs

  • Managed services proposal

  • Delete service instance docs

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