Andy Wilkinson
48c5e70ac8
Merge branch '1.5.x' into 2.0.x
2018-06-21 12:18:35 +01:00
Andy Wilkinson
2624748911
Merge branch '1.5.x' into 2.0.x
2018-06-21 11:41:02 +01:00
Johnny Lim
b9ea0fd5a7
Polish
...
See gh-13534
2018-06-21 09:20:50 +02:00
Stephane Nicoll
9e9e746554
Merge branch '1.5.x' into 2.0.x
2018-06-21 09:17:05 +02:00
Andy Wilkinson
4fc0a33094
Merge branch '1.5.x' into 2.0.x
2018-06-20 16:49:53 +01:00
Andy Wilkinson
e2d6280d83
Merge branch '1.5.x' into 2.0.x
2018-06-20 13:56:55 +01:00
Andy Wilkinson
e730382718
Merge branch '1.5.x' into 2.0.x
2018-06-20 11:12:51 +01:00
Andy Wilkinson
e1774672af
Prefer servlet to reactive when Jersey and WebFlux are both available
...
Closes gh-13521
2018-06-20 10:10:35 +01:00
Andy Wilkinson
814e90805e
Merge branch '1.5.x' into 2.0.x
2018-06-19 20:06:44 +01:00
Stephane Nicoll
864a6b3e91
Merge branch '1.5.x' into 2.0.x
2018-06-19 20:59:27 +02:00
Andy Wilkinson
497902de4e
Only bridge JUL into SLF4J when JUL has not be customized
...
Previously, Slf4jLoggingSystem would install SLF4JBridgeHandler into
JUL but would only remove a single root handler that was a
ConsoleHandler. If there were was than one root handler or the single
root handler was of a different type, they would not be uninstalled.
When deploying an application to Tomcat, this led to duplicate log
messages appearing in Tomcat’s console output and to logging from
other application or Tomcat itself being routed into an
application-specific log file enabled using the logging.file
configuration property.
A secondary, related problem was that LogbackLoggingSystem installs a
LevelChangePropagator so that Logback’s log level configuration is
propagated into JUL. This meant that an individual Boot app with
custom log level configuration could change the log levels of Tomcat
itself and of any other applications that had been deployed to Tomcat
and use JUL.
This commit updates both Slf4jLoggingSystem and LogbackLoggingSystem
so that they only change JUL’s configuration if it hasn’t already been
customized. The configuration is deemed to have not been customised if
there’s a single root handler and its a console handler.
Closes gh-13470
2018-06-19 15:29:46 +01:00
Stephane Nicoll
7ae82b070b
Stop calling Charset.availableCharsets() early
...
This is no longer required as Spring Framework has been updated to
invoke this method lazily as well.
Closes gh-13423
2018-06-19 14:12:00 +02:00
Johnny Lim
1e7ed2ffdb
Add log level guards in ConfigFileApplicationListener
...
Closes gh-13512
2018-06-19 11:10:45 +02:00
Madhura Bhave
87680b4ee5
Fix profile precedence when active and include provided
...
Before 2.0.2, if profiles were activated via the environment using the
active and include profile property, profiles specified via the active
property would take precedence. This commit restores that behavior.
Fixes gh-13513
2018-06-18 16:24:49 -07:00
Stephane Nicoll
62c93a4b9a
Add missing `@ConditionalOnClass` check on RedisCacheConfiguration
...
Closes gh-13508
2018-06-18 17:54:10 +02:00
Johnny Lim
dd3bfdbe42
Use @ManagementContextConfiguration consistently
2018-06-18 13:28:30 +02:00
Andy Wilkinson
b3927cfd10
Start building against Spring REST Docs 2.0.2 snapshots
...
See gh-13505
2018-06-18 08:18:15 +01:00
Johnny Lim
f34fb5f1ee
Reduce object creation in findMatchingItemMetadata()
...
Closes gh-13473
2018-06-15 13:36:55 +02:00
Andy Wilkinson
b96f9d635f
Upgrade to Elasticsearch 5.6.10
...
Closes gh-13479
2018-06-14 09:40:08 +01:00
Stephane Nicoll
438f0b008a
Upgrade to Spring Amqp 2.0.4
...
Closes gh-13477
2018-06-14 08:48:36 +02:00
Stephane Nicoll
2483ed3e4e
Upgrade to Spring Kafka 2.1.7
...
Closes gh-13476
2018-06-14 08:47:20 +02:00
Stephane Nicoll
d47d84ff7a
Merge branch '1.5.x' into 2.0.x
2018-06-14 08:36:18 +02:00
Stephane Nicoll
de6ce79d5f
Upgrade to Spring Session Apple-SR3
...
Closes gh-13461
2018-06-14 08:30:11 +02:00
Stephane Nicoll
40ba15047b
Upgrade to Spring Integration 5.0.6
...
Closes gh-13457
2018-06-14 08:28:17 +02:00
Brian Clozel
6e9fee35a7
Upgrade to Spring Data Kay SR8
...
Closes gh-13455
2018-06-13 23:05:47 +02:00
Andy Wilkinson
42c307b744
Upgrade to Solr 6.6.4
...
Closes gh-13468
2018-06-13 10:54:36 +01:00
Andy Wilkinson
bbcbc2d113
Upgrade to Reactor Bom Bismuth-SR10
...
Closes gh-13467
2018-06-13 10:54:35 +01:00
Andy Wilkinson
ed3f43fd25
Upgrade to Jackson 2.9.6
...
Closes gh-13466
2018-06-13 10:54:34 +01:00
Andy Wilkinson
0e867aec97
Upgrade to Couchbase Client 2.5.9
...
Closes gh-13465
2018-06-13 10:54:33 +01:00
Andy Wilkinson
71b8b2d242
Merge branch '1.5.x' into 2.0.x
2018-06-13 10:52:27 +01:00
Andy Wilkinson
a79c8918ff
Upgrade to Spring Security 5.0.6.RELEASE
...
Closes gh-13459
2018-06-13 09:36:47 +01:00
Johnny Lim
870d7fe16a
Use @SpringBootTest.properties in tests and samples
...
Closes gh-13453
2018-06-13 09:24:28 +02:00
Jon Schneider
96a6d2923c
Upgrade to Micrometer 1.0.5
...
Closes gh-13454
2018-06-13 08:56:04 +02:00
Stephane Nicoll
d24647b07c
Upgrade to Spring Framework 5.0.7.RELEASE
...
Closes gh-13353
2018-06-13 08:51:40 +02:00
Andy Wilkinson
6f2171c282
Improve error message when BootJar or BootWar has no known main class
...
Closes gh-12712
2018-06-08 18:07:24 +01:00
Andy Wilkinson
7b3be82cfa
Merge branch '1.5.x' into 2.0.x
2018-06-08 15:47:50 +01:00
Madhura Bhave
4194baad91
Don't log p/w when AuthenticationManagerBuilder configured
...
Fixes gh-12872
2018-06-07 12:52:15 -07:00
Madhura Bhave
f7ff8dd165
Make generated password output consistent
2018-06-07 12:39:46 -07:00
Madhura Bhave
ed734d7e43
Trace filter ignores invalid requests
...
Fixes gh-12987
2018-06-07 09:27:49 -07:00
Brian Clozel
59746de63b
Backport web server configuration doc changes
...
Closes gh-13401
2018-06-07 14:38:19 +02:00
Stephane Nicoll
5c96943e59
Merge branch '1.5.x' into 2.0.x
2018-06-07 10:45:59 +02:00
Phillip Webb
dc1c459cde
Polish "Fix caching issues with map property sources"
...
Refine the property source cache key fix so that a copy of the
key is only taken when the values change. This allows us to
retain the previous performance optimization of not creating
unnecessary string arrays.
Closes gh-13344
2018-06-06 15:17:07 -07:00
Fahim Farook
c556d2b58f
Fix caching issues with map property sources
...
Update `SpringIterableConfigurationPropertySource` so that the cache
key from a `MapPropertySource` is invalidated when the map contents
changes.
Prior to this commit, the actual keys of the map were used as the key.
This meant that if the underlying map changed, they key wouldn't be
invalidated because it ultimately pointed to the same object instance.
See gh-13344
2018-06-06 15:02:59 -07:00
Madhura Bhave
461202bc25
EndpointRequest uses empty servlet path if not available
...
Fixes gh-13399
2018-06-06 10:48:42 -07:00
Brian Clozel
7cbbd95fc9
Ignore invalid Accept headers in WebFlux error handling
...
Prior to this commit, the `DefaultErrorWebExceptionHandler` would parse
the HTTP "Accept" headers when routing the request to the error handler;
if an error occured during parsing, an `InvalidMediaTypeException` would
be thrown and break the error handling for this request.
This commit ignores those exceptions and makes sure that the error
handling function does not override the response status or the error
itself with those exceptions.
Closes: gh-13372
2018-06-06 14:02:04 +02:00
Andy Wilkinson
47615154de
Upgrade to Mongodb 3.6.4
...
Closes gh-13397
2018-06-06 10:15:33 +01:00
Andy Wilkinson
fd56e79f7a
Upgrade to Mariadb 2.2.5
...
Closes gh-13396
2018-06-06 10:15:33 +01:00
Andy Wilkinson
6d0d66cb28
Upgrade to Narayana 5.8.2.Final
...
Closes gh-13395
2018-06-06 10:15:33 +01:00
Andy Wilkinson
a4a6f482c6
Upgrade to Hsqldb 2.4.1
...
Closes gh-13394
2018-06-06 10:15:33 +01:00
Andy Wilkinson
ecd8760514
Upgrade to Hibernate Validator 6.0.10.Final
...
Closes gh-13393
2018-06-06 10:15:33 +01:00
Andy Wilkinson
50f3f50ebb
Upgrade to Activemq 5.15.4
...
Closes gh-13392
2018-06-06 10:15:33 +01:00
Andy Wilkinson
2b4d51e763
Upgrade to Rxjava2 2.1.14
...
Closes gh-13391
2018-06-06 10:15:33 +01:00
Andy Wilkinson
d79f2401be
Upgrade to Netty 4.1.25.Final
...
Closes gh-13390
2018-06-06 10:15:33 +01:00
Andy Wilkinson
2d4f1bb043
Upgrade to Unboundid Ldapsdk 4.0.6
...
Closes gh-13389
2018-06-06 10:15:33 +01:00
Andy Wilkinson
27b5fdd1e1
Merge branch '1.5.x' into 2.0.x
2018-06-06 10:15:24 +01:00
Stephane Nicoll
f6c99361a4
Merge branch '1.5.x' into 2.0.x
2018-06-06 11:00:02 +02:00
dreis2211
ba8a32fa4e
Replace commons-codec Base64 usage
...
See gh-13378
2018-06-06 09:19:17 +02:00
Madhura Bhave
d0a2a8e929
Document ConfigurableServletWebServerFactory variants
...
Closes gh-13083
2018-06-05 13:48:43 -07:00
Stephane Nicoll
bf56ec496d
Polish
2018-06-05 13:29:56 +02:00
Stephane Nicoll
fff06822dc
Polish
2018-06-05 13:15:38 +02:00
Stephane Nicoll
d84e2b90d7
Fix wrong usage of ManagementContextConfiguration
...
Closes gh-13366
2018-06-05 13:15:21 +02:00
Stephane Nicoll
b4f8361989
Make JMX metrics domain configurable
...
Closes gh-13356
2018-06-05 10:12:26 +02:00
Phillip Webb
571c50e43f
Switch to functional web code to use static imports
...
Update the samples and tests to use the more idiomatic static import
style.
2018-06-04 17:27:34 -07:00
Phillip Webb
2274ac5214
Move spring-javaformat plugins to root POM
...
Relocate spring-javaformat plugins to the root of the project.
Closes gh-13306
2018-06-04 17:25:19 -07:00
Phillip Webb
e1d21e52d5
Allow multi-value spring.profiles properties
...
Update `ConfigFileApplicationListener` to correctly load properties
that have `spring.profiles` values containing a list.
Prior to this commit the loaded would attempt to add the same document
twice resulting in a "property source cannot be added relative to
itself" error.
Closes gh-13362
2018-06-04 15:39:16 -07:00
Phillip Webb
67b548dafb
Protect against infinite property include loop
...
Update `ConfigFileApplicationListener` to ensure that a
`spring.profiles.include` property that refers to an already processed
profile doesn't cause an infinite loop.
Closes gh-13361
2018-06-04 14:59:29 -07:00
Madhura Bhave
378c4c9535
Stop included profiles overriding active profiles
...
Update `ConfigFileApplicationListener` so that `spring.profiles.include`
properties do not override higher priority active profiles.
This commit also changes when profiles get added to the environment.
Profiles are now added to the environment at the time of profile
processing so that they get logged in the order that they are processed.
Closes gh-13151
2018-06-04 14:46:44 -07:00
Madhura Bhave
60a4d67b13
Handle special characters in TraceableHttpServletRequest
...
Fixes gh-13273
2018-06-04 12:50:11 -07:00
Andy Wilkinson
1a0dfa06ab
Add log4j-jul to Log4j 2 starter
...
Closes gh-12659
2018-06-04 19:38:25 +01:00
Phillip Webb
abe92eba2e
Protect Inet test against "helpful" DNS resolvers
...
Update `InetAddressFormatterTests` to ensure that DNS resolvers that
return a "help" page for missing domains don't cause the build to fail.
Closes gh-11897
2018-06-04 10:50:36 -07:00
Andy Wilkinson
70c0d6a005
Test the Gradle plugin against Gradle 4.8
...
Closes gh-13359
2018-06-04 17:53:34 +01:00
Andy Wilkinson
00449bef6a
Use app…DefaultJvmArgs as convention for start script's defaultJvmOpts
...
Closes gh-12631
2018-06-04 17:53:34 +01:00
Andy Wilkinson
624946a779
Upgrade to Maven Invoker Plugin 3.1.0
...
Closes gh-12687
2018-06-04 17:05:22 +01:00
Andy Wilkinson
d54072e0a8
More accurately document buildInfo's effect on up-to-date checking
...
Closes gh-13152
2018-06-04 16:39:59 +01:00
Dmytro Nosan
20003489be
Auto-configure jOOQ with TransactionListenerProvider
...
Closes gh-13331
2018-06-04 17:35:40 +02:00
Andy Wilkinson
0df37b917b
Ignore unresolvable placeholders during property binding
...
Closes gh-13122
2018-06-04 16:27:30 +01:00
Andy Wilkinson
9c8d2c8016
Improve analysis of bind failures caused by a conversion failure
...
Closes gh-13357
2018-06-04 16:26:43 +01:00
Andy Wilkinson
ea51cfabca
Avoid uri tag explosion when use of path variable is undetected
...
Previously, WebMvcTags would fall back to using the request’s path
info if Spring MVC’s best matching path pattern attribute was not
available. For non-Spring MVC web frameworks that support path
variables, such as Jersey, this led to an explosion of URI tags that
could exhaust the heap.
Closes gh-12447
2018-06-04 15:43:48 +01:00
Stephane Nicoll
bc59434bcc
Start building against Spring Framework 5.0.7 snapshots
...
See gh-13353
2018-06-04 15:21:46 +02:00
Stephane Nicoll
a9b2826c26
Merge branch '1.5.x' into 2.0.x
2018-06-04 14:14:52 +02:00
dreis2211
8bb7b8af51
Remove usage of deprecated Matchers class
...
Closes gh-13345
2018-06-04 10:31:25 +02:00
dreis2211
29605bacd2
Polish stream creation in some PropertySources
...
Closes gh-13343
2018-06-03 16:56:51 +02:00
Madhura Bhave
95174a0773
Don't fail if aggregate merge can't get existing value
...
Fixes gh-13303
2018-06-01 14:52:55 -07:00
Madhura Bhave
8ce13c765b
Support binding to immutable maps
...
Closes gh-13323
2018-06-01 14:52:55 -07:00
Andy Wilkinson
68cd27c47b
Do not require DataSourcePoolMetrics to auto-configure Hikari meters
...
Closes gh-13330
2018-06-01 17:55:43 +01:00
Andy Wilkinson
27267a7090
Ensure that condition evaluator uses runner’s class loader
...
Closes gh-13319
2018-06-01 17:26:32 +01:00
Johnny Lim
6b0ce46491
Polish
...
Closes gh-13320
2018-06-01 09:22:20 +02:00
Madhura Bhave
0afd947350
BindFailureAnalyzer should show original failure message
...
Fixes gh-13122
2018-05-31 16:51:42 -07:00
Stephane Nicoll
fa21333e4d
Upgrade to Spring Cloud Connectors 2.0.2.RELEASE
...
Closes gh-13318
2018-05-31 21:04:02 +02:00
Stephane Nicoll
20e349c332
Polish
2018-05-31 17:35:56 +02:00
Stephane Nicoll
32aa5b9bae
Merge branch '1.5.x' into 2.0.x
2018-05-31 16:38:23 +02:00
Andy Wilkinson
0d7d95d8a9
Align RestTemplateBuilder with Framework's removal of OkHttp 2 support
...
Closes gh-13314
2018-05-31 13:41:43 +01:00
James McShane
d74c768cdd
Remove outdated reference to @EnableReactor
...
Closes gh-13308
2018-05-31 10:39:44 +02:00
Phillip Webb
3751968ecd
Add missing ExpectedException rule
...
Add ExpectedException rule which was missed from the 1.5.x merge.
2018-05-30 22:52:25 -07:00
Phillip Webb
f8ec2e6176
Polish
2018-05-30 21:01:31 -07:00
Phillip Webb
bdd541b2cc
Merge branch '1.5.x' into 2.0.x
2018-05-30 20:29:03 -07:00
Phillip Webb
5ae061f491
Merge branch '1.5.x' into 2.0.x
2018-05-30 20:27:19 -07:00
Phillip Webb
2c6465abdc
Merge branch '1.5.x' into 2.0.x
2018-05-30 14:08:15 -07:00
Phillip Webb
401fcbeaa4
Merge branch '1.5.x' into 2.0.x
2018-05-30 13:29:10 -07:00
Phillip Webb
587df6a07a
Port call setHttpOnly property on Tomcat context
...
Port "setHttpOnly on the TomcatContext" fix from commit 4d84933ee4
to
2.0.x. Since `Session` details are now configured on the
`WebServerFactory` we can directly configure the context.
See gh-12580
2018-05-30 12:23:40 -07:00
Phillip Webb
e38d5f910b
Merge branch '1.5.x' into 2.0.x
2018-05-30 12:18:38 -07:00
Phillip Webb
09fa1e7e11
Polish
2018-05-30 12:12:01 -07:00
Johnny Lim
4eb070767c
Remove an unnecessary @QuartzDataSource
...
Closes gh-13302
2018-05-30 17:49:21 +02:00
Stephane Nicoll
b47a72731f
Merge branch '1.5.x' into 2.0.x
2018-05-30 15:27:58 +02:00
Andy Wilkinson
35c48bb9bd
Polish
2018-05-30 10:28:52 +01:00
Madhura Bhave
ad1283195a
Fix test in "Truststore password if SSLstoreprovider present"
...
See gh-13088
2018-05-29 15:06:39 -07:00
Ian Chan
e75d45ca45
Use empty trust-store password if SSL store provider present
...
For Tomcat, if an SslStoreProvider is configured,
`SslStoreProviderUrlStreamHandlerFactory` stores the trust-store with an
empty password. Previously, if a password was supplied using the
ssl.trust-store-password property, that would be the password used to
load the trust-store and the connector would warn with "Password
verification failed" message.
Fixes gh-12688
2018-05-29 15:02:30 -07:00
Stephane Nicoll
7849d73828
Polish
...
See gh-13031
2018-05-29 17:28:16 +02:00
Stephane Nicoll
faa9910e46
Enable cache when a SecurityContext parameter is used
...
This commit restores caching for the main read operation when the
SecurityContext does not expose a principal (i.e. guest access).
Closes gh-13238
2018-05-29 15:56:22 +02:00
Andy Wilkinson
1ce22aa50a
Polish
2018-05-29 13:58:40 +01:00
Stephane Nicoll
4259817572
Fix extension discovery when endpoint instance is sub-classed
...
This commit fixes endpoint extension discovery when the related endpoint
is sub-classed. Previously, a strict by type check was applied against
the `endpoint` attribute of `EndpointExtension`.
Rather than using a `Class` check, this commit extracts the id of an
endpoint and uses it to match its extension, if any.
Closes gh-13082
2018-05-29 14:12:23 +02:00
nkjackzhang
17bcd1c359
Fix wrong reference in cast operation
...
Closes gh-13288
2018-05-29 10:37:32 +02:00
Johnny Lim
bd2053aa17
Use more Tag constants
...
Closes gh-13286
2018-05-29 09:32:26 +02:00
Johnny Lim
9de2a8786d
Fix a wrong issue reference
...
Closes gh-13284
2018-05-29 09:21:41 +02:00
dreis2211
3ed31d60dc
Add assertion in IntegrationAutoConfigurationTests
...
Closes gh-13280
2018-05-29 09:04:00 +02:00
Stephane Nicoll
8a9d0bd22a
Merge branch '1.5.x' into 2.0.x
2018-05-28 14:28:45 +02:00
Stephane Nicoll
15ba50ab3e
Merge branch '1.5.x' into 2.0.x
2018-05-28 10:52:21 +02:00
Johnny Lim
f385a1cb11
Polish
...
Closes gh-13243
2018-05-28 09:36:15 +02:00
Eddú Meléndez
065eebfb4b
Fix javadoc
...
Closes gh-13274
2018-05-28 09:26:16 +02:00
hengyunabc
b75e58b70f
Add enforce-rule to ensure maven version >= 3.5.0
...
Closes gh-13271
2018-05-27 18:03:52 +02:00
Phillip Webb
dba73d76b8
Merge branch '1.5.x' into 2.0.x
2018-05-26 08:43:27 -07:00
Arnaud Heritier
b60eadb10b
Add missing semicolon in example
...
Closes gh-13266
2018-05-26 12:44:11 +02:00
Phillip Webb
6f0ccc64a5
Fix checkstyle violations
2018-05-25 23:03:17 -07:00
Phillip Webb
9fd3b9103a
Format code
2018-05-25 23:02:45 -07:00
Phillip Webb
e544922dd7
Merge branch '1.5.x' into 2.0.x
2018-05-25 23:02:08 -07:00
Phillip Webb
9c5f207e22
Fix merge error
2018-05-25 20:57:46 -07:00
Phillip Webb
21d80d87a3
Merge branch '1.5.x' into 2.0.x
2018-05-25 18:45:37 -07:00
Andrea Vacondio
aed118c410
Fix documentation error
...
Closes gh-13260
2018-05-25 16:43:35 +02:00
Madhura Bhave
552878c431
Fix javadoc
2018-05-25 10:37:39 +02:00
Stephane Nicoll
a5b53b263e
Merge branch '1.5.x' into 2.0.x
2018-05-24 11:43:48 +02:00
Stephane Nicoll
585135a280
Polish
2018-05-22 13:40:40 +02:00
Stephane Nicoll
d5abd57a91
Remove deprecated use of spring.main.web-environment
...
Closes gh-13231
2018-05-22 13:39:02 +02:00
Stephane Nicoll
a124379dd9
Remove use of deprecated `web` methods
...
Closes gh-13231
2018-05-22 12:51:06 +02:00
Phillip Webb
2dc4f1df00
Polish
2018-05-21 21:32:42 -07:00
Phillip Webb
6d8b4710d7
Merge branch '1.5.x' into 2.0.x
2018-05-21 17:18:49 -07:00
Stephane Nicoll
300f6bf4d7
Polish contribution
...
Closes gh-13208
2018-05-18 14:20:31 +02:00
Mihhail Lapushkin
d31dbac69e
Support custom UriTemplateHandler in LocalHostUriTemplateHandler
...
See gh-13208
2018-05-18 14:19:01 +02:00
Stephane Nicoll
48cf025093
Polish
2018-05-18 13:42:45 +02:00
Stephane Nicoll
6893be5479
Make sure that RabbitMQ metrics are configured early
...
The ConnectionFactory can be used early in user configuration to
configure an `Exchange`. Such connection may not hold the proper
MetricCollector and can be cached, leading to missed metrics
information.
This commit moves the configuration of RabbitMQ metrics to a
BeanPostProcessor so that the proper MetricCollector is configured
before any connection is created.
Closes gh-12855
2018-05-18 11:54:11 +02:00
Stephane Nicoll
125b5974c0
Merge branch '1.5.x' into 2.0.x
2018-05-17 16:17:55 +02:00
Johnny Lim
75639aa682
Polish
...
Closes gh-13192
2018-05-17 15:29:50 +02:00
Stephane Nicoll
1d2edc1d37
Fix wrong reference to WebApplicationType
...
Closes gh-13195
2018-05-17 09:35:07 +02:00
Stephane Nicoll
7b7e802129
Merge branch '1.5.x' into 2.0.x
2018-05-16 13:16:54 +02:00
Johnny Lim
652bbf4ab2
Polish DefaultErrorWebExceptionHandler.renderErrorView()
...
Closes gh-13174
2018-05-16 09:28:26 +02:00
Johnny Lim
b9aa934d78
Remove @Deprecated on CouchbaseProperties.Endpoints.setKeyValue()
...
Closes gh-13171
2018-05-15 15:09:35 +02:00
Andy Wilkinson
be0b8eb871
Merge branch '1.5.x' into 2.0.x
2018-05-15 10:28:46 +01:00
Andy Wilkinson
8b028e30d3
Merge branch '1.5.x' into 2.0.x
2018-05-15 09:18:01 +01:00
Andy Wilkinson
73e525a280
Merge branch '1.5.x' into 2.0.x
2018-05-14 20:07:46 +01:00
Andy Wilkinson
cddc2b4483
Merge branch '1.5.x' into 2.0.x
2018-05-14 17:54:31 +01:00
Stephane Nicoll
a3a6a2b291
Polish "Add CLI manifest for Scoop"
...
Closes gh-12541
2018-05-14 18:20:57 +02:00
Andrey Saksonov
daccdbb18d
Add CLI manifest for Scoop
...
See gh-12541
2018-05-14 18:00:32 +02:00
Stephane Nicoll
2be1c8f527
Polish "Set classloader for JMX endpoints to application classloader"
...
Closes gh-12209
2018-05-14 17:41:47 +02:00
David Herberth
e44c81672f
Set classloader for JMX endpoints to application classloader
...
See gh-12209
2018-05-14 17:41:31 +02:00
Sebastien Deleuze
d747d43b23
Update Kotlin refdoc with the new tutorial
...
Closes gh-13161
2018-05-14 16:03:46 +02:00
Andy Wilkinson
285203d272
Provide dependency management for Hibernate's JPA API module
...
Closes gh-13154
2018-05-14 11:43:31 +01:00
Stephane Nicoll
caa271dcc1
Merge branch '1.5.x' into 2.0.x
2018-05-14 11:08:59 +02:00
Stephane Nicoll
8f53c2e2bb
Support for custom comment prefix
...
Some Quartz initialization scripts have comments in a different format.
This commit introduces a `comment-prefix` property that should be set by
the user if their target database has a script that contains those
unusual comments.
Closes gh-13041
2018-05-14 09:32:42 +02:00
Johnny Lim
3dd2f5bb05
Polish
...
See gh-13148
2018-05-14 08:19:10 +02:00
Johnny Lim
aa60d60b8a
Polish JpaProperties.determineDdlAuto()
...
Closes gh-13036
2018-05-14 08:13:06 +02:00
Andy Wilkinson
3992dacdc8
Bind empty string to empty collection or array of rich types
...
Previously, when an empty String was bound to a collection or
array of rich types it would fail as there was no converter capable
of creating a Collection<RichType> or RichType[] from the String.
This commit updates IndexedElementsBinder to apply special treatment
to empty String values. Now, when such a value is being processed,
an empty Collection or array is the result.
Closes gh-12965
2018-05-11 16:41:37 +01:00
Andy Wilkinson
45f4e8795e
Merge branch '1.5.x' into 2.0.x
2018-05-11 13:32:08 +01:00
Vedran Pavic
a08fa27c39
Add .gitignore for Gradle Plugin module
...
Closes gh-13137
2018-05-11 14:28:02 +02:00
dreis2211
e6a23fa3ff
Remove unnecessary semicolons
...
Closes gh-13144
2018-05-11 14:23:47 +02:00
Andy Wilkinson
972d952716
Merge branch '1.5.x' into 2.0.x
2018-05-11 11:54:12 +01:00
Andy Wilkinson
7913d9b599
Add methods to BootJar for adding content to BOOT-INF
...
Closes gh-13000
2018-05-11 11:14:14 +01:00
Andy Wilkinson
d9d7499ae6
Merge branch '1.5.x' into 2.0.x
2018-05-11 10:31:52 +01:00
Johnny Lim
75e591e76e
Polish
...
Closes gh-13130
2018-05-11 10:00:15 +02:00
Stephane Nicoll
4683940423
Merge branch '1.5.x' into 2.0.x
2018-05-11 09:56:54 +02:00
Stephane Nicoll
4bec3b7cd9
Polish
...
See gh-13123
2018-05-11 08:55:03 +02:00
Madhura Bhave
05cf8229d9
Fix tests
2018-05-10 11:50:43 -07:00
Madhura Bhave
c937bb68a0
ServletEndpoints should take servletPath into account
...
Fixes gh-13106
2018-05-10 10:01:11 -07:00
Andy Wilkinson
fbf974478a
Merge branch '1.5.x' into 2.0.x
2018-05-10 15:46:28 +01:00
Madhura Bhave
4ec87956f9
Fix EndpointRequest include/exclude for ServletEndpoints
...
Fixes gh-13089
2018-05-09 12:01:58 -07:00
Andy Wilkinson
e14a2e33ab
Deprecate queue size property for StatsD metrics export
...
Closes gh-13108
2018-05-09 09:14:09 +01:00
Andy Wilkinson
c826310fd1
Polish
2018-05-09 08:44:15 +01:00
Jon Schneider
c6860cb431
Upgrade to Micrometer 1.0.4
...
Closes gh-13108
2018-05-09 06:38:55 +01:00
Andy Wilkinson
33861b3608
Upgrade to Spring Integration 5.0.5.RELEASE
...
Closes gh-13016
2018-05-09 06:37:22 +01:00
Andy Wilkinson
e407ed5f92
Upgrade to Spring Session Apple-SR2
...
Closes gh-13103
2018-05-08 21:21:08 +01:00
Andy Wilkinson
8ce4110966
Allow Jersey-based Actuator to be used with separate management port
...
Previously, when the Jersey-based Actuator was configure with a
separate management port, the resulting child context would fail to
start due to their being no ResourceConfigCustomizer beans available.
This commit updates the configuration so that the customizer's are
injected using an ObjectProvider and an empty list is used in the
event of their being no customizer beans. This aligns the child
context configuration class with JerseyAutoConfiguration which
already used this approach.
Closes gh-12975
2018-05-08 21:00:05 +01:00
Andy Wilkinson
e45384bdfa
Upgrade to Spring Kafka 2.1.6.RELEASE
...
Closes gh-13018
2018-05-08 20:16:41 +01:00
Andy Wilkinson
7a53623e1c
Polish "Clarify deployment of Spring Boot apps to App Engine Standard"
...
See gh-13090
2018-05-08 20:12:46 +01:00
ifigotin
676b013998
Clarify deployment of Spring Boot apps to App Engine Standard
...
Closes gh-13090
2018-05-08 20:12:33 +01:00
Andy Wilkinson
5168766ebb
Upgrade to Spring Security 5.0.5.RELEASE
...
Closes gh-13029
2018-05-08 17:07:17 +01:00
Andy Wilkinson
bca2756b46
Upgrade to Jaybird 3.0.4
...
Closes gh-13100
2018-05-08 17:06:55 +01:00
Andy Wilkinson
47c45539d9
Upgrade to Lettuce 5.0.4.RELEASE
...
Closes gh-13099
2018-05-08 17:06:40 +01:00
Stephane Nicoll
f9134c9325
Upgrade to Spring Data Kay SR7
...
Closes gh-13017
2018-05-08 17:22:01 +02:00
Stephane Nicoll
6577513464
Upgrade to Spring Framework 5.0.6.RELEASE
...
Closes gh-13021
2018-05-08 12:44:55 +02:00
Andy Wilkinson
874650cb33
Merge branch '1.5.x' into 2.0.x
2018-05-08 11:30:30 +01:00
Stephane Nicoll
9dccf5b895
Polish
...
See gh-13078
2018-05-07 14:48:56 +02:00
dreis2211
15d67d6b12
Remove MockServletWebServer.emptyEnumeration()
...
Closes gh-13084
2018-05-07 14:41:06 +02:00
dreis2211
e3862d9bdf
Fix deprecation warning in OriginTrackedYamlLoader
...
Closes gh-13085
2018-05-07 14:38:22 +02:00
Brian Clozel
925269eacc
Upgrade to Reactor Bismuth SR9
...
Closes gh-12848
2018-05-07 10:54:24 +02:00
Stephane Nicoll
c22e9a5514
Make sure that JpaProperties does not have Hibernate imports
...
This commit removes Hibernate imports from JpaProperties so that it can
be used with another JPA provider.
This commit is a breaking change for an internal, yet public class used
to transmit customizations provided by the user. It does not change the
external functionality though: naming strategies defined as bean are
still taken into account and a customizer has a chance to override it
regardless.
Closes gh-13043
2018-05-05 07:21:50 +02:00
Phillip Webb
6556bb2e89
Fix checkstyle violations
2018-05-04 20:13:57 -07:00
Phillip Webb
975e986fef
Polish
2018-05-04 20:06:27 -07:00
Phillip Webb
f9750248ef
Migrate KafkaProperties to use PropertyMapper
2018-05-04 20:06:11 -07:00
Madhura Bhave
469372c5ef
Account for servlet path "/" in EndpointRequest
...
See gh-12934
2018-05-04 18:09:15 -07:00
Madhura Bhave
f5f3af7f9c
Point to gradle plugin's doc for custom dependency versions
...
Fixes gh-12807
2018-05-04 16:54:11 -07:00
Phillip Webb
6de479fe6a
Polish
2018-05-04 16:08:05 -07:00
Phillip Webb
93046d058d
Polish
2018-05-04 16:05:12 -07:00
Madhura Bhave
6855c5556d
EndpointRequest should consider server.servlet.path
...
Fixes gh-12934
2018-05-04 16:03:31 -07:00
Phillip Webb
5b3cb8a698
Update copyright header year for changed files
2018-05-04 15:59:26 -07:00
Phillip Webb
57bfbfb3ad
Fix checkstyle errors
2018-05-04 15:58:59 -07:00
Phillip Webb
6e09e497f2
Formatting
2018-05-04 12:06:19 -07:00
Andy Wilkinson
fefe9e4e49
Upgrade to Junit Jupiter 5.1.1
...
Closes gh-13075
2018-05-04 19:18:41 +01:00
Andy Wilkinson
c74292c222
Upgrade to Jooq 3.10.7
...
Closes gh-13074
2018-05-04 19:18:40 +01:00
Andy Wilkinson
ee587130b2
Upgrade to Narayana 5.8.1.Final
...
Closes gh-13073
2018-05-04 19:18:40 +01:00
Andy Wilkinson
36880ad25b
Upgrade to Hibernate 5.2.17.Final
...
Closes gh-13072
2018-05-04 19:18:39 +01:00
Andy Wilkinson
578dd8611c
Upgrade to Elasticsearch 5.6.9
...
Closes gh-13071
2018-05-04 19:18:39 +01:00
Andy Wilkinson
205449cca1
Upgrade to Javax Money 1.0.3
...
Closes gh-13070
2018-05-04 19:18:38 +01:00
Andy Wilkinson
9ec27d1f97
Upgrade to Rxjava2 2.1.13
...
Closes gh-13069
2018-05-04 19:18:37 +01:00
Andy Wilkinson
ff915b3450
Upgrade to Hazelcast 3.9.4
...
Closes gh-13068
2018-05-04 19:18:36 +01:00
Andy Wilkinson
5c2d4980de
Upgrade to Couchbase Client 2.5.8
...
Closes gh-13067
2018-05-04 19:18:36 +01:00
Andy Wilkinson
c16f99f782
Revert "Upgrade to Ehcache 2.10.5" in 2.0 as well
...
See gh-13056
2018-05-04 16:01:39 +01:00
Stephane Nicoll
18b1e8da60
Merge branch '1.5.x' into 2.0.x
2018-05-04 16:57:12 +02:00
Stephane Nicoll
959c569199
Merge branch '1.5.x' into 2.0.x
2018-05-04 16:15:10 +02:00
Stephane Nicoll
126f928f36
Polish "Improve Spring Session docs"
...
Closes gh-13061
2018-05-04 14:26:51 +02:00
Vedran Pavic
370160720d
Improve Spring Session docs
...
See gh-13061
2018-05-04 14:26:39 +02:00
Andy Wilkinson
2bcf29913d
Skip building the Gradle plugin on Java 9 as well as 10
...
Upgrading the JDK 9-based build to use JDK 9.0.4 has revealed that
Gradle 4.0.x doesn't work with it as it fails to parse the 9.0.4
version number.
This commit disables building the Gradle plugin on Java 9 (as we
had already done for Java 10) until we decide what to do
(see gh-12333).
2018-05-04 11:40:35 +01:00
Andy Wilkinson
a1f3e7970c
Merge branch '1.5.x' into 2.0.x
2018-05-04 10:03:54 +01:00
Phillip Webb
2d70a7ae5e
Polish caught exception names
...
Prefer `ex` over `e`.
2018-05-03 22:43:32 -07:00
Phillip Webb
41efea51a7
Polish ternary expressions
...
Consistently format ternary expressions and always favor `!=` as the
the check.
2018-05-03 22:43:12 -07:00
Phillip Webb
bbf94c22da
Polish
2018-05-03 22:42:49 -07:00
Phillip Webb
e125085993
Merge branch '1.5.x' into 2.0.x
2018-05-03 12:43:50 -07:00
Stephane Nicoll
700ec6b840
Polish "Complete SSL configuration for Kafka"
...
Closes gh-13031
2018-05-03 15:50:33 +02:00
Toshiaki Maki
d208641c59
Complete SSL configuration for Kafka
...
See gh-13031
2018-05-03 15:38:49 +02:00
Andy Wilkinson
f5fabbc1b9
Remove the use of internal API from Gradle Plugin's BootJar
...
Closes gh-13037
2018-05-03 11:34:42 +01:00
Stephane Nicoll
69ab956e8b
Stop assuming datasource creation failure originates from auto-config
...
There are documented way to reuse bits of the infrastructure in user
config to offer similar datasource configuration. If that fails, the
regular failure there will kick in.
This commit improves `DataSourceBeanCreationFailureAnalyzer` to not
misguide users that the auto-configuration has failed. Rather, it
describes what has failed in a more generic way.
Closes gh-12947
2018-05-03 11:46:27 +02:00
Stephane Nicoll
b3ad902902
Merge branch '1.5.x' into 2.0.x
2018-05-03 11:14:42 +02:00
Johnny Lim
e7d2f22911
Polish IgnoreTopLevelConverterNotFoundBindHandlerTests
...
Closes gh-13022
2018-05-02 16:12:37 +02:00
Johnny Lim
12cdc8b0e0
Fix @since for IgnoreTopLevelConverterNotFoundBindHandler
...
Closes gh-13019
2018-05-02 16:11:37 +02:00
Stephane Nicoll
7cca56e15b
Upgrade to HikariCP 2.7.9
...
Closes gh-12783
2018-05-02 16:09:02 +02:00
Stephane Nicoll
d6244889f5
Add default value for "spring.flyway.locations"
...
See gh-12193
2018-05-02 16:07:38 +02:00
Stephane Nicoll
79c222da78
Allow to provide manual metadata for keys that are not unique
...
Closes gh-12193
2018-05-02 16:04:02 +02:00
Stephane Nicoll
782d8c63da
Merge branch '1.5.x' into 2.0.x
2018-05-02 15:59:56 +02:00
Andy Wilkinson
f019d5c85b
Merge branch '1.5.x' into 2.0.x
2018-05-02 12:22:04 +01:00
Andy Wilkinson
0a9d950a44
Start building against Spring Kafka 2.1.6 snapshots
...
See gh-13018
2018-05-02 11:32:26 +01:00
Andy Wilkinson
2a8eb2c113
Start building against Spring Integration 5.0.5 snapshots
...
See gh-13016
2018-05-02 11:31:29 +01:00
Andy Wilkinson
c50687758e
Start building against Spring Data Kay SR7 snapshots
...
See gh-13017
2018-05-02 11:30:53 +01:00
Andy Wilkinson
0d67ca1e81
Starting building against Spring Framework 5.0.6 snapshots
...
See gh-13021
2018-05-02 11:29:25 +01:00
Andy Wilkinson
49089546f8
Merge branch '1.5.x' into 2.0.x
2018-05-02 10:57:29 +01:00
Stephane Nicoll
fbf8f57773
Merge branch '1.5.x' into 2.0.x
2018-05-02 10:41:24 +02:00
Madhura Bhave
aad279208e
Throw exception if RandomAccessData tries to read beyond EOF
...
Fixes gh-12986
2018-05-01 16:35:43 -07:00
Madhura Bhave
d268b2102f
Fix typo
2018-05-01 11:33:47 -07:00
Stephane Nicoll
9f7be62687
Backport polish commit "22b99a90"
2018-05-01 11:33:26 -07:00
Andy Wilkinson
d5841982d9
Upgrade to Testcontainers 1.7.2
...
See gh-12821
2018-05-01 09:25:04 +01:00
Johnny Lim
d8700522d3
Rename nested *AutoConfiguration classes to *Configuration
...
Closes gh-12989
2018-04-30 16:50:18 +02:00
Johnny Lim
a723ac95a9
Polish
...
Closes gh-12999
2018-04-30 16:44:46 +02:00
Yaman Jain
50ca33ecd2
Fix typo
...
Closes gh-12996
2018-04-30 16:42:22 +02:00
Sebastien Deleuze
933f0bbca8
Upgrade to Kotlin 1.2.41
...
Includes KT-23973 critical regression fix.
2018-04-30 12:25:00 +01:00
Madhura Bhave
0385bd4131
Use spring.session.timeout for Spring Session timeout
...
Fallback to server.servlet.session.timeout for backwards compatibility.
Fixes gh-12906
2018-04-27 13:16:17 -07:00
Stephane Nicoll
36fb078935
Merge branch '1.5.x' into 2.0.x
2018-04-27 10:19:45 +02:00
Johnny Lim
b941c5f1a6
Polish
...
Closes gh-12981
2018-04-27 09:29:16 +02:00
Madhura Bhave
f2d8ca8b3a
Fix failing NettyReactiveWebServerFactoryTests
...
NettyReactiveWebServerFactoryTests.portInUseExceptionIsThrownWhenPortIsAlreadyInUse
started failing on CI following this change in reactor netty:
e6634c27f6
Instead of a `BindException`, a `NativeIoException` is thrown. Since that Exception
is for internal use only, we throw a generic `WebServerException`
instead of the `PortInUseException`.
2018-04-26 15:39:08 -07:00
Madhura Bhave
24ce3ecb43
Fix typo in docs
2018-04-26 13:43:51 -07:00
Madhura Bhave
228c85fe67
Improve List and Map binding documentation
...
Closes gh-12444
2018-04-26 12:18:49 -07:00
Stephane Nicoll
fbe88c483e
Prevent rabbitmq starter to bring webflux on the classpath
...
This commit excludes `com.rabbitmq:http-client` from `spring-rabbit` as
the former brings spring webflux for an optional feature. This also
prevents Spring Boot to consider that a web server should be started as
all the necessary pieces are unexpectedly present.
Closes gh-12853
2018-04-26 16:44:42 +02:00
Stephane Nicoll
9cf8080a17
Polish "Document Kotlin custom metadata generation"
...
Closes gh-12960
2018-04-25 17:19:55 +02:00
sdeleuze
c24e7a5930
Document Kotlin custom metadata generation
...
See gh-12960
2018-04-25 17:19:38 +02:00
Andy Wilkinson
a358f3f0e8
Merge branch '1.5.x' into 2.0.x
2018-04-25 11:58:31 +01:00
Stephane Nicoll
11ad9bfebf
Upgrade version of gradle-git-properties in doc
...
Closes gh-12955
2018-04-25 09:43:19 +02:00
Stephane Nicoll
55ef9e6dc9
Deprecate excludeArtifactIds
...
While being able to exclude all artifacts of a given group is a handy
feature, excluding all artifacts with a given artifactId does not make
much sense as it should refer to a single artifact anyway. Also the
general "exclude" mechanism is meant to do the exact same thing.
Closes gh-12885
2018-04-24 13:25:58 +02:00
Andy Wilkinson
c9f04c3977
Avoid race between container starting and getting mapped port
2018-04-24 11:03:54 +01:00
Andy Wilkinson
f6cc1cbd76
Make Testcontainer wait strategies final
2018-04-24 10:38:57 +01:00
Andy Wilkinson
f39cea0428
Try to stabilize build by giving Cassandra longer to start
2018-04-24 10:27:11 +01:00
Andy Wilkinson
6c504a5098
Fix deprecation warnings in Testcontainers wait strategies
...
See gh-12821
2018-04-24 10:27:11 +01:00
Johnny Lim
a15319ee30
Remove ManagementServerProperties.addApplicationContextHeader
...
Closes gh-12926
2018-04-24 10:16:49 +02:00
Madhura Bhave
877c4f702e
Use empty key-store-password if storeprovider present
...
For tomcat, if an SslStoreProvider is configured,
`SslStoreProviderUrlStreamHandlerFactory` stores the keyStore with an
empty password. Previously, if a password was supplied using the
ssl.key-store-password property, that would be the password used to
load the keystore and the connector would fail with a
"Password verification failed" exception.
Fixes gh-11391
2018-04-23 12:31:47 -07:00
Andy Wilkinson
a5f3f36b58
Test the Gradle plugin against Gradle 4.7
...
Closes gh-12952
2018-04-23 17:24:50 +01:00
Andy Wilkinson
72ec2c8644
Polish “Only analyze configurations that we've registered to check”
...
Closes gh-12784
2018-04-23 16:45:21 +01:00
danhyun
1e447ebfbf
Only analyze configurations that we've registered to check
...
See gh-12784
2018-04-23 16:25:17 +01:00
Andy Wilkinson
806978b8f1
Test unresolved dependency analysis in the Gradle plugin
...
See gh-12784
2018-04-23 15:52:56 +01:00
Brian Clozel
e3e404f9f9
Fix optional ContentNegotiationStrategy for Actuator
...
Since https://jira.spring.io/browse/SPR-16624 , the contract for
`ContentNegotiationStrategy` has been refined and should never return an
empty list if it's got no preference for a media type, but it should
rather respond with a `"*/*"` instead.
This commit fixes the `OptionalPathExtensionContentNegotiationStrategy`
defined in the Spring MVC auto-configuration to have that behavior.
Fixes gh-12900
2018-04-23 13:48:42 +02:00
Stephane Nicoll
f58f23c5b8
Document that binder doesn't handle static properties
...
Closes gh-12912
2018-04-22 11:11:56 +02:00
Stephane Nicoll
469ce57016
Remove outdated note
...
As we've updated the complete ref doc to use a canonical format for
configuration keys, this not is outdated and this commit removes it.
2018-04-22 09:20:19 +02:00
Stephane Nicoll
6df1ea3544
Fix use of deprecated property in docs
...
Closes gh-12940
2018-04-22 09:19:08 +02:00
Brian Clozel
f1b3188c3c
Upgrade to Netty 4.1.24.Final
2018-04-21 09:47:02 +02:00
Madhura Bhave
5afa7d1965
Reset URLStreamHandlerFactory instance between tests
2018-04-20 12:28:53 -07:00
dreis2211
a930835b92
Replace <code> tags where possible
...
Closes gh-12922
2018-04-20 07:19:31 +02:00
Madhura Bhave
5792042d5d
Fix verify statements in tests
2018-04-19 14:59:48 -07:00
Madhura Bhave
c93f7ddff6
Make truststore & keystore optional on SslStoreProvider
...
Fixes gh-11395
2018-04-19 14:21:57 -07:00
evernat
91fa76a9a2
Add reference to javamelody starter
...
Closes gh-12877
2018-04-19 09:25:38 +02:00
Madhura Bhave
35af166750
Fix tests
...
See gh-11380
2018-04-18 10:47:37 -07:00
Madhura Bhave
cab9bff4f4
Log included profiles according to the processing order
...
This commit includes some refactoring of active profiles
processing. Previously, there was a LIFO Queue for adding active
profiles. Profiles that were added last, were processed first.
Because of this reverse ordering, profiles were prepended to the
environment to preserve the order in which they were logged.
This however didn't work for "included" profiles as they were
prepended to the environment even though they were processed after
the active profile. In this commit, profiles are processed in a FIFO manner
and processed as they're found.
Fixes gh-11380
2018-04-18 10:03:12 -07:00
Stephane Nicoll
026d8bed5f
Fix additional missing semicolon on sample code
...
Closes gh-12895
2018-04-18 09:49:15 +02:00
Jienan Duan
90ae14ec21
Add missing semicolon on sample code
...
See gh-12895
2018-04-18 09:47:54 +02:00
Stephane Nicoll
2b98b11c12
Polish "Less object instantiation in WebMvcTags"
...
Closes gh-12894
2018-04-18 09:41:40 +02:00
Jon Schneider
d676147680
Less object instantiation in WebMvcTags
...
See gh-12894
2018-04-18 09:38:23 +02:00
Stephane Nicoll
0bc7bef5e5
Properly handle InvalidEndpointRequestException
...
This commit makes sure that `InvalidEndpointRequestException` is wrapped
in a `ReflectionException` when invoked via JMX.
Closes gh-12857
2018-04-16 11:33:22 +02:00
Stephane Nicoll
2002115637
Add doc ref for hierarchical name mapping
2018-04-16 08:43:46 +02:00
Stephane Nicoll
1c0f589c01
Simplify Joinfaces community starter entry
...
See gh-12867
2018-04-16 08:16:18 +02:00
dreis2211
2bbf438c36
Fix duplicate words in comments
...
Closes gh-12866
2018-04-16 08:09:40 +02:00
Stephane Nicoll
bfe31e6688
Fix broken build
2018-04-13 16:40:15 +02:00
Stephane Nicoll
fa542bacc0
Translate user-defined exception when invoking JMX operation
...
This commit makes sure to respect the MBeanServer#invoke contract by
wrapping any user-defined exception in an MBeanException. Also, any
exception not from the JDK is translated, as it may lead to unexpected
issue on the client if that class isn't present. This is consistent
with our operation result mapping strategy.
Closes gh-10448
2018-04-13 16:26:04 +02:00
Stephane Nicoll
2204d5f750
Polish
2018-04-13 15:18:42 +02:00
Stephane Nicoll
31441a7590
Add a note to explain how to disable the web server
...
See gh-12853
2018-04-13 15:18:08 +02:00
Stephane Nicoll
7550f92ea5
Clarify DataSource metrics section for custom DataSources
...
Closes gh-12851
2018-04-13 14:50:44 +02:00
Brian Clozel
29a719dfb3
Upgrade to Undertow 1.4.24.Final
...
This commit also updates tests since UNDERTOW-1260 has been fixed in
this release.
Closes gh-12852
2018-04-13 11:48:09 +02:00
Brian Clozel
b2e7be17ab
Polish gh-11514
...
As pointed out by Rossen in gh-11514 comments, a handler might commit
the response and then send an error signal in the pipeline. In this
case, adding a callback to `beforeCommit` is useless because it won't be
triggered. In those cases, we need to collect metrics right away.
2018-04-12 22:50:16 +02:00
Madhura Bhave
9c7612e681
Fix NPE in WaitStrategy used for test containers
2018-04-12 10:30:36 -07:00
Brian Clozel
b7695fabab
Switch to Reactor Bismuth SNAPSHOTs
2018-04-12 18:01:33 +02:00
Stephane Nicoll
38bd4bd58c
Stop associating an Executor bean to Quartz
...
This commits make sure that the Quartz auto-configuration no longer
associates an `Executor` bean if present in the context as Quartz offers
properties to tune it, which would mutate and lead to unexpected
results.
Closes gh-12823
2018-04-12 15:48:20 +02:00
Stephane Nicoll
e4e56bbcc3
Migrate to ApplicationContextRunner
2018-04-12 15:48:20 +02:00
Brian Clozel
3fa8fe85af
Deprecate RouterFunctionMetrics
...
Spring Boot now deploys both annotation-based and functional endpoints
under the same `HttpHandler`; this means the currently auto-configured
`MetricsWebFilter` is instrumenting all endpoints to produce metrics.
There is no need for a WebFlux functional specific support.
This commit removes mentions of `RouterFunctionMetrics` in the docs and
deprecates that class.
Closes gh-12833
2018-04-12 12:08:44 +02:00
Brian Clozel
77be10e7bc
Fix "status" metrics tag for error responses
...
Prior to this commit, the metrics `WebFilter` would handle exceptions
flowing through the pipeline and extract tag information right away.
Since error handling turns the exception information into error HTTP
responses later in the chain, the information extracted from the
response earlier is invalid.
In this case, the "status" information could be "200" whereas error
handlers would later set that status to "500".
This commit delays the tags extraction later in the process, right
before the response is comitted. The happy path is not changed, as
handlers signal that the response is fully taken care of at that point.
Fixes gh-11514
2018-04-12 11:30:43 +02:00
DK Lee
1f91ae541f
Fix WebClient example constructor name
...
Closes gh-12842
2018-04-12 09:44:03 +02:00
Madhura Bhave
4fab679829
Upgrade testcontainers to 1.7.0
...
Closes gh-12821
2018-04-11 10:40:54 -07:00
Stephane Nicoll
f55753c1dc
Add reference to Axon Framework
2018-04-11 17:43:33 +02:00
Stephane Nicoll
5cba7400e1
Add reference to Flowable
2018-04-11 11:53:33 +02:00
Stephane Nicoll
3c169b4e0a
Fix bean name of EnvironmentEndpointWebExtension
...
Closes gh-12827
2018-04-11 11:34:44 +02:00
Ken Kwon
16ad34aa19
Fix typo
...
Closes gh-12825
2018-04-11 10:51:20 +02:00
Stephane Nicoll
e8fac7d9c4
Properly discover endpoints that are proxied
...
Previously to this commit, if a `@ControllerEndpoint`,
`@RestControllerEndpoint` or `@ServletEndpoint` annotated bean was
proxied, the endpoint wasn't properly detected.
This commit makes sure that annotation retrieval works on the user class
while preserving the get (vs. find) retrieval semantic
Closes gh-12441
2018-04-10 20:23:55 +02:00
Stephane Nicoll
86b96254a1
Migrate to ApplicationContextRunner
2018-04-10 20:23:54 +02:00
Stephane Nicoll
f83934e192
Polish contribution
...
Closes gh-12812
2018-04-10 11:46:16 +02:00
Johnny Lim
f03849d502
Polish
...
See gh-12812
2018-04-10 11:46:16 +02:00
Andy Wilkinson
4fbe0b1283
Add dependency management for Kafka
...
Closes gh-12815
2018-04-10 09:07:19 +01:00
Phillip Webb
ba85cefce3
Polish
2018-04-09 14:50:03 -07:00
Andy Wilkinson
8d5b9f37d5
Merge branch '1.5.x'
2018-04-09 17:59:53 +01:00
Andy Wilkinson
8b1a101cb6
Merge branch '1.5.x'
2018-04-09 17:39:26 +01:00
Stephane Nicoll
6692301d51
Polish "Replace Couchbase's deprecated methods"
...
Closes gh-12655
2018-04-09 16:17:46 +02:00
Yulin Qin
3236306e53
Replace Couchbase's deprecated methods
...
See gh-12655
2018-04-09 13:22:22 +02:00
Stephane Nicoll
92d9479765
Gracefully handle exclusion of DataSourceAutoConfiguration
...
This commit makes sure that an auto-configuration that requires
`DataSourceProperties` will not break if `DataSourceAutoConfiguration`
has been explicitly excluded.
Closes gh-12512
2018-04-09 10:34:23 +02:00
Madhura Bhave
2f5ab50367
Add @QuartzDataSource for quartz auto-configuration
...
Closes gh-12755
2018-04-05 16:49:04 -07:00
Andy Wilkinson
c3bf8541d7
Do not rely on findAvailableTcpPort finding an available port
...
Closes gh-12779
2018-04-05 11:35:58 +01:00
Jichun Liu
34986ed12f
Add docker-api starter to 3rd party list
...
See https://github.com/jliu666/docker-api-spring-boot
Closes gh-12605
2018-04-05 11:12:29 +02:00
Andy Wilkinson
f335ec00bf
Polish
2018-04-05 09:31:17 +01:00
Andy Wilkinson
71df9c8618
Upgrade to Spring Kafka 2.1.5.RELEASE
...
Closes gh-12775
2018-04-05 07:51:52 +01:00
Andy Wilkinson
b42325f388
Upgrade to Spring Amqp 2.0.3.RELEASE
...
Closes gh-12774
2018-04-05 07:51:51 +01:00
Andy Wilkinson
0c6a09201d
Upgrade to Couchbase Client 2.5.7
...
Closes gh-12773
2018-04-05 07:51:50 +01:00
Andy Wilkinson
87aef1c379
Merge branch '1.5.x'
2018-04-05 07:50:17 +01:00
Andy Wilkinson
a8bbf7120e
Merge branch '1.5.x'
2018-04-05 07:11:34 +01:00
Phillip Webb
0c98d0e7d3
Polish "Allow validation api without implementation"
...
Closes gh-12669
2018-04-04 21:24:25 -07:00
geo_m
a74dc74ec3
Allow validation api without implementation
...
Allow validation api in the classpath without
a validator, as long as no bean is annotated `@Validated`
See gh-12669
2018-04-04 21:24:20 -07:00
Phillip Webb
41dc70146a
Polish "Prevent warnings when running embedded Artemis"
...
Closes gh-12680
2018-04-04 21:10:35 -07:00
Benjamin Graf
19818b752c
Prevent warnings when running embedded Artemis
...
Configure AddressSettings for DLQ and ExpiryQueue for the embedded
Artemis broker to prevent warnings from being logged.
Closes gh-12680
2018-04-04 21:03:04 -07:00
Phillip Webb
68dc9fed3b
Upgrade to Spring Integration 5.0.4
...
Closes gh-12693
2018-04-04 20:47:51 -07:00
Phillip Webb
ec419fca8b
Upgrade to Spring Security 5.0.4
...
Closes gh-12694
2018-04-04 20:46:36 -07:00
Phillip Webb
0c0b60bfa4
Upgrade to Spring Data Kay SR6
...
Closes gh-12696
2018-04-04 20:43:47 -07:00
Jon Schneider
03158e2fd5
Upgrade to Micrometer 1.0.3
...
Closes gh-12767
2018-04-04 20:42:23 -07:00
Phillip Webb
685babc829
Polish "Use lambdas for map entry iteration where possible"
...
Closes gh-12626
2018-04-04 19:36:18 -07:00
igor-suhorukov
69bc19e0ca
Use lambdas for map entry iteration where possible
...
See gh-12626
2018-04-04 19:36:10 -07:00
Clement Stoquart
276037cd56
Add missing managed JUnit Jupiter dependencies
...
Add managed dependencies for `junit-jupiter-params` and
`junit-vintage-engine`.
Closes gh-12635
2018-04-04 18:12:46 -07:00
dreis2211
cc66de28d0
Populate cache in ConfigFileApplicationListener
...
Fix `ConfigFileApplicationListener` so that the loadDocumentsCache is
populated when documents are loaded.
Closes gh-12732
2018-04-04 18:09:08 -07:00
dreis2211
35b4cd01ab
Polish
2018-04-04 18:08:38 -07:00
Phillip Webb
bc15f9ee9b
Upgrade Maven failsafe plugin to 2.21.0
...
See gh-12721
2018-04-04 18:06:45 -07:00
Stephan Köninger
373f5e7682
Upgrade Maven surefire plugin to 2.21.0
...
Closes gh-12721
2018-04-04 18:05:10 -07:00
Phillip Webb
598e9bb842
Polish
2018-04-04 18:01:25 -07:00
Phillip Webb
ce9ca6ae70
Polish "Apply MeterRegistryCustomizer to composites"
...
Closes gh-12762
2018-04-04 16:00:53 -07:00
Jon Schneider
1fce462944
Apply MeterRegistryCustomizer to composites
...
Update `MeterRegistryConfigurer` to also apply customizers to
composite meter registries. Prior to this commit composites were
skipped due to the incorrect assumption that did not contain
their own state.
Closes gh-12762
2018-04-04 15:58:16 -07:00
Phillip Webb
d49a1024bd
Merge branch '1.5.x'
2018-04-04 15:35:20 -07:00
Phillip Webb
696aedaef8
Merge branch '1.5.x'
2018-04-04 14:51:16 -07:00
Brian Clozel
799e1ba077
Upgrade to Netty 4.1.23.Final
...
Closes gh-12764
2018-04-04 23:07:46 +02:00
Phillip Webb
6fb4fba43a
Merge branch '1.5.x'
2018-04-04 12:17:57 -07:00
Andy Wilkinson
aa27334671
Run deployment tests on JDK 9 and 10 where possible
...
Closes gh-10414
2018-04-04 14:48:58 +01:00
Andy Wilkinson
e44bfbea4a
Merge branch '1.5.x'
2018-04-04 14:15:52 +01:00
Andy Wilkinson
7b39cdd5c4
Merge branch '1.5.x'
2018-04-04 13:49:18 +01:00
Andy Wilkinson
b951397a7c
Upgrade to Spring REST Docs 2.0.1.RELEASE
...
Closes gh-12681
2018-04-04 12:50:37 +01:00
Brian Clozel
f6d16c8b99
Align WebFluxTags uri support on WebMvcTags
...
This commit ensures that `WebFluxTags` not only relies on
`BEST_MATCHING_PATTERN_ATTRIBUTE` or request URI to provide the "uri"
tag information.
To avoid cardinality explosion, HTTP not found and redirects are
assigned fixed uri tags.
Closes gh-12685
2018-04-04 11:46:10 +02:00
Stephane Nicoll
ad6a888e47
Polish
2018-04-04 11:29:37 +02:00
Stephane Nicoll
f99752283f
Fix relaxed binding examples
...
Closes gh-12750
2018-04-04 11:29:18 +02:00
Stephane Nicoll
bf06854218
Merge branch '1.5.x'
2018-04-04 11:24:20 +02:00
Madhura Bhave
30e3cf4c01
Make sure property mapping exception are swallowed
2018-04-03 16:12:24 -07:00
Madhura Bhave
e5f8078749
Support dots in System environment properties
...
Fixes gh-12728
2018-04-03 14:37:06 -07:00
Stephane Nicoll
d14cd2cbae
Upgrade to Spring Framework 5.0.5.RELEASE
...
Closes gh-12340
2018-04-03 23:00:25 +02:00
Stephane Nicoll
f424297fef
Upgrade to Reactor Bismuth SR8
...
Closes gh-12698
2018-04-03 22:59:43 +02:00
Andy Wilkinson
195a66f009
Upgrade to Hibernate Validator 6.0.9.Final
...
Closes gh-12746
2018-04-03 16:05:11 +01:00
Andy Wilkinson
d5caddf4ca
Upgrade to Rxjava 1.3.8
...
Closes gh-12745
2018-04-03 16:05:10 +01:00
Andy Wilkinson
16f5f8d53c
Upgrade to Lettuce 5.0.3.RELEASE
...
Closes gh-12744
2018-04-03 16:05:09 +01:00
Andy Wilkinson
e20fcf0e17
Merge branch '1.5.x'
2018-04-03 16:01:29 +01:00
Rui Figueira
958aa5db55
Remove outdated reference to `EnvironmentTestUtils`
...
Documentation still refers to the now deprecated `EnvironmentTestUtils`
class instead of `TestPropertyValues` for setting environment values in
tests.
This commit replaces it with `TestPropertyValues` and provides an
equivalent code example.
Closes gh-12711
2018-04-03 14:10:35 +02:00
Andy Wilkinson
72cf471e83
Merge branch '1.5.x'
2018-04-03 10:55:06 +01:00
Stephane Nicoll
b6f9b46be8
Only create a WebTestClient with WebFlux
...
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.
Closes gh-12318
2018-04-03 11:31:37 +02:00
Stephane Nicoll
7dbeaaa932
Polish "Remove HierarchicalNameMapper as a configured @Bean"
...
Closes gh-12683
2018-04-03 11:23:05 +02:00
Jon Schneider
8572a091b8
Remove HierarchicalNameMapper as a configured @Bean
...
HierarchicalNameMapper is not a component that can be shared amongst
multiple monitoring systems.
See gh-12683
2018-04-03 11:14:43 +02:00
Stephane Nicoll
7c36c00331
Fix default HierarchicalNameMapper implementation for Graphite
...
Closes gh-12557
2018-04-03 10:39:14 +02:00
Johnny Lim
4ab439856c
Remove destroyMethod attribute in @Bean for MeterRegistry
...
Closes gh-12725
2018-04-03 10:14:13 +02:00
Andy Wilkinson
3568019118
Merge branch '1.5.x'
2018-04-03 09:07:38 +01:00
Attila Pápai
95385cecba
Add space between right parentheses and next word
...
Closes gh-12722
2018-04-03 10:05:32 +02:00
Benjamin Graf
101a42c572
Fix outdated import statements
...
Closes gh-12697
2018-04-03 09:58:15 +02:00
Madhura Bhave
8e81f0c23d
Fix conditions report message for same short name
...
If two auto-configuration classes with the same name are present,
the conditions report message now uses the fully qualified name for
both instead of the short name.
Fixes gh-11710
2018-04-02 12:57:28 -07:00
Madhura Bhave
270ee6dd2c
Configure RequestContextFilter in mgmt context
...
Closes gh-12546
2018-04-02 11:16:46 -07:00
Phillip Webb
a657a28f58
Fix properties unicode value decoding
...
Fix a range error when checking for unicode hex chars.
Fixes gh-12716
2018-04-02 10:12:42 -07:00
Phillip Webb
47a56616ae
Merge branch '1.5.x'
2018-04-02 09:51:03 -07:00
Stephane Nicoll
c90806477c
Fix outdated reference to DurationUnit
...
Closes gh-12708
2018-04-02 16:06:03 +02:00
Madhura Bhave
821af30277
Add missing javadoc for Bindable
...
Closes gh-12643
2018-03-30 12:48:15 -07:00
Andy Wilkinson
f108224b22
Start building against Spring Data Kay SR6 snapshots
...
See gh-12696
2018-03-30 08:38:22 +01:00
Andy Wilkinson
24da1dc97e
Start building against Spring Security 5.0.4 snapshots
...
See gh-12694
2018-03-30 08:34:13 +01:00
Andy Wilkinson
29c03da7df
Start building against Spring Integration 5.0.4 snapshots
...
See gh-12693
2018-03-30 08:30:45 +01:00
Phillip Webb
7649eb6230
Allow auto-configure sort with incomplete chain
...
Update `AutoConfigurationSorter` so that all `@AutoConfigureBefore` and
`@AutoConfigureAfter` classes are considered even if they are ultimately
not part of the requested set.
Prior to this commit, given classes ordered with annotations such that
A -> B -> C a call to sort only [A, B] could return the incorrect order.
Fixes gh-12660
2018-03-29 18:00:38 -07:00
Stephane Nicoll
4b4a8acb9d
Group auto-configuration import selectors together
...
This commit updates Spring Boot's DeferredImportSelector implementations
to group imports in a consistent set. This makes sure ordering is
applied consistently.
Closes gh-12366
2018-03-29 17:41:35 -07:00
Phillip Webb
9a64d3bf3f
Fix AsciiBytes unicode decoding
...
Fix the decoding logic in the AsciiBytes `hashCode` and `matches` to
correctly deal with multi-byte encodings.
Fixes gh-12504
2018-03-29 14:00:13 -07:00
Phillip Webb
98a2a91d16
Polish
2018-03-29 14:00:13 -07:00
Brian Clozel
ebb2f70e0b
Make WebMvgTags use matched patterns for HTTP 404
...
Prior to this commit, `WebMvcTags' would always mark as "NOT_FOUND" or
"REDIRECTION" *any* exchange with responses of 404 and 3xx status, even
if those responses are actually returned by Controller handlers.
This commit checks inverts those checks and first considers if the
"BEST_MATCHING_PATTERN_ATTRIBUTE" request attribute is present and uses
it - then falls back to "NOT_FOUND" and "REDIRECTION" to avoid
cardinality explosion.
Fixes gh-12577
2018-03-29 20:33:07 +02:00
Andy Wilkinson
cca5c0d2ee
Start building against Spring REST Docs 2.0.1 snapshots
...
See gh-12681
2018-03-29 14:22:55 +01:00
Andy Wilkinson
14b8e759c9
Upgrade to Jackson 2.9.5
...
Closes gh-12639
2018-03-29 12:19:28 +01:00
Andy Wilkinson
247910a28d
Merge branch '1.5.x'
2018-03-29 12:16:38 +01:00
Stephane Nicoll
703f33f175
Add reference to Sprout Platform starter
...
Closes gh-12599
2018-03-29 11:13:50 +02:00
Kazuki YAMAMOTO
aac716cb8c
Fix typo
...
Closes gh-12666
2018-03-29 08:56:55 +02:00
Stephane Nicoll
d456e1de49
Polish contribution
...
Closes gh-12590
2018-03-29 08:53:17 +02:00
Johnny Lim
74f9a84ea9
Make intermediate classes in type hierarchy of public class public
...
See gh-12590
2018-03-29 08:51:46 +02:00
Stephane Nicoll
da77cbaf7e
Complete dependency management for Quartz
...
Closes gh-12663
2018-03-29 08:49:02 +02:00
Stephane Nicoll
1e2eec5bcd
Close context if an ApplicationReadyEvent listener fails
...
This commit makes sure that the `ApplicationContext` is closed properly
if an `ApplicationReadyListener` throws an exception.
Closes gh-12549
2018-03-28 17:42:01 +02:00
Madhura Bhave
8b29823885
Prevent StackOverFlowException in metadata processor
...
Fixes gh-11037
2018-03-28 07:58:13 -07:00
Stephane Nicoll
13f45e6434
Remove misleading Jersey configuration property
...
This commit removes an override of a `ResourceConfig` property that was
set as an init parameter property (and therefore ignored).
Closes gh-3557
2018-03-28 13:53:26 +02:00
Stephane Nicoll
ccbfcbedf0
Add support for org.jooq.RecordUnmapperProvider
...
Closes gh-12560
2018-03-28 13:42:54 +02:00
Andy Wilkinson
1f35abacd6
Polish “Configure Kotlin compiler to use -java-parameters by default”
...
Closes gh-12641
2018-03-28 12:24:21 +01:00
Rui Figueira
5e2726f896
Configure Kotlin compiler to use -java-parameters by default
...
See gh-12641
2018-03-28 12:24:17 +01:00
Stephane Nicoll
404f22e5f9
Polish "Document @WebFluxTest limitation with RouterFunction"
...
See gh-10683
2018-03-28 09:51:54 +02:00
Madhura Bhave
db7d47704a
Document @WebFluxTest limitation with RouterFunction
...
Fixes gh-10683
2018-03-27 13:27:01 -07:00
Madhura Bhave
a6a523bc51
Fix typos
2018-03-27 13:27:01 -07:00
Stephane Nicoll
42e81e987b
Fix @EnableIntegrationManagement
...
Restore proper use of `defaultCountsEnabled` that was inadvertently
changed to `countsEnabled`
Closes gh-12594
2018-03-27 18:57:41 +02:00
Stephane Nicoll
d9beafa45f
Merge branch '1.5.x'
2018-03-27 16:15:11 +02:00
Stephane Nicoll
006decea2a
Merge branch '1.5.x'
2018-03-27 15:47:56 +02:00
Madhura Bhave
88faabaa63
Fix space
2018-03-26 12:30:26 -07:00
Madhura Bhave
fa6ee8e34d
Clarify h2-console requires a servlet-based web app
...
Fixes gh-12603
2018-03-26 10:29:00 -07:00
Stephane Nicoll
553b184248
Polish "Use Supplier variants of Assert methods"
...
Closes gh-12630
2018-03-26 17:59:35 +02:00
dreis2211
3b0f6e7168
Use Supplier variants of Assert methods
...
See gh-12630
2018-03-26 17:58:17 +02:00
Stephane Nicoll
62cc4e9552
Polish "Remove value in @ConditionalOnMissingBean if possible"
...
Closes gh-12604
2018-03-26 17:47:00 +02:00
Johnny Lim
c100510222
Remove value in @ConditionalOnMissingBean if possible
...
See gh-12604
2018-03-26 17:38:46 +02:00
Stephane Nicoll
47307dbc7e
Polish contribution
...
Closes gh-12584
2018-03-26 17:33:39 +02:00
Johnny Lim
625bf93598
Polish
...
See gh-12584
2018-03-26 17:33:25 +02:00
Stephane Nicoll
64a4f70564
Avoid use of `foo` and `bar` in doc
2018-03-26 12:58:30 +02:00
sdeleuze
561c24b328
Fix Kotlin @ConfigurationProperties example
...
Closes gh-12633
2018-03-26 12:45:24 +02:00
Stephane Nicoll
9cac45d514
Polish "Add Redis Sentinel database support"
...
Closes gh-12556
2018-03-26 12:37:37 +02:00
Alen Turkovic
1f80079c49
Add Redis Sentinel database support
...
See gh-12556
2018-03-26 12:33:16 +02:00
Stephane Nicoll
ed7618b097
Polish "Avoid string copies in SpringBootBanner"
...
Closes gh-12591
2018-03-24 18:33:05 +01:00
dreis2211
97c95d749e
Avoid string copies in SpringBootBanner
...
See gh-12591
2018-03-24 18:32:54 +01:00
Andy Wilkinson
9fccb0ae55
Upgrade to Spring Ws 3.0.1.RELEASE
...
Closes gh-12625
2018-03-23 20:32:06 -04:00
Andy Wilkinson
dcb1535eb1
Upgrade to Selenium Htmlunit 2.29.3
...
Closes gh-12624
2018-03-23 20:32:05 -04:00
Andy Wilkinson
49ee528d09
Upgrade to Postgresql 42.2.2
...
Closes gh-12623
2018-03-23 20:32:05 -04:00
Andy Wilkinson
de87e63503
Upgrade to Jooq 3.10.6
...
Closes gh-12622
2018-03-23 20:32:04 -04:00
Andy Wilkinson
1543d98cc5
Upgrade to Kotlin 1.2.31
...
Closes gh-12621
2018-03-23 20:32:03 -04:00
Andy Wilkinson
5453e77062
Upgrade to Infinispan 9.1.7.Final
...
Closes gh-12620
2018-03-23 20:32:03 -04:00
Andy Wilkinson
77c2232a63
Upgrade to Hibernate 5.2.16.Final
...
Closes gh-12619
2018-03-23 20:32:02 -04:00
Andy Wilkinson
4ebb5a942c
Upgrade to Ehcache3 3.5.2
...
Closes gh-12618
2018-03-23 20:32:01 -04:00
Andy Wilkinson
43e0c66783
Upgrade to Rxjava2 2.1.12
...
Closes gh-12617
2018-03-23 20:32:00 -04:00
Andy Wilkinson
5defc2ab57
Upgrade to Rxjava 1.3.7
...
Closes gh-12616
2018-03-23 20:32:00 -04:00
Andy Wilkinson
83d4b2e92e
Upgrade to Unboundid Ldapsdk 4.0.5
...
Closes gh-12615
2018-03-23 20:31:59 -04:00
Brian Clozel
728251c3bb
Upgrade to Reactor Bismuth SNAPSHOTs
2018-03-23 19:11:34 -04:00
Andy Wilkinson
95b0e874f9
Merge branch '1.5.x'
2018-03-23 17:15:19 -04:00
Andy Wilkinson
c12851a5b0
Merge branch '1.5.x'
2018-03-23 17:05:20 -04:00
Andy Wilkinson
1de77cde75
Unignore JUL logging test
...
Closes gh-1778
2018-03-23 14:10:45 -04:00
Johnny Lim
1e2e8b1d66
Rename expose to include
...
Closes gh-12555
2018-03-21 07:35:37 -04:00
igor-suhorukov
21628a9a59
Polish
...
Closes gh-12553
2018-03-20 09:08:21 -04:00
Denis Washington
a09ee17cbf
Add OAuth2 server implementation section to docs
...
As auto-configuration for Spring Security OAuth has been removed
from Spring Boot 2.0 and Spring Security 5 doesn't have OAuth
2.0 Authorization / Resource Server support yet, it has not
been obvious at all how to implement an OAUth 2.0 server with
Spring Boot 2.0.
For that reason, this new section briefly explains the current
temporary situation and points to the spring-security-oauth2-autoconfigure
module that restores the auto-configuration support for OAuth
2.0 Authorization and Resource Servers.
Closes gh-12491
2018-03-19 12:27:58 -04:00
Phillip Webb
78534a753d
Polish "Iterate map by using lambda function"
...
See gh-12528
2018-03-19 08:00:36 -04:00
igor-suhorukov
ffc883b005
Iterate map by using lambda function
...
Closes gh-12528
2018-03-19 07:50:54 -04:00
Phillip Webb
a520056838
Make containsDescendantOf a default method
...
Change `ConfigurationPropertySource.containsDescendantOf` to have a
default implementation that return `UNKNOWN`.
Fixes gh-12539
2018-03-19 07:46:04 -04:00
Phillip Webb
63b8ccc7c3
Fix IterableConfigurationPropertySource javadoc
...
Fixes gh-12540
2018-03-19 07:46:01 -04:00
Phillip Webb
c66781a3d3
Set using collection copies when possible
...
Update `Map` and `Collection` binders to create a copy of the existing
collection whenever possible. Prior to this commit the binder would
always mutate the existing value and then call the setter with the
same instance. This could cause issues if the setter expected a
different instance.
Fixes gh-12322
2018-03-18 12:46:13 -07:00
Phillip Webb
6e2ecb8a43
Fix broken endpoint integration tests
...
Ensure that JSON response is returned when extracting data from the
error details.
See gh-12513
2018-03-17 12:29:39 -07:00
Andy Wilkinson
72e36eadae
Polish
2018-03-17 15:28:05 +00:00
Andy Wilkinson
6c77b012f0
Polish "Follow project convention for lambda expression"
...
Csee gh-12527
2018-03-17 15:23:50 +00:00
igor-suhorukov
261264cef3
Follow project convention for lambda expression
...
Closes gh-12527
2018-03-17 15:22:37 +00:00
Stephane Nicoll
78571f50f8
Restore server.error.include-stacktrace default value
2018-03-17 07:00:09 -04:00
Stephane Nicoll
3e826c1a01
Fix typo in Micrometer examples
...
Closes gh-12529
2018-03-17 06:53:09 -04:00
Phillip Webb
79ad03b584
Merge branch '1.5.x'
2018-03-16 15:06:08 -07:00
Phillip Webb
620208a802
Polish
2018-03-16 13:39:50 -07:00
Phillip Webb
f80db03e75
Remove repositories section from published POM
...
Fixes gh-12378
2018-03-16 13:23:46 -07:00
Andy Wilkinson
217dbe4a6f
Merge pull request #12511 from Onur Kağan Özcan
...
* gh-12511:
Upgrade maven dependency plugin version to 3.0.2
2018-03-16 16:59:59 +00:00
Onur Kağan Özcan
dfe099b202
Upgrade maven dependency plugin version to 3.0.2
...
Closes gh-12511
2018-03-16 16:59:21 +00:00
Andy Wilkinson
36ea387a67
Close RandomAccessDataFile when direct JarFile is closed
...
Previously, the underlying RandomAccessDataFile was not closed when
the JarFile that was using it was closed. This causes a problem on
Windows as the open file handle prevents the file from being deleted.
This commit updates JarFile to close the underlying
RandomAccessDataFile when it is closed and has a JarFileType of
DIRECT.
Previously, when accessing the manifest of a jar file that maps to a
nested directory (BOOT-INF/classes) a new JarFile was created from the
root jar file, the manifest was retrieved, and the new JarFile was
closed. This could lead to the underlying RandomAccessDataFile being
closed while it was still in use.
This commit improves JarFile to retrieve the manifest from the
existing outer JarFile, thereby avoiding the need to create and close
a new JarFile.
Unfortunately, PropertiesLauncher creates a number of scenarios where
a JarFile with a type of direct is closed while it’s still being used.
To accommodate this behaviour, RandomAccessDataFile has been updated
so that it can re-open the underlying RandomAccessFile if it is used
after it has been closed.
Closes gh-12296
2018-03-16 15:58:50 +00:00
Brian Clozel
0162978c78
Support server.error.whitelabel.enabled in WebFlux
...
This commit disables the default HTML view in the WebFlux error handling
support when `server.error.whitelabel.enabled=false`.
In this case, the original exception will be forwarded down the stream
and handled by the default `WebExceptionHandler` provided by Spring
WebFlux (likely to respond a blank page and an error HTTP response
status).
Closes gh-12520
2018-03-16 16:54:34 +01:00
Brian Clozel
161ecc0575
Bind server.error.whitelabel.enabled to ErrorProperties
...
Closes gh-12516
2018-03-16 16:54:22 +01:00
Andy Wilkinson
2da4897aa8
Polish
2018-03-16 09:57:35 +00:00
Phillip Webb
522e3df394
Fix same name configuration properties adapting
...
Update `SpringConfigurationPropertySources` adapter logic so that and
exact instance match is used when checking if the cache can be used.
Prior to this commit if a property source was replaced with one that
had exactly the same name, the adapted version would not change.
Fixes gh-12451
2018-03-15 16:14:17 -07:00
Phillip Webb
c201c1dac1
Polish
2018-03-15 16:09:14 -07:00
Madhura Bhave
9384e5c3c1
Fix binding to bean with cloned arrays
...
Fixes gh-12478
2018-03-15 14:14:20 -07:00
Madhura Bhave
cb3da28bb9
Enforce length > 1 for H2 and WebServices path
...
Fixes gh-12485
2018-03-15 12:14:28 -07:00
Madhura Bhave
e6149fda1c
Assert endpoints basePath starts with '/' or is empty
...
Fixes gh-12489
2018-03-15 11:39:37 -07:00
Brian Clozel
b8e8647391
Fix Servlet requirements in reference docs
...
As of Spring Framework 5.0, only Servlet 3.1+ containers are supported.
See https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-5.x
This commit updates the reference documentation to reflect that and also
removes sections describing pre-Servlet 3.1 solutions, as those are not
supported anymore.
Fixes gh-12370
2018-03-15 17:25:48 +01:00
Brian Clozel
2561f320e8
War deployment is not supported for WebFlux apps
...
Even though War deployment is supported by Spring Framework itself for
WebFlux applications, this is not the case currently in Spring Boot.
Fixes gh-12455
2018-03-15 16:58:40 +01:00
Brian Clozel
a0b9974796
Polish Couchbase tests
2018-03-15 15:49:21 +01:00
dreis2211
ca30739bf9
Use ApplicationContextRunner in tests
...
Closes gh-12495
2018-03-15 14:28:56 +01:00
Andy Wilkinson
19b726854d
Upgrade to Mariadb 2.2.3
...
Closes gh-12503
2018-03-15 13:00:08 +00:00
Andy Wilkinson
6da049b7e3
Upgrade to Solr 6.6.3
...
Closes gh-12502
2018-03-15 13:00:08 +00:00
Andy Wilkinson
c940f49bb3
Upgrade to Johnzon Jsonb 1.1.7
...
Closes gh-12501
2018-03-15 13:00:07 +00:00
Andy Wilkinson
3aafbce4f8
Upgrade to Byte Buddy 1.7.11
...
Closes gh-12500
2018-03-15 13:00:06 +00:00
Andy Wilkinson
b948e32f12
Upgrade to Couchbase Client 2.5.6
...
Closes gh-12499
2018-03-15 13:00:05 +00:00
Andy Wilkinson
d5e588d50a
Merge branch '1.5.x'
2018-03-15 12:51:51 +00:00
Andy Wilkinson
53924de556
Merge branch '1.5.x'
2018-03-15 12:47:52 +00:00
Vladimir Tsanev
bf433e7f17
Fix Javadoc for ServiceLevelAgreementBoundary
...
Closes gh-12492
2018-03-15 13:40:13 +01:00
Brian Clozel
57147241cb
Make WebClientCustomizer optional for WebClient
...
This commit removes the required dependency on `WebClientCustomizer`
instances when creating `WebClient` beans, making it optional.
Closes gh-12458
2018-03-15 10:47:45 +01:00
Phillip Webb
d1e51d7f98
Explicitly set asyncSupported for reactive servers
...
Update `JettyReactiveWebServerFactory`/`TomcatReactiveWebServerFactory`
to explicitly set `asyncSupported` to `true`.
Fixes gh-12486
2018-03-14 16:09:45 -07:00
igor-suhorukov
4c61d8abfe
avoid check class by string name
2018-03-14 23:59:42 +01:00
Johnny Lim
2e6914ea88
Add missing super() calls
...
Closes gh-12459
2018-03-14 15:56:53 -07:00
Brian Clozel
a08deff0ce
Fix WelcomePageHandlerMapping order
...
This commit fixes 220f8cd
and moves the order for
`WelcomePageHandlerMapping` to `2` since the previous order was
conflicting with the resource mapping.
Closes gh-12335
2018-03-14 23:38:17 +01:00
Jon Schneider
0ce7c34036
Upgrade to Micrometer 1.0.2
...
Closes gh-12480
2018-03-14 15:27:06 -07:00
Phillip Webb
c3bc6f6dd6
Polish "Move test to ApplicationContextRunner"
...
Closes gh-12477
2018-03-14 15:20:56 -07:00
dreis2211
3246496e2c
Move test to ApplicationContextRunner
...
Move `DispatcherServletAutoConfigurationTests` to use the
`ApplicationContextRunner`
See gh-12477
2018-03-14 15:20:16 -07:00
dreis2211
8626daf135
Replace Mockito.times(0) with Mockito.never()
...
Closes gh-12475
2018-03-14 15:12:20 -07:00
Phillip Webb
90949669be
Polish "refactor spring-boot JSON parser"
...
Polish JSON parser refactoring and remove some more duplication.
Closes gh-12428
2018-03-14 14:54:21 -07:00
Anton Telechev
aa69621078
Refactor spring-boot JSON parsers
...
Refactor JSON parser wrappers to remove duplicate code portions in the
parseMap() and parseList() methods by adding an AbstractJsonParser.
See gh-12428
2018-03-14 14:53:35 -07:00
Phillip Webb
a4b0be089d
Polish
2018-03-14 14:05:26 -07:00
Brian Clozel
220f8cdca2
Order WelcomePageHandlerMapping at lower precedence
...
This commit orders the `WelcomePageHandlerMapping` at
`Ordered.LOWEST_PRECEDENCE -1` in order to give a chance to other
mappings to handle the incoming requests.
In this case, developers might provide a custom `ViewController` or
custom `HandlerMapping` for the `"/"` path and we should not override
that opinion.
Closes gh-12335
2018-03-14 17:16:39 +01:00
Stephane Nicoll
5320081d0b
Revert "Only create a WebTestClient with WebFlux"
...
This reverts commit 282bd9f
2018-03-14 08:34:48 -04:00
Stephane Nicoll
b80620fe28
Revert "Group auto-configuration import selectors together"
...
This reverts commit 26d9c26
2018-03-14 08:34:30 -04:00
Stephane Nicoll
282bd9f0db
Only create a WebTestClient with WebFlux
...
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.
Closes gh-12318
2018-03-14 05:12:45 -04:00
Stephane Nicoll
26d9c261c5
Group auto-configuration import selectors together
...
This commit updates Spring Boot's DeferredImportSelector implementations
to group imports in a consistent set. This makes sure ordering is
applied consistently.
Closes gh-12366
2018-03-14 05:02:22 -04:00
Jon Schneider
172794d446
Correct default Wavefront proxy port in docs
...
Closes gh-12471
2018-03-13 17:52:13 -07:00
dreis2211
0d3f3e46dd
Fix typos
...
Closes gh-12468
2018-03-13 17:42:19 -07:00
Andy Wilkinson
2f1b2e3ce2
Log summary of web-exposed endpoints during startup
...
Closes gh-12442
2018-03-13 14:55:51 +00:00
Andy Wilkinson
f758a4ddd5
Do not link to controller endpoints in Jersey-based Actuator
...
Closes gh-12463
2018-03-13 14:55:51 +00:00
dreis2211
a21ea612db
Remove duplicated @author tags
...
Closes gh-12454
2018-03-13 08:51:17 +01:00
igor-suhorukov
97d803bd30
Polish
...
Closes gh-12448
2018-03-13 08:49:49 +01:00
igor-suhorukov
cca976eccd
Remove redundant "close" call
...
Closing the resource is handled automatically by the try-with-resources.
Closes gh-12453
2018-03-13 08:48:13 +01:00
igor-suhorukov
12185251c1
"toString()" should never be called on a String object
...
Closes gh-12452
2018-03-13 08:45:02 +01:00
igor-suhorukov
93f9bd0a32
Polish
...
Closes gh-12450
2018-03-13 08:37:50 +01:00
Madhura Bhave
6d9692ffb7
Fix binding to empty prefix when empty name present
...
Fixes gh-12381
2018-03-12 12:35:08 -07:00
Andy Wilkinson
b88e3cb27e
Upgrade to Hibernate Validator 6.0.8.Final
...
Closes gh-12440
2018-03-12 15:58:52 +00:00
Andy Wilkinson
db466a1ae2
Upgrade to Hibernate 5.2.15.Final
...
Closes gh-12439
2018-03-12 15:58:52 +00:00
Stephane Nicoll
0fbe3c28a2
Polish "Add reference to RabbitMQ (advanced usage) starter"
...
Closes gh-12427
2018-03-12 15:45:59 +01:00
Vincent Fuchs
61c44cf672
Add reference to RabbitMQ (advanced usage) starter
...
See gh-12427
2018-03-12 15:43:11 +01:00
Stephane Nicoll
bb25b0a1f4
Merge branch '1.5.x'
2018-03-12 15:40:50 +01:00
Stephane Nicoll
ed05e1f7ca
Polish "Reorder modifiers to comply with the JLS"
...
Closes gh-12432
2018-03-12 15:17:23 +01:00
igor-suhorukov
aebb475bc5
Reorder modifiers to comply with the JLS
...
See gh-12432
2018-03-12 15:17:05 +01:00
Andy Wilkinson
6d16c5ff6e
Omit libraries with null destination when repackaging
...
Closes gh-12437
2018-03-12 13:33:42 +00:00
Stephane Nicoll
7f9ab8078f
Merge branch '1.5.x'
2018-03-12 09:07:05 +01:00
igor-suhorukov
6ee04ff942
Polish
...
Closes gh-12425
2018-03-10 10:28:04 +01:00
Madhura Bhave
6bcdd57ef2
Polish
2018-03-09 10:39:44 -08:00
Madhura Bhave
26811b8974
Ignore top-level ConfigurationProperty binding failures
...
Fixes gh-12357
2018-03-09 10:36:36 -08:00
Stephane Nicoll
a55180aa1e
Polish "Get rid of "magic" time constants"
...
Closes gh-12411
2018-03-09 16:37:18 +01:00
igor-suhorukov
ce78a78231
Get rid of "magic" time constants
...
See gh-12411
2018-03-09 16:36:45 +01:00
Johnny Lim
3c9cee2a8c
Invoke mapStatus() only when necessary
...
Closes gh-12419
2018-03-09 16:21:42 +01:00
Andy Wilkinson
3642636b60
Align test build-info.properties with ISO 8601 formatt changes
...
See gh-12420
2018-03-09 13:24:34 +00:00
Andy Wilkinson
9b637d4f0d
Use millisecond precision for build time in BuildPropertiesTests
...
Closes gh-12420
2018-03-09 11:59:26 +00:00
Andy Wilkinson
87239ba6c9
Parse build.time as an ISO 8601 instant
...
Closes gh-12420
2018-03-09 11:32:43 +00:00
igor-suhorukov
4f4cc1569c
Polish
...
Declarations should use Java collection interfaces such as "Deque" rather
than specific implementation classes such as "LinkedList".
Closes gh-12405
2018-03-09 09:32:14 +01:00
Andy Wilkinson
8109267de8
Upgrade to Spring Batch 4.0.1.RELEASE
...
Closes gh-12410
2018-03-08 17:04:26 +00:00
Andy Wilkinson
63a7a9bf42
Merge branch '1.5.x'
2018-03-08 15:52:47 +00:00
Andy Wilkinson
d08b228813
Merge branch '1.5.x'
2018-03-08 15:46:59 +00:00
Andy Wilkinson
43d05315b3
Use Surefire and Failsafe 2.21.0 when building with JDK 10
...
Closes gh-12332
2018-03-08 13:11:27 +00:00
Madhura Bhave
89e42d40c5
Provide security matchers for actuator links
...
Fixes gh-12353
2018-03-07 19:02:35 -08:00
Stephane Nicoll
7d1faa1c88
Ignore static and abstract accessors
...
This commit updates the annotation processor and the binder to ignore
any static or abstract method that has the characteristics of a JavaBean
accessor. As a result, no property is generated for those (invalid)
accessor and no binding occurs on them either.
Closes gh-12390
2018-03-07 17:55:12 +01:00
Brian Clozel
72afdc676d
Reorder WebMvcConfigurer from auto-configuration
...
Prior to this commit, all `WebMvcConfigurer` instances provided by user
configuration were processed *before* the one provided by the
`WebMvcAutoConfiguration`.
For many options this has no consequence, but for some, like the
`ContentNegotiationConfigurer`, settings were overriden by the
auto-configuration even if developers provided an opinion.
This commit orders the `WebMvcConfigurer` provided by the
auto-configuration at `0`, so that custom configurers (unordered, at
`Ordered.LOWEST_PRECEDENCE`) are processed *after*.
This still gives room to developers for configuring things *before* the
auto-configuration - they can still order their own configuration
accordingly.
Fixes gh-12389
2018-03-07 17:50:41 +01:00
Stephane Nicoll
9b1003d9f6
Properly identify accessor methods
...
This commit fixes the binder so that it property identifies JavaBean
accessors. Previously an accessor named `get` or `is` was identified.
Similarly, a setter named `set` was identified.
Closes gh-12363
2018-03-07 15:14:07 +01:00
Stephane Nicoll
36ed7ae699
Polish
2018-03-07 14:23:49 +01:00
Stephane Nicoll
3804466ad5
Fix description of JDBC starter
...
Closes gh-12387
2018-03-07 14:17:14 +01:00
Andy Wilkinson
bf84215b90
Merge branch '1.5.x'
2018-03-07 13:14:40 +00:00
Stephane Nicoll
1b36ab5be0
Fix wrong import
2018-03-07 14:10:49 +01:00
Stephane Nicoll
0207b816d9
Attempt to detect ddl-auto mode only if necessary
...
This commit defers the resolution of the default ddl auto mode only when
it is absolutely necessary. This prevents Spring Boot to attempt to get
a connection when it isn't necessary
Closes gh-12374
2018-03-07 13:06:01 +01:00
Andy Wilkinson
317b51f2ad
Make ApplicationContextRequestMatcher and subclasses thread-safe
...
Previously, when performing lazy initialisation of the context,
ApplicationContextRequestMatcher assigned the context field before it
called initialized. The context being non-null is used as the signal
that it’s ok to call a subclass’s matches method. If one thread checks
for a non-null context in between the field being assigned and
initialized being called on another thread, matches will be called
before the subclass is ready.
This commit closes the window for the race condition by only assigning
the context field once the subclass’s initialized method has been
called.
There is a secondary problem in each of the subclasses. Due to the use
of double-checked locking in ApplicationContextRequestMatcher, it’s
possible for a subclass’s matches method to be called by a thread that
has not synchronised on the context lock that’s held when initialized
is called and the delegate field is assigned. This means that the
value assigned to the field may not be visible to that thread.
This commit declares the delegate field of each
ApplicationContextRequestMatcher subclass as volatile to ensure that,
following initialisation, its value is guaranteed to be visible to
all threads.
Closes gh-12380
2018-03-07 11:37:01 +00:00
Stephane Nicoll
42629cb8ae
Add support for ConnectionNameStrategy
...
This commit detects if a `ConnectionNameStrategy` bean exists in the
context and associates it with the auto-configured RabbitMQ's
`ConnectionFactory` when that is the case.
Closes gh-12367
2018-03-07 11:15:50 +01:00
Stephane Nicoll
bc47b715c3
Add a note about the use of `*` with YAML
...
Closes gh-12361
2018-03-07 10:32:10 +01:00
seongwoon.lee
762793b812
Remove a redundant trailing slash in doc
...
Closes gh-12365
2018-03-06 17:42:43 +01:00
Stephane Nicoll
7a88fe692d
Polish Quartz dependency management
...
Closes gh-12364
2018-03-06 17:00:56 +01:00
Stephane Nicoll
326c1e123c
Merge branch '1.5.x'
2018-03-06 15:26:47 +01:00
Stephane Nicoll
6f7501f62b
Remove my clone
2018-03-06 10:21:00 +01:00
Madhura Bhave
e6eca04af2
Make EndpointRequestMatcher#excluding public
...
Fixes gh-12354
2018-03-05 16:07:46 -08:00
Madhura Bhave
4ca1e6ae4e
Polish "Fix typo in TestDatabaseAutoConfiguration"
...
Closes gh-12350
2018-03-05 13:13:07 -08:00
inabajunmr
ddd8598e2e
Fix typo in TestDatabaseAutoConfiguration failure msg
...
See gh-12350
2018-03-05 13:10:46 -08:00
Madhura Bhave
b6e09e8311
Merge branch '1.5.x'
2018-03-05 12:54:01 -08:00
Andy Wilkinson
d00d1da27a
Upgrade to Maven Javadoc Plugin 3.0.0
...
Closes gh-12345
2018-03-05 12:45:17 +00:00
Cristian Greco
b552842b9d
Fix link to Spring Data JPA in docs
...
Closes gh-12342
2018-03-05 12:33:26 +00:00
Andy Wilkinson
f918e0eb6a
Merge branch '1.5.x'
2018-03-05 11:55:18 +00:00
Andy Wilkinson
85900796d3
Remove stale tip about ManagementContextConfiguration for endpoints
...
Closes gh-12312
2018-03-05 11:19:10 +00:00
Andy Wilkinson
2c882a47d0
Merge pull request #12324 from Jon Schneider
...
* gh-12324:
Polish "Improve docs on custom metrics"
Improve docs on custom metrics
2018-03-05 10:55:00 +00:00
Andy Wilkinson
d7499387d8
Polish "Improve docs on custom metrics"
...
Closes gh-12324
2018-03-05 10:54:19 +00:00
Jon Schneider
25ff82f1d7
Improve docs on custom metrics
...
See gh-12324
2018-03-05 10:53:55 +00:00
dreis2211
3adced9962
Remove workaround for JDK-8023130 in RunProcess
...
With JDK 8 being the baseline and JDK 7 not being supported anymore we
can get rid of the workaround for a JDK 7 bug in
ProcessBuilder.inheritIO on Windows machines.
Closes gh-12337
2018-03-05 10:39:28 +00:00
Andy Wilkinson
9882d87e1b
Start building against Spring Framework 5.0.5 snapshots
...
See gh-12340
2018-03-05 09:34:41 +00:00
Stephane Nicoll
6533278191
Update reference guide to stop mentioning setWebEnvironment
...
Closes gh-12330
2018-03-04 09:50:40 +01:00
Andy Wilkinson
1f5143de70
Avoid problems with Failsafe when building with JDK 10
...
See gh-12028
2018-03-03 17:52:41 +00:00
Andy Wilkinson
d30c1fd9f8
Make javadoc plugin use Java 10-compatible version of Commons Lang 3
...
See gh-12028
2018-03-03 17:52:41 +00:00
Andy Wilkinson
4aa947c227
Use a Java 10-compatibile version of Maven’s site plugin
...
See gh-12028
2018-03-03 17:52:41 +00:00
Stephane Nicoll
7f5b7a6b47
Polish contribution
...
Closes gh-12326
2018-03-03 12:26:14 +01:00
Johnny Lim
751c444166
Polish
...
See gh-12326
2018-03-03 12:25:41 +01:00
Madhura Bhave
1c27a8e6e2
Move tests to ApplicationContextRunner
2018-03-02 18:30:55 -08:00
Andy Wilkinson
3370c23ab9
Skip the Gradle plugin when building with the full profile and JDK 10
...
See gh-12028
2018-03-02 17:48:27 +00:00
Andy Wilkinson
2b1252e282
Skip the Gradle Plugin when building with JDK 10
...
Previously, the JDK 10 build would fail as we build the plugin using
Gradle 4.0.x (the lowest version of Gradle that we support) and
Gradle 4.0.x doesn't work with Java 10.
Upgrading to Gradle 4.1, which appears to work with Java 10, was
considered but rejected for now as it introduces the risk that we
inadvertently use an API that's new in 4.1 and break our 4.0 support.
This commit goes for the extreme option and disables building the
Gradle Plugin when building with JDK.
See gh-12028
2018-03-02 17:05:58 +00:00
Andy Wilkinson
20654b9bc9
Remove no longer needed AspectJ version override with JDK 9+
...
See gh-12028
2018-03-02 16:04:10 +00:00
Andy Wilkinson
f7c8be1877
Apply java9 profile to JDK 10 (and later) as well as JDK 9
...
See gh-12028
2018-03-02 15:28:03 +00:00
Andy Wilkinson
7fdc26351a
Upgrade to Kotlin 1.2.30
...
Closes gh-12320
See gh-12028
2018-03-02 15:23:29 +00:00
Andy Wilkinson
a7d05d4276
Avoid SUREFIRE-1439 by using 2.21.0-SNAPSHOT when building with JDK 10
...
See gh-12028
2018-03-02 15:14:45 +00:00
Andy Wilkinson
9f7e840416
Improve documentation for using configuration processor with Gradle
...
Closes gh-12316
2018-03-02 13:41:28 +00:00
Andy Wilkinson
4a3e0a231c
Test the Gradle plugin against Gradle 4.6
...
Closes gh-12314
2018-03-02 13:41:28 +00:00
Andy Wilkinson
e4a1fed3b8
Test the Gradle plugin against Gradle 4.6
2018-03-02 13:41:27 +00:00
Andy Wilkinson
188d120c9c
Test the Gradle plugin against Gradle 4.5.1
...
Closes gh-12315
2018-03-02 13:41:27 +00:00
Johnny Lim
83ed0c7783
Make UserDetailsServiceAutoConfiguration.getOrDeducePassword() private
...
Closes gh-12295
2018-03-02 10:41:11 +01:00
igor-suhorukov
69fe32b1f5
Polish
...
Replace class "Stack" by more modern "Deque"
Closes gh-12304
2018-03-02 10:39:28 +01:00
Stephane Nicoll
ef9fb1696c
Merge branch '1.5.x'
2018-03-01 17:26:51 +01:00
Stephane Nicoll
8b5ad5b942
Replace outdated Spring Integration metrics section with a link
2018-03-01 17:00:01 +01:00
Stephane Nicoll
8a6664869e
Fix typo
2018-03-01 16:56:02 +01:00
Phillip Webb
38f112b9e1
Update flattened POM elements
...
Update flattened POM rules to satisfy maven central
requirements.
Fixes gh-12290
2018-02-28 19:37:09 -08:00
Phillip Webb
9bee9e9cf9
Polish
2018-02-28 13:50:43 -08:00
Madhura Bhave
df337eaf5e
Fix author name
2018-02-28 12:26:58 -08:00
Andy Wilkinson
1761e50b03
Upgrade to Spring Integration 5.0.3
...
Closes gh-12235
2018-02-28 20:23:51 +00:00
Andy Wilkinson
8d1e69bca4
Polish Gradle plugin's javadoc
2018-02-28 20:22:45 +00:00
Andy Wilkinson
703de64842
Reinstate imports
2018-02-28 20:11:42 +00:00
Andy Wilkinson
ef157d3649
Fix Checkstyle violations
2018-02-28 19:59:39 +00:00
Phillip Webb
7bc535e4fa
Polish
2018-02-28 10:59:26 -08:00
Phillip Webb
67998e983f
Revert "Include WebSecurityConfigurer beans in @WebMvcTest"
...
This reverts commit eef6fdb066
.
2018-02-28 10:59:26 -08:00
Andy Wilkinson
01304959fa
Polish "Remove redundant auto-configuration of SI Micrometer metrics"
...
Closes gh-12287
2018-02-28 17:45:32 +00:00
Gary Russell
ddd820af9a
Remove redundant auto-configuration of SI Micrometer metrics
...
Spring Integration no longer requires a `MicrometerMetricsFactory` to
support Micrometer metrics so there's nothing for Boot to
auto-configure.
See gh-12287
2018-02-28 17:33:05 +00:00
Andy Wilkinson
c4c50b7c49
Only auto-configure LogbackMetrics when Logback is actually being used
...
Closes gh-12286
2018-02-28 17:20:04 +00:00
Andy Wilkinson
9b46221345
Escape backslashes so they are preserved during Properties parsing
...
Closes gh-12285
2018-02-28 16:34:05 +00:00
Andy Wilkinson
75ed406f47
Upgrade to Spring Security 5.0.3
...
Closes gh-12247
2018-02-28 15:50:28 +00:00
Johnny Lim
f12c7ab38a
Remove an unnecessary method in EndpointDiscoverer
...
Closes gh-12284
2018-02-28 15:45:25 +01:00
Stephane Nicoll
0f652cdf4f
Fix injection point with proxied DataSource
...
Prior to this commit, the `ApplicationContext` couldn't start with a
JDK-proxied `HikariDataSource` as the JMX auto-configuration was
attempting to inject a (too narrowed) `HikariDataSource`.
This commit rather injects a regular `DataSource` and attempt to unwrap
it as a `HikariDataSource`.
Closes gh-12271
2018-02-28 15:37:07 +01:00
Stephane Nicoll
5fa71a1f94
Switch test to ApplicationContextRunner
2018-02-28 14:13:45 +01:00