Commit Graph

2008 Commits

Author SHA1 Message Date
Dave Syer
cb25fa2166 Update to 1.1.0.M4 2015-12-18 15:50:30 +00:00
Dave Syer
016224287f Re-order autoconfig: refresh scope can be used without actuator 2015-12-18 14:59:47 +00:00
Dave Syer
25f7ea215d Ensure InetUtils uses a non-daemon thread 2015-12-18 11:28:52 +00:00
Dave Syer
af26af4bfa Merge branch '1.0.x'
Fixes for gh-70
2015-12-18 10:07:18 +00:00
Dave Syer
5e29312518 Reverse order of property sources before decrypting
Fixes gh-70
2015-12-18 10:04:27 +00:00
Dave Syer
99cd797464 Reverse order of property sources before decrypting
Fixes gh-70
2015-12-18 09:48:14 +00:00
Spencer Gibb
7d86198b17 Migrate SpringClientFactory and FeignClientFactory functions
fixes gh-69
2015-12-17 14:25:15 -07:00
Spencer Gibb
78e4786aa9 Merge pull request #68 from snicoll/fix-doc
* fix-doc:
  Polish doc
2015-12-17 10:07:12 -07:00
Stephane Nicoll
933d1abcdd Polish doc 2015-12-17 10:06:52 -07:00
Dave Syer
eb67c2fe5a Fix error in plaveholder for timeout 2015-12-08 16:28:12 +00:00
Dave Syer
e9b9897aba Add timeout (default 1sec) to hostname lookup
User can set spring.util.timeout.sec (or env var equivalent with
CAP_CASE).

Fixes gh-55
2015-12-08 14:47:10 +00:00
Dave Syer
c2b473adb0 Reverts 5d7f18f so that shutdown hook is owned by main context
Fixes gh-62, fixes gh-63
2015-12-04 14:11:47 +00:00
Dave Syer
96ec2d32ea Switch of shutdown hook in bootstrap
Fixes gh-61
2015-12-02 17:07:26 +00:00
Dave Syer
fcc1249827 Ensure info endpoint is available when condition is evaluated 2015-11-17 11:58:56 +00:00
Dave Syer
346e513bcb Revert to snapshots 2015-11-17 09:52:52 +00:00
Dave Syer
a0e95019f0 Update to 1.1.0.M3 2015-11-17 09:47:41 +00:00
Spencer Gibb
12dd15682d Bumped to 1.0.4.BUILD-SNAPSHOT 2015-11-16 10:01:29 -07:00
Dave Syer
9e1d83020d Allow multiple rest template customizers 2015-11-12 16:22:29 +00:00
Dave Syer
988189db82 Add extra decryption step before propery source locators
See also the integration tests in spring-cloud-samples/tests

Fixes gh-58
2015-11-11 09:13:56 +00:00
Dave Syer
7f2f008300 Compiler warnings 2015-11-02 15:04:48 +00:00
Dave Syer
5d40088b7e Class name change in Spring Boot 2015-10-31 15:34:23 +00:00
Dave Syer
b1fa9cba4b Revert profile and add comment 2015-10-20 09:34:47 -04:00
Dave Syer
6703ff0594 Remove confusing profile from settings.xml 2015-10-20 09:27:59 -04:00
Dave Syer
a6124e7063 Add another property source for decrypted bootstrap properties
The problem is that we do want bootstrap properties to override
default properties in most cases, but if they are decrypted those
values have to be added with the highest possible precedence.

Fixes gh-54
2015-10-02 15:00:22 +01:00
Dave Syer
41f0b641dd Add int converter to inet utils 2015-09-28 10:42:49 +01:00
Spencer Gibb
0bb2f48e4c Only lookup abstract features from context. 2015-09-25 16:00:58 -06:00
Spencer Gibb
be1c4ae881 Convenience methods on HasFeature 2015-09-25 14:43:15 -06:00
Spencer Gibb
93455532f9 Features actuator endpoint
Allows modules to declare features and display if they enabled or not.
2015-09-25 14:12:59 -06:00
Spencer Gibb
a582e4e1bf Calculate the default instance id. 2015-09-24 17:11:14 -06:00
Spencer Gibb
433ea0870a Adds non-loopback hostname and ipAddress lookup.
Also adds a propertySource with those values:
"springCloudClientHostInfo": {
    "spring.cloud.client.hostname": "myhostname",
    "spring.cloud.client.ipAddress": "192.168.2.112"
},

fixes gh-47
2015-09-24 14:48:26 -06:00
Dave Syer
bf8c7cff71 Add test for refresh scope behaviour 2015-09-24 13:56:42 +01:00
Dave Syer
8c346506f4 Re-order events in RefreshEndpoint
EnvironmentChangeEvent should come before the RefreshScopeRefreshedEvent
so that all the @ConfigurationProperties are fully bound when the refresh
happens.
2015-09-24 12:14:46 +01:00
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