Commit Graph

126 Commits

Author SHA1 Message Date
Dave Syer
efbcbfa22e Send EnvironmentChangeEvent even if no keys changed 2015-09-23 16:50:16 +01:00
Dave Syer
51983c376c Revert to snapshot 2015-09-08 10:21:35 +01:00
Dave Syer
8093134713 Update for M1 release 2015-09-08 10:12:42 +01:00
Dave Syer
70e3588fd8 Re-initialize logging if anything shows up in logging.* 2015-09-07 09:46:09 +01:00
Dave Syer
6a5dedd498 Re-initialize logging if the logfile changes
Fixes gh-224
2015-09-05 10:03:14 +01:00
Spencer Gibb
41cfa132d2 fix possible NPE
fixes gh-51
2015-08-28 15:27:21 -06:00
Spencer Gibb
794cf98c53 fixed usage of AtomicBoolean 2015-08-28 14:40:50 -06:00
Dave Syer
1a317a5ac9 Merge branch '1.0.x'
t message to explain why this merge is necessary,
2015-08-25 15:22:26 +01:00
Dave Syer
82a14bffc7 Make ghpages.sh work on a branch 2015-08-25 15:16:55 +01:00
Dave Syer
dc06921877 Add test for message source configuration
See gh-29
2015-08-21 17:19:03 +01:00
Dave Syer
f022fb78bd Move RefreshEndpoint to more logical package 2015-08-21 14:40:52 +01:00
Dave Syer
b022a39ba8 Rebind configuration properties on startup in case environment changed
The main driver for this was a config server use case, where the server
wants to configure its own properties in the remote repo. It was working
up to a point, but the beans in bootstrap context were not refreshed
after the Environment was built so you had to manually refresh them to
get them to point to (e.g.) config repos configured remotely.

Fixes https://github.com/spring-cloud/spring-cloud-config/issues/139
2015-08-21 12:32:19 +01:00
Spencer Gibb
385994f58c Added LICENSE.txt 2015-08-20 16:08:11 -06:00
Spencer Gibb
569f87b287 Merge pull request #50 from cppwfs/ISSUE-49
isRefreshScoped returns false if beanName is null
2015-08-20 09:42:50 -06:00
Glenn Renfro
e4bacc1353 isRefreshScoped returns false if beanName is null
Refer to notes in https://github.com/spring-cloud/spring-cloud-commons/issues/49 for details
2015-08-20 11:28:08 -04:00
Dave Syer
adcd4a83ac Update readmes 2015-08-14 11:09:51 +01:00
Dave Syer
005021e82a Add Maven wrapper 2015-08-14 10:01:17 +01:00
Spencer Gibb
360560bd37 Don't handle EmbeddedServletContainerInitializedEvent from management
fixes gh-46
2015-07-31 12:48:36 -06:00
Spencer Gibb
eb929d6b9e AbstractDiscoveryLifecycle now function if actuator is not on the classpath 2015-07-29 18:00:02 -06:00
Dave Syer
addeda8262 Allow ConfigurationPropertiesRebinder to rebind beans by name
including ones in the parent context.
2015-07-28 13:07:37 +01:00
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