Commit Graph

4730 Commits

Author SHA1 Message Date
Stephane Nicoll 8136db69b6 Merge branch '2.1.x' 2019-01-07 13:59:55 +01:00
Stephane Nicoll d4992777b9 Improve TaskExecution documentation with custom Executor and Spring MVC
Closes gh-15447
2019-01-07 13:59:42 +01:00
Stephane Nicoll 5e736c0d1f Merge branch '2.1.x' 2019-01-07 13:46:23 +01:00
Stephane Nicoll 6ad01a6dfc Optimize ConditionalOnEnabledEndpoint usage
Closes gh-15451
2019-01-07 13:45:53 +01:00
Stephane Nicoll 2d2aa96c05 Allow ConditionalOnEnabledEndpoint to be set at class level
See gh-15451
2019-01-07 13:45:35 +01:00
Stephane Nicoll 2153a7529d Add missing dependency management for hazelcast-hibernate53
Closes gh-15618
2019-01-06 11:49:09 +01:00
Stephane Nicoll 5535d4d9b2 Upgrade to Flatten Maven Plugin 1.1.0
Closes gh-15622
2019-01-04 14:01:36 +01:00
Stephane Nicoll 8efddf57a5 Upgrade to Hibernate 5.4.0.Final
Closes gh-15621
2019-01-04 14:01:35 +01:00
Stephane Nicoll fea30962dd Upgrade to Hikaricp 3.3.0
Closes gh-15620
2019-01-04 14:01:34 +01:00
Stephane Nicoll 99cd74519d Upgrade to Rabbit Amqp Client 5.5.2
Closes gh-15619
2019-01-04 14:01:34 +01:00
Stephane Nicoll e91776a7a8 Upgrade to Hazelcast Hibernate5 1.3.1
Closes gh-15618
2019-01-04 14:01:33 +01:00
Stephane Nicoll 5b0a5b319e Merge branch '2.1.x' 2019-01-04 13:55:41 +01:00
Stephane Nicoll 580c73a026 Upgrade to Jooq 3.11.9
Closes gh-15617
2019-01-04 13:49:21 +01:00
Stephane Nicoll b0dbe09b8c Upgrade to Ehcache3 3.6.3
Closes gh-15616
2019-01-04 13:49:20 +01:00
Stephane Nicoll 232f0fe894 Upgrade to Groovy 2.5.5
Closes gh-15615
2019-01-04 13:49:20 +01:00
Stephane Nicoll 383da2183e Upgrade to Rxjava2 2.2.5
Closes gh-15614
2019-01-04 13:49:19 +01:00
Stephane Nicoll a713e598e7 Upgrade to Dropwizard Metrics 4.0.5
Closes gh-15613
2019-01-04 13:49:19 +01:00
Stephane Nicoll 8024c2c543 Merge branch '2.0.x' into 2.1.x 2019-01-04 13:44:38 +01:00
Stephane Nicoll d909b722f6 Upgrade to Maven Assembly Plugin 3.1.1
Closes gh-15612
2019-01-04 13:37:48 +01:00
Stephane Nicoll 1132ad411d Upgrade to Johnzon Jsonb 1.1.11
Closes gh-15611
2019-01-04 13:37:47 +01:00
Stephane Nicoll f4c7441cc1 Merge branch '2.1.x' 2019-01-04 13:14:47 +01:00
Johnny Lim c41dc4e0cb Fix the anchor for the Micrometer Elasticsearch section
Closes gh-15610
2019-01-04 13:13:53 +01:00
Stephane Nicoll 442225bbf1 Merge branch '2.1.x' 2019-01-03 10:27:13 +01:00
Stephane Nicoll 4729d170a8 Polish "Ensure checking customizer ordering"
Closes gh-15603
2019-01-03 10:26:09 +01:00
Tadaya Tsuyukubo b34e752db6 Ensure checking customizer ordering
See gh-15603
2019-01-03 10:25:49 +01:00
Madhura Bhave 2dc7a89bd4 Merge branch '2.1.x' 2019-01-02 14:00:10 -08:00
Madhura Bhave 5b990605dc Polish "Order actuator security config after resource-server config"
Closes gh-15472
2019-01-02 13:57:49 -08:00
Stephen Doxsee 4597e7cc82 Order actuator security config after resource-server config
See gh-15472
2019-01-02 13:57:40 -08:00
Madhura Bhave aee65441a7 Merge branch '2.1.x' 2019-01-02 10:54:43 -08:00
Madhura Bhave d1e1a82b32 Support binding to collection with EnumSet values
Fixes gh-15539
2019-01-02 10:52:31 -08:00
Stephane Nicoll 6ba1f40e59 Polish "Allow easy customization of EmbeddedMongo DownloadConfig"
Closes gh-15496
2019-01-02 10:33:17 +01:00
michael b5b6889601 Allow easy customization of EmbeddedMongo DownloadConfig
See gh-15496
2019-01-02 10:30:33 +01:00
dreis2211 46e59503ec Use JSONObject.putOpt in JsonConverter
Closes gh-15595
2019-01-02 09:48:35 +01:00
Madhura Bhave 19caff6776 Merge branch '2.1.x' 2018-12-31 13:24:52 -08:00
Oleksii Bondar b52dddf784 Refactor OAuth2ClientPropertiesRegistrationAdapterTests
Closes gh-15586
2018-12-31 13:18:00 -08:00
Stephane Nicoll d0811b48df Polish "Disable Hibernate entity scanning for default JPA setup"
Closes gh-15565
2018-12-31 16:51:43 +01:00
ayudovin 510a8e2ec1 Disable Hibernate entity scanning for default JPA setup
See gh-15565
2018-12-31 16:51:31 +01:00
Stephane Nicoll 33547569db Merge branch '2.1.x' 2018-12-31 10:36:41 +01:00
Stephane Nicoll c6202b57e0 Merge branch '2.0.x' into 2.1.x 2018-12-31 10:36:24 +01:00
Stephane Nicoll be161b23cb Polish class conditions documentation
Closes gh-15578
2018-12-31 10:36:02 +01:00
Stephane Nicoll 1e98c78ab9 Fix typo 2018-12-31 09:59:00 +01:00
Camille Vienot ff8edf8d98 Use assertJ to generate AssertionError and filter its stacktrace
Closes gh-15569
2018-12-31 09:58:13 +01:00
Stephane Nicoll 51936e1a5c Rename "agent" to "agents" to properly indicate its type
Closes gh-15455
2018-12-31 09:50:35 +01:00
Stephane Nicoll 960d375f57 Merge branch '2.1.x' 2018-12-30 10:04:01 +01:00
Stephane Nicoll a8efcadc90 Merge branch '2.0.x' into 2.1.x 2018-12-30 10:02:53 +01:00
Stephane Nicoll 4509164789 Polish "Add unit test for cassandra health checker"
Closes gh-15583
2018-12-30 10:01:37 +01:00
Oleksii Bondar db22a81742 Add unit test for cassandra health checker
See gh-15583
2018-12-30 10:00:59 +01:00
igor-suhorukov 3eb2f5e476 Replace Collections sort with list sort() method
Closes gh-15585
2018-12-30 09:52:05 +01:00
dreis2211 0f5f6f15dc Use hasFieldOrPropertyWithValue where possible
Closes gh-15582
2018-12-30 09:48:27 +01:00
Stephane Nicoll d57f831f50 Polish "Use Optional value in more functional style"
Closes gh-15575
2018-12-29 11:26:56 +01:00
igor-suhorukov 8ced867e95 Use Optional value in more functional style
See gh-15575
2018-12-29 11:26:27 +01:00
Stephane Nicoll 7946bec11f Merge branch '2.1.x' 2018-12-28 18:22:59 +01:00
Stephane Nicoll 8e8910b2ff Merge branch '2.0.x' into 2.1.x 2018-12-28 18:20:43 +01:00
Stephane Nicoll 4cae2c9c94 Polish "Avoid NPE when replacement property does not exist"
Closes gh-15394
2018-12-28 18:19:12 +01:00
hdeadman a1b71ef910 Avoid NPE when replacement property does not exist
See gh-15394
2018-12-28 15:34:23 +01:00
Stephane Nicoll b578dc05df Polish 2018-12-26 09:16:27 +01:00
Stephane Nicoll 1223355fe6 Polish "Simplify code by using for-each loop"
Closes gh-15563
2018-12-25 09:59:41 +01:00
igor-suhorukov dfb3cd51bc Simplify code by using for-each loop
See gh-15563
2018-12-25 09:58:42 +01:00
Stephane Nicoll cc5624efc4 Merge branch '2.1.x' 2018-12-25 09:56:03 +01:00
Stephane Nicoll 27a611f635 Restore reference to nutz third party starter
Closes gh-15564
2018-12-25 09:55:38 +01:00
Stephane Nicoll fbef9700bf Merge branch '2.1.x' 2018-12-24 16:39:47 +01:00
Erik Mulder 00763af335 Fix system properties override example
Closes gh-15562
2018-12-24 16:39:20 +01:00
Stephane Nicoll 805ff6000a Polish "Replace indexOf() with a call to the contains()"
Closes gh-15559
2018-12-24 09:52:29 +01:00
igor-suhorukov b370b1f03a Replace indexOf() with a call to the contains()
See gh-15559
2018-12-24 09:52:15 +01:00
Stephane Nicoll fd12e696b0 Polish "Replace redundant call to class isInstance() with instanceof"
Closes gh-15554
2018-12-23 15:51:39 +01:00
igor-suhorukov 7424f48803 Replace redundant call to class isInstance() with instanceof
See gh-15554
2018-12-23 15:50:22 +01:00
Andy Wilkinson 372b6605b3 Merge branch '2.1.x' 2018-12-21 15:32:31 +00:00
Andy Wilkinson 83ce5dcee8 Add missing task output annotations to BootJar and BootWar
Closes gh-15488
2018-12-21 15:32:04 +00:00
Andy Wilkinson ddf64802c0 Merge branch '2.1.x' 2018-12-21 15:13:10 +00:00
Andy Wilkinson bfd63ab085 Polish "Stop JtaAutoConfiguration from enabling JtaProperties when not used"
Closes gh-15550
2018-12-21 15:12:29 +00:00
Nishant Raut 0b29da14b3 Stop JtaAutoConfiguration from enabling JtaProperties when not used
See gh-15550
2018-12-21 15:12:29 +00:00
igor-suhorukov cbf6b330ba Simplify code by using Map computeIfAbsent
Closes gh-15543
2018-12-21 11:12:56 +01:00
dreis2211 3544ed045b Drop ContentContainingCondition in favor of Assertions.contentOf
Closes gh-15429
2018-12-20 18:05:56 +01:00
Stephane Nicoll 0d67f7ae9a Merge branch '2.1.x' 2018-12-20 18:02:46 +01:00
Stephane Nicoll b039982273 Merge branch '2.0.x' into 2.1.x 2018-12-20 18:02:38 +01:00
dreis2211 9ffb4f69cd Polish javadoc of ConfigurableUndertowWebServerFactory method
Closes gh-15536
2018-12-20 18:01:38 +01:00
Stephane Nicoll c948bdd14d Merge branch '2.1.x' 2018-12-20 17:59:46 +01:00
Stephane Nicoll 51d3626c3b Merge branch '2.0.x' into 2.1.x 2018-12-20 17:59:33 +01:00
dreis2211 27e89bbb8a Optimize StringSequence
Closes gh-15473
2018-12-20 17:55:30 +01:00
Stephane Nicoll 9d67400afa Merge branch '2.1.x' 2018-12-20 17:54:08 +01:00
Stephane Nicoll 06989d884b Polish "Fix StringSequence.equals() for different lengths"
Closes gh-15438
2018-12-20 17:52:18 +01:00
igor-suhorukov e578d30722 Replace anonymous inner class with lambda
See gh-15438
2018-12-20 17:47:29 +01:00
Andy Wilkinson 3a7406fe3a Merge branch '2.0.x' into 2.1.x 2018-12-20 15:58:03 +00:00
Andy Wilkinson 0741c90489 Avoid blocking on a Mono indefinitely
Closes gh-15535
2018-12-20 15:31:39 +00:00
Andy Wilkinson 9d2d6d5812 Merge branch '2.1.x' 2018-12-20 15:30:51 +00:00
Andy Wilkinson 9a33d1a2f9 Merge branch '2.0.x' into 2.1.x 2018-12-20 15:30:42 +00:00
Andy Wilkinson 8c68da0882 Avoid blocking on a Mono indefinitely
Closes gh-15535
2018-12-20 15:24:53 +00:00
Andy Wilkinson d8b487f127 Merge branch '2.1.x' 2018-12-20 11:52:03 +00:00
Andy Wilkinson 84a064a7dc Merge branch '2.0.x' into 2.1.x 2018-12-20 11:51:53 +00:00
Andy Wilkinson 6403ec6e1b Revert "Upgrade to Netty 4.1.32.Final"
This reverts commit f9ce6c9dc2.

