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

Better defaults and control for service guids and service plans guids #102

Open
gberche-orange opened this issue Jul 1, 2021 · 0 comments

Comments

@gberche-orange
Copy link
Member

Expected behavior

  • As a static-creds-broker broker author
  • in order to control guids exposed to OSB API consommers
  • I need a way to specify/control published guids

currentl behavior

Given

  test-issue-cc-ng-service-guid:
    NAME: test-issue-cc-ng-service-name
    DESCRIPTION: "A test service to verify cc api v3 behavior when a service plan gets removed, symptom at https://github.com/orange-cloudfoundry/paas-templates/issues/1229"
    TAGS: "tag1"
    METADATA:
      DISPLAY_NAME: "test-issue-cc-ng-service-display-name"
      DOCUMENTATION_URL: "test-issue-cc-ng-service-doc-url"
      PROVIDER_DISPLAY_NAME: "test-issue-cc-ng-service-provider_display_name"
      LONG_DESCRIPTION: "test-issue-cc-ng-service-provider_long_description"
    CREDENTIALS_JSON: '{"username":"admin", "password":"XX", "uri":"mysql://USERNAME:PASSWORD@HOSTNAME:PORT/NAME", "HOSTNAME": "us-cdbr-east-03.cleardb.com"}'
    DASHBOARD_URL: "https://redacted-domain.org/"
    plans:
      1:
        NAME: test-issue-cc-ng-plan1_name
        DESCRIPTION: "test-issue-cc-ng-plan1_description"
        # https://cloud.google.com/sql/docs/mysql/pricing-examples
        FREE: true

then the published catalog is

{
  "id": "test-issue-cc-ng-service-nametest-issue-cc-ng-plan1_name", 
  "name": "test-issue-cc-ng-plan1_name", 
  "description": "test-issue-cc-ng-plan1_description",
  "metadata": {
    "costs": null,
    "displayName": null,
    "bullets": null
  },
  "free": true
}
],
"tags": [ "tag1" ],

"metadata": {
  "longDescription": "test-issue-cc-ng-service-provider_long_description",
  "documentationUrl": "test-issue-cc-ng-service-doc-url",
  "providerDisplayName": "test-issue-cc-ng-service-provider_display_name",
  "displayName": "test-issue-cc-ng-service-display-name",
  "imageUrl": "",
  "supportUrl": ""
},
"requires": [ ],
"dashboard_client": null
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant