Octavia Togami
264a6888a9
Refactor code to avoid using internal LazyPublishArtifact
...
See gh-30209
2022-03-15 17:09:15 +00:00
Andy Wilkinson
f11ddb4bd7
Prevent eager creation of bootWar task
...
Previously, querying the artifact's extension in
SinglePublishedArtifact would result in eager creation of the task
that creates the artifact. Typically, this is the bootWar task.
Instead of querying the extension, this commit reworks
SinglePublishedArtifact and its callers to call separate methods for
jar and war artifacts so that the extension check is no longer
required.
Tests have been added to ensure that running help does not trigger
any unexpected task creation. The tests' assertions tolerate some
variation in behavior that depend on the version of Gradle and
whether the configuration cache is enabled.
Closes gh-30211
2022-03-15 15:28:59 +00:00
Stephane Nicoll
75693c1a00
Upgrade to Reactor 2020.0.17
...
Closes gh-30169
2022-03-15 16:07:59 +01:00
Stephane Nicoll
43ba80d431
Start building against Spring Integration 5.5.10 snapshots
...
See gh-30175
2022-03-11 21:22:49 +01:00
Stephane Nicoll
9ed4086ac2
Start building against Spring WS 3.1.3 snapshots
...
See gh-30174
2022-03-11 21:22:49 +01:00
Stephane Nicoll
07b6269a69
Start building against Spring AMQP 2.3.15 snapshots
...
See gh-30173
2022-03-11 21:22:49 +01:00
Stephane Nicoll
e391215643
Start building against Spring Data 2021.0.10 snapshots
...
See gh-30172
2022-03-11 21:22:49 +01:00
Stephane Nicoll
c55f0a1eac
Start building against Micrometer 1.7.10 snapshots
...
See gh-30171
2022-03-11 21:22:48 +01:00
Stephane Nicoll
2620710480
Start building against Spring Framework 5.3.17 snapshots
...
See gh-30170
2022-03-11 21:22:48 +01:00
Stephane Nicoll
d14d0c3f04
Start building against Reactor 2020.0.17 snapshots
...
See gh-30169
2022-03-11 17:08:52 +01:00
Andy Wilkinson
eef89c6c35
Increase tests' Cassandra timeouts to 60s
...
Closes gh-30163
2022-03-11 11:02:18 +00:00
Andy Wilkinson
cced7edd9c
Document Devtools' property defaults directly in reference docs
...
Closes gh-29406
2022-03-11 08:15:40 +00:00
Andy Wilkinson
bbdef2b026
Increase timeouts in tests that use Cassandra
...
Closes gh-30163
2022-03-10 16:50:39 +00:00
Andy Wilkinson
6eacc07de0
Fix handling of Flux responses from Actuator endpoints
...
Closes gh-30095
2022-03-10 16:10:39 +00:00
Madhura Bhave
d0883ba6ef
Document the WebSocket-related exclusions that are required to use Jetty 10
...
Closes gh-29275
2022-03-09 15:40:01 -08:00
Andy Wilkinson
5264fb3d1e
Test our Gradle Plugin against Gradle 7.4.1
...
Closes gh-30139
2022-03-09 18:09:07 +00:00
Andy Wilkinson
abcc246a38
Polish
2022-03-09 15:22:24 +00:00
Andy Wilkinson
da1eb25e4b
Remove redundant JRE-based enabled and disabled annotations from tests
...
Closes gh-29693
2022-03-09 14:41:13 +00:00
Andy Wilkinson
314acd3407
Add EIGHTEEN to JavaVersion
...
Closes gh-29524
2022-03-09 14:26:19 +00:00
Andy Wilkinson
20d21d4e58
Set up CI with JDK 18
...
Closes gh-30104
2022-03-09 12:28:34 +00:00
Moritz Halbritter
d14980ed5e
Polish "Tweak performance for Prometheus scraping endpoint"
...
See gh-30085
2022-03-09 12:08:55 +01:00
Peter Paul Bakker
fb3f3c52cf
Tweak performance for Prometheus scraping endpoint
...
Reduce the number of times capacity growth is needed inside the StringWriter.
A typical default SpringBoot Prometheus page has more than 11k characters.
Best performance results when no capacity growth is needed at all, so base
it on previous metrics page size plus some room for possible extra metric info.
See gh-30085
2022-03-09 12:08:26 +01:00
fml2
80b90ed386
Fix typo
...
See gh-30118
2022-03-09 08:28:44 +01:00
Madhura Bhave
ef7d7487fa
Document when config data properties are invalid
...
This commit also reinstates documentation for
`spring.profiles.include`
Closes gh-25849
Closes gh-28451
2022-03-08 21:58:43 -08:00
Madhura Bhave
7d63faac7c
Document the scalar types supported by MapBinder
...
Closes gh-27581
2022-03-08 18:12:21 -08:00
Madhura Bhave
d240e293db
Document how to obtain ServletContext with an embedded container setup
...
Closes gh-24561
2022-03-08 17:34:35 -08:00
Andy Wilkinson
708e57eafb
Register metrics for wrapped R2DBC ConnectionPools
...
Closes gh-30090
2022-03-08 13:55:34 +00:00
Andy Wilkinson
e7705f4f71
Improve condition message produced by @ConditionalOnSingleCandidate
...
Closes gh-30073
2022-03-08 13:51:38 +00:00
Madhura Bhave
480ccc6175
Clarify devtools documentation when using with build plugins
...
Closes gh-17851
2022-03-07 21:52:43 -08:00
Madhura Bhave
9b073c825b
Fix checkstyle
2022-03-07 20:22:27 -08:00
Madhura Bhave
ed8f8d59ef
Document how to structure configurations for efficient slice tests
...
Closes gh-16088
2022-03-07 18:21:12 -08:00
Moritz Halbritter
f3eb90046f
Remove @Repeatable support for @DisabledOnOs
...
We'll add it back again when we need it, and delay the naming issue.
See gh-30082
2022-03-07 14:10:13 +01:00
Moritz Halbritter
be38311c5d
Disable incompatible tests on Linux AArch64
...
- Adds a new @DisableOnOs annotation, which is inspired from JUnit5s
@DisableOnOs annotation. This new annotation supports the architecture
and is repeatable
Closes gh-30082
2022-03-07 13:22:17 +01:00
Stephane Nicoll
cf9cc82025
Update copyright year of change file
...
See gh-30074
2022-03-07 09:47:12 +01:00
hak7a3
0a035c7fa6
Fix references to spring.data.cassandra.connection.connect-timeout
...
See gh-30074
2022-03-07 09:42:43 +01:00
Andy Wilkinson
1872af056e
Make it clearer that the generated password is not for production use
...
Closes gh-30061
2022-03-04 17:55:54 +00:00
Lars Grefer
99a8374249
Use Gradle's configuration avoidance APIs in the reference docs
...
See gh-30000
2022-03-03 20:38:35 +00:00
Andy Wilkinson
e7566e968e
Use configuration avoidance APIs in Gradle plugin's docs
...
Closes gh-30056
2022-03-03 20:27:46 +00:00
Andy Wilkinson
7dce772d67
Polish "Update placeholder docs to mention env vars and default values"
...
See gh-30012
2022-03-03 12:07:38 +00:00
Kirill Marchuk
2644a2b897
Update placeholder docs to mention env vars and default values
...
See gh-30012
2022-03-03 11:48:50 +00:00
wonwoo
c2bf0d551b
Polish RestController examples
...
See gh-30027
2022-03-03 11:26:11 +00:00
Andy Wilkinson
34e436ef6e
Accommodate SocketException when reading from stopped TunnelClient
...
TunnelClientTests stopTriggersTunnelClose expects that stopping the
client will cause an attempt to read from a connected channel to
return -1. With Java 17 on Windows the connection has been reset and
a SocketException is thrown instead. This seems reasonable as
stopping the client closes the ServerSocketChannel to which the test
was connected.
This commit updates test to expect a SocketException or a return
value of -1.
Closes gh-30042
2022-03-03 10:30:54 +00:00
Andy Wilkinson
35e5b4329e
Provide complete dependency management for Netty tcNative
...
Closes gh-30010
2022-03-02 15:55:15 +00:00
Andy Wilkinson
4073cf8334
Only apply special handling of META-INF to jar files
...
The changes for gh-28562 attempted to align the Gradle plugin's
handling of META-INF with the Maven plugin's behavior. Unfortunately,
they want too far, applying the handling to both jar and war files
when the Maven plugin only applies it to jar files.
This commit reworks the changes so that they only apply to jar files.
Closes gh-30026
2022-03-02 15:19:09 +00:00
izeye
140d24d567
Remove redundant ConditionalOnMissingFilterBean
...
See gh-29983
2022-03-02 11:40:44 +00:00
Andy Wilkinson
35f9358eb2
Manage more of Kafka's modules
...
Closes gh-29023
2022-03-02 11:06:25 +00:00
Andy Wilkinson
a265f150ac
Improve parsing of numeric default values
...
Previously, all integral numbers were parsed as integers. This
caused two problems:
1. Compilation would fail if the default value for a long wasn't a
valid integer.
2. The default value for a byte or short could be out of range,
resulting in the generation of invalid metadata and an error
that could have been caught at compile time not being caught
until runtime.
This commit updates the parsing of all numeric values to use the
parse method of the target primitive type. For example,
Short.parseShort(String) is now used to parse a short.
Fixes gh-30020
2022-03-01 17:38:19 +00:00
Andy Wilkinson
355f80ab98
Add links to Spring Boot for Apache Geode and its documentation
...
Closes gh-29697
2022-03-01 12:13:58 +00:00
Andy Wilkinson
7bc336cdc6
Use an ephemeral port to avoid potential port clash
...
Closes gh-30007
2022-02-28 10:54:31 +00:00
Stephane Nicoll
b60b5feefe
Add explicit dependency on inject-api
...
This commit clarifies the build as a test needs inject-api and it works
only by side effect as another library has repackaged this API.
Closes gh-29990
2022-02-24 15:12:09 +01:00
Phillip Webb
57009d5623
Polish
2022-02-23 21:43:42 -08:00
Madhura Bhave
67b13ee4c7
Document that placeholders in @DefaultValue annotations are not resolved
...
Closes gh-23164
2022-02-23 15:27:43 -08:00
Madhura Bhave
cc95f734d7
Clarify relation of import path to resultant properties in configtree import data
...
Closes gh-29606
2022-02-23 15:09:42 -08:00
Stephane Nicoll
479a4e693c
Upgrade to Spring Batch 4.3.5
...
Closes gh-29714
2022-02-23 16:58:39 +01:00
Stephane Nicoll
773b025208
Upgrade to Netty tcNative 2.0.50.Final
...
Closes gh-29973
2022-02-23 16:57:32 +01:00
Stephane Nicoll
776ccf77a7
Upgrade to Spring Session 2021.0.5
...
Closes gh-29715
2022-02-23 16:17:52 +01:00
Andy Wilkinson
7aca75c58c
Preserve ObjectName property order when name is unchanged
...
Closes gh-29953
2022-02-23 11:30:21 +00:00
Andy Wilkinson
9c9e04b8e4
Use mainClass rather than deprecated main in BootRun examples
...
Closes gh-29965
2022-02-23 08:59:04 +00:00
Stephane Nicoll
ee7426a555
Upgrade to Spring Integration 5.5.9
...
Closes gh-29962
2022-02-23 08:21:14 +01:00
Stephane Nicoll
3f2d01628d
Upgrade to Spring Kafka 2.7.11
...
Closes gh-29712
2022-02-23 08:19:08 +01:00
Madhura Bhave
a70fa80571
Rectify incorrect sanitizing regex example provided in how-to docs
...
Closes gh-29951
2022-02-22 15:44:50 -08:00
Andy Wilkinson
1e8d29f7aa
Configure Kotlin compilation JVM target by convention
...
Closes gh-29952
2022-02-22 18:11:51 +00:00
Stephane Nicoll
49337f30da
Upgrade to Netty tcNative 2.0.49.Final
...
Closes gh-29936
2022-02-22 08:43:16 +01:00
UbaidurRehman1
7b48c51689
Clarify that any property of the environment can be used in a banner
...
See gh-29931
2022-02-22 08:30:07 +01:00
Andy Wilkinson
ca2dbf39ec
Upgrade to Jetty Reactive HTTPClient 1.1.11
...
Closes gh-29927
2022-02-21 14:26:48 +00:00
Andy Wilkinson
df6959679c
Upgrade to AppEngine SDK 1.9.95
...
Closes gh-29926
2022-02-21 14:26:45 +00:00
Andy Wilkinson
7db9bb94cd
Upgrade to ActiveMQ 5.16.4
...
Closes gh-29925
2022-02-21 14:26:42 +00:00
Andy Wilkinson
21fb273ec3
Upgrade to Spring Security 5.5.5
...
Closes gh-29713
2022-02-21 14:08:16 +00:00
Andy Wilkinson
55f68989d8
Remove redundant action to make plugins dat file reproducible
...
Closes gh-29917
2022-02-21 14:01:04 +00:00
Stephane Nicoll
92cd51e6b0
Polish "Clarify log message with a profile containing a comma"
...
See gh-29896
2022-02-21 09:00:27 +01:00
gcoppex
c8466a14e9
Clarify log message with a profile containing a comma
...
See gh-29896
2022-02-21 08:28:10 +01:00
Andy Wilkinson
5baa71f1b3
Allow beans with circular dependencies to be spied
...
Closes gh-29639
2022-02-19 11:35:58 +00:00
Andy Wilkinson
1c4fc7d3fa
Upgrade to Spring Data 2021.0.9
...
Closes gh-29711
2022-02-19 07:59:10 +00:00
Stephane Nicoll
6bf172f0f2
Upgrade to Spring LDAP 2.3.6
...
Closes gh-29710
2022-02-18 17:02:39 +01:00
Brian Clozel
00114f9d61
Deregister failed contexts from SpringApplicationShutdownHook
...
Prior to this change, SpringApplication would register contexts to
SpringApplicationShutdownHook and only deregister them when they're
properly closed. A failed refresh attempt does not deregister the
context from the shutdown hook.
When a test suite runs lots of tests failing because of failed contexts,
this can build up and consume lots of resources.
This commit fixes this leak and deregisters failed contexts.
Fixes gh-29874
2022-02-18 13:54:14 +01:00
Andy Wilkinson
c676b8b84d
Remove KafkaPropertiesKafka24Tests
...
We now use Kafka 2.7 by default so tests against 2.4 are no longer
required.
Closes gh-29882
2022-02-18 11:41:24 +00:00
Andy Wilkinson
ac38a5a3e9
Update javadoc to reflect move to SecurityFilterChain
...
Closes gh-29900
2022-02-18 11:05:48 +00:00
Stephane Nicoll
b1cfa402e8
Upgrade to Spring Framework 5.3.16
...
Closes gh-29709
2022-02-17 11:11:57 +01:00
Stephane Nicoll
0fba81adf0
Upgrade to Micrometer 1.7.9
...
Closes gh-29708
2022-02-17 09:59:40 +01:00
Phillip Webb
c86b1330cf
Update copyright year of changed files
2022-02-16 17:56:19 -08:00
Phillip Webb
9ab1b669d0
Polish
2022-02-16 17:56:07 -08:00
Andy Wilkinson
03352b0a8c
Prohibit use of APIs that prevent task configuration avoidance
...
Closes gh-29809
2022-02-16 14:57:47 +00:00
Stephane Nicoll
865a829d29
Prevent upgrade to AspectJ 1.9.8 as it requires Java 11
2022-02-16 14:31:26 +01:00
izeye
6bd6f590d3
Fix Javadoc since for ResolveMainClassName#setClasspath(Object)
...
See gh-29826
2022-02-16 12:00:31 +00:00
Stephane Nicoll
f3af035941
Remove usage of SocketUtils in tests
...
Closes gh-29821
2022-02-15 16:17:21 +01:00
Stephane Nicoll
f180397998
Upgrade to Reactor 2020.0.16
...
Closes gh-29707
2022-02-15 15:09:21 +01:00
Andy Wilkinson
c84b35c460
Polish "Avoid using Gradle APIs that trigger eager task creation"
...
See gh-29762
2022-02-15 08:36:29 +00:00
Lars Grefer
7cd87acd73
Avoid using Gradle APIs that trigger eager task creation
...
See gh-29762
2022-02-15 08:24:14 +00:00
dreis2211
39394b9c2b
Link to Integration section of the appendix for Kafka properties
...
See gh-29758
2022-02-14 14:25:40 +00:00
Stephane Nicoll
4ee7b4b25a
Upgrade to Undertow 2.2.16.Final
...
Closes gh-29781
2022-02-14 13:43:25 +01:00
Stephane Nicoll
e9eba82c6c
Upgrade to Thymeleaf 3.0.15.RELEASE
...
Closes gh-29779
2022-02-14 13:43:24 +01:00
Stephane Nicoll
0440147f41
Upgrade to SLF4J 1.7.36
...
Closes gh-29778
2022-02-14 13:43:24 +01:00
Stephane Nicoll
ea609ae697
Upgrade to Postgresql 42.2.25
...
Closes gh-29777
2022-02-14 13:43:24 +01:00
Stephane Nicoll
1c1bf932b2
Upgrade to Netty tcNative 2.0.48.Final
...
Closes gh-29776
2022-02-14 13:43:24 +01:00
Stephane Nicoll
66cc3e7730
Upgrade to Netty 4.1.74.Final
...
Closes gh-29775
2022-02-14 13:43:24 +01:00
Stephane Nicoll
f29152496a
Upgrade to Neo4j Java Driver 4.2.9
...
Closes gh-29774
2022-02-14 13:43:23 +01:00
Stephane Nicoll
4f98bfd39d
Upgrade to Json-smart 2.4.8
...
Closes gh-29773
2022-02-14 13:43:23 +01:00
Stephane Nicoll
7de763f2d7
Upgrade to Johnzon 1.2.16
...
Closes gh-29772
2022-02-14 13:43:23 +01:00
Stephane Nicoll
a99582a3bb
Upgrade to Jetty 9.4.45.v20220203
...
Closes gh-29771
2022-02-14 13:43:23 +01:00
Stephane Nicoll
1cdb75f780
Upgrade to Hibernate Validator 6.2.2.Final
...
Closes gh-29770
2022-02-14 13:43:23 +01:00
Stephane Nicoll
2485c05a50
Upgrade to Glassfish JAXB 2.3.6
...
Closes gh-29769
2022-02-14 13:43:23 +01:00
Stephane Nicoll
6c09d4d7a1
Upgrade to Dropwizard Metrics 4.1.30
...
Closes gh-29768
2022-02-14 13:43:22 +01:00
Stephane Nicoll
81aec09357
Upgrade to AppEngine SDK 1.9.94
...
Closes gh-29767
2022-02-14 13:43:22 +01:00
Andy Wilkinson
1fd4a4d86b
Remove code related to unsupported versions of Gradle
...
Closes gh-29681
2022-02-14 12:31:21 +00:00
Stephane Nicoll
1f01345057
Fix assertion due to toString change in Spring Framework
2022-02-13 18:01:00 +01:00
Andy Wilkinson
387795d4db
Remove trailing space from media type for ots mapping
...
The regular expression in the new test is intended to match the
documented [1] ABNF for a media type:
type-name = reg-name
subtype-name = reg-name
reg-name = 1*127reg-name-chars
reg-name-chars = ALPHA / DIGIT / "!" /
"#" / "$" / "&" / "." /
"+" / "-" / "^" / "_"
Closes gh-29746
[1] https://datatracker.ietf.org/doc/html/rfc4288#section-4.2
2022-02-11 14:09:53 +00:00
Andy Wilkinson
c3eee4ad68
Align Gradle's plugin's META-INF repackaging with Maven plugin's
...
Closes gh-28562
2022-02-11 13:32:52 +00:00
Andy Wilkinson
c46b45a1e3
Add dependency management for liquibase-cdi
...
Closes gh-29676
2022-02-11 11:34:51 +00:00
Stephane Nicoll
e242dc5ce8
Start building against Spring Session 2021.0.5 snapshots
...
See gh-29715
2022-02-11 09:29:06 +01:00
Stephane Nicoll
7afd33589f
Start building against Spring Batch 4.3.5 snapshots
...
See gh-29714
2022-02-11 09:28:41 +01:00
Stephane Nicoll
3c3ebafa31
Start building against Spring Security 5.5.5 snapshots
...
See gh-29713
2022-02-11 09:28:17 +01:00
Stephane Nicoll
b892bb4415
Start building against Spring Kafka 2.7.11 snapshots
...
See gh-29712
2022-02-11 09:27:52 +01:00
Stephane Nicoll
cd94b27f2d
Start building against Spring Data 2021.0.9 snapshots
...
See gh-29711
2022-02-11 09:27:28 +01:00
Stephane Nicoll
29d502da5b
Start building against Spring LDAP 2.3.6 snapshots
...
See gh-29710
2022-02-11 09:27:05 +01:00
Stephane Nicoll
d15149c1a3
Start building against Spring Framework 5.3.16 snapshots
...
See gh-29709
2022-02-11 09:26:35 +01:00
Stephane Nicoll
0f630debb3
Start building against Micrometer 1.7.9 snapshots
...
See gh-29708
2022-02-11 09:26:11 +01:00
Stephane Nicoll
5767e1fda1
Start building against Reactor 2020.0.16 snapshots
...
See gh-29707
2022-02-11 09:25:38 +01:00
Andy Wilkinson
6901f6dab2
Test our Gradle plugin against Gradle 7.4
...
Closes gh-29673
2022-02-10 16:57:13 +00:00
Andy Wilkinson
64ee54423a
Polish "Configure ForwardedHeaderFilter with Tomcat's use relative redirects"
...
See gh-29333
2022-02-10 15:01:57 +00:00
Guirong Hu
cec69feb95
Configure ForwardedHeaderFilter with Tomcat's use relative redirects
...
Previously, when Tomcat was configured to use relative redirects
and the ForwardedHeaderFilter is in use, the filter would ignore
the use of the relative redirects.
This commit corrects this misalignment by applying Tomcat's use
relative redirects setting to the filter, but only when Tomcat is
being used as the servlet container.
See gh-29333
2022-02-10 15:01:56 +00:00
Moritz Halbritter
096ba72a39
Add documentation for WebMvc.fn
...
See gh-29683
2022-02-10 13:14:34 +01:00
Moritz Halbritter
262db65a38
Ignore invalid stream types when reading log update events
...
See gh-29675
2022-02-09 14:03:02 +01:00
Moritz Halbritter
52d9ba58d8
Move appendix subsections under appendix section
...
This involved a small code change to the generated configuration
properties snippets. The section id has to start with
'appendix.', otherwise the section-id asciidoctor extension
complains. To ensure that the anchors that are derived from the
section IDs remain backwards compatible, the anchor-rewrite
properties have been updated.
See gh-29667
2022-02-09 12:04:05 +00:00
Andy Wilkinson
48fe1513fe
Test documented build script snippets when they change
...
Closes gh-29684
2022-02-09 11:33:40 +00:00
Mike Partridge
2e9dcdd96d
Replace use of classifier with archiveClassifier
...
classifier has been deprecated so the docs should be using its
replacement, archiveClassifier, instead.
See gh-29611
2022-02-09 11:31:22 +00:00
Andy Wilkinson
43ca2d2cb0
Access classpath lazily to allow later changes to be picked up
...
Previously, the classpath of bootJar, bootWar, and bootRun was
configured directly as a FileCollection derived from the main source
set's runtime classpath. This direct configuration meant that
subsequent changes to the main source set's runtime classpath may not
have been picked up.
This commit changes the configuration of the classpath to use a
Callable. This indirection allows subsequent changes to the main
source set's runtime classpath to be picked up as long as they
occur before Gradle calls the callable.
Closes gh-29672
2022-02-08 19:21:37 +00:00
Phillip Webb
52f1799c20
Polish formatting
2022-02-05 10:15:43 -08:00
Phillip Webb
12a33a2eaf
Upgrade to spring-asciidoctor-backends 0.0.3
...
Closes gh-29656
2022-02-04 19:43:47 -08:00
Stephane Nicoll
48649192cb
Fix schema file name for Batch auto-configuration tests
...
Closes gh-29648
2022-02-04 09:49:15 +01:00
Phillip Webb
2b40ce09d8
Update copyright year of changed files
2022-02-02 10:35:40 -08:00
Phillip Webb
5975cdc5ed
Polish formatting
2022-02-02 10:35:10 -08:00
Stephane Nicoll
5fe6176966
Polish "Add a note on early init with @ConditionalOnExpression"
...
See gh-29276
2022-02-01 16:32:27 +01:00
Mihail Cornescu
fce3cd1684
Add a note on early init with @ConditionalOnExpression
...
See gh-29276
2022-02-01 16:24:13 +01:00
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
2022-02-01 10:03:18 +01:00
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
2022-02-01 09:37:15 +01:00
Stephane Nicoll
ab0b29cb53
Polish "Make classloader customization easier to discover"
...
See gh-29438
2022-01-31 16:38:38 +01:00
Andreas Ahlenstorf
96f48db2ab
Make classloader customization easier to discover
...
See gh-29438
2022-01-31 16:28:28 +01:00
Stephane Nicoll
0d78ff0657
Polish "Use a timeout when joining threads in HttpTunnelServerTests"
...
See gh-29522
2022-01-31 16:22:28 +01:00
Leo Li
940d969c7c
Use a timeout when joining threads in HttpTunnelServerTests
...
See gh-29522
2022-01-31 16:01:04 +01:00
Andy Wilkinson
3ed65f2383
Avoid running Maven plugin ITs for each s-b-dependencies change
...
Closes gh-28781
2022-01-25 12:11:19 +00:00
Lachlan Roberts
f1bbce1aac
Do not modify AliasChecks list from Jetty WebAppContext
...
Closes gh-29555
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-01-25 08:58:42 +01:00
Scott Frederick
000cbfa2d9
Set file permissions on all created test files
...
Closes gh-29551
2022-01-24 16:19:20 -06:00
Axel Fontaine
48817587e6
Rename Boxfuse to CloudCaptain
...
See gh-29523
2022-01-24 09:35:44 +01:00
Janne Valkealahti
d821f86b8e
Upgrade reference of gradle-git-properties to 2.3.2
...
See gh-29535
2022-01-24 09:28:53 +01:00
Stephane Nicoll
6ae5bfb728
Upgrade to MariaDB 2.7.5
...
Closes gh-29496
2022-01-20 10:29:26 +01:00
Phillip Webb
d211b0f3b3
Disable test is Docker is not available
...
See gh-28843
2022-01-19 15:53:07 -08:00
Andy Wilkinson
1b3d088056
Move JdbcSessionDataSourceInitializerTests into src/test/java
...
Closes gh-29484
2022-01-19 17:26:55 +00:00
Andy Wilkinson
9cb66d55d1
Refer to Maven Resolver rather than Aether
...
Closes gh-29255
2022-01-19 13:18:05 +00:00
Stephane Nicoll
4eb458f7d8
Prevent early resolution of factory beans
...
This commit updates DatabaseInitializationDependencyConfigurer so that
it does not inject the Environment anymore. Doing so in such a low-level
callback can lead to early resolution of factory beans. Rather, this
commit uses the EnvironmentAware callback that short-circuit dependency
resolution.
Closes gh-29475
2022-01-19 11:49:56 +01:00
Stephane Nicoll
cdd479556f
Upgrade to Pooled JMS 1.2.3
...
Closes gh-29466
2022-01-19 08:12:08 +01:00
Stephane Nicoll
849fb8e435
Upgrade to Netty tcNative 2.0.47.Final
...
Closes gh-29465
2022-01-19 08:12:07 +01:00
Stephane Nicoll
3a043603e8
Upgrade to MySQL 8.0.28
...
Closes gh-29464
2022-01-19 08:12:06 +01:00
Stephane Nicoll
2782c3b077
Upgrade to Spring Integration 5.5.8
...
Closes gh-29314
2022-01-19 08:09:50 +01:00
Phillip Webb
3d46b06e8d
Fix config data placeholder resolution active document logic
...
Update `ConfigDataEnvironmentContributor.isActive` so that unbound
imports are no longer considered active. Prior to this commit, any
`ConfigDataEnvironmentContributor` that had `null` properties was
considered active. This is incorrect for `Kind.UNBOUND_IMPORT`
contributors since we haven't yet bound the `spring.config.*`
properties.
The `ConfigDataEnvironmentContributorPlaceholdersResolver` has been
updated to handle the refined logic. A placeholder can now be resolved
from the current contributor, or from an unbound contributor by binding
it on the fly.
Fixes gh-29386
2022-01-18 16:14:52 -08:00
Andy Wilkinson
1c6471ef60
Register AprLifecycleListener with Server not Context
...
Fixes gh-28814
2022-01-18 20:34:08 +00:00
Andy Wilkinson
75187349e8
Upgrade to Spring REST Docs 2.0.6.RELEASE
...
Closes gh-29321
2022-01-17 13:05:15 +00:00
Stephane Nicoll
e545441f01
Upgrade to Spring Kafka 2.7.10
...
Closes gh-29313
2022-01-17 08:41:47 +01:00
Phillip Webb
bccc9c1861
Refine ConfigurationPropertySources attach logic
...
Refine `ConfigurationPropertySources.attach` logic to endure that
the attached or reattached source is always first.
See gh-29409
2022-01-14 22:55:26 -08:00
Phillip Webb
79d9549805
Fix ConfigurationPropertySources attach logic
...
Fix `ConfigurationPropertySources.attach` so that repeated calls to the
same source no longer create a new instance.
Fixes gh-29409
2022-01-14 20:32:34 -08:00
Phillip Webb
3f7bf7d34f
Modify SpringApplication Environment rather than setting it
...
Update `SpringBootContextLoader` so that when possible the
`SpringApplication` remains in control of creating the `Environment`
instance.
Prior to this commit, we would always create the `Environment` in the
`SpringBootContextLoader` and then call `setEnvironment` on the
`SpringApplication`. This meant that the `ApplicationEnvironment`
classes were not used and that `isCustomEnvironment` was set to `true`
so no conversion was applied.
With the updated code, an `ApplicationListener` is used to mutate the
`Environment` instance and add the required test property sources.
Fixes gh-29169
2022-01-14 13:47:22 -08:00
Andy Wilkinson
e8cbec0836
Clarify documentation of RestTemplate customization
...
Closes gh-29394
2022-01-14 15:51:08 +00:00
Andy Wilkinson
d051146eb4
Use Testcontainers instead on Embedded Mongo
...
We've seen some problems, particularly on CI, where Embedded Mongo
hangs while trying to start the Mongo process. To limit the problem,
this commit replaces the use of Embedded Mongo with Testcontainers
where we can, leaving Embedded Mongo in use only where we're
specifically testing our Embedded Mongo support.
Closes gh-28843
2022-01-14 15:48:31 +00:00
Stephane Nicoll
5883b22e01
Upgrade to SLF4J 1.7.33
...
Closes gh-29392
2022-01-14 12:21:04 +01:00
Stephane Nicoll
1e22504d21
Upgrade to R2DBC Bom Arabba-SR12
...
Closes gh-29391
2022-01-14 12:21:02 +01:00
Stephane Nicoll
251f4e8a3f
Upgrade to Spring AMQP 2.3.14
...
Closes gh-29312
2022-01-14 12:12:00 +01:00
Stephane Nicoll
777361421c
Upgrade to Spring Data 2021.0.8
...
Closes gh-29311
2022-01-14 12:11:30 +01:00
Stephane Nicoll
37a44f45a0
Upgrade to Spring HATEOAS 1.3.7
...
Closes gh-29352
2022-01-14 12:10:46 +01:00
Stephane Nicoll
aa0a788800
Upgrade to Micrometer 1.7.8
...
Closes gh-29310
2022-01-13 14:36:51 +01:00
Stephane Nicoll
5428106925
Upgrade to Spring Framework 5.3.15
...
Closes gh-29326
2022-01-13 14:36:10 +01:00
Stephane Nicoll
5f03ace40f
Update copyright year of changed file
...
See gh-29112
2022-01-13 08:43:03 +01:00
izeye
74c522c745
Polish SpringBootContextLoaderTests
...
See gh-29112
2022-01-13 08:42:36 +01:00
Phillip Webb
27ad0804f5
Update copyright year of changed files
2022-01-12 15:42:25 -08:00
Phillip Webb
eb6b48fff0
Use side-effect free environment with tests rather than converting
...
Refine the logic introduced in 64270eca
to use a side-effect free
Environment implementation rather than converting the Environment early.
Early conversion can cause condition evaluation issues if
`src/test/resources/application.properties` files are bound to the
`SpringApplication`. Specifically the `spring.main.web-application-type`
property can change the `Environment` type which must happen before
conditions are evaluated.
Fixes gh-29169
2022-01-12 14:21:52 -08:00
Phillip Webb
9cf55808fb
Ensure run user actually exists
...
Update `launch.script` so that the `run_user` variable is only set when
the user actually exists. Prior to this commit, if the jar file was
owned by a non-existing user the startup script could fail.
Fixes gh-29370
2022-01-12 14:05:30 -08:00
Phillip Webb
827309f36f
Upgrade to Testcontainers 1.16.2
...
Closes gh-29366
2022-01-12 13:52:43 -08:00
Stephane Nicoll
ca39780ff3
Upgrade to Netty 4.1.73.Final
...
Closes gh-29341
2022-01-12 13:51:24 +01:00
Stephane Nicoll
cb1db78c37
Upgrade to Maven Jar Plugin 3.2.2
...
Closes gh-29340
2022-01-12 13:51:23 +01:00
Stephane Nicoll
db9097b0d6
Upgrade to Logback 1.2.10
...
Closes gh-29339
2022-01-12 13:51:21 +01:00
Stephane Nicoll
d23a665bdc
Upgrade to Lettuce 6.1.6.RELEASE
...
Closes gh-29338
2022-01-12 13:51:20 +01:00
Stephane Nicoll
36811f9e1e
Upgrade to JBoss Logging 3.4.3.Final
...
Closes gh-29337
2022-01-12 13:51:19 +01:00
Stephane Nicoll
7125bd3779
Upgrade to Jaybird 4.0.5.java8
...
Closes gh-29336
2022-01-12 13:51:18 +01:00
Stephane Nicoll
404fb521ec
Upgrade to Infinispan 12.1.11.Final
...
Closes gh-29335
2022-01-12 13:51:17 +01:00
Stephane Nicoll
33da06cff0
Upgrade to HttpCore5 5.1.3
...
Closes gh-29334
2022-01-12 13:51:15 +01:00
Stephane Nicoll
b5407e6e8e
Start building against Spring Framework 5.3.15 snapshots
...
See gh-29326
2022-01-12 09:29:36 +01:00
Andy Wilkinson
27eaaa9442
Start building against Spring REST Docs 2.0.6 snapshots
...
See gh-29321
2022-01-11 20:09:39 +00:00
Stephane Nicoll
c2925f8e84
Start building against Spring Integration 5.5.8 snapshots
...
See gh-29314
2022-01-11 17:22:20 +01:00
Stephane Nicoll
116427c78e
Start building against Spring Kafka 2.7.10 snapshots
...
See gh-29313
2022-01-11 17:22:20 +01:00
Stephane Nicoll
53fcf0971e
Start building against Spring AMQP 2.3.14 snapshots
...
See gh-29312
2022-01-11 17:22:20 +01:00
Stephane Nicoll
72e72bda67
Start building against Micrometer 1.7.8 snapshots
...
See gh-29310
2022-01-11 17:22:19 +01:00
Stephane Nicoll
79fd0ad30a
Upgrade to Reactor 2020.0.15
...
Closes gh-29309
2022-01-11 17:22:18 +01:00
Andy Wilkinson
41b01cc289
Only write parent entries when entry is new
...
Previously, when writing a repackaged jar, an attempt to write all of
an entry's parent directories would always be made, irrespective of
whether or not the entry itself had already been written. This was
inefficient as, due to the way that the jar is written, once an entry
itself has been written, we know that all of its parent directories
will also have been written.
This commit updates the jar writer so that no attempt is made to
write parent directory entries if the entry itself has already been
written.
Fixes gh-29175
2022-01-05 11:49:48 +00:00
Phillip Webb
9a6f35cd8e
Update copyright year of changed files
2022-01-04 12:23:53 -08:00
Phillip Webb
0fcdab3936
Update copyright year of changed files
2022-01-04 12:17:10 -08:00
Stephane Nicoll
04ce0e65cd
Polish assertion
2022-01-03 09:26:22 +01:00
dreis2211
7a87d18b12
Update copyrights to 2022
...
See gh-29195
2022-01-02 11:24:58 +01:00
Stephane Nicoll
4b6aa81687
Upgrade to Log4j2 2.17.1
...
Closes gh-29183
2021-12-29 11:29:25 +01:00
izeye
9a6c1c531d
Test our Gradle plugin against Gradle 7.3.3
...
See gh-29161
2021-12-25 09:52:14 +01:00
Stephane Nicoll
369046c37d
Upgrade to Spring Integration 5.5.7
...
Closes gh-28966
2021-12-21 17:09:38 +01:00
Stephane Nicoll
f3621702fb
Upgrade to Hazelcast 4.1.8
...
Closes gh-29145
2021-12-21 14:24:50 +01:00
Stephane Nicoll
a6350f2307
Upgrade to Spring Session 2021.0.4
...
Closes gh-28965
2021-12-21 14:00:18 +01:00
Stephane Nicoll
b1ab3b8898
Revert "Upgrade to Spring Kafka 2.7.10"
...
See gh-29114
2021-12-21 09:30:44 +01:00
Stephane Nicoll
44a9145bf8
Upgrade to Spring Security 5.5.4
...
Closes gh-28964
2021-12-21 09:04:47 +01:00
Stephane Nicoll
6f8e1166c6
Upgrade to Spring Kafka 2.7.10
...
Closes gh-29114
2021-12-21 09:04:05 +01:00
Stephane Nicoll
b2c2e6d0ca
Upgrade to Spring AMQP 2.3.13
...
Closes gh-28994
2021-12-21 09:03:40 +01:00
Scott Frederick
e4b0575a12
Do not consider bridge methods when binding java bean properties
...
Fixes gh-28917
2021-12-20 13:57:36 -06:00
Madhura Bhave
99e650bd27
Document devtools remote support not available with WebFlux
...
Closes gh-28955
2021-12-20 09:19:34 -08:00
Pavel Anisimov
b704ee0b30
Polish reference doc
...
See gh-29115
2021-12-20 12:36:33 +01:00
Stephane Nicoll
fbb7f12f43
Upgrade to XmlUnit2 2.8.4
...
Closes gh-29123
2021-12-20 10:48:17 +01:00
Stephane Nicoll
620c6ec275
Upgrade to Infinispan 12.1.10.Final
...
Closes gh-29121
2021-12-20 09:57:12 +01:00
Stephane Nicoll
d0cd7dcf60
Upgrade to Hibernate 5.4.33
...
Closes gh-29120
2021-12-20 09:57:11 +01:00
Stephane Nicoll
cb81801907
Upgrade to Ehcache3 3.9.9
...
Closes gh-29119
2021-12-20 09:57:10 +01:00
Stephane Nicoll
d8d97df34a
Upgrade to Dropwizard Metrics 4.1.29
...
Closes gh-29118
2021-12-20 09:57:08 +01:00
Stephane Nicoll
8306287158
Upgrade to DB2 JDBC 11.5.7.0
...
Closes gh-29117
2021-12-20 09:57:06 +01:00
Stephane Nicoll
f619d66244
Upgrade to Spring LDAP 2.3.5
...
Closes gh-28963
2021-12-19 18:45:23 +01:00
Stephane Nicoll
aab30b13b3
Start building against Spring Kafka 2.7.10 snapshots
...
See gh-29114
2021-12-19 18:30:54 +01:00
Stephane Nicoll
cb02944c71
Upgrade to Log4j2 2.17.0
...
Closes gh-28983
2021-12-18 08:52:22 +01:00
Andy Wilkinson
2fec06ac7e
Find annotation without initializing factory beans
...
Closes gh-28977
2021-12-17 16:08:30 +01:00
Brian Clozel
5d0206320a
Upgrade to Logback 1.2.9
...
Closes gh-29011
2021-12-17 12:13:02 +01:00
Pavel Anisimov
415c58e21b
Polish CacheManager customization section in reference doc
...
See gh-29094
2021-12-17 10:48:55 +01:00
Stephane Nicoll
8c9d398422
Test our Gradle plugin against Gradle 7.3.2
...
Closes gh-29093
2021-12-17 09:11:44 +01:00
Phillip Webb
f3bcbca841
Update copyright year of changed files
2021-12-16 13:05:17 -08:00
Stephane Nicoll
b8bf2cbbc7
Upgrade to Spring Framework 5.3.14
...
Closes gh-28961
2021-12-16 17:50:18 +01:00
Stephane Nicoll
30ebb17b2b
Polish
2021-12-15 16:38:27 +01:00
Stephane Nicoll
28214e1e8c
Upgrade to Reactor 2020.0.14
...
Closes gh-28960
2021-12-15 15:11:38 +01:00
Stephane Nicoll
97ee63b55b
Upgrade to Undertow 2.2.14.Final
...
Closes gh-29051
2021-12-15 14:01:27 +01:00
Stephane Nicoll
74ce8b7516
Upgrade to Thymeleaf 3.0.14.RELEASE
...
Closes gh-29049
2021-12-15 14:01:25 +01:00
Stephane Nicoll
e234ccd457
Upgrade to Spring WS 3.1.2
...
Closes gh-29048
2021-12-15 14:01:24 +01:00
Stephane Nicoll
272e184259
Upgrade to JDOM2 2.0.6.1
...
Closes gh-29046
2021-12-15 14:01:21 +01:00
Stephane Nicoll
084eae5124
Upgrade to Jackson Bom 2.12.6
...
Closes gh-29045
2021-12-15 14:01:20 +01:00
Stephane Nicoll
d60c0593f3
Upgrade to HttpCore 4.4.15
...
Closes gh-29044
2021-12-15 14:01:19 +01:00
Stephane Nicoll
8c10266c62
Upgrade to HttpAsyncClient 4.1.5
...
Closes gh-29043
2021-12-15 14:01:18 +01:00
Stephane Nicoll
70805793a1
Upgrade to Hazelcast 4.1.7
...
Closes gh-29042
2021-12-15 14:01:16 +01:00
Stephane Nicoll
f0a4ac6154
Upgrade to Ehcache3 3.9.8
...
Closes gh-29041
2021-12-15 14:01:15 +01:00
Stephane Nicoll
41a9b08049
Upgrade to Dropwizard Metrics 4.1.27
...
Closes gh-29040
2021-12-15 14:01:14 +01:00
Stephane Nicoll
b7e233805f
Upgrade to Caffeine 2.9.3
...
Closes gh-29039
2021-12-15 14:01:12 +01:00
Stephane Nicoll
6dcc289e6b
Upgrade to AppEngine SDK 1.9.93
...
Closes gh-29038
2021-12-15 14:01:11 +01:00
copbint
0a9a6639e5
Remove redundant log4j-to-slf4j
...
See gh-29019
2021-12-15 09:40:10 +01:00
Stephane Nicoll
4c57d1717d
Upgrade to Log4j2 2.16.0
...
Closes gh-28983
2021-12-15 09:28:44 +01:00
Stephane Nicoll
157b3aa25f
Allow platform to be configured in DataSourceInitializers
...
Closes gh-28932
2021-12-14 15:07:32 +01:00
Stephane Nicoll
d18eae35e5
Upgrade to Logback 1.2.8
...
Closes gh-29011
2021-12-14 14:26:12 +01:00
Stephane Nicoll
1bda928ad3
Upgrade to Netty 4.1.72.Final
...
Closes gh-29004
2021-12-13 17:55:38 +01:00
Stephane Nicoll
496cd3d2ba
Polish
...
See gh-28999
2021-12-13 09:23:08 +01:00
Stephane Nicoll
93f75a7d12
Start building against Spring AMQP 2.3.13 snapshots
...
See gh-28994
2021-12-11 17:19:08 +01:00
Stephane Nicoll
1d8e3a865e
Upgrade to Log4j2 2.15.0
...
Closes gh-28983
2021-12-10 14:44:50 +01:00
Stephane Nicoll
f6f5aec183
Polish "Check for the presence of Spring Security"
...
See gh-28967
2021-12-10 10:59:00 +01:00
Guirong Hu
4462f9157e
Check for the presence of Spring Security
...
See gh-28967
2021-12-10 10:58:30 +01:00
Stephane Nicoll
f1f43e8577
Start building against Spring Integration 5.5.7 snapshots
...
See gh-28966
2021-12-10 06:54:25 +01:00
Stephane Nicoll
e53bac272c
Start building against Spring Session 2021.0.4 snapshots
...
See gh-28965
2021-12-10 06:54:01 +01:00
Stephane Nicoll
9894e90567
Start building against Spring Security 5.5.4 snapshots
...
See gh-28964
2021-12-10 06:53:38 +01:00
Stephane Nicoll
a3b31db31d
Start building against Spring LDAP 2.3.5 snapshots
...
See gh-28963
2021-12-10 06:53:13 +01:00