See gh-15505
2018-12-20 11:49:33 +00:00
Andy Wilkinson f3794d66e4 Merge branch '2.1.x' 2018-12-20 10:49:39 +00:00
Andy Wilkinson f89682eae7 Add dependency management for xmlunit-assertj and xmlunit-placeholders
Closes gh-15532
2018-12-20 10:49:04 +00:00
Andy Wilkinson b36bb78575 Merge branch '2.1.x' 2018-12-20 10:44:09 +00:00
Andy Wilkinson 974c4bfdb3 Polish 2018-12-20 10:44:01 +00:00
Andy Wilkinson 8cd387aea9 Merge branch '2.1.x' 2018-12-20 10:23:20 +00:00
Andy Wilkinson cedcf157ab Start building against Spring Session Bean-SR2 snapshots
See gh-15531
2018-12-20 10:22:44 +00:00
Andy Wilkinson 0a1add7116 Start building against Spring Session Apple-SR8 snapshots
See gh-15530
2018-12-20 10:20:52 +00:00
Andy Wilkinson c09a76d4c4 Merge branch '2.1.x' 2018-12-20 10:06:43 +00:00
Andy Wilkinson ad489baaa3 Merge branch '2.0.x' into 2.1.x 2018-12-20 10:06:32 +00:00
Andy Wilkinson 658930acea Start building against Spring Framework 5.0.12 snapshots
See gh-15528
2018-12-20 10:03:35 +00:00
Andy Wilkinson d5c8caab59 Merge branch '1.5.x' into 2.0.x 2018-12-20 10:00:35 +00:00
Andy Wilkinson f9591307d3 Upgrade to Webjars Locator Core 0.36
Closes gh-15527
2018-12-20 09:50:22 +00:00
Andy Wilkinson c823817a7e Upgrade to Selenium 3.141.59
Closes gh-15526
2018-12-20 09:50:22 +00:00
Andy Wilkinson 5b101a8a81 Upgrade to Selenium Htmlunit 2.33.3
Closes gh-15525
2018-12-20 09:50:19 +00:00
Andy Wilkinson 47698e1812 Upgrade to Kafka 2.1.0
Closes gh-15524
2018-12-20 09:50:18 +00:00
Andy Wilkinson 9c84f9fc57 Upgrade to Rest Assured 3.2.0
Closes gh-15523
2018-12-20 09:50:17 +00:00
Andy Wilkinson 8aef2e50ea Upgrade to Prometheus Pushgateway 0.6.0
Closes gh-15522
2018-12-20 09:50:16 +00:00
Andy Wilkinson dcf8c42f6f Upgrade to Embedded Mongo 2.2.0
Closes gh-15521
2018-12-20 09:50:15 +00:00
Andy Wilkinson 5d42d976e7 Upgrade to Rabbit Amqp Client 5.5.1
Closes gh-15520
2018-12-20 09:50:14 +00:00
Andy Wilkinson 754b42fd88 Upgrade to Hazelcast Hibernate5 1.3.0
Closes gh-15519
2018-12-20 09:50:13 +00:00
Andy Wilkinson d00d7201c3 Merge branch '2.1.x' 2018-12-20 09:47:29 +00:00
Andy Wilkinson 7b58f9a79e Upgrade to Maven Jar Plugin 3.1.1
Closes gh-15518
2018-12-20 09:47:03 +00:00
Andy Wilkinson 7f80bae0d9 Upgrade to Maven Help Plugin 3.1.1
Closes gh-15517
2018-12-20 09:47:02 +00:00
Andy Wilkinson 525c6970eb Upgrade to Jedis 2.9.1
Closes gh-15516
2018-12-20 09:47:02 +00:00
Andy Wilkinson 6d0e357613 Upgrade to Infinispan 9.4.5.Final
Closes gh-15515
2018-12-20 09:47:01 +00:00
Andy Wilkinson f364439825 Upgrade to Flyway 5.2.4
Closes gh-15514
2018-12-20 09:47:00 +00:00
Andy Wilkinson 4d6e8ca205 Upgrade to Tomcat 9.0.14
Closes gh-15513
2018-12-20 09:46:59 +00:00
Andy Wilkinson 8abcf22f6a Upgrade to Byte Buddy 1.9.6
Closes gh-15512
2018-12-20 09:46:58 +00:00
Andy Wilkinson 2c0eddd28a Upgrade to Embedded Mongo 2.1.2
Closes gh-15511
2018-12-20 09:46:57 +00:00
Andy Wilkinson 2b0976a45f Upgrade to Hazelcast 3.11.1
Closes gh-15510
2018-12-20 09:46:56 +00:00
Andy Wilkinson bec7257508 Upgrade to Couchbase Client 2.7.2
Closes gh-15509
2018-12-20 09:46:55 +00:00
Andy Wilkinson a6a7c95d65 Merge branch '2.0.x' into 2.1.x 2018-12-20 09:43:05 +00:00
Andy Wilkinson 86280f1db2 Upgrade to Jedis 2.9.1
Closes gh-15508
2018-12-20 09:40:46 +00:00
Andy Wilkinson 172a930e31 Upgrade to Jetty El 8.5.35.1
Closes gh-15507
2018-12-20 09:40:45 +00:00
Andy Wilkinson 5ede23226b Upgrade to Elasticsearch 5.6.14
Closes gh-15506
2018-12-20 09:40:44 +00:00
Andy Wilkinson f9ce6c9dc2 Upgrade to Netty 4.1.32.Final
Closes gh-15505
2018-12-20 09:40:43 +00:00
Andy Wilkinson e2433280c2 Upgrade to Jackson 2.9.8
Closes gh-15504
2018-12-20 09:40:41 +00:00
Andy Wilkinson 0a23f3b286 Merge branch '1.5.x' into 2.0.x 2018-12-20 09:36:57 +00:00
Andy Wilkinson 5a07c44a4f Merge branch '2.1.x' 2018-12-19 17:55:51 +00:00
Andy Wilkinson 43d64ba580 Add dependency management for groovy-jaxb introduced in 2.5.1
Closes gh-15468
2018-12-19 17:55:19 +00:00
Andy Wilkinson 524067cd32 Merge branch '2.1.x' 2018-12-19 17:34:25 +00:00
Andy Wilkinson 4101e15421 Add dependency management for missing Groovy 2.5 modules
Closes gh-15468
2018-12-19 17:30:57 +00:00
Andy Wilkinson 70f4d5e5a8 Polish "Apply context and connector customizer beans to Tomcat factories"
Closes gh-15492
2018-12-19 17:09:21 +00:00
Raheela 90c489048f Apply context and connector customizer beans to Tomcat factories
See gh-15492
2018-12-19 17:01:02 +00:00
Andy Wilkinson de599819ae Merge branch '2.1.x' 2018-12-19 16:57:19 +00:00
Andy Wilkinson 33fb1fa9a3 Avoid creating meter binders before registry has been customized
Previously, MeterRegistryPostProcessor would trigger the creation of all
meter binders and meter registry customizers before applying the
customizers and calling the binders. In some situations with complex
dependency graphs where the creation of a binder and the injection of
its dependencies inadvertently triggered some meter binding, this
could result in meters being bound before the registry had been
customized.

