Dave Syer
4df29bdfe7
Suppress rebinding of configuration properties for refresh scope
...
If a @ConfigurationProperties @Bean is in @RefreshScope then it doesn't
need to be rebound on an environment change event (it will re-initialize
on refresh).
See https://github.com/spring-cloud/spring-cloud-config/issues/183
2015-07-20 17:05:34 +01:00
Dave Syer
7111d6a1c9
Merge branch '1.0.x'
2015-07-15 16:35:04 +01:00
Dave Syer
fbe17efd30
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 13:24:01 +01:00
Dave Syer
a58d06a704
Add test for refresh scope on configuration properties list
2015-07-14 13:24:01 +01: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
Eric Bottard
d664cdd6eb
Properly close fixed-font in documentation
2015-07-09 13:37:09 +02:00
Spencer Gibb
b9a188b007
Merge pull request #43 from mbenson/pom-fixes
...
* pom-fixes:
fix (remove) parent relativePath
ws
2015-07-06 10:00:00 -06:00
Matt Benson
d67dfddf3c
fix (remove) parent relativePath
2015-07-06 10:45:51 -05:00
Matt Benson
146bff27b7
ws
2015-07-06 10:45:20 -05:00
Dave Syer
892ca8839c
update readme
2015-07-06 15:26:59 +01:00
Dave Syer
a1628915ff
Merge branch '1.0.x'
2015-07-06 12:37:36 +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
c55c6117ab
Update to Spring Boot 1.3, stage I (make it compile)
2015-07-03 09:54:14 +01:00
Dave Syer
daf2b8f2f7
Move starters into home projects
2015-06-26 15:09:53 +01:00
Dave Syer
8a8baee253
Update to Brixton
2015-06-26 12:57:05 +01:00
Dave Syer
3e0bf055fe
Prepare master for next snapshot
2015-06-26 10:57:17 +01:00
Dave Syer
ee7e571ee5
Fix path to docs in README raw text
2015-06-25 12:31:28 +01:00
Dave Syer
128f35a94a
Add dependency management for commons projects
2015-06-25 11:37:54 +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
Spencer Gibb
d976dcc0d8
add build and contributing sections to readme
2015-06-16 22:35:13 -06:00
Spencer Gibb
78890fc150
Merge pull request #39 from mbenson/alignment
...
alignment
2015-06-16 23:27:24 -05:00
Matt Benson
ea857c0492
alignment
2015-06-16 18:12:26 -05:00
Dave Syer
59c4f1a662
Add separate section of links to JCE downloads
2015-06-08 06:35:18 +01:00
Dave Syer
106e04f3e9
Add some javadocs to heartbeat events
2015-06-07 11:52:12 +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
6b916473e9
support random port assignment in AbstractDiscoveryLifecycle
2015-05-22 13:08:58 -06:00
Spencer Gibb
96cb8a24e0
Rename SingleImplementationImportSelector to SpringFactoryImportSelector
2015-05-22 10:17:27 -06:00
Spencer Gibb
9bb0caa985
removed duplicate license
2015-05-22 09:00:16 -06:00
Dave Syer
c6b4d6da9d
Allow all discovery implementations to bubble up
...
Hope that one is chosen by @Conditionals. The tests all pass
but this could get hairy when we start to get more discovery
implementations.
2015-05-21 15:52:43 +01: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
17f15447e9
Update to 1.0.2 snapshots
2015-04-23 11:11:21 +01:00
Dave Syer
598819bd66
Add support for @Order in BootstrapConfiguration
2015-04-21 08:19:36 +02:00
Spencer Gibb
964550bc1e
Only attempt to get status from discovery client if it is initialized.
...
Attempt to fix https://github.com/spring-cloud/spring-cloud-netflix/issues/278
2015-04-08 11:29:09 -06:00
Spencer Gibb
64d7a57190
RestTemplateCustomizer to customize the @LoadBalanced RestTemplate.
...
By default, creates a RestTemplateCustomizer adds a LoadBalancerInterceptor
fixes gh-16
2015-03-26 10:46:15 -06:00
Spencer Gibb
3fd824ef22
remove bad add header
2015-03-25 10:46:54 -06:00
Spencer Gibb
56fbc5e970
In LoadBalancerInterceptor add ServiceInstance to static ThreadLocal and provide static getter.
2015-03-25 09:53:48 -06:00
Spencer Gibb
9e9e30fd70
create RestTemplate with LoadBalancerInterceptor using @LoadBalanced qualifier.
...
fixes https://github.com/spring-cloud/spring-cloud-netflix/issues/267
2015-03-20 11:31:22 -06:00
Dave Syer
3002f3c3ea
Add link to github in rendered docs
2015-03-20 11:46:59 +00:00
Spencer Gibb
7339b6dbac
added missing ghpages.sh
2015-03-19 12:31:00 -06:00
Dave Syer
92adcefe8a
Shake up docs for new library layout
2015-03-19 17:15:37 +00:00
Dave Syer
ae74fe7228
Add annotation processor
2015-03-19 14:27:17 +00: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
Dave Syer
0b0999fde8
Move all of non-config client related stuff into commons
...
Refresh, bootstrap, encryption all moved in to the common jar, for
now at least
2015-03-18 15:39:59 +00:00