Re: URL of a Service Instance


Dieu Cao <dcao@...>
 

Hi Rahul,

It's up to your broker to provide the url or IP address of the service
instance that you provision in a hash as the value for credentials in
response to the binding request that your service broker receives from
cloud controller.
From what you have above, your service is hazelcast-service-1, but
credentials is empty.
That means when cloud controller does a bind request to your service
broker, your service broker is not returning anything for credentials in
the bind response. It would be in the bind response where you need to
provide any information, such as url or ip or other credentials necessary
to connect to your service that your app needs access to.

Does that make sense?

-Dieu
CF CAPI PM

On Wed, Dec 23, 2015 at 5:49 PM, Rahul Gupta <wildnez(a)gmail.com> wrote:

Or in other words, is there an environment variable that I can read in
Java program that would give me dashboard_url and is there anything I'd
need to do to enable dashboard_url to be returned? I have read this
http://docs.cloudfoundry.org/services/dashboard-sso.html but could not
find a reference.

Thanks.

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