Commit Graph

279 Commits

Author SHA1 Message Date
Dave Syer
00a2f23c00 Update to 1.1.2 2016-09-06 14:36:20 +01:00
Dave Syer
7f687b10e3 Adjust the logging lifecycle during bootstrap
Anticipating a change in Spring Boot 1.4.1 to support child context
creation without (needless) re-initialization of the logging system,
we need to carefully manage the lifecycle, in particular calling
cleanUp() when we know there are changes in the pipeline.

Fixes gh-125
2016-08-25 18:04:14 +01:00
Marcin Grzejszczak
cecac1125e Updating ghpages for all projects 2016-08-22 13:31:15 +02:00
Marcin Grzejszczak
4e0a70e4a8 Updating ghpages for all projects 2016-08-19 11:45:09 +02:00
Spencer Gibb
2da3fed95d Merge pull request #120 from ebjwc/gh-114
* ebjwc-gh-114:
  Add new properties to customize InetUtils.
2016-08-18 12:07:24 -06:00
Tomasz Juchniewicz
e6ccb824a6 Add new properties to customize InetUtils.
Added useOnlySiteLocalInterfaces and preferredNetworks properties to
InetUtils. The preferredNetworks property allows for a whitelist of
networks. The useOnlySiteLocalInterfaces allows InetAddresses where
isSiteLocalAddress is true.

Fixes gh-114
2016-08-18 12:04:46 -06:00
Marcin Grzejszczak
6fc4e60c83 Updating ghpages for all projects 2016-08-18 13:09:13 +02:00
Matt Benson
8281c829e2 correct GenericScope#setName() Javadoc (#124) 2016-08-17 13:26:00 -04:00
Dave Syer
6b957042e4 Change repo URLs to https 2016-08-17 17:31:22 +01:00
Marcin Grzejszczak
78c90d7db3 Updating ghpages for all projects 2016-08-17 12:43:37 +02:00
Marcin Grzejszczak
67bea29be5 Deploying documentation to proper folder
What we're missing ATM is different documentation versions for different application versions. What this change does is that it's:

- finding out what is the current branch (e.g. 1.0.x)
- finding out out what is the name of the main adoc file (e.g. spring-cloud-sleuth)
- pulling the changes from gh-pages after checkout
- finding out what is the list of comma separated whitelisted branches (via the `docs.whitelisted.branches` prop)
- in gh-pages creating a folder with name of the branch  (e.g. /1.0.x)
copying all the docs/target/generated-docs/ to that folder
- if the branch from which we're calling the script is NOT master then we're changing the ${main.adoc}.html to index.html so that it's easier to access the docs (e.g. http://cloud.spring.io/spring-cloud-sleuth/1.0.x/)
2016-08-16 15:55:41 +02:00
Dave Syer
3157a5c585 Update README with new CLA link 2016-07-11 14:35:09 +01:00
Dave Syer
a0287e5961 Update README 2016-06-11 10:50:32 +01:00
Dave Syer
8280e2463d Update readme script to handle local includes 2016-06-11 09:54:41 +01:00
Spencer Gibb
945f430efe Update to SNAPSHOT 2016-06-06 17:01:58 -06:00
Spencer Gibb
aaff352781 Update SNAPSHOT to 1.1.1.RELEASE 2016-06-06 16:31:03 -06:00
Spencer Gibb
ddfd8aa0e0 Polish versions in spring-cloud-commons-dependencies 2016-06-06 15:44:33 -06:00
Dave Syer
ff59dc8a42 Deprecate static methods in InetUtils 2016-06-06 15:58:34 +01:00
Dave Syer
7399045706 Update tp mvn 3.3.9 2016-06-04 09:14:03 +01:00
Dave Syer
cec4bbff0d Tone down logging for unknown host in discovery client
Fixes gh-112
2016-06-03 12:08:48 +01:00
Dave Syer
ee56f22b20 Add comment about shutdown errors in context.close() 2016-06-01 12:06:28 +01:00
Dave Syer
d80f6510cb Re-instate .settings.xml for Travis 2016-05-12 11:34:23 +01:00
Dave Syer
f7ddaa0b00 Update README and remove .settings.xml where appropriate 2016-05-12 10:47:36 +01:00
Dave Syer
d3915aad82 Update build parents to 1.1.2 snapshots 2016-05-10 09:16:12 +01:00
Dave Syer
01edfbf7f6 Revert to snapshots 2016-05-09 10:33:44 +01:00
Dave Syer
90c8a81611 Update for 1.1.0.RELEASE 2016-05-09 10:26:47 +01:00
Dave Syer
056db35780 Add explicit release disabled flag for artifactory for plugins 2016-05-06 18:09:41 +01:00
Dave Syer
45db3c18e7 Add explicit release disabled flag for artifactory in dependencies 2016-05-06 17:58:44 +01:00
Dave Syer
bf4305c05a Add explicit release disabled flag for artifactory 2016-05-06 17:47:14 +01:00
Dave Syer
0b654c22ab Switch parent of docs poms 2016-05-06 17:40:09 +01:00
Dave Syer
9aa4ad97be Update parent to 1.1.0.RELEASE 2016-05-06 17:13:33 +01:00
Dave Syer
31a2b3ea0e Make some tests more robust so they pass with BOot 1.4 as well
A couple of tests here make assumptions about the property source
names added using @IntegrationTest. If we are a bit more defensive
and search for a source with a matching name instead of grabbing
one by the precise name, we can have tests that pass in Boot 1.3
and 1.4.
2016-05-05 14:05:46 +01:00
Dave Syer
6f3cb2f132 Remove usage of deprecated code 2016-05-05 12:37:46 +01:00
Spencer Gibb
8c9317bd7e Merge pull request #110 from cfritz0127/cleaner-shutdown-on-deregistration-error
* cleaner-shutdown-on-deregistration-error:
  Catch and log exceptions that occur when attempting to deregister a service during shutdown.
2016-05-04 14:38:49 -06:00
Corey Fritz
0533eef471 Catch and log exceptions that occur when attempting to deregister a service during shutdown.
Currently, if an exception is thrown when deregistering the service (maybe the registry is not available) the latch used by the DefaultLifecycleProcessor is not decremented and you have to wait for the latch timeout (30 seconds) for shutdown to complete. With this fix, the exception is logged and normal shutdown execution continues.
2016-05-04 14:35:54 -06:00
Dave Syer
c39715b9f6 Clean up javadoc warnings 2016-05-04 08:49:53 +01:00
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