This commit reworks MeterRegistryPostProcessor and MeterRegistryConfigurer
to defer the retrieval of registry customizers and meter binders until
just before they are needed. As a result, customizers are now retrieved
and applied before the binders are retrieved.

Closes gh-15483
2018-12-19 16:47:30 +00:00
Andy Wilkinson 903d940dd5 Merge branch '2.1.x' 2018-12-19 12:55:34 +00:00
Andy Wilkinson 007916f1ce Start building against Spring Framework 5.1.4 snapshots
See gh-15493
2018-12-19 12:52:13 +00:00
Andy Wilkinson 0ad72d5b5e Remove reliance on mavenLocal from Gradle plugin’s tests
See gh-15471
2018-12-18 11:41:51 +00:00
Andy Wilkinson 4edc32844a Remove use of execute method inherited from internal class
Closes gh-15484
2018-12-17 17:33:20 +00:00
Stephane Nicoll 317c4c2c38 Merge branch '2.1.x' 2018-12-17 18:26:56 +01:00
Stephane Nicoll 7dbe70dc61 Merge branch '2.0.x' into 2.1.x 2018-12-17 18:26:36 +01:00
Stephane Nicoll c0b07a9429 Polish "Fix StringSequence.equals() for different lengths"
Closes gh-15465
2018-12-17 18:24:08 +01:00
dreis2211 2a0680c2ba Fix StringSequence.equals() for different lengths
See gh-15465
2018-12-17 18:20:09 +01:00
Andy Wilkinson c8a0c99a21 Remove D…S…Init…InvokerTests' assumptions about classpath structure
See gh-15471
2018-12-17 16:35:22 +00:00
Stephane Nicoll 6d251a83dd Merge branch '2.1.x' 2018-12-17 17:15:48 +01:00
Stephane Nicoll af3fada396 Polish "Add missing dependency management entry for hibernate-vibur"
Closes gh-15467
2018-12-17 17:13:30 +01:00
vasili pispanen c955906c3e Add missing dependency management entry for hibernate-vibur
See gh-15467
2018-12-17 17:13:18 +01:00
Stephane Nicoll 6207b46bc6 Merge branch '2.1.x' 2018-12-17 17:07:58 +01:00
dreis2211 948902f090 Avoid unnecessary usage of ReflectionTestUtils
Closes gh-15482
2018-12-17 17:07:23 +01:00
Andy Wilkinson ca13385534 Remove remaining assumption about File separator from LogFileTests
See gh-15471
2018-12-17 14:21:28 +00:00
Andy Wilkinson 3d7e4e99c5 Remove assumption about File separator from LogFileTests
See gh-15471
2018-12-17 14:14:57 +00:00
Andy Wilkinson 6adccbfd30 Make LoggingApplicationListener and tests more robust on Windows
Previously, LoggingApplicationListener its tests, and LogFile made some
assumptions that do not hold true on Windows. Specifically,
LoggingApplicationListenerTests used TestPropertySourceUtils to add
properties to the environment. This uses Java's standard Properties
parsing which does a poor job of handling Windows file paths (Strings
with backslashes in them). Secondly, LogFile made assumptions about
the use of forward clashes for the file separator.

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

