Commit Graph

16 Commits

Author SHA1 Message Date
Dave Syer
99cd797464 Reverse order of property sources before decrypting
Fixes gh-70
2015-12-18 09:48:14 +00:00
Dave Syer
442a7e87c3 Internal change in RefreshEndpoint to keep property sources separate
The incoming (existing) environment needs to be used to initalize the
context that is created to grab the new environment, but we shouldn't
re-use the existing environment, rather just copy the property sources
and profiles.
2015-07-14 12:38:01 +01:00
Dave Syer
8664dbf9d3 Add test for refresh scope on configuration properties list 2015-07-13 16:59:21 +01:00
Dave Syer
ac6b833a97 Use bean post processor to rebind info endpoint
Fixes gh-25
2015-07-06 12:36:41 +01:00
Dave Syer
e737c1e886 Check classpath before instantiating RSA 2015-06-24 21:03:27 +01:00
Dave Syer
cde7c7f311 Bump spring-security-rsa 2015-06-24 17:21:11 +01:00
Dave Syer
5d7f18f91f Ensure there is only one shutdown hook
The effect of not doing this is not often noticeable, but you sometimes
get a race condition between a context and its parent closing in different
threads without it.
2015-06-04 09:09:32 +01:00
Dave Syer
6d4248bbcd Respect encrypt.failFast on client 2015-06-02 15:26:30 +01:00
Spencer Gibb
9bb0caa985 removed duplicate license 2015-05-22 09:00:16 -06:00
Dave Syer
c2d1c0356c Ensure property source decryption works even if RSA not available
Fixes gh-34
2015-05-21 14:49:10 +01:00
Dave Syer
2978b8df4d Clean up shutdown hooks on refresh
Fixes gh-63
2015-05-19 10:04:17 +01:00
Dave Syer
e340855b32 Add decrypted property source to bootstrap environment
... and rebind to @ConfigurationProperties so that other listeners
can take advantage of the changes.

Fixes gh-32
2015-05-19 09:26:27 +01:00
Dave Syer
9d4584bb5c Add flag spring.cloud.config.overrideNone
If true (and spring.cloud.config.allowOverride=true) then the bootstrap
property source is added *last*, so all other property sources can override
it (including local config files).

Fixes gh-26, fixes gh-27.
2015-04-28 12:31:25 +01:00
Dave Syer
ecaecb6d32 Re-initialize logging system if the logging.config path changes
Fixes https://github.com/spring-cloud/spring-cloud-config/issues/132
2015-04-27 17:41:04 +01:00
Dave Syer
598819bd66 Add support for @Order in BootstrapConfiguration 2015-04-21 08:19:36 +02:00
Dave Syer
7d480ab41b Extract former config-client features to a new spring-cloud-context
Fixes gh-14
2015-03-19 11:52:25 +00:00