Commit Graph

321 Commits

Author SHA1 Message Date
Ryan Baxter
82175d1cac Fixed retry policy
see spring-cloud/spring-cloud-netflx#1577
2016-12-29 19:43:24 -05:00
Vitalii
c5d73294c4 Fixed typo in event class name (#152) 2016-12-20 13:12:08 -05:00
Spencer Gibb
f7e59a4bfe Change auto-registration intitialization.
The import-selected AutoServiceRegistrationConfiguration now creates the configuration properties bean, which is used as a marker bean for AutoServiceRegistrationAutoConfiguration. This gives auto registration implementations a chance to create an AutoServiceRegistration impl bean.
2016-12-08 10:05:01 -07:00
Spencer Gibb
35b5d53841 Move endpoint config to nested class 2016-12-08 10:05:01 -07:00
Spencer Gibb
1e447eb9d1 More deprecation in Discovery.
These functions will be taken over by ServiceRegistry
2016-12-08 10:05:01 -07:00
Ryan Baxter
8d3d07bde6 We no longer need InfoEndpointRebinderConfiguration since we will not be supporting Boot 1.3.x in Dalston. See #145. 2016-11-21 12:07:01 -05:00
Ryan Baxter
dde952982e Revert "Make sure we copy variables to new InfoEndpoint. Fixes #143."
This reverts commit 30f34cf3bc.
2016-11-21 12:01:31 -05:00
Ryan Baxter
0a6466d9c0 Revert "Added TODO to remove InfoEndpointRebinderConfiguration"
This reverts commit 2266cc9c1a.
2016-11-21 12:01:21 -05:00
Ryan Baxter
2266cc9c1a Added TODO to remove InfoEndpointRebinderConfiguration 2016-11-21 11:47:12 -05:00
Ryan Baxter
30f34cf3bc Make sure we copy variables to new InfoEndpoint. Fixes #143. 2016-11-21 11:47:12 -05:00
Spencer Gibb
7fcd385d46 Update ServiceRegistryAutoConfiguration to be skipped if actuator not on classpath. 2016-11-07 11:51:39 -07:00
Spencer Gibb
bf4b6e3293 Create a ServiceRegistry interface.
Allow service discovery systems to register more than one instance.

Automatic registration will still take place.

Add boolean autoRegister() to EnableDiscoveryClient, defaults to true.

Add ServiceRegistryEndpoint.

fixes gh-9
2016-11-07 10:30:54 -07:00
Spencer Gibb
d850aad13f Bump to 1.2.0.BUILD-SNAPSHOT 2016-10-27 15:58:59 -06:00
Ryan Baxter
a4cc3afb94 Merge pull request #137 from ryanjbaxter/ribbon-retry-logic
Retry implementation for LoadBalanced RestTemplates
2016-10-26 15:11:38 -04:00
Ryan Baxter
620ab88240 Added test-jar packaging to reuse helper classes downstream 2016-10-26 14:30:35 -04:00
Ryan Baxter
d6f306e1af Merge remote-tracking branch 'Upstream/master' into ribbon-retry-logic 2016-10-25 15:45:19 -04:00
Ryan Baxter
b0dca4ee76 Rename LoadBalanceChooser to ServiceInstanceChoose 2016-10-25 15:44:49 -04:00
Dave Syer
6250a68f52 Add aggregate javadocs to build 2016-10-24 16:26:39 +01:00
Ryan Baxter
c5b7e87077 Updated SC build version 2016-10-20 15:21:07 -04:00
Ryan Baxter
39045ee20e Making spring-retry optional by conditional loading config 2016-10-20 14:36:39 -04:00
Ryan Baxter
19a7562c7c Retry implementation for LoadBalanced RestTemplates 2016-10-17 06:52:12 -04:00
Dave Syer
65c00ecb93 Revert to snapshots 2016-10-17 09:15:38 +01:00
Dave Syer
5d2d2908db Update for 1.1.4 2016-10-17 09:08:50 +01:00
Pavel Baranchikov
329c67fa36 Make InetUtils.executorService an instance variable.
Fixes gh-132
2016-10-06 11:33:29 -04:00
Spencer Gibb
a2c1fe6909 Only create composite health indicator if needed.
Only if there is at least one DiscoveryHealthIndicator.

fixes gh-135
2016-10-04 19:00:36 -06:00
Dave Syer
8089c0d411 Revert to snapshots 2016-09-21 09:39:11 +01:00
Dave Syer
897555a57a Update to 1.1.3 2016-09-21 09:38:16 +01:00
Dave Syer
4afa7488cf Ensure version is scraped from parent pom 2016-09-20 13:48:13 +01:00
Marcin Grzejszczak
78b7a65e56 Updating mvnw for all projects 2016-09-19 19:30:22 +02:00
Spencer Gibb
0b61f4e089 Add spring-security-rsa back to dependencies.
With exclusion of spring-security-crypto and spring-core
2016-09-19 10:04:53 -06:00
Marcin Grzejszczak
01d7145036 Updating mvnw for all projects 2016-09-19 14:17:17 +02:00
Dave Syer
845cce0b0b Rationalize dependency management in BOMs 2016-09-19 12:02:03 +01:00
Marcin Grzejszczak
60653a6b6c Updating mvnw for all projects 2016-09-19 12:45:35 +02:00
Dave Syer
d4fd2b7aa5 Extract logging system shutdown into a separate listener
LoggingSystemShutdownListener runs immediately after
BootstrapApplicationListener and contains the code which used to be
in that to clean up the logging system (and make it go dark). That
is still a little bit of a hack to work around some limitations in
the static logging libraries (via the Spring Boot Logging System
and LoggingApplicationListener).

If the LoggingApplicationListener is then *not* applied in the
ContextRefresher, then we don't need the LoggingSystemShutdownListener
either. In fact we can narrow down the ContextRefresher to be only
interested in the listeners that affect the Environment (of which
we know of only 2). It means that any listeners that are added that
affect the Environment will not be applied, but there are plenty of
more "official" channels for modifying the Environment
(EnvironmentPostProcessor and PropertySourceLocator), so users can
easily migrate to a better implementation.
2016-09-16 13:44:48 +01:00
Dave Syer
68c7fcf7d8 Apply correct ordering in logging system on startup
Completes the work started in 7f687b1, where the call to
LoggingSystem.beforeInitialization() was ommitted which results
in JUL logging never being available in the application.

Partial fix for #131 (but a /refresh is still broken)
2016-09-16 12:11:15 +01:00
Dave Syer
30a7bb9a70 Update spring-security-rsa to latest 1.0.3 2016-09-16 12:10:44 +01:00
Marcin Grzejszczak
2b0a5e9dc7 Updating mvnw for all projects 2016-09-15 16:10:58 +02:00
Spencer Gibb
e13764db66 Fixes indexed properties merging problem.
Given the following in one property source
```
mine[0].someValue=Foo
mine[0].someKey={cipher}XXXX
mine[1].someValue=Bar
mine[1].someKey={cipher}XXXX
yours[0].anotherKey=Baz
```
only `mine[*].someKey` were added to "decrypted" property source. Due to house spring boot manages indexed properties, they can not be merged across property source. This change includes all indexed properties in the "decrypted" property source if any one of them is encrypted.

In the above example, `yours[*].*` is included even though unrelated.

fixes gh-466
2016-09-09 14:23:19 -06:00
Spencer Gibb
23d3a2ec3d Guard NPE in HeartbeatMonitor
fixes gh-129
2016-09-09 11:40:13 -06:00
Marcin Grzejszczak
3cfda6b31d Removed adoc footer 2016-09-07 17:59:41 +02:00
Marcin Grzejszczak
72be22f3f8 Updating mvnw for all projects 2016-09-07 17:27:23 +02:00
Dave Syer
cff67e0a12 Revert to snapshots 2016-09-06 14:53:36 +01:00
Dave Syer
00a2f23c00 Update to 1.1.2 2016-09-06 14:36:20 +01:00
Dave Syer
7f687b10e3 Adjust the logging lifecycle during bootstrap
Anticipating a change in Spring Boot 1.4.1 to support child context
creation without (needless) re-initialization of the logging system,
we need to carefully manage the lifecycle, in particular calling
cleanUp() when we know there are changes in the pipeline.

Fixes gh-125
2016-08-25 18:04:14 +01:00
Marcin Grzejszczak
cecac1125e Updating ghpages for all projects 2016-08-22 13:31:15 +02:00
Marcin Grzejszczak
4e0a70e4a8 Updating ghpages for all projects 2016-08-19 11:45:09 +02:00
Spencer Gibb
2da3fed95d Merge pull request #120 from ebjwc/gh-114
* ebjwc-gh-114:
  Add new properties to customize InetUtils.
2016-08-18 12:07:24 -06:00
Tomasz Juchniewicz
e6ccb824a6 Add new properties to customize InetUtils.
Added useOnlySiteLocalInterfaces and preferredNetworks properties to
InetUtils. The preferredNetworks property allows for a whitelist of
networks. The useOnlySiteLocalInterfaces allows InetAddresses where
isSiteLocalAddress is true.

Fixes gh-114
2016-08-18 12:04:46 -06:00
Marcin Grzejszczak
6fc4e60c83 Updating ghpages for all projects 2016-08-18 13:09:13 +02:00
Matt Benson
8281c829e2 correct GenericScope#setName() Javadoc (#124) 2016-08-17 13:26:00 -04:00