Commit Graph

5742 Commits

Author SHA1 Message Date
Stephane Nicoll
bf0b857357 polish 2015-08-04 10:56:23 +02:00
Rob Winch
91b2c3aee5 Document how to override a dependency version when using Gradle
Closes gh-3651
2015-08-04 09:53:14 +01:00
Stephane Nicoll
eb5d92f3f0 Exclude auto-configurations via property
Add `spring.autoconfigure.exclude` to control the list of
auto-configuration classes to exclude via configuration. Merge the
exclusions defined on the `@EnableAutoConfiguration` or
`@SpringBooApplication` if any.

Closes gh-2435
2015-08-04 10:50:49 +02:00
Andy Wilkinson
da60c94d57 Upgrade to Spring Session 1.0.2.RELEASE
Closes gh-3655
2015-08-04 09:23:42 +01:00
Rob Winch
f543e3259e Add Test that HiddenHttpMethodFilter before FilterChainProxy
Fixes gh-3447
2015-08-03 14:22:23 -05:00
Phillip Webb
8e114e3e2a Merge branch '1.2.x' 2015-08-03 11:09:40 -07:00
Phillip Webb
2c0ec1b428 Polish 2015-08-03 11:09:33 -07:00
Phillip Webb
199a3c1535 Fix type in DefaultPropertyNamePatternsMatcher 2015-08-03 11:03:48 -07:00
Phillip Webb
891dd5a0f6 Polish 2015-08-03 11:03:48 -07:00
Andy Wilkinson
5c1f700c3a Merge branch '1.2.x' 2015-08-03 16:23:54 +01:00
Andy Wilkinson
acfb07bdd6 Merge branch 'gh-3628' into 1.2.x 2015-08-03 16:23:47 +01:00
Andy Wilkinson
838e0ef33e Polish contribution
- Extract the logic that coerces the string into a LogLevel into a
  separate method.
- Add a test that verifies that false is mapped to LogLevel.OFF

Closes gh-3628
2015-08-03 16:23:36 +01:00
shanman190
cbd37b583f Make it easier to use YAML configuration to turn off a logger
A level named off is used to disable logging for a particular logger.
YAML interprets off as false, leading to a failed attempt to get the
LogLevel for FALSE. A workaround is to quote the level, i.e. use "off"
rather than off.

This commit updates LoggingApplicationListener to coerce the string
false back to the level off.

Closes gh-3631
See gh-3628
2015-08-03 16:21:26 +01:00
Roy Clarkson
4cd95f4223 Upgrade to Spring Cloud Connectors 1.2.0.RELEASE
Closes gh-3609
2015-08-03 16:05:43 +01:00
Andy Wilkinson
4660a3ed4d Merge branch '1.2.x' 2015-08-03 15:50:26 +01:00
Stephane Nicoll
4b58d753ab Explain how to build the reference documentation 2015-08-03 16:45:56 +02:00
Andy Wilkinson
d241171fff Use fast exceptions in hasMoreElements in LaunchedURLClassLoader
When nested jars are being used, hasMoreElements requires opening a
connection for an entry in every nested jar. If that entry doesn't
exist, a FileNotFoundException is thrown to indicate that a particular
jar doesn't contain the requested entry. This exception is used to
indicate the lack of an entry and is then swallowed, i.e. its stack
trace is of no importance. This means that the performance of
hasMoreElements can be improved by switching on fast exceptions while
it's being called. When fast exceptions are switched on a general
purpose pre-initialized FileNotFoundException is thrown rather than
creating a new FileNotFoundException instance each time.

In certain situations, the use of fast exceptions as described above
can improve performance fairly significantly. The JRE's default SAAJ
implementation uses META-INF/services-based discovery for _every_
request that's handled by Spring Web Services. Each discovery attempt
results in hasMoreElements being called making its performance
critical to throughput.

See gh-3640
2015-08-03 15:39:56 +01:00
Stephane Nicoll
fac04c1228 Add test
#3386 was actually fixed as part of #2387. Add the test that used to
reproduce the issue.
2015-08-03 15:03:19 +02:00
Stephane Nicoll
051dd4da98 Add missing health indicators in docs 2015-08-03 14:45:04 +02:00
Stephane Nicoll
42253ea8bc Polish 2015-08-03 14:44:41 +02:00
Stephane Nicoll
b569918db1 Add property to disable default health indicators
Add a "management.health.defaults.enabled" property that controls whether
the default health indicators are enabled. This allow to disable them all
by default and still enable individual ones using their respective
specific property.

Closes gh-2298
2015-08-03 14:26:12 +02:00
Stephane Nicoll
15442b9667 Avoid wrong meta-data
Make `getFaviconLocations` package private so that it's not (wrongly)
exposed in the meta-data.

