Commit Graph

6923 Commits

Author SHA1 Message Date
Andy Wilkinson 2472836c48 Upgrade to Spring Session Bom Corn-M4
Closes gh-17903
2019-09-07 10:54:54 +01:00
Andy Wilkinson 9b6a425f91 Upgrade to Spring Batch 4.2.0.RC1
Closes gh-17899
2019-09-07 07:56:35 +01:00
Andy Wilkinson 9262a55892 Upgrade to Spring Kafka 2.3.0.RC1
Closes gh-17902
2019-09-06 20:28:00 +01:00
Andy Wilkinson 57d2c38dee Upgrade to Spring AMQP 2.2.0.RC1
Closes gh-17898
2019-09-06 20:27:24 +01:00
Andy Wilkinson c4e2784ac2 Upgrade to Spring Integration 5.2.0.RC1
Closes gh-17901
2019-09-06 20:26:46 +01:00
Andy Wilkinson 87c7307d28 Upgrade to Spring Security 5.2.0.RC1
Closes gh-17897
2019-09-06 20:25:48 +01:00
Andy Wilkinson 80b8f19961 Tune @ConditionalOnMissingBean for interface-based back off
Previously, a number of usages of @ConditionalOnMissingBean prevented
a bean that implements an auto-configured bean's "main" interface from
causing the auto-configuration of the bean to back off. This would
happen when @ConditionalOnMissingBean did not specify a type, the
@Bean method returned the bean's concrete type, and that concreate
type implements a "main" interface.

This commit updates such usages of @ConditionalOnMissingBean to
specify the "main" interface as the type of the bean that must be
missing. This will allow, for example, the auto-configured
MongoTemplate bean to back off when a MongoOperations bean is defined.
2019-09-06 17:55:06 +01:00
Andy Wilkinson ff1983c9ae Merge branch '2.1.x'
Closes gh-18168
2019-09-06 14:38:45 +01:00
Andy Wilkinson 795c2f225f Support getComment() on a nested JarFile
Previously, calling getComment() on a nested jar file would result
in the outer jar file's comment being returned.

This commit updates the loader's JarFile to read the file's comment
from the central directory end record and return it from getComment().

Fixes gh-18128
2019-09-06 14:29:48 +01:00
Andy Wilkinson fc1889ee72 Merge branch '2.1.x'
Closes gh-18167
2019-09-06 14:04:54 +01:00
dreis2211 ae30515e5e Test the Gradle Plugin against Gradle 5.6.2
See gh-18164
2019-09-06 13:19:08 +01:00
Andy Wilkinson 71d5d481ad Merge branch '2.1.x'
Closes gh-18165
2019-09-06 13:07:58 +01:00
Andy Wilkinson 19ccfaea86 Fix QuartzAutoConfiguration when Liquibase is not on the class path
Fixes gh-18153
2019-09-06 13:05:53 +01:00
Andy Wilkinson 715e90437f Merge branch '2.1.x' 2019-09-06 12:47:06 +01:00
Andy Wilkinson 8882c532cd Correct attribute references in reference documentation
Fixes gh-18163
2019-09-06 12:45:35 +01:00
Andy Wilkinson 07eb1815b2 Upgrade to Spring Data Moore-RC3
Closes gh-17900
2019-09-06 11:14:01 +01:00
Andy Wilkinson 628854c53d Upgrade to Neo4j Ogm 3.2.0-RC2
Closes gh-18162
2019-09-06 11:12:18 +01:00
Andy Wilkinson 6de723e225 Upgrade to Jooq 3.12.1
Closes gh-18161
2019-09-06 11:12:17 +01:00
Andy Wilkinson 283c67713a Upgrade to Kotlin Coroutines 1.3.1
Closes gh-18160
2019-09-06 11:12:16 +01:00
Andy Wilkinson a0a214de24 Upgrade to Elasticsearch 6.8.3
Closes gh-18159
2019-09-06 11:12:15 +01:00
Andy Wilkinson f799e1dcd9 Upgrade to Ehcache3 3.8.1
Closes gh-18158
2019-09-06 11:12:13 +01:00
Andy Wilkinson 9554bf5eff Upgrade to Jakarta Ws Rs 2.1.6
Closes gh-18157
2019-09-06 11:12:12 +01:00
Andy Wilkinson e922e2ab66 Upgrade to Jakarta Websocket 1.1.2
Closes gh-18156
2019-09-06 11:12:11 +01:00
Andy Wilkinson 03314a752e Upgrade to Jakarta Servlet Jsp Jstl 1.2.7
Closes gh-18155
2019-09-06 11:12:11 +01:00
Andy Wilkinson 61cbb1cade Upgrade to Jakarta Servlet 4.0.3
Closes gh-18154
2019-09-06 11:12:09 +01:00
Andy Wilkinson 1f875d552a Polish "Add a config property for JMS listener container's receive timeout"
See gh-17332
2019-09-05 21:42:13 +01:00
ibmmqmet 1cde657861 Add a config property for JMS listener container's receive timeout
See gh-17332
2019-09-05 21:30:53 +01:00
Andy Wilkinson 6328f2e8a8 Polish "Make logError() in AbstractErrorWebExceptionHandler overrideable"
See gh-17863
2019-09-05 21:18:21 +01:00
Peter Jurkovic 7ea612beaf Make logError() in AbstractErrorWebExceptionHandler overrideable
See gh-17863
2019-09-05 21:04:45 +01:00
Andy Wilkinson e8de5a6d95 Provide a public API for determining a request's outcome
Closes gh-18150
2019-09-05 20:54:35 +01:00
dreis2211 a2a672de0e Improve handling of non-standard status codes in WebMvcTags
See gh-17998
2019-09-05 20:34:25 +01:00
Andy Wilkinson 4069d855e8 Upgrade to Spring HATEOAS 1.0.0.RC2
Closes gh-17904
2019-09-05 17:16:30 +01:00
Andy Wilkinson 58eddb8fa4 Become compatible with Jackson 2.10 while remaining 2.9 compatible
See gh-17999
2019-09-05 17:13:45 +01:00
Stephane Nicoll 743351e067 Upgrade to Httpcore 4.4.12
Closes gh-18147
2019-09-05 14:44:45 +02:00
Stephane Nicoll 798fe069ce Upgrade to Activemq 5.15.10
Closes gh-18146
2019-09-05 14:44:44 +02:00
Stephane Nicoll a4582307da Upgrade to Undertow 2.0.26.Final
Closes gh-18145
2019-09-05 14:44:43 +02:00
Stephane Nicoll 9cd93ac98f Upgrade to Httpcore 4.4.12
Closes gh-18144
2019-09-05 14:41:40 +02:00
Stephane Nicoll 5fe4f3b25a Upgrade to Activemq 5.15.10
Closes gh-18143
2019-09-05 14:41:39 +02:00
Stephane Nicoll fd77fd4f05 Upgrade to Undertow 2.0.26.Final
Closes gh-18142
2019-09-05 14:41:38 +02:00
Stephane Nicoll e978f9ac8e Upgrade to Reactor Bom Californium-SR11
Closes gh-18141
2019-09-05 14:41:37 +02:00
Stephane Nicoll e7474b55de Upgrade to Reactor Dysprosium-RC1
Closes gh-17895
2019-09-05 13:10:20 +02:00
Stephane Nicoll 359279b1fb Upgrade to Spring Framework 5.2.0.RC2
Closes gh-17896
2019-09-05 13:08:59 +02:00
Stephane Nicoll 7cb2eb1850 Polish "Polish test"
See gh-18130
2019-09-05 08:54:35 +02:00
Eddú Meléndez 16a0188666 Polish test
See gh-18130
2019-09-05 08:54:06 +02:00
Stephane Nicoll 85a44dff64 Upgrade to Micrometer 1.1.6
Closes gh-18133
2019-09-05 08:28:06 +02:00
Phillip Webb f70c0b8fbb Merge branch '2.1.x' 2019-09-04 22:20:27 -07:00
Phillip Webb a3cde7fd8d Fix typo 2019-09-04 22:20:14 -07:00
Phillip Webb 877c65c714 Merge branch '2.1.x'
Closes gh-18132
2019-09-04 22:10:28 -07:00
Phillip Webb a0a204ae6a Clarify devtools trigger file documentation
Closes gh-17775
2019-09-04 22:09:33 -07:00
Phillip Webb ebae76b1b8 Protect against null BindHandler.onStart result
Fixes gh-18129
2019-09-04 14:02:26 -07:00
Phillip Webb 1851f7119f Merge branch '2.1.x' 2019-09-04 13:53:28 -07:00
Phillip Webb f1bbb2a017 Fix documentation typos
See gh-16718
2019-09-04 13:52:10 -07:00
Andy Wilkinson 13b45b42c7 Align with breaking API changes in latest Security snapshots
See gh-17897
2019-09-04 14:55:50 +01:00
Andy Wilkinson 4b5ebd8505 Process all non-private methods, not just public methods
Previously, the configuration processor would ignore any
@ConfigurationProperties-annotated methods that were not public. This
prevented metadata generation for package-private @Bean methods such
as those in DataSourceConfiguration's inner-classes for DBCP2, Hikari,
and Tomcat JDBC.

