Commit Graph

243 Commits

Author SHA1 Message Date
Dave Syer
07f3efe5fe Tidy up compiler warnings for generics 2016-05-03 11:31:36 +01:00
Spencer Gibb
1c35c895b4 Revert "Start discovery lifecycle in traditional war deployments."
This reverts commit f76687e949.
2016-04-26 08:28:23 -06:00
Spencer Gibb
f76687e949 Start discovery lifecycle in traditional war deployments.
fixes https://github.com/spring-cloud/spring-cloud-consul/issues/173
2016-04-25 16:33:28 -06:00
Spencer Gibb
f85f5b0ecf execute throws IOException 2016-04-25 13:40:11 -06:00
Spencer Gibb
6e24ebd2f0 fix typo 2016-04-25 13:39:35 -06:00
Dave Syer
bda78f53a5 Add metadata manually for health endpoint 2016-04-25 15:35:56 +01:00
Dave Syer
e781d2e873 Add RSSA dependency to cloud starter 2016-04-20 17:10:34 +01:00
Dave Syer
f4cb1b9874 Add dependency management for RSA jar 2016-04-20 14:41:45 +01:00
Dave Syer
c940192867 Switch off info endpoint rebinding in Spring Boot 1.4
The new info endpoint doesn't need special treatment to pick up
changes in the Environment, so we can just skip installing the
old bean that manipulates it.

Fixes gh-108
2016-04-20 11:27:40 +01:00
Dave Syer
a3fc78481a Revert to snapshots 2016-04-18 10:17:36 +01:00
Dave Syer
3f5d5b90d3 Update to RC3 2016-04-18 10:16:24 +01:00
Dave Syer
b54c8e80e8 Add support for endpoints.env.post.enabled=false
Separately disable the POST /env from the GET. Fixes gh-106.
2016-04-18 10:04:56 +01:00
Dave Syer
1824a96968 Add conditional annotation to the refresh scope health indicator
i.e. management.health.refresh.enabled=false to disable

Fixes gh-106
2016-04-07 15:56:58 +01:00
Spencer Gibb
5b8b461853 Default appName to 'application'. 2016-04-01 18:01:48 -06:00
Spencer Gibb
1e71c5632c Merge pull request #103 from venilnoronha/master
* pull103:
  Moved RefreshEndpoint logic to ContextRefresher.
2016-04-01 15:19:25 -06:00
Venil Noronha
b92016b260 Moved RefreshEndpoint logic to ContextRefresher.
Fixes gh-101
2016-04-01 15:03:30 -06:00
Dave Syer
f29198bee1 Clarify flags for overriding remote property sources 2016-03-27 10:00:16 +01:00
Dave Syer
81b4c11dbb Revert to snapshots 2016-03-23 08:19:13 +00:00
Dave Syer
b4a6652f9e Bump for 1.1.0.RC2 2016-03-23 08:18:19 +00:00
Spencer Gibb
cea6ea0041 Update mvnw to determine profile on mac and linux 2016-03-22 12:40:54 -06:00
Dave Syer
0078f55c96 Correct location of encryption features 2016-03-22 13:52:53 +00:00
David Welch
072d6b40c7 Disable startup logging for Bootstrap environment
Fixes gh-100
2016-03-11 08:52:40 +00:00
Dave Syer
34c9b11284 Prevent possible memory leak with restart 2016-03-09 16:57:33 +00:00
Dave Syer
091b6af12a Sort bean names before generating serialization ID
Fixes gh-93
2016-03-09 16:57:33 +00:00
Spencer Gibb
68c67df67d Update RestTemplate creation documentation. 2016-03-08 15:48:12 -07:00
Dave Syer
ad08ca55f4 Change in contract for @LoadBalanced
Users now need to create their own bean and qualify it, and Spring
Cloud will customize it (instead of providing the @Bean itself).

