Commit Graph

25373 Commits

Author SHA1 Message Date
Andy Wilkinson 63f7c75b61 Polish 2020-08-06 13:34:01 +01:00
Andy Wilkinson b53f54f2cf Add tip about using AopTestUtils.getTargetProxy with proxied spy beans
Closes gh-22281
2020-08-06 09:21:11 +01:00
Stephane Nicoll 6232ece61d Upgrade Java 8 version in CI image
Closes gh-22752
2020-08-06 09:38:19 +02:00
Stephane Nicoll 63718d4e72 Merge branch '2.1.x' into 2.2.x 2020-08-06 09:37:55 +02:00
Stephane Nicoll 64264b5240 Upgrade Java 8 version in CI image
Closes gh-22755
2020-08-06 09:37:04 +02:00
Andy Wilkinson bfe250e5d3 Clarify docs on schema and data SQL scripts with Flyway and Liquibase
Closes gh-20920
2020-08-05 18:14:39 +01:00
Andy Wilkinson 71ffb44a3c Remove WebClient's in-memory buffer size limit for endpoint tests
Previously, the endpoints' responses could occasionally exceed
WebClient's in-memory buffer limt, for example if the threads endpoint
was reporting a large number of threads or the threads had large
stacks.

This commit disables WebClient's in-memory buffer size limit so that
the tests passing is not dependent on the size of the endpoints'
responses.

Closes gh-22743
2020-08-05 17:37:44 +01:00
Andy Wilkinson 2238b0d797 Try to make FileSystemWatcherTests.waitsForQuietPeriod() more robust
Previously, waitsForQuietPeriod would iterate 10 times, touching a new
file and then sleeping for 100ms at it did so. With a quiet period of
200ms, this was intended to result in a single change set containing
10 files. However, the test would fail occasionally as multiple change
sets were detected. The test is multi-threaded and is, therefore, at
the mercy of the scheduler. If the thread that is iterating and
touching the files takes over 200ms to be scheduled – exceeding the
watcher's quiet period – the watcher may detect a change set while the
changes are still being made. Eliminating this possibilty would require
the test to participate in the watcher's synchronization, which would
require some changes to its implementation. Instead, this commit
aims to avoid the problem by sleeping for 1/10 of the time (10ms) and
expecting a single change set of 100 files. The hope is that the much
shorter sleep time will result in the file touching thread being
scheduled well within the 200ms quiet period.

Closes gh-22732
2020-08-05 09:00:49 +01:00
Andy Wilkinson 4424055793 Merge branch '2.1.x' into 2.2.x 2020-08-04 14:57:55 +01:00
Andy Wilkinson 8f03fb4c75 Upgrade to Gradle Enterprise Maven Extension 1.6.1
Closes gh-22717
2020-08-04 14:57:36 +01:00
Andy Wilkinson 5152147571 Merge branch '2.1.x' into 2.2.x
Closes gh-22723
2020-08-04 13:37:53 +01:00
Andy Wilkinson 9da0372330 Upgrade to Gradle Enterprise Maven Extension 1.6.1
Closes gh-22717
2020-08-04 13:37:40 +01:00
Andy Wilkinson c2ea114b61 Merge pull request #21388 from aivinog1
* gh-21388:
  Polish "Test the launch script when executed directly"
  Test the launch script when executed directly

Closes gh-21388
2020-08-04 11:30:13 +01:00
Andy Wilkinson 84ff233590 Polish "Test the launch script when executed directly"
See gh-21388
2020-08-04 11:29:53 +01:00
Alexey Vinogradov 02a6a84499 Test the launch script when executed directly
See gh-21388
2020-08-04 10:18:35 +01:00
Madhura Bhave b14bd45399 Fix syntax for slack notification
See gh-22709
2020-08-03 17:08:30 -07:00
Andy Wilkinson 944fe4c660 Polish 2020-08-03 19:21:29 +01:00
Andy Wilkinson a334134fd0 Make Slack build failure notifications more noticeable
Closes gh-22709
2020-08-03 19:16:01 +01:00
Stephane Nicoll 4082cddce2 Merge branch '2.1.x' into 2.2.x
Closes gh-22705
2020-08-03 15:00:41 +02:00
Stephane Nicoll bc020d95b6 Merge pull request #22704 from izeye
* pr/22704:
  Fix broken links to Micrometer registry docs

Closes gh-22704
2020-08-03 14:59:42 +02:00
Johnny Lim bd2874de49 Fix broken links to Micrometer registry docs
See gh-22704
2020-08-03 14:58:22 +02:00
Andy Wilkinson df198a0cd8 Merge pull request #22681 from biergit
* gh-22681:
  Polish "Look in correct context when finding Liquibase beans"
  Look in correct context when finding Liquibase beans