This commit updates the annotation processor so that it will process
any non-private method annotated with @ConfigurationProperties.

Fixes gh-18124
2019-09-04 14:26:12 +01:00
Andy Wilkinson 29080b87ec Protect autoconfigure module against slow starting test containers 2019-09-04 10:15:10 +01:00
Andy Wilkinson 8190b8eafb Merge branch '2.1.x'
Closes gh-18125
2019-09-04 09:54:26 +01:00
Andy Wilkinson 7f62c5a283 Provide a How-To for customizing Reactor Netty's TcpClient
Closes gh-17856
2019-09-04 09:49:56 +01:00
Phillip Webb 5c665ddd55 Merge branch '2.1.x'
Closes gh-18120
2019-09-03 21:04:43 -07:00
Phillip Webb 624c118cdf Polish "Document the pros and cons of MockMvc"
See gh-16718
2019-09-03 21:03:46 -07:00
Tetsuya Hasegawa 8f8a4af001 Document the pros and cons of MockMvc
Update the MockMvc documentation to provide more details about the
pros and cons of such an approach, specifically calling out the
difference with error page handling.

See gh-16718
2019-09-03 21:01:44 -07:00
Phillip Webb b43edf5493 Merge branch '2.1.x'
Closes gh-18118
2019-09-03 18:20:24 -07:00
Phillip Webb 158e25c00f Extend documentation on logback include files
Expand the Logback "How To" to provide further clarifications on
the different include files available.

See gh-16901
2019-09-03 18:18:09 -07:00
michal 1f97a60d16 Clarify documentation on logback include files
Update documentation and comments on Logback to show the correct
use of `default.xml` rather than `base.xml`.

See gh-16901
2019-09-03 18:15:59 -07:00
Phillip Webb c1a16f5f21 Merge branch '2.1.x'
Closes gh-18117
2019-09-03 16:56:34 -07:00
Phillip Webb 43108d5495 Add @SpringBootApplication.scanBasePackages note
Update the javadoc to note that `scanBasePackages` only affects the
`@ComponentScan` annotation and isn't a replacement for `@EntityScan`
or `@Enable...Repositories`.

