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 create managed service instances #3288

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
WHEN I have created service brokers
WHEN I POST /v3/service_instances with a body like

{
  "name": "myxsuaa",
  "relationships": {
    "service_plan": {
      "data": {
        "guid": "aaa3d392-f8f9-504f-a216-a579cbc24159"
      }
    },
    "space": {
      "data": {
        "guid": "c75a04c6-14bf-4d00-8af5-fb6ca407da09"
      }
    }
  },
  "type": "managed"
}

THEN I get a 202 Accepted response with Location header pointing me to the instance creation job
THEN eventually I see the creation job succeeding
THEN I see the instance successfully provisioned with the service broker

Dev notes:

  • The implementation should provision the service with the broker over OSBAPI
  • When requesting service provisioning from the broker, the implementation should send the accepts_incomplete=true query parameter to enable async provisioning
  • When the broker provisions the service in a sync manner (the broker responds with 200 OK or 201 Created), the implementation must not check for service instance last operation as the instance has been already provisioned 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. Once the operation completes, its status must be reflected in the CFServiceInstance
  • Provision service OSBAPI docs
  • Service instance last operation OSBAPI docs
  • Synchronous vs asynchronous operations OSBAPI docs
  • Managed services proposal
  • Create service instance docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔄 In progress
Development

No branches or pull requests

2 participants