Closes gh-22681
2020-07-31 12:24:27 +01:00
Andy Wilkinson 59b1df4548 Polish "Look in correct context when finding Liquibase beans"
See gh-22681
2020-07-31 12:20:58 +01:00
biergit 62156810cf Look in correct context when finding Liquibase beans
See gh-22681
2020-07-31 12:20:09 +01:00
Andy Wilkinson 49f8943a5f Register ErrorPageFilter for async dispatch
Fixes gh-19471
2020-07-30 13:38:02 +01:00
Andy Wilkinson 22dc4e7608 Clarify documentation on @AutoConfigureRestDocs with WebTestClient
Closes gh-15977
2020-07-30 12:12:10 +01:00
Andy Wilkinson 1871cffc7d Document that constructor binding does not support @…Unit annotations
Closes gh-22565
2020-07-30 09:04:30 +01:00
Andy Wilkinson e1617185a1 Merge branch '2.1.x' into 2.2.x
Closes gh-22655
2020-07-30 08:48:07 +01:00
Andy Wilkinson ac732773bc Update CI images to use ubuntu:bionic-20200713
Closes gh-22659
2020-07-30 08:46:36 +01:00
Andy Wilkinson 9b6c9797dd Merge branch '2.1.x' into 2.2.x
Closes gh-22650
2020-07-29 17:45:12 +01:00
Andy Wilkinson ab9284e120 Increase max heap of the Maven JVM
The overhead of build scans seems to have brought us right to the limit
of the Maven JVM's heap. As a result, builds are occasionally failing
as the heap's been exhausted.

This commit increases the JVM's max heap.

Closes gh-22649
2020-07-29 17:44:54 +01:00
Andy Wilkinson 72551242fd Allow XADataSource auto-config with no spring.datasource properties
Fixes gh-20229
2020-07-29 13:57:50 +01:00
Andy Wilkinson 5ea8bb0676 Recommend the use of a MeterBinder when a metric depends on a bean
Closes gh-19557
2020-07-28 18:26:38 +01:00
Stephane Nicoll 16aa8fbc88 Fix actuator dependency on Jackson JSR 310 module
This commit harmonizes dependency declarations for Jackson in the
actuator. Both Jackson and JSR 310 are back to optional in the core
actuator module and mandatory when using the auto-configuration.

Closes gh-22624
2020-07-28 16:26:11 +02:00
Andy Wilkinson 8035af90f0 Merge branch '2.1.x' into 2.2.x 2020-07-28 15:19:23 +01:00
Andy Wilkinson f2d27047e2 Correct the version of the GE Maven Extension 2020-07-28 15:19:06 +01:00
Andy Wilkinson 856c55b188 List DevTools in section overview of multi-page documentation
Closes gh-22591
2020-07-28 14:36:23 +01:00
Andy Wilkinson 5ac4a8a5e6 Merge branch '2.1.x' into 2.2.x
Closes gh-22620
2020-07-28 13:35:19 +01:00
Andy Wilkinson 68e2a9baa7 Merge pull request #22614 from runningcode
* gh-22614:
  Upgrade to Gradle Enterperise Maven Extension 1.6.0

Closes gh-22614
2020-07-28 13:35:03 +01:00
Nelson Osacky d438f69eef Upgrade to Gradle Enterperise Maven Extension 1.6.0
See gh-22614
2020-07-28 13:34:28 +01:00
Andy Wilkinson 3212b942a0 Merge pull request #22598 from dreis2211
* gh-22598:
  Fix link to Elasticsearch health indicator

Closes gh-22598
2020-07-28 13:21:31 +01:00
dreis2211 c405b8b9c9 Fix link to Elasticsearch health indicator
See gh-22598
2020-07-28 13:21:09 +01:00
Andy Wilkinson f4afd076c9 Merge pull request #22604 from ttddyy
* gh-22604:
  Polish "Use milliseconds when configuring awaitTerminationPeriod"
  Use milliseconds when configuring awaitTerminationPeriod

Closes gh-22604
2020-07-28 09:15:03 +01:00
Andy Wilkinson ea5284ca91 Polish "Use milliseconds when configuring awaitTerminationPeriod"
See gh-22604
2020-07-28 09:03:57 +01:00
Tadaya Tsuyukubo 685a6116d1 Use milliseconds when configuring awaitTerminationPeriod
Prior to this change, TaskExecutorBuilder used seconds as its precision
to map the awaitTerminationPeriod value. This caused a loss of
millisecond information in the period.

This commit fixes the loss by converting the period to millisecond and
using setAwaitTerminationMillis to configure the executor.

See gh-22604
2020-07-28 09:01:55 +01:00
Andy Wilkinson d9b61c4aaa Update link to App Engine's Spring Boot sample
Closes gh-22607
2020-07-28 08:42:40 +01:00
Andy Wilkinson 0a01875d41 Improve documentation about swapping one technical starter for another
Closes gh-20408
2020-07-27 15:50:07 +01:00
Andy Wilkinson 812a0ed0c6 Define the reference doc authors in a single place
Closes gh-20896
2020-07-27 15:20:59 +01:00
Andy Wilkinson b631fa1405 Describe MongoClientSettingsBuilderCustomizer in the documentation
Closes gh-21696
2020-07-27 14:46:30 +01:00
Andy Wilkinson be428ef0f2 Document the need for configuration files to have a file extension
Closes gh-22278
2020-07-27 14:09:54 +01:00