Closes gh-18109
2019-09-03 16:51:06 -07:00
Phillip Webb 75a6397b52 Merge branch '2.1.x'
Closes gh-18110
2019-09-03 14:35:35 -07:00
Phillip Webb e8d9b6f498 Polish "Fallback to ping if Solr URL references core"
See gh-16477
2019-09-03 14:20:17 -07:00
Markus Schuch b9764e8de8 Fallback to ping if Solr URL references core
Update `SolrHealthIndicator` to fallback to a basic ping operation if
the `baseUrl` references a particular core rather than the root context.

Prior to this commit, if the Solr `baseUrl` pointed to a particular
core then the health indicator would incorrectly report `DOWN`.

See gh-16477
2019-09-03 14:03:25 -07:00
Andy Wilkinson 308f2db930 Polish "Support multiple drives when running CLI using Cygwin"
See gh-17872
2019-09-03 17:22:08 +01:00
Wanderrful 584a562970 Support multiple drives when running CLI using Cygwin
See gh-17872
2019-09-03 17:21:40 +01:00
Andy Wilkinson 6daab5c8ef Merge branch '2.1.x'
Closes gh-18108
2019-09-03 13:33:12 +01:00
Johnny Lim 2eac53cc5d Fix typo in deprecation reason for liquibase.check-change-log-location
See gh-18100
2019-09-03 13:32:29 +01:00
Andy Wilkinson ee0f57bfc7 Merge branch '2.1.x'
Closes gh-18106
2019-09-03 12:57:37 +01:00
Andy Wilkinson 52311ffe3c Depend on FlywayMigrationInitializer beans by type not name
Previously, a custom FlywayMigrationInitializer bean named anything
other than flywayInitializer could result in a
NoSucBeanDefinitionException as the dependencies set up for JPA and
JDBC components used the bean name flywayInitializer.

This commit updates the configuration of the dependencies to depend
on FlywayMigrationInitializer beans by type rather than name.

Fixes gh-18105
2019-09-03 12:45:17 +01:00
Andy Wilkinson 2dea534a0e Merge branch '2.1.x'
Closes gh-18103
2019-09-03 12:25:32 +01:00
Andy Wilkinson f313bf27a1 Depend on Flyway beans by type not name
Previously, a custom Flyway bean named anything other than flyway
could result in a NoSucBeanDefinitionException as the dependencies
set up for JPA and JDBC components used the bean name flyway.

This commit updates the configuration of the dependencies to depend
on Flyway beans by name rather than type.

Fixes gh-18102
2019-09-03 12:13:28 +01:00
dreis2211 07b857e57a Use disabledWithoutDocker option for @Testcontainers
See gh-18095
2019-09-03 09:51:53 +02:00
dreis2211 594e2084c7 Upgrade to Testcontainers 1.12.0
See gh-18095
2019-09-03 09:51:47 +02:00
Stephane Nicoll 5dc133ae9e Merge branch '2.1.x'
Closes gh-18098
2019-09-03 08:51:25 +02:00
dreis2211 087795fb67 Remove duplicated dependency in spring-boot-docs
See gh-18092
2019-09-03 08:50:27 +02:00
dreis2211 b4350a9d96 Remove unnecessary blank lines
See gh-18089
2019-09-03 08:48:10 +02:00
Andy Wilkinson a4b8d2401f Merge branch '2.1.x'
Closes gh-18094
2019-09-02 14:54:48 +01:00
Andy Wilkinson abba4fa9c9 Include exception's message in message printed by AP
Fixes gh-17974
2019-09-02 14:52:14 +01:00
Andy Wilkinson b463acb10f Merge branch '2.1.x'
Closes gh-18093
2019-09-02 14:42:21 +01:00
Andy Wilkinson edcaee375f Consider @Deprecated on field when determining property's deprecation
Fixes gh-17550
2019-09-02 14:39:24 +01:00
Andy Wilkinson 20b6656ba7 Protect autoconfigure module against slow starting test containers 2019-09-02 12:19:09 +01:00
Andy Wilkinson 3a417eec52 Merge branch '2.1.x' 2019-09-02 11:46:42 +01:00
Andy Wilkinson 4fd7b68f71 Polish 2019-09-02 11:45:55 +01:00
Phillip Webb a86258e62c Revert "Reduce bean method visibility"
Reverts commit 2be3027dcf
on 2.1.x
2019-09-01 20:04:09 -07:00
Phillip Webb b3835a8149 Merge branch '2.1.x' 2019-09-01 18:31:27 -07:00
Phillip Webb 2be3027dcf Reduce bean method visibility
See gh-17539
2019-09-01 18:30:39 -07:00
Phillip Webb 3746631081 Merge branch '2.1.x'
Closes gh-18085
2019-09-01 14:54:02 -07:00
Phillip Webb 75a1a24914 Polish "Ensure Flyway/Liquibase runs before Quartz"
See gh-17539
2019-09-01 14:48:37 -07:00
Dmytro Nosan 7e5bd1f281 Ensure Flyway/Liquibase runs before Quartz
Add post processors to ensure that SchedulerFactoryBean and Scheduler
beans depend on the Flyway and Liquibase beans.

See gh-17539
2019-09-01 14:46:25 -07:00
Andy Wilkinson caa4c165b5 Merge branch '2.1.x'
Closes gh-18084
2019-09-01 20:21:18 +01:00
Andy Wilkinson 7150f121a3 Redirect stdout from cd to /dev/null in CLI's bash script
Fixes gh-17579
2019-09-01 20:20:32 +01:00
Andy Wilkinson 6017f2f529 Merge branch '2.1.x'
Closes gh-18083
2019-09-01 20:10:57 +01:00
Andy Wilkinson ee89e0effd Fix client auth with Jetty
Fixes gh-17541
2019-09-01 19:49:03 +01:00
dreis2211 3e35a6616c Fix duplicated words
See gh-18004
2019-09-01 09:09:38 +02:00
freekry e1611287c8 Simplify some code
See gh-18077
2019-09-01 09:05:53 +02:00
Phillip Webb 58734873dd Merge branch '2.1.x'
Closes gh-18081
2019-08-31 08:43:02 -07:00
Phillip Webb e07889b092 Document that Filter beans are eagerly initialized
Closes gh-17814
2019-08-31 08:41:34 -07:00
Phillip Webb 117a2ecda9 Merge branch '2.1.x'
Closes gh-18080
2019-08-31 08:30:06 -07:00
Phillip Webb 7e60f4b32a Clarify "YAML Shortcomings" documentation
Closes gh-17933
2019-08-31 08:29:03 -07:00
Phillip Webb d655684135 Merge branch '2.1.x'
Closes gh-18079
2019-08-31 07:44:34 -07:00
Phillip Webb ffbd11caba Document logger environment variable restrictions
Update the reference guide with a note about using environment variables
to configure logging.

