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

Refine OSB metadata provided in coab-vars.yml & git commit message #171

Open
gberche-orange opened this issue Aug 9, 2019 · 0 comments
Open

Comments

@gberche-orange
Copy link
Member

gberche-orange commented Aug 9, 2019

As of OSB spec 2.14 described in CF profile, the org/space/service instance names are available in the context:

  "context": {
    "platform": "cloudfoundry",
    "organization_guid": "87505508-4c09-499e-933c-eb89582cb9a5",
    "space_guid": "30d49f4b-82bd-4e59-b90f-25a13a8a43dd",
    "organization_name": "system_domain",
    "space_name": "overview-broker",
    "instance_name": "my-service"
  },

Additionally, headers include x-api-info-location which is documented at https://docs.cloudfoundry.org/services/supporting-multiple-cf-instances.html and is making its way into the OSB specs into openservicebrokerapi/servicebroker#676

  "headers": {
[...]
    "[x-api-info-location": "donotuseapi.run.pivotal.io/v2/info",
[...]

Making these metadata available to git commit message makes it more friendly for operators.

Making these metadata available to coab-vars.yml enables templates authors to leverage it in their automation, e.g. to configure mysql dashboard with the right uaa, see cloudfoundry/cf-mysql-release#228

ps: pending PWS support question on donotuse prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant