Stephane Nicoll
d2117b6b3f
Upgrade to MIMEPull 1.9.14
...
Closes gh-25964
2021-04-09 14:02:31 +02:00
Stephane Nicoll
cccb1332b3
Upgrade to Micrometer 1.5.12
...
Closes gh-25963
2021-04-09 14:02:29 +02:00
Stephane Nicoll
f58cda7b53
Upgrade to Maven Invoker Plugin 3.2.2
...
Closes gh-25962
2021-04-09 14:02:28 +02:00
Stephane Nicoll
7ccebf5fb3
Upgrade to Lombok 1.18.20
...
Closes gh-25961
2021-04-09 14:02:27 +02:00
Stephane Nicoll
030af053ec
Upgrade to Jetty 9.4.39.v20210325
...
Closes gh-25960
2021-04-09 14:02:26 +02:00
Stephane Nicoll
e70590ecb8
Upgrade to Jetty Reactive HTTPClient 1.1.7
...
Closes gh-25959
2021-04-09 14:02:24 +02:00
Stephane Nicoll
7b61e0cad2
Upgrade to Jaybird 3.0.11
...
Closes gh-25958
2021-04-09 14:02:23 +02:00
Stephane Nicoll
894a4379f1
Upgrade to Jakarta Mail 1.6.7
...
Closes gh-25957
2021-04-09 14:02:22 +02:00
Stephane Nicoll
79679ff314
Upgrade to Hibernate 5.4.30.Final
...
Closes gh-25956
2021-04-09 14:02:21 +02:00
Stephane Nicoll
741d60563f
Upgrade to Dropwizard Metrics 4.1.19
...
Closes gh-25955
2021-04-09 14:02:19 +02:00
Stephane Nicoll
d599b0c558
Upgrade to Byte Buddy 1.10.22
...
Closes gh-25954
2021-04-09 14:02:18 +02:00
Stephane Nicoll
bffa26fefa
Upgrade to AppEngine SDK 1.9.88
...
Closes gh-25953
2021-04-09 14:02:17 +02:00
Scott Frederick
0ad7f76263
Preserve file permissions in images built by Gradle
...
This commit copies the file mode along with other attributes when
copying files from the source archive to the build container while
building an image using the Gradle plugin. This preserves file
permissions on any resources included in the source archive.
Fixes gh-25915
2021-04-08 12:56:41 -05:00
Stephane Nicoll
25b7495d8e
Polish "Properly close input streams when loading key stores"
...
See gh-25884
2021-04-08 09:25:03 +02:00
Alex Belyaev
1e3f5c342b
Properly close input streams when loading key stores
...
See gh-25884
2021-04-08 09:21:58 +02:00
Stephane Nicoll
2a60503849
Start building against Spring Session Dragonfruit-SR3 snapshots
...
See gh-25907
2021-04-07 15:43:12 +02:00
Stephane Nicoll
e4bf730f0b
Start building against Spring Security 5.3.9 snapshots
...
See gh-25906
2021-04-07 15:42:42 +02:00
Stephane Nicoll
b12a725977
Start building against Spring Data Neumann-SR9 snapshots
...
See gh-25905
2021-04-07 15:42:07 +02:00
Stephane Nicoll
80e893ebae
Upgrade to Spring HATEOAS 1.1.5
...
Closes gh-25904
2021-04-07 15:41:34 +02:00
Stephane Nicoll
aab5859fde
Start building against Spring Framework 5.2.14 snapshots
...
See gh-25903
2021-04-07 15:41:17 +02:00
Stephane Nicoll
ac1117f1a1
Start building against Reactor Reactor Dysprosium-SR19
...
See gh-25902
2021-04-07 15:40:40 +02:00
Andy Wilkinson
b35d1ec6e8
Revert "Use test harness for image building integration tests"
...
This reverts commit da9d8d6055
.
See gh-25838
2021-04-07 09:30:51 +01:00
Andy Wilkinson
1b91c1706e
Ensure that Cassandra's DriverConfigLoader is only closed once
...
Fixes gh-25796
2021-04-01 18:57:35 +01:00
Andy Wilkinson
cbf37b3a8b
Use main as the branch name in info endpoint example
...
Closes gh-25865
2021-04-01 16:46:37 +01:00
Andy Wilkinson
cf0bd0f959
Polish "Fix no such bean definition with ancestor-defined Validator"
...
See gh-25800
2021-04-01 15:00:10 +01:00
MatejNedic
8958101510
Fix no such bean definition with ancestor-defined Validator
...
See gh-25800
2021-04-01 14:59:50 +01:00
Andy Wilkinson
7d632ea397
Use ApplicationContextRunner in ValidationAutoConfigurationTests
...
Closes gh-25859
2021-04-01 10:01:37 +01:00
Andy Wilkinson
1a84b0610e
Align PushGatewayManager's exception handling with PushMeterRegistry's
...
Previously, would log an error for any exception and also stop
publishing for an UnknownHostException. By constrast, Micrometer's
PushMeterRegistry treats all exceptions the same, logging a warning
and continuing with subsequent push attempts.
This commit updates the push gateway manager's behaviour to match
PushMeterRegistry. UknownHostExceptions no longer receive special
treatment and push (and delete) failures are now logged as warnings
rather than errors.
Fixes gh-25804
2021-03-31 17:01:08 +01:00
Scott Frederick
da9d8d6055
Use test harness for image building integration tests
...
This commit modifies the integration tests for the Maven and Gradle
image building goal and task to use a custom builder as a test harness
to verify that the plugins invoke the builder as expected.
Fixes gh-25838
2021-03-30 16:48:28 -05:00
Andy Wilkinson
e94f8bba62
Ensure that upstream jars have been built
...
See gh-25835
2021-03-30 20:51:33 +01:00
Andy Wilkinson
ca9a619259
Defer processing of zipTree source until execution time
...
Closes gh-25835
2021-03-30 20:41:46 +01:00
Andy Wilkinson
5a086321c6
Polish "Document Failsafe configuration when not using starter parent"
...
See gh-25621
2021-03-30 18:16:21 +01:00
robert-smith-911
0d79fd3e01
Document Failsafe configuration when not using starter parent
...
See gh-25621
2021-03-30 18:02:12 +01:00
Phillip Webb
9c8a97809d
Consistent use of @deprecated since
...
Restore the patch version number for consistency with `@since`
tags.
See gh-25808
2021-03-30 09:20:30 -07:00
Andy Wilkinson
8b6eef6f1d
Consistent use of @deprecated since
...
See gh-25808
2021-03-30 09:22:45 +01:00
Phillip Webb
26dd1b9a26
Update deprecations with for removal targets
...
Update all deprecation tags to include a removal target.
Closes gh-25808
2021-03-29 15:44:58 -07:00
Andy Wilkinson
896f20e1d3
Improve diagnostics of ClassPathFileSystemWatcherTests
...
Closes gh-25821
2021-03-29 14:37:25 +01:00
dreis2211
be4491959b
Fix flaky QuartzAutoConfigurationTests
...
See gh-25810
2021-03-27 08:00:52 +01:00
Scott Frederick
3ad5f1013a
Fix Maven image building with classifiers
...
Fixes gh-25736
2021-03-26 11:36:38 -05:00
Phillip Webb
88b74097ba
Polish 'Ignore quality value when removing MediaType.ALL'
...
See gh-25778
2021-03-24 12:35:56 -07:00
Fábio Ramon
3090a3a71f
Ignore quality value when removing MediaType.ALL
...
Update the default reactive exception handler so that `MediaType.ALL`
is removed regardless of any quality setting. Prior to this commit,
the "match-all" media type was not properly ignored if it has a quality
value and would show HTML content if the accept header was
`application/json, */*;q=0.9`.
See gh-25778
2021-03-24 12:35:32 -07:00
Phillip Webb
130cc5b036
Chain caught InvalidEndpointRequestExceptions
...
Update `AbstractWebMvcEndpointHandlerMapping` to chain any caught
InvalidEndpointRequestExceptions so that a more complete stacktrace
is available. The exception has also been updated to a
`ResponseStatusException` so that the reason can be propagated.
Fixes gh-25642
2021-03-24 12:22:26 -07:00
Phillip Webb
ec21202d54
Delete unpacked jars when the JVM exits
...
Update `JarFileArchive` so that any unpacked files are now deleted when
the JVM exits.
Closes gh-25773
2021-03-23 17:06:56 -07:00
Phillip Webb
05f61bccea
Align unpack logic with Files.createTempDirectory
...
Update `JarFileArchive` to align the way that it creates temp files and
folders with the way that `Files.createTempDirectory` works.
Closes gh-25772
2021-03-23 17:06:56 -07:00
Phillip Webb
b8873578ca
Add missing @Deprecated annotations
2021-03-23 17:06:53 -07:00
Phillip Webb
2b591387b8
Restore tomcat-embed TldPatterns
...
Restore tomcat-embed-core-* and tomcat-embed-logging-* patterns which
were inadvertently removed in commit 0ec8d281ef
.
See gh-25764
2021-03-23 13:07:15 -07:00
Phillip Webb
82127fdaa3
Update copyright year of changed files
2021-03-23 12:50:49 -07:00
Phillip Webb
0ec8d281ef
Align TldPatterns with Tomcat default
...
Update `TldPatterns` to align with the latest default shipped by Tomcat.
This commit also introduces a test to ensure that we will remain aligned
going forwards.
Closes gh-25764
2021-03-23 12:46:27 -07:00
Andy Wilkinson
62023104de
Test auto-configured MockRestServiceServer with metrics and a root URI
...
Closes gh-25741
2021-03-23 14:37:37 +00:00
Andy Wilkinson
bf6f36a783
Apply any root URI to RestTemplate metric's URI tag
...
Previously, a root URI configured via RestTemplateBuilder's rootUri
method and RootUriTemplateHandler was not taken into account when
generated the URI tag for RestTemplate request metrics.
This commit updates MetricsClientHttpRequestInterceptor to be aware
of RootUriTemplateHandler and capture the URI template once the
root URI has been applied.
Fixes gh-25744
2021-03-23 13:05:54 +00:00
Stephane Nicoll
c2f452a87a
Polish "Take JPA database action into account when setting ddlAuto"
...
See gh-25129
2021-03-22 14:41:25 +01:00
bono007
674b01cb06
Take JPA database action into account when setting ddlAuto
...
See gh-25129
2021-03-22 13:53:28 +01:00
Scott Frederick
e4fa39df01
Fail fast when finalName is misconfigured
...
When the `finalName` parameter is incorrectly set in the Spring Boot
Maven plugin configuration instead of in the `build` configuration, the
repackaged and original archive files are not named as expected. Prior
to this commit, the image building goal would detect this error
condition and throw an exception late in the process of creating the
build container, leaving the container in an unstable state. This
commit changes the image building goal to detect this condition early,
before attempting to create the container.
Fixes gh-25590
2021-03-17 15:19:21 -05:00
Stephane Nicoll
6f9352bda9
Fix description of management.metrics.export.influx.db
...
Closes gh-25723
2021-03-17 15:09:37 +01:00
Andy Wilkinson
0e0418546b
Test spring-boot:build-image when repackage is also invoked
...
Closes gh-25714
2021-03-17 11:19:29 +00:00
Andy Wilkinson
ae2ff7849b
Revert "Fail fast when finalName is misconfigured"
...
This reverts commit 263b7c20e4
.
See gh-25590
2021-03-17 11:11:24 +00:00
Scott Frederick
263b7c20e4
Fail fast when finalName is misconfigured
...
When the `finalName` parameter is incorrectly set in the Spring Boot
Maven plugin configuration instead of in the `build` configuration, the
repackaged and original archive files are not named as expected. Prior
to this commit, the image building goal would detect this error
condition and throw an exception late in the process of creating the
build container, leaving the container in an unstable state. This
commit changes the image building goal to detect this condition early,
before attempting to create the container.
Fixes gh-25590
2021-03-16 17:22:48 -05:00
Andy Wilkinson
f823bbb9b2
Upgrade to Spring Asciidoctor Extensions 0.5.1
...
Closes gh-25558
2021-03-16 20:24:45 +00:00
Andy Wilkinson
a832cc9ccd
Polish "Improve error message when no resources exist at a script location"
...
See gh-25620
2021-03-16 16:20:11 +00:00
Yuta Saito
42841b895f
Improve error message when no resources exist at a script location
...
See gh-25620
2021-03-16 16:19:27 +00:00
Andy Wilkinson
226ee61dea
Create exception reporters when needed so they pick up current state
...
Fixes gh-25691
2021-03-16 16:13:40 +00:00
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
Stephane Nicoll
b3ab77a5c3
Move Spring Boot version to main index in reference guide
...
Closes gh-24848
2021-01-15 16:50:45 +01:00
Stephane Nicoll
9a53865c8f
Polish
2021-01-15 08:24:57 +01:00
Stephane Nicoll
283ed48d63
Unwrap Datasource against an actual interface
...
This commit updates DataSourceUnwrapper to take a separate interface
type argument if the target datasource has to be unwrapped, given that
the target type is usually not an interface.
Closes gh-24697
2021-01-14 18:00:35 +01:00
Stephane Nicoll
3ecd1001a1
Upgrade to Spring Kafka 2.5.11.RELEASE
...
Closes gh-24826
2021-01-14 08:38:29 +01:00
Stephane Nicoll
696539c68f
Upgrade to Spring Integration 5.3.5.RELEASE
...
Closes gh-24825
2021-01-14 08:38:27 +01:00
Stephane Nicoll
8908969a6c
Upgrade to Spring AMQP 2.2.14.RELEASE
...
Closes gh-24824
2021-01-14 08:38:26 +01:00
Stephane Nicoll
92f132ae35
Upgrade to Netty tcNative 2.0.36.Final
...
Closes gh-24823
2021-01-14 08:38:25 +01:00
Stephane Nicoll
6f9e3a6e94
Upgrade to Netty 4.1.58.Final
...
Closes gh-24822
2021-01-14 08:38:24 +01:00
Stephane Nicoll
1dd445b6ca
Upgrade to Dependency Management Plugin 1.0.11.RELEASE
...
Closes gh-24821
2021-01-14 08:38:23 +01:00
Stephane Nicoll
6d5d8cbc2c
Upgrade to Lettuce 5.3.6.RELEASE
...
Closes gh-24801
2021-01-13 14:02:36 +01:00
Stephane Nicoll
6b353aee8d
Upgrade to Micrometer 1.5.10
...
Closes gh-24785
2021-01-13 14:01:19 +01:00
Phillip Webb
9da0bd8523
Update copyright year of changed files
2021-01-12 12:02:57 -08:00
Andy Wilkinson
7b1d07fa98
Use SpringSessionDataSource-annotated DataSource when one is available
...
Fixes gh-24624
2021-01-12 15:47:33 +00:00
Stephane Nicoll
c5d4ca933b
Upgrade to Reactor Dysprosium-SR16
...
Closes gh-24765
2021-01-12 15:00:11 +01:00
Andy Wilkinson
997505005b
Handle files larger than Integer.MAX_VALUE bytes in bootJar and bootWar
...
Fixes gh-24618
2021-01-12 13:11:46 +00:00
Stephane Nicoll
f02951fb17
Upgrade to Netty 4.1.56.Final
...
Closes gh-24764
2021-01-12 09:55:44 +01:00
Stephane Nicoll
2e69198f97
Upgrade to Neo4j OGM 3.2.19
...
Closes gh-24763
2021-01-12 09:55:43 +01:00
Stephane Nicoll
5fb1ca6043
Upgrade to Johnzon 1.2.9
...
Closes gh-24762
2021-01-12 09:55:41 +01:00
Stephane Nicoll
37f653121f
Upgrade to Jetty Reactive HTTPClient 1.1.5
...
Closes gh-24761
2021-01-12 09:55:40 +01:00
Stephane Nicoll
3ae9639cbb
Upgrade to Jackson Bom 2.11.4
...
Closes gh-24760
2021-01-12 09:55:38 +01:00
Stephane Nicoll
371e59cd80
Upgrade to Hibernate Validator 6.1.7.Final
...
Closes gh-24759
2021-01-12 09:55:37 +01:00
Stephane Nicoll
e48e48988a
Upgrade to Hibernate 5.4.27.Final
...
Closes gh-24758
2021-01-12 09:55:35 +01:00
Stephane Nicoll
66daeab221
Upgrade to Hazelcast 3.12.11
...
Closes gh-24757
2021-01-12 09:55:34 +01:00
Stephane Nicoll
682c952306
Upgrade to Dropwizard Metrics 4.1.17
...
Closes gh-24756
2021-01-12 09:55:32 +01:00
Stephane Nicoll
7ab9fad062
Upgrade to Byte Buddy 1.10.19
...
Closes gh-24755
2021-01-12 09:55:31 +01:00
Stephane Nicoll
b3bc79b10f
Upgrade to AppEngine SDK 1.9.84
...
Closes gh-24754
2021-01-12 09:55:29 +01:00
Phillip Webb
72dd3b5628
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24747
2021-01-11 14:21:56 -08:00
Phillip Webb
f9e3e0d532
Register default resource path using a Resource
...
Update `WebMvcAutoConfiguration` so that the default "/" resource path
is registered directly as a `ServletContextResource`.
Closes gh-24745
2021-01-11 14:20:46 -08:00
Andy Wilkinson
7625a979db
Configure bootRun to use project's Java toolchain by default
...
Previously, unlike the application plugin's run task, our bootRun task
ignored the project's Java toolchain. This meant that the application
was run on a JVM with the same Java version as the one being used by
Gradle itself. This could result in a failure if the application
required a more modern JVM.
This commit updates the plugin to configure the bootRun task's
JavaLauncher convention to be one derived from the project's Java
toolchain. Toolchain support was introduced in Gradle 6.7 so this is
only done when using Gradle 6.7 and later.
Fixes gh-24517
2021-01-11 11:21:53 +00:00
Andy Wilkinson
064de4e073
Check configured JavaLauncher when determining version of the JVM
...
Previously, bootRun assumed that the Java version of the JVM that would
run the application would be the same as the Java version of the JVM
that is running the build. This assumption does not hold true when
Gradle's toolchain support is used to configure tasks that fork a new
JVM to use a version other than that being used by Gradle itself.
This commit updates the BootRun task to query the JavaLauncher property
when determining the version of Java on which the application will be
run. Toolchain support and the JavaLauncher property are new in Gradle
6.7. To support earlier versions of Gradle, NoSuchMethodError is caught
we continue as if no JavaLauncher has been configured and use the local
JVM's Java version.
Fixes gh-24512
2021-01-11 10:36:16 +00:00
Andy Wilkinson
5ad4d627fd
Fix classpath index so entries match those expected by the launcher
...
This reverts commit ad164269e9
and adds
some additional tests.
Fixes gh-24192
2021-01-08 15:32:19 +00:00
Stephane Nicoll
826d79be3e
Clarify behaviour of WebServerFactory in reference guide
...
Closes gh-24705
2021-01-08 15:50:16 +01:00
Scott Frederick
a302238e21
Remove layout parameters from build-image Maven goal
...
This commit removes the `layout` and `layoutFactory` parameters
from the `build-image` goal in the Maven plugin while retaining
them for the `repackage` goal. The `build-image` goal currently
only supports jar archives, so allowing other layout types to be
configured for the goal could cause confusion.
Fixes gh-24105
2021-01-07 15:59:02 -06:00
Phillip Webb
7cbd57b635
Log FailureAnalyzer errors at trace level
...
Update `FailureAnalyzers` to log errors at `trace` rather than `debug`.
This should reduce noise when an analyzer unexpectedly fails and the
user is running with `--debug`.
Fixes gh-24630
2021-01-06 17:29:24 -08:00
Phillip Webb
a24ec9d372
Merge branch '2.2.x' into 2.3.x
2021-01-06 17:01:22 -08:00
Phillip Webb
46629ef5e4
Migrate away from pivotal-legacy/homebrew-tap
...
Update formula to use spring-boot rather than springboot. This will
allow both taps to be used at the same time.
See gh-24659
2021-01-06 16:58:05 -08:00
Phillip Webb
ef09982b39
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24680
2021-01-06 16:46:50 -08:00
Phillip Webb
25033ee5e7
Migrate away from pivotal-legacy/homebrew-tap
...
Update reference documentation to the new spring-io/homebrew-tap repo.
Closes gh-24659
2021-01-06 16:45:10 -08:00
Madhura Bhave
73a2a4b383
Consider context-path for WebTestClient baseUrl
...
Fixes gh-24168
2021-01-06 16:42:09 -08:00