Closes gh-17958
2019-08-31 07:43:42 -07:00
Andy Wilkinson 37d3ce03f8 Revert "Upgrade to Jetty 9.4.20.v20190813"
This reverts commit f6f99d7855 as 9.4.20
includes an incompatible class change where an abstract class in
Jetty's public API was changed to an interface, making it incompatible
with Framework 5.1.9.

See gh-18035
2019-08-31 11:00:12 +01:00
Andy Wilkinson 225ed4b7d6 Upgrade to Maven Site Plugin 3.8.2
Closes gh-18075
2019-08-31 09:06:53 +01:00
Andy Wilkinson d14352fad9 Upgrade to Snakeyaml 1.25
Closes gh-18074
2019-08-31 09:06:52 +01:00
Andy Wilkinson 7e9a974cc0 Upgrade to Webjars Locator Core 0.40
Closes gh-18073
2019-08-31 09:06:51 +01:00
Andy Wilkinson 9dd8c689e6 Upgrade to Slf4j 1.7.28
Closes gh-18072
2019-08-31 09:06:50 +01:00
Andy Wilkinson bf37aa622a Upgrade to Selenium Htmlunit 2.36.0
Closes gh-18071
2019-08-31 09:06:49 +01:00
Andy Wilkinson 0d4ad44446 Upgrade to Reactive Streams 1.0.3
Closes gh-18070
2019-08-31 09:06:48 +01:00
Andy Wilkinson 281a85791f Upgrade to Mongo Driver Reactivestreams 1.12.0
Closes gh-18069
2019-08-31 09:06:47 +01:00
Andy Wilkinson 7aa2cead1b Upgrade to Mongodb 3.11.0
Closes gh-18068
2019-08-31 09:06:46 +01:00
Andy Wilkinson 66b099cefb Upgrade to Liquibase 3.8.0
Closes gh-18067
2019-08-31 09:06:45 +01:00
Andy Wilkinson 64adcaa285 Upgrade to Jboss Logging 3.4.1.Final
Closes gh-18066
2019-08-31 09:06:44 +01:00
Andy Wilkinson d11d46834b Upgrade to Infinispan 9.4.16.Final
Closes gh-18065
2019-08-31 09:06:43 +01:00
Andy Wilkinson 503d04a679 Upgrade to Freemarker 2.3.29
Closes gh-18064
2019-08-31 09:06:42 +01:00
Andy Wilkinson 6d606a9618 Upgrade to Jetty 9.4.20.v20190813
Closes gh-18063
2019-08-31 09:06:41 +01:00
Andy Wilkinson 2d392ba8bc Upgrade to Janino 3.1.0
Closes gh-18062
2019-08-31 09:06:40 +01:00
Andy Wilkinson b62708e151 Upgrade to Groovy 2.5.8
Closes gh-18061
2019-08-31 09:06:38 +01:00
Andy Wilkinson e876a25d0b Upgrade to Tomcat 9.0.24
Closes gh-18060
2019-08-31 09:06:37 +01:00
Andy Wilkinson 2f62fe07ce Upgrade to Log4j2 2.12.1
Closes gh-18059
2019-08-31 09:06:36 +01:00
Andy Wilkinson 8cdb7a3947 Upgrade to Commons Dbcp2 2.7.0
Closes gh-18058
2019-08-31 09:06:35 +01:00
Andy Wilkinson 509588fd11 Upgrade to Artemis 2.10.0
Closes gh-18057
2019-08-31 09:06:34 +01:00
Andy Wilkinson d3554624d9 Upgrade to Htmlunit 2.36.0
Closes gh-18056
2019-08-31 09:06:33 +01:00
Andy Wilkinson d5532f85c1 Upgrade to Byte Buddy 1.10.1
Closes gh-18055
2019-08-31 09:06:32 +01:00
Andy Wilkinson dc0a4cc869 Upgrade to Jakarta Transaction 1.3.3
Closes gh-18054
2019-08-31 09:06:31 +01:00
Andy Wilkinson ee903b39aa Upgrade to Jakarta Persistence 2.2.3
Closes gh-18053
2019-08-31 09:06:30 +01:00
Andy Wilkinson db56840880 Upgrade to Jakarta Json Bind 1.0.2
Closes gh-18052
2019-08-31 09:06:29 +01:00
Andy Wilkinson 96fa1df805 Upgrade to Jakarta Json 1.1.6
Closes gh-18051
2019-08-31 09:06:28 +01:00
Andy Wilkinson b3cf5665d1 Upgrade to Jakarta Annotation 1.3.5
Closes gh-18050
2019-08-31 09:06:27 +01:00
Andy Wilkinson b74e5d2f01 Upgrade to Undertow 2.0.25.Final
Closes gh-18049
2019-08-31 09:06:26 +01:00
Andy Wilkinson d776ad6e2e Upgrade to Rsocket 1.0.0-RC3
Closes gh-18048
2019-08-31 09:06:25 +01:00
Andy Wilkinson c3c7c07d7e Upgrade to Rxjava2 2.2.12
Closes gh-18047
2019-08-31 09:06:24 +01:00
Andy Wilkinson 57e5f1d93d Upgrade to Netty 4.1.39.Final
Closes gh-18046
2019-08-31 09:06:23 +01:00
Andy Wilkinson ad223f7327 Upgrade to Jakarta Mail 1.6.4
Closes gh-18045
2019-08-31 09:06:22 +01:00
Andy Wilkinson d84a736cee Upgrade to Caffeine 2.8.0
Closes gh-18044
2019-08-31 09:06:21 +01:00
Andy Wilkinson 3fc4df9f66 Upgrade to Slf4j 1.7.28
Closes gh-18043
2019-08-31 08:29:37 +01:00
Andy Wilkinson e12aa4fe51 Upgrade to Reactive Streams 1.0.3
Closes gh-18042
2019-08-31 08:29:36 +01:00
Andy Wilkinson df186945b6 Upgrade to Neo4j Ogm 3.1.13
Closes gh-18041
2019-08-31 08:29:35 +01:00
Andy Wilkinson 1cf615059e Upgrade to Jooq 3.11.12
Closes gh-18040
2019-08-31 08:29:35 +01:00
Andy Wilkinson 9c8b8ef6cf Upgrade to Jboss Logging 3.3.3.Final
Closes gh-18039
2019-08-31 08:29:33 +01:00
Andy Wilkinson f2ca07001d Upgrade to Infinispan 9.4.16.Final
Closes gh-18038
2019-08-31 08:29:32 +01:00
Andy Wilkinson 07f3ba7c33 Upgrade to Hibernate 5.3.11.Final
Closes gh-18037
2019-08-31 08:29:31 +01:00
Andy Wilkinson 7948c0e399 Upgrade to Freemarker 2.3.29
Closes gh-18036
2019-08-31 08:29:30 +01:00
Andy Wilkinson f6f99d7855 Upgrade to Jetty 9.4.20.v20190813
Closes gh-18035
2019-08-31 08:29:29 +01:00
Andy Wilkinson 5e2f18f48b Upgrade to Groovy 2.5.8
Closes gh-18034
2019-08-31 08:29:28 +01:00
Andy Wilkinson a2d452f160 Upgrade to Tomcat 9.0.24
Closes gh-18033
2019-08-31 08:29:27 +01:00
Andy Wilkinson b33d376fbe Upgrade to Undertow 2.0.25.Final
Closes gh-18032
2019-08-31 08:29:26 +01:00
Andy Wilkinson bf27f23144 Upgrade to Rxjava2 2.2.12
Closes gh-18031
2019-08-31 08:29:25 +01:00
Andy Wilkinson 494eaf0df8 Upgrade to Netty 4.1.39.Final
Closes gh-18030
2019-08-31 08:29:24 +01:00
Andy Wilkinson e9a2de0556 Upgrade to Dropwizard Metrics 4.0.6
Closes gh-18029
2019-08-31 08:29:23 +01:00
Andy Wilkinson 8956e3d216 Upgrade to Couchbase Client 2.7.9
Closes gh-18028
2019-08-31 08:29:22 +01:00
Andy Wilkinson d03ac6457e Merge branch '2.1.x'
Closes gh-18027
2019-08-31 08:26:05 +01:00
Andy Wilkinson 3d23277b8f Tolerate invalid mimetype in Reactory Netty compression predicate
Fixes gh-18018
2019-08-31 08:18:18 +01:00
Phillip Webb dc0a642fc0 Fix chackstyle violations in test
See gh-18012
2019-08-30 22:00:17 -07:00
Phillip Webb 71b99e5c83 Merge branch '2.1.x'
Closes gh-18026
2019-08-30 21:57:21 -07:00
Phillip Webb 6ca92418b5 Document need to exactly JPA property names
Closes gh-17975
2019-08-30 21:56:18 -07:00
Phillip Webb 230506b30c Merge branch '2.1.x' 2019-08-30 21:30:02 -07:00
Phillip Webb e4dfb74629 Polish 2019-08-30 21:29:54 -07:00
Phillip Webb 85784ba6ea Merge branch '2.1.x'
Closes gh-18025
2019-08-30 21:28:31 -07:00
Phillip Webb 1ff784ff54 Remove MBean shutdown warning from documentation
Closes gh-17988
2019-08-30 21:27:51 -07:00
Phillip Webb 51e71f7ff1 Merge branch '2.1.x'
Closes gh-18024
2019-08-30 21:25:31 -07:00
Phillip Webb 368eb566fb Use versioned links in documentation
Update the reference documentation to use versioned links rather then
`/current/` whenever possible.