Closes gh-15471
2018-12-17 14:02:10 +00:00
Andy Wilkinson ddabfe3fcc Deploy spring-boot-test-support so it's available downstream
Concourse builds spring-boot-tests separately from spring-boot-project
and relies on modules from the latter being available in the
distribution repository when building the former. This commit enables the
deployment of spring-boot-test-support from spring-boot-project so that it
is added to the distribution repository and is therefore available when
building spring-boot-tests. It is then excluded when putting to the
Artifactory resource as we do not want it to be published.

See gh-15471
2018-12-14 19:50:23 +00:00
Andy Wilkinson 61d04db0d7 Minimize and centralize assumptions about build output
Closes gh-15471
2018-12-14 17:50:20 +00:00
Stephane Nicoll 1f4be6ba37 Merge branch '2.1.x' 2018-12-14 08:45:22 +01:00
Stephane Nicoll 80cfff753a Merge branch '2.0.x' into 2.1.x 2018-12-14 08:45:05 +01:00
Stephane Nicoll a6ff7c786a Remove test starter from core module
Closes gh-15463
2018-12-14 08:44:43 +01:00
Andy Wilkinson db5ab1d14c Do not rely on test runner using static main method in RestarterTests
Closes gh-15461
2018-12-13 13:39:19 +00:00
Andy Wilkinson 62fbf48446 Start Elasticsearch with single-node discovery type
See gh-15441
2018-12-12 21:02:28 +00:00
Andy Wilkinson 47fc35105d Allow more time for the Elasticsearch container to start
See gh-15441
2018-12-12 19:41:30 +00:00
Andy Wilkinson ed52dab3b5 Revert upgrade to JUnit Jupiter 5.4 snapshots 2018-12-12 17:53:52 +00:00
Andy Wilkinson 064f6478df Move back to JUnit 4 until SUREFIRE-1614 has been resolved
See gh-14736
See gh-14737
See gh-14738
2018-12-12 16:49:30 +00:00
Andy Wilkinson 2b453bbb16 Minimise dependencies on Log4j2
Closes gh-15441
2018-12-12 08:19:34 +00:00
Madhura Bhave e16511279a Add junit-jupiter-engine for running Junit5 tests 2018-12-11 15:08:28 -08:00
Brian Clozel 9a6dbb5290 Merge branch '2.1.x' 2018-12-11 11:54:08 +01:00
Brian Clozel 036aace2cc Add details in Jest ElasticSearch HealthIndicator
This commit polishes the previous one and aligns the Jest
HealthIndicator with the changes made for the REST variant.

