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

Enhance `Fetching a Service Instance` endpoint when ` instance_retrievable=false` #203

Open gberche-orange opened 1 year ago

gberche-orange commented 1 year ago

Expected behavior

As an osb consumer In order to discover existence of a service instance I need to use the Fetching a Service Instance endpoint when instance_retrievable=false And receive a 501 Not Implemented when the service instance exists Or receive a 404 NOT Found when the service instance does not exist

Observed behavior

Currently a 404 is indifferently returned when instance_retrievable=false regardless of whether the related service instance exists

Currently

Affected release

Reproduced on version x.y -->

gberche-orange commented 1 year ago

Rationale for this request, was lack of official support for fetch endpoint in https://github.com/cloudfoundry/cloud-service-broker/

The fork https://github.com/orange-cloudfoundry/cloud-service-broker/commit/8fbb650f666dfc7add0ad2a81b65f1e225218ac5 could have been rebased against upstream which has removed support for instances_retrievable=false ?