Closes gh-18000
2019-08-30 21:19:33 -07:00
Phillip Webb f69b2669b3 Merge branch '2.1.x' 2019-08-30 19:16:19 -07:00
Phillip Webb 348d65b4fe Polish documentation 2019-08-30 19:13:12 -07:00
Phillip Webb dc870044c6 Merge branch '2.1.x' 2019-08-30 19:12:43 -07:00
Phillip Webb 7f9d143e01 Polish documentation
Update reference documentation source to use consistent attribute names
and fix a few formatting issues.
2019-08-30 17:11:14 -07:00
Phillip Webb cbcfd9de6f Merge branch '2.1.x' 2019-08-30 16:28:03 -07:00
Phillip Webb db26d9dc91 Fix EndpointRequest ignore logic
Fixup ignore logic in `EndpointRequest`.

See gh-18012
2019-08-30 16:25:07 -07:00
Phillip Webb ee130cfb3f Merge branch '2.1.x'
Closes gh-18023
2019-08-30 14:58:09 -07:00
Phillip Webb 572e491465 Remove Gemfire starter details from documentation
Closes gh-18002
2019-08-30 14:57:17 -07:00
Phillip Webb ddbc1e5b0a Merge branch '2.1.x'
Closes gh-18022
2019-08-30 14:53:21 -07:00
Phillip Webb dbccb705a8 Clarify "Web Application Conditions" documentation
Update the reference documentation so that "Web Application Conditions"
also covers reactive contexts.

