Re: Dynamic service catalog

Matt McNeeney

Hey Peter,

This is an interesting use case. The idea of CC periodically refreshing
service broker catalog's has been raised a few times before, especially
when talking about brokers that aren't deployed on CF, but are managed
somewhere else. However, this idea has raised a number of issues in the
past, including:

- What happens to existing service instances and bindings that were
created using a plan that has now disappeared?
- What happens to existing service instances and bindings that were
created using a plan that has now changed?

This is especially important if say the pricing of a plan changes, as there
is no method for a developer to 'accept' the new plan. When an admin
explicitly updates a service broker, this is mitigated as they are asking
the platform to *use *the new catalog.

I'm interested to learn more about your broker, and why you want to offer a
separate plan for each version. And if you have any thoughts on the above,
I'd welcome those too! These has been discussed at length by the OSBAPI
working group as we are keen to put the right service/plan deprecation
strategies in place to support this kind of workflow.


On Fri, Nov 3, 2017 at 12:01 PM Peter Dotchev <dotchev(a)> wrote:

Hi folks,

We need to change the set of plans offered by some of our services
In our use-case we want to provide a separate plan for each service
version. When a new service version is deployed, we want to see a new plan
for it in the marketplace.

My understanding so far is that the service catalog exposed by a service
broker is relatively static.
AFAIK Cloud Controller fetches the catalog from the broker only during
create-service-broker or update-service-broker. Both of these require admin
Is there some other mechanism to update the service catalog in the

One neat solution could be service brokers to use standard http cache
control headers in the response to GET /v2/catalog to declare the
expiration time of the catalog.
When the marketplace is requested, CC could refetch the expired service
catalogs from the respective brokers.

Best regards,

Join to automatically receive all group messages.