Commit Graph

27490 Commits

Author SHA1 Message Date
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
Stephane Nicoll
cccf9c24e2 Merge pull request #22740 from izeye
* pr/22740:
  Polish

Closes gh-22740
2020-08-05 18:00:19 +02:00
Johnny Lim
1017774ed5 Polish
See gh-22740
2020-08-05 17:59:03 +02:00
Andy Wilkinson
94644f3814 Merge branch '2.2.x' into 2.3.x
Closes gh-22737
2020-08-05 09:05:10 +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
Scott Frederick
21b2dd2740 Allow empty env entries when building an image
Prior to this commit, an entry in the environment map provided to the
build plugin image building goal or task that had a null value would
result in a failure with a message that was difficult to diagnose.

This commit treats env map entries with a null value as an empty
entry to prevent the failure and also make it easier to provide an
explicit empty entry in the Maven XML.

Fixes gh-22703
2020-08-04 15:29:29 -05:00
Andy Wilkinson
1233288df0 Disable JarLaunchScriptIntegrationTests without Docker
See gh-21388
2020-08-04 18:23:06 +01:00
Andy Wilkinson
34eab5da95 Disable caching of changing modules
Closes gh-22726
2020-08-04 15:36:01 +01:00
Andy Wilkinson
db4f451d5b Merge branch '2.2.x' into 2.3.x 2020-08-04 14:58:06 +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
dbce4e4710 Merge branch '2.2.x' into 2.3.x 2020-08-04 13:38:14 +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
323b097623 Merge branch '2.2.x' into 2.3.x
Closes gh-22721
2020-08-04 13:32:49 +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
43c0b3d4dc Merge branch '2.2.x' into 2.3.x 2020-08-03 17:13:26 -07:00
Madhura Bhave
b14bd45399 Fix syntax for slack notification
See gh-22709
2020-08-03 17:08:30 -07:00
Andy Wilkinson
6ca4e22831 Merge branch '2.2.x' into 2.3.x 2020-08-03 19:22:20 +01:00
Andy Wilkinson
944fe4c660 Polish 2020-08-03 19:21:29 +01:00
Andy Wilkinson
992deb4647 Merge branch '2.2.x' into 2.3.x
Closes gh-22711
2020-08-03 19:18:28 +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
13f1d00048 Merge branch '2.2.x' into 2.3.x
Closes gh-22706
2020-08-03 15:01:07 +02: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
Brian Clozel
8dedeb4c6a Fix missing liveness and readiness indicators
Prior to this commit, the livenessState and readinessState health
indicators would not be configured automatically and would be missing
from the "liveness" and "readiness" health groups, leading to 404s when
hitting the `/actuator/health/liveness` or `/actuator/health/readiness`.

This commit ensures that the health indicators beans have the proper
name and revisits the auto-configuration conditions to reflect that as
well.

Fixes gh-22562
2020-08-01 20:57:34 +02:00
Brian Clozel
4aa010c874 Merge pull request #22631 from ttddyy
* gh-22631:
  Polish "Document properties to enable probe health indicators"
  Document properties to enable probe health indicators

Closes gh-22631
2020-08-01 20:01:28 +02:00
Brian Clozel
35093aacf4 Polish "Document properties to enable probe health indicators"
See gh-22631
2020-08-01 19:59:25 +02:00
Tadaya Tsuyukubo
630cbae7d7 Document properties to enable probe health indicators
Document property names to enable probe(readiness/liveness)
health indicators.

See gh-22631
2020-08-01 19:59:03 +02:00
Andy Wilkinson
7d25948ab5 Merge branch '2.2.x' into 2.3.x
Closes gh-22686
2020-07-31 12:24:34 +01: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
2939476852 Allow build-pr-project.sh to be executed
See gh-22645
2020-07-31 12:18:07 +01:00
Andy Wilkinson
00cd8945d5 Document how to use Gradle's native bom support
Closes gh-21570
2020-07-30 20:53:44 +01:00
Andy Wilkinson
f81e8909fa Document how to re-enable DataSource auto-config when using R2DBC
Closes gh-22094
2020-07-30 18:06:13 +01:00
Andy Wilkinson
cba9f5b86e Avoid having multiple wars when project's version changes
Fixes gh-21606
2020-07-30 17:58:17 +01:00
Andy Wilkinson
6ee0f8df1b Merge branch '2.2.x' into 2.3.x
Closes gh-22672
2020-07-30 13:41:17 +01:00
Andy Wilkinson
49f8943a5f Register ErrorPageFilter for async dispatch
Fixes gh-19471
2020-07-30 13:38:02 +01:00
Andy Wilkinson
45346b63ba Merge branch '2.2.x' into 2.3.x
Closes gh-22669
2020-07-30 12:12:45 +01:00
Andy Wilkinson
22dc4e7608 Clarify documentation on @AutoConfigureRestDocs with WebTestClient
Closes gh-15977
2020-07-30 12:12:10 +01:00
Andy Wilkinson
7e547b60cf Merge branch '2.2.x' into 2.3.x
Closes gh-22665
2020-07-30 09:06:28 +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
46e12cbacc Merge branch '2.2.x' into 2.3.x
Closes gh-22656
2020-07-30 08:48:17 +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
68324c4143 Build pull requests with --continue
Closes gh-22645
2020-07-29 17:54:54 +01:00