Closes gh-18005
2019-08-30 14:52:27 -07:00
Phillip Webb 1283bc05d7 Merge branch '2.1.x'
Closes gh-18021
2019-08-30 14:41:36 -07:00
Phillip Webb 5938ca78b6 Fix request matcher management context support
Fix caching issues in `ApplicationContextRequestMatcher` and allow
subclasses to ignore an application context entirely. Update existing
matcher implementations so that they deal with the management context
correctly.

Prior to this commit, the `ApplicationContextRequestMatcher` would
return a context cached from the first request. It also didn't
provide any way to ignore a context. This meant that if the user was
running the management server on a different port the matching results
could be inconsistent depending on if the first request arrived on
the regular context or the management context. It also meant that we
could not distinguish between the regular context and the management
context when matching.

Closes gh-18012
2019-08-30 14:36:16 -07:00
davinkevin 84c81462b4 Upgrade to jOOQ 3.12.0
See gh-18014
2019-08-30 09:56:02 +01:00
Andy Wilkinson 50eb6d3fd1 Merge branch '2.1.x'
Closes gh-18016
2019-08-30 09:53:10 +01:00
dreis2211 b6fff67f6e Remove reference to non-existent --edit option in CLI docs
See gh-18015
2019-08-30 09:52:24 +01:00
Andy Wilkinson e2edb6a539 Polish "Auto-configure Flyway with JavaMigration beans"
See gh-17993
2019-08-30 09:26:56 +01:00
Semyon Danilov ff68295928 Auto-configure Flyway with JavaMigration beans
See gh-17993
2019-08-30 09:20:59 +01:00
Andy Wilkinson 82ea3b51b3 Polish 2019-08-30 08:26:12 +01:00
Andy Wilkinson 0e2a131e5d Polish "Upgrade to Flyway 6.0.1"
See gh-17997
2019-08-30 08:19:07 +01:00
Semyon Danilov 278b20d9c9 Upgrade to Flyway 6.0.1
See gh-17997
2019-08-30 08:19:07 +01:00
Phillip Webb 1e2f8959d9 Fix broken asciidoc rendering
Restore the blank line at the end of `executable-jar-format.adoc`
which appears to be required.

See gh-18007
2019-08-29 23:53:16 -07:00
Phillip Webb b6e3f48a89 Delete old appendix file
Delete file accidentally added during merge.

See gh-18007
2019-08-29 23:25:09 -07:00
Phillip Webb d70519038b Fix broken asciidoc syntax
See gh-18007
2019-08-29 21:18:51 -07:00
Phillip Webb ca53780c43 Merge branch '2.1.x'
Closes gh-18007
2019-08-29 18:05:31 -07:00
Phillip Webb 64d4bf823a Reformat documentation to one sentence per line
Update reference documentation to use one sentence per line formatting
as recommended by the Asciidoctor team.

Closes gh-12445
2019-08-29 14:58:48 -07:00
Andy Wilkinson 9a7b2ce007 Upgrade to Mssql Jdbc 7.4.1.jre8
Closes gh-17965
2019-08-29 13:53:13 +01:00
Andy Wilkinson a04a6c3e92 Merge branch '2.1.x'
Closes gh-17996
2019-08-29 13:51:05 +01:00
Ben Hale 2a04d94cf1 Use exec when launching the JVM in CLI's shell script
Previously, when the Spring Boot CLI ran the Java command line for an
application it did a straight invocation which suppressed propagation of
signals to the JVM in certain circumstances (e.g within Docker containers).

This change prepends the command with exec which causes the Java process to
replace the script process in a shell ensuring that signals are propagated to
the Java process without suppression.

See gh-17976

Signed-off-by: Ben Hale <bhale@pivotal.io>
2019-08-29 13:49:46 +01:00
Andy Wilkinson 0217de4349 Polish "Improve handling of non-standard status codes in RestTemplate metrics"
See gh-17991
2019-08-29 13:44:35 +01:00
Johnny Lim 1acff410a2 Improve handling of non-standard status codes in RestTemplate metrics
See gh-17991
2019-08-29 13:44:12 +01:00
Andy Wilkinson 7f8b3a7b86 Test the Gradle Plugin against Gradle 5.6.1
Closes gh-17995
2019-08-29 12:53:50 +01:00
dreis2211 26a22fa523 Test the Gradle Plugin against Gradle 5.6.1
See gh-17984

Closes gh-17984
2019-08-29 12:46:26 +01:00
Andy Wilkinson bbec7b0f37 Merge branch '2.1.x'
Closes gh-17994
2019-08-29 12:30:06 +01:00
Andy Wilkinson 9961647c7f Improve handling of reserved characters in MetaInfResourceManager
Previously, MetaInfResourceManager that we use with Undertow to serve
static resources from jar's META-INF/resources did not correctly
handle characters in the path that should be percent-encoded when
used in a URL.

This commit updates MetaInfResourceManager to encode the path before
it is used to create a URL. Prior to this encoding, encoded slashes
(%2F) are decoded as, unlike other encoded characters in the request's
URL, encoded slashes are not decoded prior to calling the
ResourceManager.

Fixes gh-17853
2019-08-29 12:13:40 +01:00
Stephane Nicoll b57db504df Fix broken build due to Kotlin upgrade 2019-08-29 10:01:16 +02:00
Stephane Nicoll 078d53a5f2 Upgrade to Kotlin 1.3.50
Closes gh-17982
2019-08-28 17:11:49 +02:00
Andy Wilkinson 11f67b8536 Upgrade to Kotlin Coroutines 1.3.0
Closes gh-17907
2019-08-28 11:22:13 +01:00
leoli fac4b9c830 Upgrade to Git commit ID plugin 3.0.1
See gh-17981
2019-08-28 11:15:09 +01:00
Stephane Nicoll 96596f8ecc Polish contribution
See gh-17962
2019-08-28 10:55:32 +02:00
Kant 7ee3656188 Polish
See gh-17962
2019-08-28 10:55:13 +02:00
Madhura Bhave 2726540e76 Merge branch '2.1.x'
Closes gh-17980
2019-08-28 13:13:48 +05:30
Madhura Bhave 674f2f5a6c EndpointRequest should match @ServletEndpoint
This commit also changes the request matcher for MVC
endpoints to use an AntPathRequestMatcher instead of an
MvcRequestMatcher. The endpoint is always available
under the mapped endpoint path and this way the same matcher
can be used for both MVC and Jersey.

Fixes gh-17912

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-08-28 11:48:53 +05:30
dreis2211 ec57f0c31f Fix upstream RSocket method renames
See gh-17973
2019-08-27 13:12:52 +01:00
Vedran Pavic cb3efc1ef6 Add dependency management for IBM DB2 JDBC driver
See gh-17782
2019-08-27 11:19:19 +02:00
Stephane Nicoll cda310ba0a Polish "Fix a broken Asciidoctor syntax"
See gh-17970
2019-08-27 11:11:57 +02:00
Johnny Lim 78a467f9d3 Fix a broken Asciidoctor syntax
See gh-17970
2019-08-27 11:10:39 +02:00
Stephane Nicoll e92a530640 Merge branch '2.1.x'
Closes gh-17972
2019-08-27 11:07:45 +02:00
leoli 34d28f48ca Fix Undertow access log dir property name in doc
See gh-17968
2019-08-27 11:06:16 +02:00
Madhura Bhave 46ea4a2501 isPublisherConfirms in RabbitProperties should not throw NPE
Fixes gh-17967
2019-08-27 08:39:55 +05:30
Phillip Webb fb846f434f Merge branch '2.1.x'
Fixes gh-17959
2019-08-25 21:37:07 -07:00
Phillip Webb 4c446c38a6 Only add management error page for Spring MVC
Move management `ErrorPage` registration from the
`WebMvcEndpointChildContextConfiguration` to
`WebMvcEndpointChildContextConfiguration` and only add it when the
error controller is registered.

Fixes gh-17938
2019-08-25 21:34:25 -07:00
Stephane Nicoll 7d994e607d Restructure tests to exercise deprecated property in a dedicated test
See gh-17848
2019-08-24 08:22:28 +02:00
Madhura Bhave 21783faede Merge branch '2.1.x'
Closes gh-17953
2019-08-23 19:44:16 -07:00
Madhura Bhave 28d374d84d Polish "Configure Issuer Validator for Resource Server"
See gh-17952
2019-08-23 19:34:49 -07:00
HaiTao Zhang b3d189cf87 Configure Issuer Validator for Resource Server
See gh-17952
2019-08-23 19:34:31 -07:00
Madhura Bhave 8954fe13e5 Polish "Support additional publisher confirm types"
See gh-17848
2019-08-23 18:44:42 -07:00
HaiTao Zhang 8c1c8a27d9 Support additional publisher confirm types
See gh-17848
2019-08-23 18:44:15 -07:00
Madhura Bhave 7829593746 Polish "Sanitize password in URI properties"
See gh-17939
2019-08-23 18:16:46 -07:00
HaiTao Zhang d49a2ec98e Sanitize password in URI properties
See gh-17939
2019-08-23 18:10:43 -07:00
Madhura Bhave 0fee0ca71c Merge pull request #17915 from htztomic
* pr/17915:
  Polish "Added support for devtools YAML configuration"
  Added support for devtools YAML configuration

Closes gh-17915
2019-08-23 14:39:07 -07:00
Madhura Bhave 48b5b6a24c Polish "Added support for devtools YAML configuration"
See gh-17915
2019-08-23 14:37:54 -07:00
HaiTao Zhang 00a3ad0fd1 Added support for devtools YAML configuration
See gh-17915
2019-08-23 14:33:39 -07:00
Andy Wilkinson b54ff7c45f Merge branch '2.1.x'
Closes gh-17950
2019-08-23 20:34:35 +01:00
Andy Wilkinson 608228d617 Improve handling of non-standard status codes in WebClient metrics
Fixes gh-17695
2019-08-23 20:28:26 +01:00
Andy Wilkinson ba6fe60134 Merge branch '2.1.x'
Closes gh-17948
2019-08-23 19:15:02 +01:00
Andy Wilkinson 52050c173c Fix spying on scoped beans with @SpyBean
Previously, when spying on a scoped bean the creation of the spy
would be performed using the scoped proxy. This would result in
the spy being unable to spy on any of the target bean's methods as
the scoped proxy's implementations of those methods would be final.

This commit updates MockitoPostProcessor so that the creation of the
spy and injection of the @SpyBean-annotated field is performed using
the scoped target. The scoped target has not be proxied so this
allows Mockito to spy on all of its methods.

Closes gh-17817
2019-08-23 19:03:08 +01:00
Andy Wilkinson 2d2e3b3d8b Support parallel test execution with @AutoConfigureMockMvc
Previously, the deferred line writing that is used, to print MockMvc
results to the console assumed that each DeferredLinesWriter would
only be used by a single thread at a time. This assumption does not
hold true when using JUnit 5's parallel test exection if the tests
running in parallel share an application context. This resulted in
a concurrent modification exception if one thread was adding lines
to the output while another was iterating over them.

This commit updates DeferredLinesWriter so that it uses thread local
storage for the deferred lines. This ensures that each List of lines
is only ever accessed by a single thread.

