Phillip Webb
d8232b3c21
Polish 'Allow other "timestamp" types in MVC error model'
...
See gh-23256
2020-09-11 18:44:04 -07:00
lock14
d1d953819a
Allow other "timestamp" types in MVC error model
...
Remove casting "timestamp" to `java.util.Date` in
`ErrorMvcAutoConfiguration` as the cast is not necessary and it
prevents other types (e.g. `java.time`) from being used.
See gh-23256
2020-09-11 18:11:47 -07:00
David Good
775f0fa861
Improve sanitization for list of URI types
...
Prior to this commit, Actuator would sanitize properties values when
serializing them on the dedicated endpoint. Keys like "password" or
"secret" are entirely sanitized, but other keys like "uri" or "address"
are considered as URI types and only the password part of the user info
is sanitized.
This commit fixes the sanitization process where lists of such URI types
would not match the first entries of the list since they're starting
with `'['`. This commit improves the regexp matching process to sanitize
all URIs within a collection.
The documentation is also updated to better underline the processing
difference between complete sanitization and selective sanitization for
URIs.
Fixes gh-23037
2020-09-11 11:34:38 +02:00
Andy Wilkinson
e4691a4c61
Document that sliced tests don't scan @ConfigurationProperties beans
...
Closes gh-23210
2020-09-10 11:14:28 +01:00
Stephane Nicoll
ba7a103588
Start building against Spring Kafka 2.3.11 snapshots
...
See gh-23198
2020-09-07 15:24:02 +02:00
Stephane Nicoll
3b4f541b44
Start building against Spring Session Corn-SR4 snapshots
...
See gh-23186
2020-09-07 15:23:21 +02:00
Stephane Nicoll
a8c36b7659
Start building against Spring Data Moore-SR10 snapshots
...
See gh-23195
2020-09-07 15:22:43 +02:00
Stephane Nicoll
e3635c4848
Start building against Reactor Dysprosium-SR11 snapshots
...
See gh-23191
2020-09-07 15:21:51 +02:00
Stephane Nicoll
656f2b375a
Merge branch '2.1.x' into 2.2.x
2020-09-07 15:21:04 +02:00
Andy Wilkinson
5f00d91176
Restore identifying org.hsqldb.jdbcDriver as embedded
...
See gh-23036
2020-09-07 14:03:10 +01:00
Stephane Nicoll
b3960cae86
Start building against Spring Data Bean-SR12 snapshots
...
See gh-23185
2020-09-07 14:38:50 +02:00
Stephane Nicoll
d2a6035914
Start building against Spring Data Lovelace-SR20 snapshots
...
See gh-23194
2020-09-07 14:38:25 +02:00
Stephane Nicoll
e35cf5219a
Start building against Reactor Californium-SR21 snapshots
...
See gh-23190
2020-09-07 14:38:18 +02:00
Stephane Nicoll
88e0c280ce
Start building against Spring Framework 5.0.19 snapshots
...
See gh-23181
2020-09-07 14:36:01 +02:00
Andy Wilkinson
115ea87b14
Restore ordering of ErrorPageFilter lost in 49f8943
...
See gh-19471
2020-09-07 13:33:43 +01:00
Andy Wilkinson
c948c70c5a
Align EmbeddedDatabaseConnection with DatabaseDriver
...
Fixes gh-23036
2020-09-07 10:13:55 +01:00
Stephane Nicoll
4b5a3f4ff9
Start building against Spring Framework 5.2.9 snapshots
...
See gh-23182
2020-09-07 08:47:57 +02:00
Phillip Webb
611447c4d5
Fix checkstyle issue caused by polish commit
...
See gh-22946
2020-08-28 15:30:27 -07:00
Phillip Webb
38db582af1
Merge pull request #22946 from rgoers
...
* pr/22946:
Polish 'Remove ResourceUtils.getURL logging config check'
Remove ResourceUtils.getURL logging config check
Closes gh-22946
2020-08-28 15:19:43 -07:00
Phillip Webb
35994b061c
Polish 'Remove ResourceUtils.getURL logging config check'
...
Extend `initializeSystem` to search the exception stack for a
FileNotFoundException before reporting the error. This allows
us to provide a similar stack trace to the one that used to be
thrown when we had the `ResourceUtils.getURL` check.
See gh-22946
2020-08-28 15:16:12 -07:00
Ralph Goers
684b65e80c
Remove ResourceUtils.getURL logging config check
...
Remove `ResourceUtils.getURL` checking from `LoggingApplicationListener`
so that logging systems can implement custom location support.
Prior to this commit, we checked in the listener if the specified config
location could be opened as a URL. This unfortunately prevents Log4J
extensions such as `log4j-spring-cloud-config-client` from implementing
configurable SSL and credentials support.
See gh-22946
2020-08-28 15:07:06 -07:00
Andy Wilkinson
f6f832b4da
Merge branch '2.1.x' into 2.2.x
2020-08-28 16:01:44 +01:00
Andy Wilkinson
1906914711
Upgrade to Gradle Enterprise Maven Extension 1.6.3
...
Closes gh-23113
2020-08-28 16:01:34 +01:00
Andy Wilkinson
e2323fd45c
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23129
2020-08-28 16:00:29 +01:00
Andy Wilkinson
b6569bb075
Upgrade to Gradle Enterprise Maven Extension 1.6.3
...
Closes gh-23113
2020-08-28 15:59:30 +01:00
Andy Wilkinson
627ede8bff
Remove duplicate jackson-datatype-jsr310 dependency
...
Closes gh-23123
2020-08-28 12:38:42 +01:00
Andy Wilkinson
5cd910c7ce
Replace Embedded Mongo with Testcontainers' MongoDB support
...
Closes gh-23090
2020-08-28 12:00:31 +01:00
Andy Wilkinson
84a12c8436
Upgrade to Testcontainers 1.14.3
...
Closes gh-23122
2020-08-28 11:57:32 +01:00
Stephane Nicoll
0032ab6afe
Upgrade Ubuntu version in CI images
...
Closes gh-23103
2020-08-27 11:55:37 +02:00
Stephane Nicoll
fda8990fe9
Merge branch '2.1.x' into 2.2.x
2020-08-27 11:54:24 +02:00
Stephane Nicoll
1ae120f8c5
Upgrade Ubuntu version in CI images
...
Closes gh-23102
2020-08-27 11:52:53 +02:00
Andy Wilkinson
04540887af
Widen timeout and delay to accommodate Windows' imprecision under load
...
Closes gh-23093
2020-08-26 14:48:33 +01:00
Andy Wilkinson
eba2bc3c0c
Merge pull request #23084 from spencergibb
...
* gh-23084:
Polish "Handle null RSocketServer address when setting port property"
Handle null RSocketServer address when setting port property
Closes gh-23084
2020-08-26 08:53:05 +01:00
Andy Wilkinson
6f047c8356
Polish "Handle null RSocketServer address when setting port property"
...
See gh-23084
2020-08-26 08:52:57 +01:00
spencergibb
f08f948c3e
Handle null RSocketServer address when setting port property
...
See gh-23084
2020-08-26 08:52:57 +01:00
Stephane Nicoll
066471b1d9
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23076
2020-08-25 14:05:07 +02:00
Stephane Nicoll
de169ff8c9
Merge pull request #23071 from dreis2211
...
* pr/23071:
Disallow Apache Commons Lang & Lang3 imports
Closes gh-23071
2020-08-25 14:03:56 +02:00
dreis2211
7bf32e9bb1
Disallow Apache Commons Lang & Lang3 imports
...
See gh-23071
2020-08-25 14:03:37 +02:00
Andy Wilkinson
b57b2f0b44
Test the Gradle Plugin against 6.5 and 6.6
...
Closes gh-23075
2020-08-25 12:01:25 +01:00
Stephane Nicoll
5b0f22e8fe
Fix unintended import on commons lang
...
Closes gh-23059
2020-08-24 12:12:33 +02:00
Stephane Nicoll
c2b69d560a
Merge pull request #23028 from bedla
...
* pr/23028:
Polish "Add example of custom Actuator operations"
Add example of custom Actuator operations
Closes gh-23028
2020-08-24 11:56:47 +02:00
Stephane Nicoll
f1455b156a
Polish "Add example of custom Actuator operations"
...
See gh-23028
2020-08-24 11:56:31 +02:00
Ivo Smid
e8de069e00
Add example of custom Actuator operations
...
See gh-23028
2020-08-24 11:37:00 +02:00
Andy Wilkinson
947ba7081a
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23056
2020-08-24 09:22:44 +01:00
Andy Wilkinson
7a14477ac6
Upgrade to Gradle Enterprise Maven Extension 1.6.2
...
Closes gh-23055
2020-08-24 09:22:12 +01:00
Phillip Webb
17e2d72bcb
Fix Windows path issue in JarFileWrapperTests
...
See gh-22991
2020-08-19 10:33:23 -07:00
Phillip Webb
3fe2005e06
Use @AfterEach to close the source jar file
...
Update `JarFileWrapperTests` so that the jar files are closed after each
test.
See gh-22991
2020-08-19 10:22:10 -07:00
Stephane Nicoll
47e5db9e43
Merge pull request #23002 from dreis2211
...
* pr/23002:
Mention correct JUnit 5 annotations in Kotlin testing section
Closes gh-23002
2020-08-19 10:08:11 +02:00
dreis2211
06eb7e9777
Mention correct JUnit 5 annotations in Kotlin testing section
...
See gh-23002
2020-08-19 10:07:40 +02:00
Phillip Webb
2a137a2d8a
Remove Mockito from JarFileWrapperTests
...
Remove Mockto from JarFileWrapperTests since it seems to be failing on
later versions of Java.
See gh-22991
2020-08-18 16:20:05 -07:00