Closes gh-15366
2018-12-11 11:51:57 +01:00
Filip Hrisafov 1ec2bbf54f Include details in ElasticsearchRestHealthIndicator
This commit adds more information to the ElasticSearch REST
health indicator.

When the ES instance responds with an error HTTP status,
the health details now include the actual status code and reason phrase.
When the ES instance returns a HTTP 200 response, the entire response
map is used as health details.

See gh-15366
2018-12-11 11:51:49 +01:00
Andy Wilkinson 71b29684b3 Remove redundant field type configuration
See gh-15435
2018-12-11 08:30:24 +00:00
Stephane Nicoll dfd477aa74 Merge branch '2.1.x' 2018-12-11 08:53:37 +01:00
Stephane Nicoll 38e4d330b0 Merge branch '2.0.x' into 2.1.x 2018-12-11 08:52:58 +01:00
dreis2211 0f92b139f3 Remove Mockito 1 leftover
Closes gh-15422
2018-12-11 08:52:15 +01:00
Madhura Bhave f863ce32ee Merge branch '2.1.x' 2018-12-10 16:44:42 -08:00
Madhura Bhave 3cc441c83e Do not remove trailing slash from OAuth2 Issuer URI
Fixes gh-15324
2018-12-10 16:35:52 -08:00
Andy Wilkinson 55d7c19c06 Merge branch '2.1.x' 2018-12-10 17:59:50 +00:00
Andy Wilkinson d05ae40c99 Remove redundant field type and optional configuration
See gh-15435
2018-12-10 17:59:26 +00:00
Andy Wilkinson 393decff35 Merge branch '2.1.x' 2018-12-10 17:58:00 +00:00
Andy Wilkinson ef4ea591b3 Mark nested optional fields as optional
See gh-15435
2018-12-10 17:49:41 +00:00
Andy Wilkinson c9c5cd18a2 Merge branch '2.1.x' 2018-12-10 15:40:17 +00:00
Andy Wilkinson 6752be9333 Exclude logback-classic from liquibase-core
Closes gh-15436
2018-12-10 15:39:51 +00:00
Andy Wilkinson beffc4da9f Remove ordering dependence from tests that create embedded databases
Closes gh-15423
2018-12-10 14:57:39 +00:00
Andy Wilkinson 05cb4cb379 Merge branch '2.1.x' 2018-12-10 14:36:30 +00:00
Andy Wilkinson 9dc2116351 Merge branch '2.0.x' into 2.1.x 2018-12-10 14:36:21 +00:00
Andy Wilkinson 554e7061ce Upgrade to Spring Restdocs 2.0.3.RELEASE
Closes gh-15435
2018-12-10 14:36:03 +00:00
Brian Clozel b2c5fd84b9 Use spring-doc-resources 0.1.0.BUILD-SNAPSHOT 2018-12-10 12:53:24 +01:00
igor-suhorukov 2b1653d009 Simplify code by using try-with-resources statement
Closes gh-15427
2018-12-10 09:05:33 +01:00
Stephane Nicoll ba29788482 Polish "Replace explicit generic type with diamond operator"
Closes gh-15424
2018-12-09 11:43:28 +01:00
igor-suhorukov a2ebba8db1 Replace explicit generic type with diamond operator
See gh-15424
2018-12-09 11:42:27 +01:00
Madhura Bhave f040459ae5 Merge branch '2.1.x' 2018-12-07 14:32:07 -08:00
Madhura Bhave a11dea46d7 Use the right class in @ConditionalOnClass
See gh-15372
2018-12-07 14:15:59 -08:00
Madhura Bhave e0b55d36de Merge branch '2.1.x' 2018-12-07 13:51:11 -08:00
Madhura Bhave f13697b278 Make Resource Server auto-config conditional on JwtDecoder class
Fixes gh-15372
2018-12-07 13:48:32 -08:00
Andy Wilkinson d3e5c5688f Polish 2018-12-07 19:58:13 +00:00
Madhura Bhave e367b54928 Merge branch '2.1.x' 2018-12-07 11:57:19 -08:00
Madhura Bhave 31a5e85ab6 Perform placeholder resolution in test env post processor
Fixes gh-15354
2018-12-07 11:45:04 -08:00
Andy Wilkinson bbf0932f0f Exclude jcl-over-slf4j in favour of spring-jcl
Closes gh-15392
2018-12-07 15:37:24 +00:00
Andy Wilkinson 2cd3cff608 Merge branch '2.1.x' 2018-12-07 15:25:35 +00:00
Andy Wilkinson 4c6c07ddbb Start building against Spring AMQP 2.1.3 snapshots
See gh-15407
2018-12-07 15:22:35 +00:00
Andy Wilkinson f04f74870a Start building against Spring Data Lovelace SR4 snapshots
See gh-15410
2018-12-07 15:22:06 +00:00
Andy Wilkinson 96f1a394b8 Start building against Spring Integration 5.1.2 snapshots
See gh-15413
2018-12-07 15:21:28 +00:00
Andy Wilkinson e27d3d0d5e Start building against Spring Kafka 2.2.3
See gh-15414
2018-12-07 15:20:40 +00:00
Andy Wilkinson b01d5f62a4 Start building against Spring Security 5.1.3 snapshots
See gh-15417
2018-12-07 15:20:05 +00:00
Andy Wilkinson a5f5ead520 Start building against Spring AMQP 2.0.11 snapshots
See gh-15406
2018-12-07 15:15:01 +00:00
Andy Wilkinson 5e640877c9 Start building against Spring Data Kay SR13 snapshots
See gh-15409
2018-12-07 15:14:15 +00:00
Andy Wilkinson 12a844d7da Start building against Spring Integration 5.0.11 snapshots
See gh-15412
2018-12-07 15:13:36 +00:00
Andy Wilkinson 5336c8ccde Start building against Spring Security 5.0.11 snapshots
See gh-15416
2018-12-07 15:13:01 +00:00
Stephane Nicoll d5f90ffcfb Polish "Replace this lambda with a method reference"
Closes gh-15401
2018-12-07 11:10:10 +01:00
igor-suhorukov 5c1813aef8 Replace this lambda with a method reference
See gh-15401
2018-12-07 11:01:42 +01:00
Stephane Nicoll 71173f2db5 Merge branch '2.1.x' 2018-12-07 09:57:20 +01:00
Stephane Nicoll c84d199cb7 Upgrade to Flyway 5.2.4
Closes gh-15402
2018-12-07 09:56:18 +01:00
Andy Wilkinson 95a14e7ba5 Remove duplicate dependency management for spring-core
Closes gh-15380
2018-12-06 12:07:25 +00:00
Stephane Nicoll 6f6e712a7b Merge branch '2.1.x' 2018-12-06 09:08:12 +01:00
Stephane Nicoll bd21113e9f Fix indent of WebServiceTemplate section
Closes gh-15389
2018-12-06 09:06:02 +01:00
Madhura Bhave 5a18df2d69 Fix tests 2018-12-05 18:33:50 -08:00
Madhura Bhave 59d2b0a3fb Upgrade tests to Junit5
See gh-14737
2018-12-05 17:49:09 -08:00
Madhura Bhave 4c96c76f11 Include Junit5 dependencies in Spring Boot Starter Test
See gh-14736
2018-12-05 17:48:52 -08:00
Madhura Bhave 12e1d9a6a4 Add Junit5 OutputCapture Extension
See gh-14738
2018-12-05 17:48:27 -08:00
Stephane Nicoll fb1c7c82b4 Merge branch '2.1.x' 2018-12-05 15:56:18 +01:00
Stephane Nicoll ef40241bf6 Merge branch '2.0.x' into 2.1.x 2018-12-05 15:56:04 +01:00
dreis2211 d864b427eb Remove unused ByteArrayStartsWith matcher
Closes gh-15386
2018-12-05 15:52:42 +01:00
Brian Clozel ed3347f00d Configure Asciidoctor toolchain for ref docs
This commit replaces the Docbook+Asciidoctor documentation toolchain by
a single Asciidoctor generation process.

