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

Closed
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
@github-project-automation github-project-automation bot moved this to 🧊 Icebox in Korifi - Backlog May 23, 2024
@danail-branekov danail-branekov moved this from 🧊 Icebox to 🇪🇺 To do in Korifi - Backlog May 31, 2024
@georgethebeatle georgethebeatle self-assigned this Aug 14, 2024
danail-branekov added a commit that referenced this issue Sep 5, 2024
fixes #3288
fixes #3439

Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
danail-branekov added a commit that referenced this issue Sep 5, 2024
fixes #3288
fixes #3439

Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
danail-branekov added a commit that referenced this issue Sep 9, 2024
fixes #3288
fixes #3439

Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
danail-branekov added a commit that referenced this issue Sep 9, 2024
fixes #3288
fixes #3439

Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
danail-branekov added a commit that referenced this issue Sep 9, 2024
fixes #3288
fixes #3439

Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
danail-branekov added a commit that referenced this issue Sep 9, 2024
fixes #3288
fixes #3439

Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
Co-authored-by: Yusmen Zabanov <yusmen.zabanov@sap.com>
@github-project-automation github-project-automation bot moved this from 🔄 In progress to ✅ Done in Korifi - Backlog Sep 9, 2024
@georgethebeatle georgethebeatle added this to the v0.13 milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants