1248 Commits

Author SHA1 Message Date
Andy Wilkinson
9a33d1a2f9 Merge branch '2.0.x' into 2.1.x 2018-12-20 15:30:42 +00:00
Andy Wilkinson
8c68da0882 Avoid blocking on a Mono indefinitely
Closes gh-15535
2018-12-20 15:24:53 +00:00
Andy Wilkinson
c09a76d4c4 Merge branch '2.1.x' 2018-12-20 10:06:43 +00:00
Andy Wilkinson
ad489baaa3 Merge branch '2.0.x' into 2.1.x 2018-12-20 10:06:32 +00:00
Andy Wilkinson
d5c8caab59 Merge branch '1.5.x' into 2.0.x 2018-12-20 10:00:35 +00:00
Stephane Nicoll
6207b46bc6 Merge branch '2.1.x' 2018-12-17 17:07:58 +01:00
dreis2211
948902f090 Avoid unnecessary usage of ReflectionTestUtils
Closes gh-15482
2018-12-17 17:07:23 +01:00
Andy Wilkinson
ca13385534 Remove remaining assumption about File separator from LogFileTests
See gh-15471
2018-12-17 14:21:28 +00:00
Andy Wilkinson
3d7e4e99c5 Remove assumption about File separator from LogFileTests
See gh-15471
2018-12-17 14:14:57 +00:00
Andy Wilkinson
6adccbfd30 Make LoggingApplicationListener and tests more robust on Windows
Previously, LoggingApplicationListener its tests, and LogFile made some
assumptions that do not hold true on Windows. Specifically,
LoggingApplicationListenerTests used TestPropertySourceUtils to add
properties to the environment. This uses Java's standard Properties
parsing which does a poor job of handling Windows file paths (Strings
with backslashes in them). Secondly, LogFile made assumptions about
the use of forward clashes for the file separator.

This commit replaces the use of TestPropertySourceUtils and removes
the assumption about the OS's file separator.

Closes gh-15471
2018-12-17 14:02:10 +00:00
Andy Wilkinson
61d04db0d7 Minimize and centralize assumptions about build output
Closes gh-15471
2018-12-14 17:50:20 +00:00
igor-suhorukov
a2ebba8db1 Replace explicit generic type with diamond operator
See gh-15424
2018-12-09 11:42:27 +01:00
Andy Wilkinson
bbf0932f0f Exclude jcl-over-slf4j in favour of spring-jcl
Closes gh-15392
2018-12-07 15:37:24 +00:00
Stephane Nicoll
d5f90ffcfb Polish "Replace this lambda with a method reference"
Closes gh-15401
2018-12-07 11:10:10 +01:00
igor-suhorukov
5c1813aef8 Replace this lambda with a method reference
See gh-15401
2018-12-07 11:01:42 +01:00
dreis2211
b528eb8a7e Remove unnecessary cast in LoggingSystemProperties
Closes gh-15297
2018-12-03 11:01:30 +01:00
dreis2211
f57f16c190 Avoid premature declaration of variables
Closes gh-15215
2018-12-03 10:59:20 +01:00
dreis2211
a1a8a8cef0 Avoid instantiation of BeanPropertyBinder in Binder
Closes gh-15181
2018-12-03 10:54:36 +01:00
artsiom
e2d5dfad3a Use varargs for DefaultApplicationArguments
Closes gh-15142
2018-12-03 10:48:10 +01:00
Stephane Nicoll
7939b8b4da Polish "Rename logging.file to logging.file.name"
Closes gh-15089
2018-12-03 10:42:30 +01:00
TwinProduction
21da4a5d12 Rename logging.file to logging.file.name
See gh-15089
2018-12-03 10:42:30 +01:00
Phillip Webb
9c426c63bf Polish 2018-11-29 22:57:04 -08:00
Phillip Webb
ed9468a31a Update copyright year for changed files 2018-11-29 22:02:45 -08:00
Stephane Nicoll
33000b6e8e Polish contribution
Closes gh-14985
2018-11-28 11:29:37 +01:00
Alon Bar-Lev
108f28417e Allow to disable SSL client authentication on the management port
When server and management are at different ports, and when server
requires TLS client authentication, then there is no simple method to
disable TLS client authentication for management port.

This commit adds an additional "none" option to ssl.client-auth.