First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.

Closes gh-12611
2018-12-05 14:20:07 +01:00
Jay Bryant a7d22aaf4b Reorganize asciidoc content
This commit adds an index page for the multi-file HTML version, and
fixed a couple of casing issues (significant words starting with lower
case in headings).

While researching how to get the content from index-docinfo.xml into
the output, I came across the notion of a colophon, which is a good name
for the information in that file. I have consequently changed "Legal"
(which I never liked but couldn't think of a better term for at the
time) to "Colophon".

See gh-12611
2018-12-05 10:32:37 +01:00
Jay Bryant a60c575836 Cleanup asciidoctor build
Remove Guardfile for now; we might reintroduce it later, but it is
currently out of sync with the documentation changes.

Do not ignore html files in the asciidoc directory as those are needed
for docinfo parts.

See gh-12611
2018-12-05 10:32:36 +01:00
Jay Bryant 11f6a5ab70 Remove docbook toolchain
See gh-12611
2018-12-05 10:32:36 +01:00
Stephane Nicoll 096640de84 Merge branch '2.1.x' 2018-12-05 08:57:14 +01:00
Stephane Nicoll 185a49fb3b Add reference to JaVers starter 2018-12-05 08:56:50 +01:00
Stephane Nicoll 95b94c0158 Merge branch '2.1.x' 2018-12-04 10:53:41 +01:00
Stephane Nicoll c56c0ff433 Rename OAuth2ResourceServerJwkConfiguration
Closes gh-15375
2018-12-04 10:53:01 +01:00
Andy Wilkinson 5c986b5030 Merge branch '2.1.x' 2018-12-03 16:29:36 +00:00
Andy Wilkinson 42b58f6d27 Add JAXB API dependency that is no longer transitive via testcontainers
See gh-15371
2018-12-03 16:29:10 +00:00
Andy Wilkinson 8b21044902 Merge branch '2.1.x' 2018-12-03 15:07:54 +00:00
Andy Wilkinson 917108cce7 Merge branch '2.0.x' into 2.1.x 2018-12-03 15:07:30 +00:00
Andy Wilkinson 425a3aacf5 Add JAXB API dependency that is no longer transitive via testcontainers
See gh-15371
2018-12-03 15:06:32 +00:00
Stephane Nicoll a85e27c7cd Further replace magic number by HttpStatus
See gh-15130
2018-12-03 15:48:13 +01:00
Stephane Nicoll f2ca2533d5 Polish "Replace magic number by HttpStatus"
Closes gh-15130
2018-12-03 15:33:57 +01:00
holy12345 ffdc9f0ff3 Replace magic number by HttpStatus
See gh-15130
2018-12-03 15:33:35 +01:00
Stephane Nicoll 9483c91d58 Make sure to include validation query in case of failure
See gh-15055
2018-12-03 15:27:52 +01:00
Stephane Nicoll 9e84abc46b Polish "Add validation query to DataSourceHealthIndicator details"
Closes gh-15055
2018-12-03 15:10:59 +01:00
Erlend Haugsnes fc85c34dd8 Add validation query to DataSourceHealthIndicator details
See gh-15055
2018-12-03 14:33:52 +01:00
Stephane Nicoll bbad720e23 Polish contribution
Closes gh-15086
2018-12-03 14:23:16 +01:00
Razib Shahriar 9e571a2827 Fail fast if nested condition uses a phase inappropriate for its members
See gh-15086
2018-12-03 14:14:29 +01:00
Andy Wilkinson 0f474ec08f Merge branch '2.1.x' 2018-12-03 13:01:56 +00:00
Andy Wilkinson 07065532fe Replace accidental use of code shaded by Testcontainers
See gh-15371
2018-12-03 13:01:27 +00:00
Andy Wilkinson 910a0e57b8 Drop dependency management for DropWizard Metrics modules removed in v4
Closes gh-15370
2018-12-03 12:49:15 +00:00
Andy Wilkinson b05abe8ca0 Merge branch '2.1.x' 2018-12-03 12:16:18 +00:00
Andy Wilkinson 72ad0cc6be Merge branch '2.0.x' into 2.1.x 2018-12-03 12:15:36 +00:00
Andy Wilkinson 3fd0380359 Correct optional dependency declarations in spring-boot-test-support
Closes gh-15371
2018-12-03 12:14:18 +00:00
Stephane Nicoll 0df13baa0f Polish "Add configurable property for JWK encryption algorithm"
Closes gh-15145
2018-12-03 11:49:18 +01:00
artsiom 460fdaf52f Add configurable property for JWK encryption algorithm
See gh-15145
2018-12-03 11:35:10 +01:00
Stephane Nicoll ec678eaa3b Polish "Configure MessageSource if no "messageSource" bean defined"
Closes gh-15212
2018-12-03 11:28:26 +01:00
cac03 82d99da32a Configure MessageSource if no "messageSource" bean defined
Enable MessageSourceAutoConfiguration OnMissingBeanCondition by name
rather than class since AbstractApplicationContext expects MessageSource
to be defined only with "messageSource" name.