This is much better for users, since they remain in control of the
bean declarations, and can choose which one (if any) is @Primary.
It's a breaking change for some apps (if they rely on a
@LoadBalanced RestTemplate being automatically injected).
2016-03-07 17:44:41 +00:00
Dave Syer
7eccbc4bac Make LoggingRebinder case insensitive
Partly to account for the fact that Sprng Boot publishes config
meta data with lower case values (don't ask).
2016-03-04 09:22:03 +00:00
Spencer Gibb
bfd25e1d50 Document @Primary for plain RestTemplate beans.
fixes gh-60
2016-03-02 19:02:43 -07:00
Spencer Gibb
0a58870114 Add tip for RestOperations or proxyTargetClass
fixes gh-66
2016-03-02 18:55:55 -07:00
Dave Syer
a839006880 Revert to snapshots 2016-03-02 17:42:58 +00:00
Dave Syer
449b65fcbe Update for 1.1.0.RC1 2016-03-02 17:42:35 +00:00
Dave Syer
07b4ceaa2a Fix mvnw script for milestones 2016-03-02 17:34:24 +00:00
Spencer Gibb
4a2c754ec6 Move o.s.c.util to o.s.c.commons.util
fixes gh-92
2016-03-02 09:22:03 -07:00
Spencer Gibb
779e5686a9 Add ability to disable parts of commons auto config.
fixes gh-95
2016-03-01 13:35:22 -07:00
Marcin Grzejszczak
760b0ef42c Merge pull request #94 from spring-cloud/pick_predefined_port
Pick predefined port if it's set
2016-03-01 06:58:28 +01:00
Marcin Grzejszczak
c7fc6552c0 Pick predefined port if it's set 2016-02-29 17:27:48 +01:00
Dave Syer
1c430d4ff3 Add test for serialization ID in RefreshScope
It should be unique and deterministic by default.
2016-02-29 13:57:37 +00:00
Dave Syer
099953f795 Use system environment property source 2016-02-25 11:52:34 +00:00
Spencer Gibb
539a537abb Expose some information.
See https://github.com/spring-cloud/spring-cloud-netflix/issues/643
2016-02-22 16:54:51 -07:00
Spencer Gibb
86ff712398 Properly close child contexts in destroy()
fixes gh-91
2016-02-22 10:49:54 -07:00
Dave Syer
624be9d19e Fix ordering of property sources
When the bootstrap properties are added back into the main Environment
we have to be careful that any source that is already there (such as
one that was added in a Spring Boot EnvironmentPostProcessor) is not
replaced in the wrong order.

Fixes gh-90
2016-02-15 10:25:19 +00:00
Dave Syer
8628949a8d Set -Pmilestone automatically based on pom version 2016-02-12 17:45:17 +00:00
Dave Syer
df7fe24a0e Make grep quiet when setting env vars 2016-02-12 15:48:42 +00:00
Dave Syer
858c144e10 Fix logic with MVN_GOAL 2016-02-12 15:06:20 +00:00
Dave Syer
3d76fd33a5 Align travis build with tools in spring-cloud/build 2016-02-12 13:17:08 +00:00
tc
bcb4e60448 Fix property source for decrypted variables
Use SystemEnvironmentPropertySource so that env vars can be
encrypted as well as property values (i.e. FOO_BAR will bind to
@Value("foo.bar")).

Fixes gh-89, fixes gh-87
2016-02-11 14:46:26 +00:00
Spencer Gibb
42b21d8399 Move RefreshEvent and Listener from consul/zk 2016-02-08 17:04:41 -07:00
Dave Syer
fc44a48194 Revert to snapshots 2016-02-04 18:01:59 +00:00
Dave Syer
fc895ca514 Update to 1.0.0.M5 2016-02-04 18:01:59 +00:00
Spencer Gibb
8a21f71ad1 Reuse pause and resume endpoints to the can be disabled.
fixes gh-86
2016-02-03 12:38:28 -07:00