Example:

    server.port=8080
    server.ssl.enabled=true
    server.ssl.client-auth=need
    management.server.port=8081
    management.server.ssl.enabled=true
    management.server.ssl.client-auth=none

See gh-14985
2018-11-28 11:29:21 +01:00
dreis2211
17f04b8b75 Replace DirectFieldAccessor usages by hasFieldOrPropertyWithValue
Closes gh-15312
2018-11-28 08:47:41 +01:00
Andy Wilkinson
2dc8f49f8a Polish 2018-11-27 20:54:41 +00:00
Andy Wilkinson
dad6d4beca Merge branch '2.0.x' 2018-11-27 20:37:35 +00:00
Andy Wilkinson
2b22b23aad Polish 2018-11-27 20:35:30 +00:00
Andy Wilkinson
e1ad5641d5 Polish "Trim whitespace when coercing to a LogLevel"
Closes gh-15143
2018-11-27 15:14:26 +00:00
Dileep Bapat
dfe94a0abb Trim whitespace when coercing to a LogLevel
See gh-15143
2018-11-27 15:10:36 +00:00
Stephane Nicoll
ae1979f1ff Merge branch '2.0.x' 2018-11-26 10:35:37 +01:00
Stephane Nicoll
e424dfbe15 Polish "Perform best effort to retrieve DataSourceProxy"
Closes gh-15206
2018-11-26 10:18:48 +01:00
Andy Wilkinson
ee2107c91b Merge branch '2.0.x' 2018-11-23 20:15:42 +00:00
Andy Wilkinson
44632ea55c Merge branch '1.5.x' into 2.0.x 2018-11-23 20:15:26 +00:00
Andy Wilkinson
548cc05bb6 Polish 2018-11-23 19:33:33 +00:00
Andy Wilkinson
35cce76ae8 Merge branch '2.0.x' 2018-11-23 16:59:27 +00:00
Andy Wilkinson
3331fa2d02 Merge branch '1.5.x' into 2.0.x 2018-11-23 16:59:18 +00:00
Brian Clozel
5bb7b24d7c Fix class cast in ServletContextInitializerBeans
See gh-15166
2018-11-21 11:50:41 +01:00
Brian Clozel
d52b599eee Improve Servlet and Filter registration logging
Prior to this commit, the information logged at DEBUG level for the web
infrastructure was not consistent with the experience in Spring
Framework.

This commit moves some logging information about
`ServletContextInitializer` registrations from DEBUG to TRACE level and
gathers the Servlets and Filters registration logs into one-liners at
the DEBUG level.

Closes gh-15166
2018-11-21 10:29:55 +01:00
Phillip Webb
bab111b37e Fix ConfigurationPropertyName.equals for uppercase
Commit 7f35f8a9 for gh-14665 was unfortunately incomplete as it didn't
account for uppercase values. The run-off while loop should have used
`Character.toLowerCase` in the same way as the main while loop.

Fixes gh-15152
2018-11-15 13:48:20 -08:00
Phillip Webb
cccf5e6d2b Merge branch '2.0.x' 2018-11-14 18:27:28 -08:00
Phillip Webb
3baf782822 Merge branch '1.5.x' into 2.0.x 2018-11-14 18:24:32 -08:00
Brian Clozel
8e86bcafc1 Improve actuator endpoint mapping debug logging
Closes gh-14292
2018-11-14 14:36:52 +01:00
Jonathan Bregler
e74348ee30 Fix HANA validation query
This commit updates the validation query for HANA. It should use the
fully qualified dummy table name (SYS.DUMMY) to avoid unexpected results
if there is a local table named DUMMY.

Closes gh-15124
2018-11-10 17:56:51 +01:00
dreis2211
6ac788df2f Add missing @Deprecated annotation
Closes gh-15113
2018-11-07 07:53:39 +01:00
dreis2211
3e95af2c85 Polish some Map operations
Closes gh-15103
2018-11-06 07:41:55 +01:00
Stephane Nicoll
dc02616b78 Merge branch '2.0.x' 2018-11-01 17:15:31 +09:00
Nooheat
8380031039 Simplify ArrayList calling addAll() immediately
Closes gh-15033
2018-11-01 17:10:16 +09:00
Stephane Nicoll
8d6d1f4a57 Merge branch '2.0.x' 2018-11-01 10:15:26 +09:00