Madhura Bhave
df1d1dbaa9
Fallback to BeanPropertyBindingResult for unbound property validation
...
gh-17424 updated `ValidationBindHandler` so that it would
only look at bound values when validating. This commit updates
`ValidationBindHandler` to use Spring Framework's `BeanPropertyBindingResult`.
This means that for fields that are not bound, JavaBean accessor methods can
be used to get the value to validate.
Fixes gh-25356
2021-03-12 13:56:54 -08:00
maruoovv
b401be1589
Correct javadoc for ON_PARAM
...
See gh-25480
2021-03-11 11:12:04 +00:00
Stephane Nicoll
f38e863fbc
Properly subscribe to CloseableConnectionFactory#close
...
Closes gh-25565
2021-03-10 15:03:27 +01:00
Stephane Nicoll
c8101f8c9b
Remove host name in R2DBC's embedded H2 url
...
Closes gh-25560
2021-03-10 13:24:08 +01:00
Andy Wilkinson
3e9341fbb4
Start using Spring Asciidoctor 0.5.1 snapshots
...
See gh-25558
2021-03-09 10:59:26 +00:00
Andy Wilkinson
b76a9951e9
Polish RSocketServerAutoConfiguration
2021-03-09 09:25:34 +00:00
Andy Wilkinson
84637acbdc
Make embedded RSocket server back off without spring-web
...
Fixes gh-25551
2021-03-09 08:53:25 +00:00
Stephane Nicoll
6ebc69d704
Polish "Include properties in source merge algorithm"
...
See gh-25507
2021-03-05 15:47:09 +01:00
Bertrand Renuart
cf4bc6e9e0
Include properties in source merge algorithm
...
This commit improves SimpleConfigurationMetadataRepository to include
properties that are contributed to an existing configuration metadata
source.
See gh-25507
2021-03-05 15:47:09 +01:00
Andy Wilkinson
22b73f3020
Polish "Improve documentaion of Mockito test execution listeners"
...
See gh-25375
2021-03-05 14:14:36 +00:00
cdalexndr
72562e0fd4
Improve documentaion of Mockito test execution listeners
...
See gh-25375
2021-03-05 12:49:18 +00:00
Andy Wilkinson
92133d47d0
Polish "Make link to Actuator API docs more prominent"
...
See gh-25486
2021-03-05 10:58:47 +00:00
cdalexndr
5f4e1b747e
Make link to Actuator API docs more prominent
...
See gh-25486
2021-03-05 10:57:59 +00:00
Andy Wilkinson
c6ca7a53ab
Polish "Prevent extracting zip entries outside of destination path"
...
See gh-25505
2021-03-05 10:13:32 +00:00
trungPa
2993e68715
Prevent extracting zip entries outside of destination path
...
See gh-25505
2021-03-05 10:12:06 +00:00
Stephane Nicoll
8e67ae7113
Fix fallback fork value for spring-boot:stop
...
This commit harmonizes the fallback value that spring-boot:stop goal
should use if no information is available in the current context.
Closes gh-25472
2021-03-03 15:15:04 +01:00
Stephane Nicoll
dd2dc22085
Upgrade to Jetty 9.4.38.v20210224
...
Closes gh-25460
2021-03-01 09:20:33 +01:00
Andy Wilkinson
8f72ca6521
Use ResourceConfig customization to register endpoints with Jersey
...
Previously, actuator endpoints were registered with Jersey upon
injection of the ResourceConfig bean into a registrar class rather than
using a ResourceConfigCustomizer. This was done to fix a problem
when running the Actuator on a separate port where the main application
context's customizers were also applied to the management context,
breaking the singleton contract for those resources. This approach
meant that the registration could be performed at any point after the
ResourceConfig had been created. When Jersey's configured as a Filter
this resulted in the registration failing as the attempt was being made
after the Filter lifecyle callbacks which make the ResourceConfig
immutable.
This commit reworks the endpoint registration to be performed using a
ManagementContextResourceConfigCustomizer, a resource config customizer
that's only applied to the ResourceConfig that's used by the Actuator.
When there's a separate management context, this ResourceConfig is
created by the Actuator's auto-configuration and the management context
resource config customizers are applied to it during its creation. The
main application's customizers are not applied. When the actuator is
using the same context as the main application, this ResourceConfig is
created by the main application. In this case a
ResourceConfigCustomizer is defined that delegates to all
ManagementContextResourceConfigCustomizers, allowing them to register
the actuator endpoints with the main ResourceConfig.
Fixes gh-25262
2021-02-26 14:25:24 +00:00
Stefan Wolf
86ca32e694
Enable stricter validation for Gradle plugin
...
See gh-25409
2021-02-25 17:28:51 +00:00
dreis2211
101d88a840
Update Testcontainers image versions
...
See gh-25412
2021-02-25 14:27:41 +00:00
Andy Wilkinson
5f0d72487e
Upgrade to Testcontainers 1.15.2
...
Closes gh-25420
2021-02-25 13:50:16 +00:00
Andy Wilkinson
ac78f55ba8
Upgrade to Maven Common Artifact Filters 3.1.1
...
Closes gh-25419
2021-02-25 13:48:53 +00:00
Stephane Nicoll
77daae1480
Update copyright year of changed file
...
See gh-25382
2021-02-22 10:41:49 +01:00
Mustafa Ulu
abc90db32f
Fix wording error in build-info goal description
...
See gh-25382
2021-02-22 10:26:53 +01:00
Tommy Ludwig
bd2a890899
Polish HTTP client metrics documentation wording
...
See gh-25353
2021-02-19 12:48:56 +01:00
Andy Wilkinson
3ad68a39b6
Upgrade to Spring Integration 5.3.6.RELEASE
...
Closes gh-25283
2021-02-17 22:28:20 +00:00
Andy Wilkinson
bec065dfd3
Upgrade to Spring AMQP 2.2.15.RELEASE
...
Closes gh-25284
2021-02-17 18:12:59 +00:00
Andy Wilkinson
29d46c86c9
Upgrade to Spring Data Neumann-SR7
...
Closes gh-25282
2021-02-17 15:04:50 +00:00
Andy Wilkinson
0348b57b16
Upgrade to Spring HATEOAS 1.1.4.RELEASE
...
Closes gh-25337
2021-02-17 15:04:22 +00:00
Andy Wilkinson
6ce61c504d
Upgrade to RxJava2 2.2.21
...
Closes gh-25336
2021-02-17 15:04:20 +00:00
Andy Wilkinson
92c82a4f54
Upgrade to JUnit 4.13.2
...
Closes gh-25335
2021-02-17 15:04:19 +00:00
Andy Wilkinson
74b33cce5e
Upgrade to FreeMarker 2.3.31
...
Closes gh-25334
2021-02-17 15:04:18 +00:00
Andy Wilkinson
43c923b3d5
Upgrade to Micrometer 1.5.11
...
Closes gh-25285
2021-02-17 12:25:56 +00:00
Stephane Nicoll
32f6719ec1
Upgrade to Spring Framework 5.2.13
...
Closes gh-25281
2021-02-16 15:15:13 +01:00
Stephane Nicoll
0da7822e27
Update copyright of changed files
...
See gh-25265
2021-02-16 13:50:15 +01:00
melburne
2163c96205
Fix incorrect detection of Amazon Redshift
...
See gh-25265
2021-02-16 13:50:15 +01:00
Andy Wilkinson
78941c32c4
Polish "Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used"
...
See gh-25279
2021-02-16 12:08:08 +00:00
Eddú Meléndez
c55200d19a
Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used
...
See gh-25279
2021-02-16 12:06:09 +00:00
Andy Wilkinson
a2adb877ee
Polish "Encourage use of maven-publish plugin in Gradle docs"
...
See gh-25299
2021-02-16 11:22:47 +00:00
Robert Smith
c0a5245a3e
Encourage use of maven-publish plugin in Gradle docs
...
See gh-25299
2021-02-16 11:19:27 +00:00
Andy Wilkinson
29af4b953f
Add dependency management for new hibernate-micrometer module
...
Fixes gh-25277
2021-02-16 11:09:02 +00:00
Stephane Nicoll
98964990d4
Upgrade to Reactor Dysprosium-SR17
...
Closes gh-25280
2021-02-16 08:47:30 +01:00
Stephane Nicoll
569002e917
Polish "Document Kafka Streams metrics support"
...
See gh-25272
2021-02-15 14:11:34 +01:00
izeye
dff4ca2293
Document Kafka Streams metrics support
...
See gh-25272
2021-02-15 14:07:39 +01:00
Stephane Nicoll
3f9f9a4637
Polish "Start building against Spring Data Neumann-SR7 snapshots"
...
See gh-25282
2021-02-15 13:46:39 +01:00
Stephane Nicoll
bab0862fdd
Start building against Micrometer 1.5.11 snapshots
...
See gh-25285
2021-02-15 06:55:42 +01:00
Stephane Nicoll
080bec0b20
Start building against Spring AMQP 2.2.15 snapshots
...
See gh-25284
2021-02-15 06:55:42 +01:00
Stephane Nicoll
1004617d2f
Start building against Spring Integration 5.3.6 snapshots
...
See gh-25283
2021-02-15 06:55:42 +01:00
Stephane Nicoll
f1dda97900
Start building against Spring Data Neumann-SR7 snapshots
...
See gh-25282
2021-02-15 06:55:40 +01:00
Stephane Nicoll
33736e818b
Start building against Spring Framework 5.2.13 snapshots
...
See gh-25281
2021-02-15 06:52:34 +01:00
Stephane Nicoll
2c2fedc156
Start building against Reactor Dysprosium-SR17 snapshots
...
See gh-25280
2021-02-15 06:52:00 +01:00
Stephane Nicoll
b7f5f5cac0
Polish
...
See gh-25266
2021-02-14 09:29:48 +01:00
Andy Wilkinson
63de8dec1f
Upgrade to Undertow 2.1.6.Final
...
Closes gh-25204
2021-02-12 09:28:27 +00:00
Andy Wilkinson
b1dd3fb827
Upgrade to Tomcat 9.0.43
...
Closes gh-25203
2021-02-12 09:28:26 +00:00
Andy Wilkinson
aaad1613dc
Upgrade to Spring Session Bom Dragonfruit-SR2
...
Closes gh-25202
2021-02-12 09:28:25 +00:00
Andy Wilkinson
13cbc1a80b
Upgrade to Spring Security 5.3.8.RELEASE
...
Closes gh-25201
2021-02-12 09:28:23 +00:00
Andy Wilkinson
8e86957efc
Upgrade to Netty 4.1.59.Final
...
Closes gh-25200
2021-02-12 09:28:22 +00:00
Andy Wilkinson
f728367785
Upgrade to Neo4j OGM 3.2.20
...
Closes gh-25199
2021-02-12 09:28:21 +00:00
Andy Wilkinson
e3bed12a16
Upgrade to MySQL 8.0.23
...
Closes gh-25198
2021-02-12 09:28:20 +00:00
Andy Wilkinson
aa5e33bc83
Upgrade to Lombok 1.18.18
...
Closes gh-25197
2021-02-12 09:28:19 +00:00
Andy Wilkinson
97d4837feb
Upgrade to Johnzon 1.2.10
...
Closes gh-25196
2021-02-12 09:28:18 +00:00
Andy Wilkinson
87404581b9
Upgrade to Jetty 9.4.36.v20210114
...
Closes gh-25195
2021-02-12 09:28:17 +00:00
Andy Wilkinson
05d805ad60
Upgrade to Jaybird 3.0.10
...
Closes gh-25194
2021-02-12 09:28:15 +00:00
Andy Wilkinson
3ada6e9304
Upgrade to Janino 3.1.3
...
Closes gh-25193
2021-02-12 09:28:14 +00:00
Andy Wilkinson
adc601b72c
Upgrade to Hibernate 5.4.28.Final
...
Closes gh-25192
2021-02-12 09:28:13 +00:00
Andy Wilkinson
4b6418f11f
Upgrade to Hazelcast 3.12.12
...
Closes gh-25191
2021-02-12 09:28:12 +00:00
Andy Wilkinson
88afda03a3
Upgrade to Byte Buddy 1.10.20
...
Closes gh-25190
2021-02-12 09:28:11 +00:00
Andy Wilkinson
fa6c749215
Upgrade to AppEngine SDK 1.9.86
...
Closes gh-25189
2021-02-12 09:28:10 +00:00
Andy Wilkinson
bd64e05203
Instrument AMQP AbstractCF when defined as a ConnectionFactory
...
Fixes gh-25138
2021-02-11 20:09:40 +00:00
Andy Wilkinson
82dc2dffbd
Select specific CLI distribution in CLI's integration tests
...
Previously, CommandLineInvoker would use the first -bin.zip file found
in build/distributions. If this directory contained multiple zips from
building different versions of Spring Boot, this could result in the
tests being run against the wrong version of the CLI.
This commit updates CommandLineInvoker look for a specific zip in
build/distributions, using the version from gradle.properties to
identify it.
Closes gh-25179
2021-02-11 10:20:30 +00:00
Andy Wilkinson
708cbd7294
Ignore events from other contexts when waiting for DS init to complete
...
Fixes gh-24966
2021-02-10 15:07:44 +00:00
Stephane Nicoll
1524793a92
Fix use of deprecated Cassandra properties in integration tests
...
Closes gh-25148
2021-02-10 15:12:20 +01:00
Stephane Nicoll
e5098697cb
Polish "Validate Cassandra defaults"
...
See gh-25130
2021-02-10 10:18:28 +01:00
bono007
f71ab69aeb
Validate Cassandra defaults
...
See gh-25130
2021-02-10 10:15:31 +01:00
Andy Wilkinson
7898b6afb0
Remove duplicate publication from spring-boot-docs
...
Fixes gh-25132
2021-02-09 14:10:58 +00:00
dreis2211
4937547b8a
Fix build deprecation warnings about duplicate jar entries
...
See gh-25116
2021-02-09 14:45:58 +01:00
Andy Wilkinson
67479b6380
Add junit-platform-launcher dependency by convention
...
Closes gh-25074
2021-02-02 13:03:21 +00:00
Phillip Webb
630d216430
Update copyright year of changed files
2021-02-01 22:10:24 -08:00
Phillip Webb
c404a50a2e
Allow test to use snapshot/milestone repo
...
Update `spring-boot-maven-plugin` `settings.xml` so that milestone and
snapshot dependencies can be resolved.
See gh-23936
2021-02-01 19:45:11 -08:00
Phillip Webb
faaa5e4186
Fix BOM attached sourceSet
...
See gh-23936
2021-02-01 16:51:53 -08:00
Phillip Webb
40c1748e3c
Remove hardcoded versions from MavenBuild
...
Use the dependencies BOM to ensure versions used in the `MavenBuild`
test class are always aligned.
Closes gh-23936
2021-02-01 16:20:55 -08:00
Phillip Webb
939b5dfc26
Add junit-platform-launcher dependency
...
Update `build.gradle` files to ensure that `junit-platform-launcher` is
a `testRuntimeOnly` dependency. This ensures that tests can be run from
Eclipse.
Closes gh-25074
2021-02-01 15:31:28 -08:00
Andy Wilkinson
3585d20453
Include IDialect beans in WebFluxTest and WebMvcTest
...
Fixes gh-24149
2021-02-01 15:03:08 +00:00
Phillip Webb
187258aa6a
Fix classpath.idx format documentation
...
Since 2.3.8 and 2.4.2 the format includes the directory.
Closes gh-24856
2021-01-30 17:56:09 -08:00
Phillip Webb
19c5864d2c
Clarify square bracket map binding notation
...
Update reference docs to make it clearer when the square bracket map
binding notation should be used.
Closes gh-23390
2021-01-30 17:42:49 -08:00
Phillip Webb
549d4f7fbe
Document that Spring MVC has own ConversionService
...
Update documentation to make it clearer that Spring MVC does not use the
`ApplicationConversionService` unless configured explicitly.
Closes gh-22718
2021-01-30 17:03:55 -08:00
dreis2211
4940694db2
Fix duplicate anchor id
...
See gh-25048
2021-01-29 09:06:06 +00:00
Phillip Webb
c03d8773e7
Improve logging.register-shutdown-hook docs
...
Update the "Logging" reference documentation with a section about
shutting down the logging system.
Closes gh-24507
2021-01-28 19:26:18 -08:00
jongmin92
23ecb86089
Document missing code to run Gradle bootRun task
...
See gh-25012
2021-01-28 18:56:21 -08:00
Phillip Webb
5b2d1f19a0
Polish 'Add note about exploded jars and banner properties'
...
See gh-24982
2021-01-28 18:48:14 -08:00
Robert Smith
33c038199d
Add note about exploded jars and banner properties
...
Add a note to the "Customizing the Banner" explaining that you need
to be using the `JarLauncher` to use the `application.*` properties.
See gh-24982
2021-01-28 18:48:11 -08:00
Phillip Webb
60bb33f231
Polish 'Add a tip about actuator endpoints'
...
See gh-24336
2021-01-28 17:55:09 -08:00
Wesley Ugang
6ced1d7f4e
Add a tip about actuator endpoints
...
Update the "Externalized Configuration" section with a tip that about
the actuator `env` and `configprops` endpoints.
See gh-24336
2021-01-28 17:53:04 -08:00
Phillip Webb
464b302655
Set withTestKitDir per Gradle version
...
Attempt to fix cache locking issues by setting a unique `withTestKitDir`
directory for each tested Gradle version.
Closes gh-24993
2021-01-25 21:35:25 -08:00
Andy Wilkinson
46d908f632
Upgrade to Gradle 6.8.1
...
Closes gh-24737
2021-01-22 14:20:57 +00:00
Andy Wilkinson
0b06ac9938
Use AssertJ's doesNotContainKey
...
Closes gh-24970
2021-01-22 13:28:41 +00:00
Stephane Nicoll
244a6ac7e5
Polish "Deprecate Spring Data Solr"
...
See gh-24942
2021-01-20 14:02:59 +01:00
Stephane Nicoll
10b4cb8cb5
Deprecate Spring Data Solr support
...
Closes gh-24942
2021-01-20 13:56:50 +01:00
Stephane Nicoll
1ad5a3fe2e
Update copyright of changed file
...
See gh-24753
2021-01-18 17:01:31 +01:00
izeye
ddfa1e632b
Make MetricsClientHttpRequestInterceptor defensive against metrics recoding failures
...
See gh-24753
2021-01-18 17:00:26 +01:00