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 get service offering fields when listing service instances #3290

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 /v3/service_instances?fields[service_plan.service_offering]=guid,name,relationships.service_broker
THEN I see the guids, names and broker guids of the offering related to the service instance plan under included.service_offerings array, for example

{
  "included": {
    "service_offerings": [
      {
        "guid": "fc018c50-eadc-57a8-b231-fbcf147eaf78",
        "name": "xsuaa",
        "relationships": {
          "service_broker": {
            "data": {
              "guid": "813e18bc-5c9e-4b27-990f-de2f398e9ba2"
            }
          }
        }
      }
    ]
  },
  "pagination": {
  ...
  },
  "resources": [
    {
      "guid": "a07c8a84-1e85-4882-9764-fb85f57f46bd",
      "name": "my-service-instance",
      ...
  ]
}

Dev notes:

@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 added a commit that referenced this issue Sep 3, 2024
…tances

Supported fields:
* `guid`
* `name`
* `relationships.service_broker`

fixes #3290

Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
georgethebeatle added a commit that referenced this issue Sep 3, 2024
…tances

Supported fields:
* `guid`
* `name`
* `relationships.service_broker`

fixes #3290

Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
@github-project-automation github-project-automation bot moved this from 🔄 In progress to ✅ Done in Korifi - Backlog Sep 3, 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