From f363f7bcb1c52932cfc92678362bd27c0a039b17 Mon Sep 17 00:00:00 2001
From: Dave Syer DiscoveryClient so you can
@EnableDiscoveryClient and provide your credentials as
spring.cloud.cloudfoundry.discovery.[email,password] and then you
can use the DiscoveryClient directly or via a LoadBalancerClient
-(also *.url if you are not connecting to [Pivotal Web
-Services](https://run.pivotal.io)).
*.url if you are not connecting to
+Pivotal Web Services).
The first time you use it the discovery client might be slow owing to @@ -491,6 +491,12 @@ $ cf push -p app.jar
It will show its app name in the home page.
The DiscoveryClient can lists all the apps in a space, according to
+the credentials it is authenticated with, where the space defaults to
+the one the client is running in (if any). If neither org nor space
+are configured, they default per the user’s profile in Cloud Foundry.
spring.oauth2.sso.serviceId.