orange-cloudfoundry / osb-cmdb

A configuration management db for Open Service Broker API broker implementations
Apache License 2.0
14 stars 1 forks source link

Unfriendly OSB response error when unsupported profile is returned #163

Open gberche-orange opened 2 years ago

gberche-orange commented 2 years ago

Expected behavior

As a osb client

The cloudfoundry profile described at https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md MUST be used with the possible following relaxations

The following fields are mandatory but may have fake, non empty values e.g. "na"
    organization_guid
    organization_name
    space_guid
    space_name
    instance_name

Observed behavior

The osb error response is metaData required

The osb-cmdb error logs available to osb-cmdb operators include

      2022-03-02T15:54:17.66+0100 [APP/PROC/WEB/1] OUT 2022-03-02 14:54:17.668  WARN 9 --- [nio-8080-exec-7] reateServiceMetadataFormatterServiceImpl : Unsupported OSB context type=Context{platform='...redacted', properties=..redacted}}, skipping associated metadata