See gh-15212
2018-12-03 11:28:07 +01:00
Stephane Nicoll 1b40b0edf1 Polish contribution
Closes gh-15054
2018-12-03 11:16:54 +01:00
artsiom 3059f0e2e2 Add configuration property for configuring Tomcat's processor cache
See gh-15054
2018-12-03 11:13:19 +01:00
dreis2211 b528eb8a7e Remove unnecessary cast in LoggingSystemProperties
Closes gh-15297
2018-12-03 11:01:30 +01:00
dreis2211 f57f16c190 Avoid premature declaration of variables
Closes gh-15215
2018-12-03 10:59:20 +01:00
dreis2211 a1a8a8cef0 Avoid instantiation of BeanPropertyBinder in Binder
Closes gh-15181
2018-12-03 10:54:36 +01:00
artsiom e2d5dfad3a Use varargs for DefaultApplicationArguments
Closes gh-15142
2018-12-03 10:48:10 +01:00
Stephane Nicoll 7939b8b4da Polish "Rename logging.file to logging.file.name"
Closes gh-15089
2018-12-03 10:42:30 +01:00
TwinProduction 21da4a5d12 Rename logging.file to logging.file.name
See gh-15089
2018-12-03 10:42:30 +01:00
Andre Restolho d9586d94f6 Change DataSourceHealthIndicator details from "hello" to "result"
Closes gh-15136
2018-12-03 09:34:17 +01:00
Phillip Webb 9c426c63bf Polish 2018-11-29 22:57:04 -08:00
Phillip Webb ed9468a31a Update copyright year for changed files 2018-11-29 22:02:45 -08:00
Phillip Webb 81896e0222 Upgrade to Micrometer 1.1.1
Closes gh-15328
2018-11-29 21:29:25 -08:00
Phillip Webb 73d87ac112 Upgrade to Micrometer 1.0.8
Closes gh-15327
2018-11-29 15:33:19 -08:00
Phillip Webb ba1ef52e39 Merge branch '2.0.x' 2018-11-29 15:32:48 -08:00
Phillip Webb 893d5666be Update copyright year for changed files 2018-11-29 15:30:51 -08:00
Phillip Webb 74376aa023 Polish 2018-11-29 15:30:28 -08:00
Andy Wilkinson ac322a8e30 Polish 2018-11-29 14:45:20 +00:00
Andy Wilkinson 789f18259f Upgrade to Infinispan 9.4.3.Final
Closes gh-15338
2018-11-29 10:16:14 +00:00
Andy Wilkinson d6adda1ec9 Upgrade to Flyway 5.2.3
Closes gh-15337
2018-11-29 10:16:14 +00:00
Andy Wilkinson ebd6f4d0e5 Upgrade to Jetty Reactive Httpclient 1.0.2
Closes gh-15336
2018-11-29 10:16:13 +00:00
Andy Wilkinson a02c0c9881 Upgrade to Byte Buddy 1.9.5
Closes gh-15335
2018-11-29 10:16:12 +00:00
Andy Wilkinson 1ea3444e76 Upgrade to Undertow 2.0.16.Final
Closes gh-15334
2018-11-29 10:16:11 +00:00
Andy Wilkinson 9f4d55766b Upgrade to Rxjava2 2.2.4
Closes gh-15333
2018-11-29 10:16:10 +00:00
Andy Wilkinson 4feda19072 Upgrade to Netty Tcnative 2.0.20.Final
Closes gh-15332
2018-11-29 10:16:09 +00:00
Andy Wilkinson f29f73c295 Upgrade to Lettuce 5.1.3.RELEASE
Closes gh-15331
2018-11-29 10:16:08 +00:00
Andy Wilkinson d0fcbd106b Merge branch '2.0.x' 2018-11-29 10:14:46 +00:00
Andy Wilkinson 28cd017347 Upgrade to Thymeleaf Extras Java8time 3.0.2.RELEASE
Closes gh-15330
2018-11-29 10:11:19 +00:00
Andy Wilkinson b709f7afaa Upgrade to Netty 4.1.31.Final
Closes gh-15329
2018-11-29 10:11:18 +00:00
Andy Wilkinson 9a25c2ce7e Start building against Micrometer 1.1.1 snapshots
See gh-15328
2018-11-29 09:58:23 +00:00
Andy Wilkinson ca11e83857 Start building against Micrometer 1.0.8 snapshots
See gh-15327
2018-11-29 09:48:38 +00:00
Andy Wilkinson 321da6c578 Upgrade to Spring Session Apple SR-7
Closes gh-15254
2018-11-29 08:38:57 +00:00
Andy Wilkinson cdecd053c3 Upgrade to Spring Session Bean-SR1
Closes gh-15275
2018-11-29 08:37:46 +00:00
Andy Wilkinson 79102454b2 Upgrade to Spring Integration 5.1.1.RELEASE
Closes gh-15272
2018-11-29 08:37:06 +00:00
Andy Wilkinson 452028e347 Upgrade to Spring Integration 5.0.10.RELEASE
Closes gh-15251
2018-11-29 08:35:18 +00:00
Madhura Bhave 427d494d57 Merge branch '2.0.x' 2018-11-28 21:32:05 -08:00
Madhura Bhave 02a1c43587 Fix tests 2018-11-28 21:26:47 -08:00
Madhura Bhave fc6c07ad3c Merge branch '2.0.x' 2018-11-28 17:41:11 -08:00
Madhura Bhave decaacddce Account for application path for Jersey servlet endpoints
Closes gh-14895
2018-11-28 17:25:32 -08:00
Andy Wilkinson 8560010bd4 Upgrade to Spring Kafka 2.1.11.RELEASE
Closes gh-15315
2018-11-28 19:46:34 +00:00
Andy Wilkinson 5fab0aee43 Upgrade to Spring AMQP 2.0.10.RELEASE
Closes gh-15256
2018-11-28 19:45:52 +00:00
Andy Wilkinson edbca5f4c0 Upgrade to Spring Security 5.0.10.RELEASE
Closes gh-15253
2018-11-28 19:45:19 +00:00
Andy Wilkinson 33e67f5847 Upgrade to Spring Kafka 2.2.2.RELEASE
Closes gh-15273
2018-11-28 19:42:08 +00:00
Andy Wilkinson 524a68209a Upgrade to Spring AMQP 2.1.2.RELEASE
Closes gh-15271
2018-11-28 19:42:08 +00:00
Andy Wilkinson 3178e3f34b Upgrade to Spring Security 5.1.2.RELEASE
Closes gh-15274
2018-11-28 19:42:08 +00:00
Brian Clozel d12e42e8d5 Polish
Closes gh-15211
2018-11-28 19:48:35 +01:00
artsiom 0a4ba499df Add Actuator health checks for Elasticsearch REST clients
This commit adds `ElasticsearchRestHealthIndicator`, a new
`HealthIndicator` for Elasticsearch, using the Elasticsearch "low level
rest client" provided by the
`"org.elasticsearch.client:elasticsearch-rest-client"` dependency.

Note that Spring Boot will auto-configure both low and high level REST
clients, but since the high level one is using the former, a single
health indicator will cover both cases.

See gh-15211
2018-11-28 19:48:35 +01:00
Andy Wilkinson 6a766cf919 Start building against Spring Kafka 2.2.2 snapshots
See gh-15273
2018-11-28 17:40:33 +00:00
Stephane Nicoll 114347107e Polish key description 2018-11-28 11:31:48 +01:00
Stephane Nicoll 33000b6e8e Polish contribution
Closes gh-14985
2018-11-28 11:29:37 +01:00