Skip to content

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

@gberche-orange

Description

@gberche-orange

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
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions