Commit Graph

28 Commits

Author SHA1 Message Date
OlgaMaciaszek
ef5f62133e Adjust changes to existing convention. 2018-05-18 15:52:53 +02:00
OlgaMaciaszek
52b1c75ffc Add default order to CloudFoundryDiscoveryClientConfig. 2018-05-18 14:30:16 +02:00
OlgaMaciaszek
dd007e233c Adjust CloudFoundryDiscoveryClient to DiscoveryClient ordering functionality
in spring-cloud-commons.
2018-05-18 14:23:11 +02:00
Scott Frederick
510b6ebcfc Improve Cloud Foundry Java Client auto-configuration.
An organization and space are not required by all CF Java Client operations. Those properties should be optional to the client-autoconfiguration.

The CF target URL should default to the CF an application is running on when it is deployed to CF.
2018-04-09 17:11:33 -05:00
Spencer Gibb
89b5b3357b Update to new RibbonProperties location 2018-01-09 17:14:37 -05:00
Spencer Gibb
d275b72569 Add or update license headers 2018-01-09 15:21:52 -05:00
Spencer Gibb
d012ddd12e Use ribbon to set port if defined.
Otherwise, use a configurable default.

fixes gh-15
2018-01-09 15:16:17 -05:00
Spencer Gibb
3cb69505e3 polish 2018-01-08 17:08:13 -05:00
Spencer Gibb
caf736214e polish 2018-01-08 17:05:08 -05:00
Spencer Gibb
673679fd00 Formatting 2018-01-08 16:55:33 -05:00
Josh Long
fef7d2c9a7 support Reactor-based CF Java Client (#22)
* reactive Cloud Foundry Java Client

- new support for auto-configuring the reactor-based CF java client v3.3.
- reworkd the `DiscoveryClient` to depend on the standalone support.
- made the tests run conditionally based on presence of certain env vars.

fixes gh-21
2018-01-08 16:45:02 -05:00
Spencer Gibb
048640be21 Update for commons 2.0.0 changes 2017-11-28 11:39:27 -05:00
Dave Syer
529e4d9f93 Update readme script to handle local includes 2016-06-11 09:54:41 +01:00
Dave Syer
2544c8ef15 Add a heartbeat event every 5s by default
Fixes gh-12
2016-05-09 13:02:54 +01:00
Dave Syer
4932bba3fc Add ignored adhoc tests 2016-05-05 10:24:34 +01:00
Dave Syer
42306c1dba Fix test (wrong assumption about exception handling) 2016-05-05 09:59:04 +01:00
Dave Syer
660dabdf9c More detail on credentials for discovery 2016-04-29 13:49:13 +01:00
Dave Syer
611d2f3e65 Make discovery client more robust if there is no connection
The default behaviour is to know nothing if the client can't
connect to the cloud controller.
2016-04-26 09:15:14 +01:00
Dave Syer
8c8d218f71 Switch to @EnableConfigurationProperties to make override predictable 2016-04-24 14:08:11 +01:00
Dave Syer
9c4624389e Tidy up some javadocs and change email->username 2016-04-22 09:49:20 +01:00
Dave Syer
0c3ce308c5 Be more liberal about not having a local instance
If an app is running locally it can still have a local service
instance, so it shouldn't barf if it can't find itself in
the cloud controller.
2016-04-21 17:17:55 +01:00
Dave Syer
b691349d52 Make ribbon dependency more obviously optional 2016-04-18 12:06:53 +01:00
Dave Syer
bdd196bda3 Remove netflix dependencies
There's no need to depend on netflix libraries but the sample was
using Ribbon, so we took that out so that the release can be
independent.
2016-04-18 11:57:29 +01:00
Dave Syer
b3f6bac3e5 Add some docs for config properties 2015-12-30 15:05:46 +00:00
Dave Syer
5a8930af9d Move VCAP_SERVICES processing over from spring-cloud-security 2015-08-27 10:18:06 +01:00
Dave Syer
1c862dab2b Fix docs 2015-05-21 14:44:15 +01:00
Dave Syer
24aca83e96 Tidy up failure cases of discovery client 2015-05-21 13:51:58 +01:00
Josh Long
e1bdaa7851 cfdc 2015-05-14 19:31:01 -05:00