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

[Feature]: As a Korifi API User I want to be able to pass parameters to the broker when I bind an app to a managed service instance #3073

Closed
danail-branekov opened this issue Jan 18, 2024 · 1 comment
Labels
managed-services mta support the MTA controller

Comments

@danail-branekov
Copy link
Member

Blockers/Dependencies

Blocked by managd services support!

Background

As documented by the v3 API spec service bindings can optionally be given args that are then passed on to the service broker that created the service instance.

Acceptance Criteria

GIVEN I have korifi deployed
WHEN I send the following request:

curl "https://api.example.org/v3/service_credential_bindings" \
  -X POST \
  -H "Authorization: bearer [token]" \
  -H "Content-type: application/json" \
  -d '{
    "type": "app",
    ...
    "parameters": {
      "key1": "value1",
      "key2": "value2"
    }
  }'

THEN I get a response like this

HTTP/1.1 202 Accepted
Content-Type: application/json
Location: https://api.example.org/v3/jobs/af5c57f6-8769-41fa-a499-2c84ed896788

AND WHEN the binding operation is complete
THEN I can get the binding parameters by requesting GET /v3/service_credential_bindings/[guid]/parameters and I can see that my service broker has been called with those parameters.

@github-project-automation github-project-automation bot moved this to 🧊 Icebox in Korifi - Backlog Jan 18, 2024
@danail-branekov danail-branekov added the mta support the MTA controller label Jan 18, 2024
@georgethebeatle georgethebeatle moved this from 🧊 Icebox to 🇪🇺 To do in Korifi - Backlog Jan 7, 2025
@georgethebeatle georgethebeatle moved this to 🇪🇺 To do in Korifi - Backlog Jan 7, 2025
@georgethebeatle
Copy link
Member

Fixed by #3549

@github-project-automation github-project-automation bot moved this from 🇪🇺 To do to ✅ Done in Korifi - Backlog Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
managed-services mta support the MTA controller
Projects
Status: Done
Development

No branches or pull requests

2 participants