Closes gh-3647
2015-08-03 10:46:33 +02:00
Stephane Nicoll
b17809b4e7 Add missing metrics export keys 2015-08-03 10:18:41 +02:00
Stephane Nicoll
3cae8e4d20 Remove outdated key 2015-08-03 10:11:10 +02:00
Stephane Nicoll
c0500d6d62 Add documentation for Hypermedia endpoints 2015-08-03 09:34:29 +02:00
Stephane Nicoll
d3e15805b4 Polish 2015-08-03 09:31:26 +02:00
Stephane Nicoll
cd53297fed Add missing logging.pattern meta-data
See gh-3405
2015-08-03 09:22:30 +02:00
Stephane Nicoll
a4e5ee0b32 Fix typo 2015-08-02 10:04:50 +02:00
Dave Syer
6d2af95d59 Allow path with / in JolokiaMvcEndpoint
See gh-3629
2015-07-31 15:35:52 +01:00
Dave Syer
ff7717932a Weed out duplicate links if there are 2 endpoints with the same path
Fixes gh-3570
2015-07-31 14:55:46 +01:00
Dave Syer
38d80bb8c0 Use link names instead of paths to index docs
Fixes gh-3570
2015-07-31 14:32:37 +01:00
Stephane Nicoll
9b84465edc Upgrade to Hazelcast 3.5.1
Closes gh-3634
2015-07-31 15:25:36 +02:00
Stephane Nicoll
e7b1dce5b5 Upgrade to Spring Framework 4.2.0.RELEASE
Closes gh-2575
2015-07-31 12:12:29 +02:00
Stephane Nicoll
bee7be9f4c Merge pull request #3632 from arghya88/patch-1
* pr/3632:
  Fix copyright date
2015-07-31 10:20:11 +02:00
arghya88
6e71af2d21 Fix copyright date
Closes gh-3632
2015-07-31 10:19:46 +02:00
Stephane Nicoll
d9648a36fe Add more specific test
Add an error controller test that translates a ResponseStatus annotated
exception that does not contain a reason attribute.

See gh-3623
2015-07-30 17:08:03 +02:00
Stephane Nicoll
4a327dc08b Add missing meta-data
Closes gh-3620
2015-07-30 10:39:51 +02:00
Stephane Nicoll
a90970060d Polish 2015-07-30 09:40:25 +02:00
Stephane Nicoll
e32efc179c Polish 2015-07-30 09:39:51 +02:00
Stephane Nicoll
bc0487f791 Polish
Make sure that the meta-data can be serialized.
2015-07-29 14:01:21 +02:00
Andy Wilkinson
255764f1a0 Ensure that custom Liquibase logger is always used
Liquibase 3.4.0 contains a bug that causes the initialization of its
ServiceLocator to pollute its map of loggers with a DefaultLogger for
the logger named "liquibase". Liquibase 3.4.1 contains a change that
improves the situation, but does not address is completely. Creating a
CustomResolverServiceLocator, as we do, still causes the map of
loggers to be polluted due to logging that's performed in
ClassLoaderResourceAccessor.getResourcesAsStream.

The commit address the problem by upgrading to Liquibase 3.4.1 and
adding the package containing our custom logger to the default service
locator before we register our custom service locator. This ensures
that the logging that's performed during the creation of our custom
service locator will still use our custom logger.

Closes gh-3470
Closes gh-3616
2015-07-29 10:15:29 +01:00
Stephane Nicoll
3298761437 Update maven prerequisite
Closes gh-3614
2015-07-29 09:21:25 +02:00
Stephane Nicoll
41bc3b386e Rename ManagementSecurityAutoConfiguration
Since `ManagementSecurityAutoConfiguration` is cnfiguring web-related
things, it has been renamed to `ManagementWebSecurityAutoConfiguration`.

Closes gh-2163
2015-07-28 15:20:59 +02:00
Stephane Nicoll
96fc107ca1 Customize Thymeleaf default template resolver order
Currently, the default TemplateResolver had no specific order. Thymeleaf
handles that with a "always first" strategy (that can be confusing if
several TemplateResolver have a "null" order.

While it is a fine default (and changing it could lead to weird side
effects), it has to be changed as soon as another TemplateResolver bean
is defined in the project.

The `spring.thymeleaf.template-resolver-order` property has been added to
control  the order of the default TemplateResolver.

Closes gh-3575
2015-07-28 14:28:31 +02:00
Stephane Nicoll
65c6492b6f Merge pull request #3610 from arghya88/master
* pr/3610:
  Fix typo
2015-07-28 10:39:44 +02:00
arghya88
64c6e5b403 Fix typo
Closes gh-3610
2015-07-28 10:39:10 +02:00
Stephane Nicoll
ddc2116cad Merge pull request #3608 from izeye/typo-20150728
* pr/3608:
  Fix typos
2015-07-28 08:55:03 +02:00
izeye
ee6fc8d917 Fix typos
Closes gh-3608
2015-07-28 08:54:47 +02:00
Stephane Nicoll
32128a6ac2 Polish 2015-07-27 16:02:03 +02:00
Stephane Nicoll
7fc7e47621 Merge pull request #3606 from arghya88/master
* pr/3606:
  Fix typo
2015-07-27 15:31:15 +02:00