Re: Questions about service broker


Daniel Jones
 

Hi,

You might like to check out the forthcoming asynchronous additions to the
Service Broker API:
https://docs.cloudfoundry.org/services/asynchronous-operations.html

It sounds like exactly what you're after.

Alternatively you could pre-provision a load of databases, and have your
broker maintain a pool of available ones. When each instance is destroyed,
you then clean it and return it to the pool only when it is back in a state
ready for someone else to use.

On Wed, Aug 12, 2015 at 1:14 PM, 王小锋 <zzuwxf(a)gmail.com> wrote:

Hi, there

I am trying to develop a database service broker in CF, but have a
question regarding to provisioning rest api, if it takes long time for the
database to be ready, it will fail in binding process if the database is
not ready. Is there a method to get the database service instance's status
before binding to an app? Or is there any suggestions?

thanks
--
Regards,

Daniel Jones
EngineerBetter.com

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.