Closes gh-16179
2019-08-23 14:12:54 +01:00
Stephane Nicoll 52bcdac7b0 Polish 2019-08-23 13:44:24 +02:00
LiangYong 12bfca56d6 Remove unnecessary null check
See gh-17916
2019-08-23 13:25:11 +02:00
Gang Zhang 2b29bea55c Use putIfAbsent() instead of containsKey
See gh-17913
2019-08-23 13:21:23 +02:00
Andy Wilkinson bac63cf79e Merge branch '2.1.x'
Closes gh-17943
2019-08-23 11:29:24 +01:00
Andy Wilkinson 0fb0eb6e5b Deprecate jackson.version in favour of new jackson-bom.version
The versions of Jackon's bom and the versions of Jackson are often
not the same. For example, at the time of writing, the latest bom
version is 2.9.9.20190807 but the latest version of Jackson's core
is 2.9.9 and the latest version of Jackson's databind is 2.9.9.3.

spring-boot-dependencies using a property, jackson.version, to control
the version of jackson-bom that is imported. To make it clear that the
version property controls the version of Jackson's bom and not of
Jackson itself, this commit deprecates jackson.version in favour of
a new jackson-bom.version property.

An additional benefit of this change is that it addresses a problem
when using Gradle and the dependency management plugin. Jackson's bom
uses a jackson.version property to control the version
of core Jackson modules. This names clashes with the name of the
property used by spring-boot-dependencies. Specifying a custom
jackson.version to control the version of the bom that is imported
would also have the unwanted side-effect of customizing the version of
the core Jackson modules declared in Jackson's bom.

Fixes gh-17808
2019-08-23 11:28:20 +01:00
Andy Wilkinson c48228f645 Merge branch '2.1.x'
Closes gh-17942
2019-08-23 11:03:43 +01:00
Andy Wilkinson ac0a22d603 Tolerate LCEMFB with null JpaVendorAdapter in JPA auto-config
Closes gh-17935
2019-08-23 10:39:40 +01:00
Phillip Webb cb5ca7997b Polish 2019-08-22 15:17:34 -07:00
Phillip Webb 6270f5008d Polish lenient enum converter
See gh-17798
2019-08-22 14:42:07 -07:00
Andy Wilkinson b43827d626 Configure ping (formerly application) health indicator by default
This commit renames ApplicationHealthIndicator to PingHealthIndicator
and changes the auto-configuration so that it is now always configured
by default.

Closes gh-17926
2019-08-22 14:50:10 +01:00
Andy Wilkinson 05e089601e Remove default favicon and support for serving from classpath root
Closes gh-17925
2019-08-22 13:53:13 +01:00
Phillip Webb e03f822c6d Add support for health indicator groups
Update the `HealthEndpoint` to support health groups. The
`HealthEndpointSettings` interface has been replaced with
`HealthEndpointGroups` which provides access to the primary group
as well as an optional set of additional groups.

Groups can be configured via properties and may have custom
`StatusAggregator` and `HttpCodeStatusMapper` settings.

Closes gh-14022

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-08-21 18:43:25 -07:00
Phillip Webb f09e0264d9 Migrate HealthIndicator auto-configurations
Migrate all `HealthIndicator` configuration to `HealthContributor`
configurations instead.

See gh-14022
2019-08-21 18:43:25 -07:00
Phillip Webb 3c535e0de3 Add HealthContributor and refactor HealthEndpoint
Overhaul `HealthEndpoint` support to make it easier to support health
groups. Prior to this commit the `HealthIndicator` interface was used
for both regular indicators and composite indicators. In addition the
`Health` result was used to both represent individual, system and
composite health. This design unfortunately means that all health
contributors need to be aware of the `HealthAggregator` and could not
easily support heath groups if per-group aggregation is required.

This commit reworks many aspects of the health support in order to
provide a cleaner separation between a `HealthIndicator`and a
composite. The following changes have been made:

- A `HealthContributor` interface has been introduced to represent
  the general concept of something that contributes health information.
  A contributor can either be a `HealthIndicator` or a
  `CompositeHealthContributor`.

- A `HealthComponent` class has been introduced to mirror the
  contributor arrangement. The component can be either
  `CompositeHealth` or `Health`.

- The `HealthAggregator` interface has been replaced with a more
  focused `StatusAggregator` interface which only deals with `Status`
  results.

- `CompositeHealthIndicator` has been replaced with
  `CompositeHealthContributor` which only provides access to other
  contributors. A composite can no longer directly return `Health`.

- `HealthIndicatorRegistry` has been replaced with
  `HealthContributorRegistry` and the default implementation now
  uses a copy-on-write strategy.

- `HealthEndpoint`, `HealthEndpointWebExtension` and
  `ReactiveHealthEndpointWebExtension` now extend a common
  `HealthEndpointSupport` class. They are now driven by a
  health contributor registry and `HealthEndpointSettings`.

- The `HealthStatusHttpMapper` class has been replaced by a
  `HttpCodeStatusMapper` interface.

- The `HealthWebEndpointResponseMapper` class has been replaced
  by a `HealthEndpointSettings` strategy. This allows us to move
  role related logic and `ShowDetails` to the auto-configure module.

- `SimpleHttpCodeStatusMapper` and `SimpleStatusAggregator`
  implementations have been added which are configured via constructor
  arguments rather than setters.

- Endpoint auto-configuration has been reworked and the
  `CompositeHealthIndicatorConfiguration` class has been replaced
  by `CompositeHealthContributorConfiguration`.

- The endpoint JSON has been changed make `details` distinct from
  `components`.

See gh-17926
2019-08-21 18:43:25 -07:00
Andy Wilkinson 24b5b0d93e Polish 2019-08-21 15:50:33 +01:00
Andy Wilkinson 87339405f3 Merge branch '2.1.x'
Closes gh-17928
2019-08-21 15:18:13 +01:00
Andy Wilkinson abe3d38527 Fix OoM error when starting Tomcat with max int load on startup
Fixes gh-17927
2019-08-21 15:17:54 +01:00