Commit Graph

16234 Commits (6d0a5042835cca1fd715e91e107fcb5fccfcca31)

Author SHA1 Message Date
Andy Wilkinson 591cd0feb3 Mention TLS-terminating proxy as a usecase for h2c
Closes gh-25855
2 years ago
Andy Wilkinson fa73b73898 Fail build on missing configuration property descriptions
Closes gh-31916
2 years ago
Phillip Webb d540eefce0 Set running to false when stop method is called
Update `WebServerStartStopLifecycle` to change the `running` state when
the `stop()` method is called.

Fixes gh-31966
2 years ago
Phillip Webb 45ad1557c3 Perform LoggingSystem cleanup after web server shutdown
Update `LoggingApplicationListener` so that logging system cleanup is
performed by a `SmartLifecycle` phased after web server shutdown.

Prior to this commit, cleanup occurred on the `ContextClosedEvent` which
was published before Lifecycle beans were stopped. This meant that any
exceptions output during web server shutdown were not logged.

Fixes gh-9457
2 years ago
Marc Wrobel 3e0665e791 Fix links in documentations
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter.
  This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
  hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.

See gh-31887
2 years ago
Andy Wilkinson c0daede1aa Ensure that jarmode jar added to an app has same SHA as published jar
Closes gh-31862
2 years ago
vilmos 00be9e4e94 Fix property placeholder references in @Value example
See gh-31941
2 years ago
Madhura Bhave cc15eb0b96 Configure existing probes at additional path when necessary
Fixes gh-30612
2 years ago
Stephane Nicoll 3a5b40645a Restore support for C3P0
Closes gh-31920
2 years ago
Andy Wilkinson d39e146a7d Polish "Allow config prop annotation processor to find reactive cookie props"
See gh-31912
2 years ago
Kalpesh 1f0d5f1130 Allow config prop annotation processor to find reactive cookie props
See gh-31912
2 years ago
Stephane Nicoll 7d860df5f0 Polish 2 years ago
Andy Wilkinson 348b2c28e9 Improve logging of changes that trigger a DevTools upload or restart
Closes gh-31579
2 years ago
Phillip Webb 9a2ad6d42d Remove references to ConfigFileApplicationListener
Update documentation and meta-data to remove referenced to the now
deprecated `ConfigFileApplicationListener` class.

Closes gh-31895
2 years ago
Phillip Webb 98627e3d71 Fix spring.beaninfo.ignore SourceType
Fixes gh-31898
2 years ago
Phillip Webb 2709f77ab9 Collect to named contributors to `LinkedHashMap`
Update `NamedContributorsMapAdapter` to collect items to a
`LinkedHashMap` rather than a `HashMap`.

See gh-31676
2 years ago
Andy Wilkinson a4bafa88bc Disable schema validation when testing against Hazelcast 3
We have hazelcast configuration files that are used with multiple
versions of Hazelcast. Version 3's scheme doesn't allow us to set
<auto-detection enabled="false" />. To work around this, we
configure a system property that causes Hazelcast to disable schema
validation.

See gh-38163
2 years ago
Stephane Nicoll 9184d5483a Remove reference to nitrite-spring-boot-starter
Closes gh-31892
2 years ago
Stephane Nicoll e6a9e48c54 Remove reference to Azure Application Insights
Closes gh-31889
2 years ago
Stephane Nicoll 59139e632b Polish "Disable auto-detection in tests that start Hazelcast"
See gh-31863
2 years ago
Adrian Bob aad9c8906a Disable auto-detection in tests that start Hazelcast
This commit updates test configurations to disable auto-detection of
Hazelcast instances.

See gh-31863
2 years ago
Stephane Nicoll 782e3f75b6 Polish Hazelcast configuration
This commit updates the XSD to 4.2 and removes the "tcp-ip" network
option as it is disabled by default.

See gh-31863
2 years ago
Phillip Webb 59c9a9cd8a Polish "Call the value adapter during NamedContributorsMapAdapter construction"
See gh-31676
2 years ago
Guirong Hu c530f12cc3 Call the value adapter during NamedContributorsMapAdapter construction
Update `NamedContributorsMapAdapter` so that the adapter function is
called only once per entry. Prior to this commit, the adapter was called
dynamically which made `CompositeHealthContributor` behave differently
from a regular `HealthContributor`.

See gh-31676
2 years ago
Andy Wilkinson 5243cb8369 Broaded dependency management for REST Assured
Closes gh-31864
2 years ago
aoyvx 8c93d2e8a7 Ensure PROTOCOL_HANDLER system property is reset
See gh-31870
2 years ago
Phillip Webb 9329acdad8 Reduce size of 'repeated-open-array.txt' file
Attempt to fix CI memory issues.
2 years ago
Phillip Webb da91cde304 Protect against deeply nested JSON maps
See gh-31868
2 years ago
Phillip Webb 4132414206 Protect against deeply malformed JSON map keys
Fixes gh-31869
2 years ago
Phillip Webb 6966ebd2a3 Protect against deeply nested JSON lists
Update `BasicJsonParser` to protect against deeply nested JSON lists
in the same way as Jackson.

Fixes gh-31868
2 years ago
Phillip Webb f8412847dc Update copyright year for "Fix typos in code and documentation"
See gh-31734
2 years ago
Marc Wrobel dbfc6bded4 Fix typos in code and documentation
See gh-31734
2 years ago
Phillip Webb 4bcec6e0ee Polish 2 years ago
dreis2211 de5834d203 Polish
See gh-31845
2 years ago
Andy Wilkinson a1443d1cdc Enforce ordering in additional-spring-configuration-metadata.json files
Closes gh-31575
2 years ago
Scott Frederick 4e0b3aad9f Clarify how docker image publishing registry is determined
Closes gh-31820
2 years ago
Scott Frederick a7dfeae09c Merge branch 'gh-28844' into 2.6.x
Closes gh-31823
2 years ago
Scott Frederick 9b0cdac58a Simplify support for pushing images to unauthenticated registries
This commit removes the requirement that `docker.publishRegistry`
configuration must be provided when an image is published by the Gradle
or Maven plugin.

Fixes gh-28844
2 years ago
Andy Wilkinson ab2b04fafd Find health contributors in ancestor contexts in non-reactive apps
Previously, health contributors in a non-reative app were found by
retrieving them from the application context rather than via
dependency injection. This results in only contributors from the
current context being found, with contributors in ancestor contexts
ignored.

This commit moves to injection of the contributors, aligning the
behaviour with that of a reactive application.

Closes gh-27308
2 years ago
Andy Wilkinson 182adeed35 Add modules to dependency management for Derby
Closes gh-31570
2 years ago
Andy Wilkinson efdd844c7a Log a warning if determining the app's PID takes too long
Closes gh-31572
2 years ago
Andy Wilkinson bcbe072d96 Fix 500 from mappings endpoint with attributed WebFlux router function
Closes gh-31784
2 years ago
Andy Wilkinson 628c2cd0b1 Ensure JMX endpoints are uniquely named in a context hierarchy
Closes gh-31718
2 years ago
Stephane Nicoll 585a57be76 Update copyright year of changed file
See gh-31798
2 years ago
aoyvx abe938eb2c Use Bean ClassLoader consistently to resolve class names
See gh-31798
2 years ago
Stephane Nicoll ac65835103 Upgrade to Spring Integration 5.5.14
Closes gh-31799
2 years ago
Stephane Nicoll e48f5de20f Upgrade to AppEngine SDK 1.9.98
Closes gh-31788
2 years ago
Andy Wilkinson a326a1291e Upgrade to Spring Kafka 2.8.8
Closes gh-31785
2 years ago
Stephane Nicoll e25d3d6a03 Upgrade to Spring Data 2021.1.6
Closes gh-31611
2 years ago
Stephane Nicoll 4eb5037828 Update copyright year of changed files
See gh-31571
2 years ago
TheoCaldas 869ed4f71a Delimit output value in failure analysis
See gh-31571
2 years ago
Johnny Lim f591c75ad7 Disable incompatible tests on macOS AArch64
This commit also updates related test support classes.

See gh-31539
2 years ago
Andy Wilkinson 8c4708982b Test our Gradle plugin against 7.5
Closes gh-31753
2 years ago
Stephane Nicoll 8a58fc438f Upgrade to Netty 4.1.79.Final
Closes gh-31731
2 years ago
Stephane Nicoll 99ad445229 Upgrade to Neo4j Java Driver 4.4.9
Closes gh-31730
2 years ago
Stephane Nicoll 877fffc02b Upgrade to MariaDB 2.7.6
Closes gh-31729
2 years ago
Stephane Nicoll e99d53bfeb Upgrade to Lettuce 6.1.9.RELEASE
Closes gh-31728
2 years ago
Stephane Nicoll 6181db3f20 Upgrade to JsonAssert 1.5.1
Closes gh-31727
2 years ago
Stephane Nicoll 38713f2586 Upgrade to Jetty Reactive HTTPClient 1.1.12
Closes gh-31726
2 years ago
Stephane Nicoll 02bf666f88 Upgrade to HttpCore5 5.1.4
Closes gh-31725
2 years ago
Stephane Nicoll 6b54aefe3e Upgrade to Hibernate 5.6.10.Final
Closes gh-31724
2 years ago
Andy Wilkinson 9443713c53 Disable Log4j2's shutdown hook with 2.18 and later
Closes gh-31719
2 years ago
Stephane Nicoll 77194eed29 Upgrade to Spring Framework 5.3.22
Closes gh-31610
2 years ago
Stephane Nicoll 628a7b0c5c Update copyright year of changed files
See gh-31516
2 years ago
“Jakub ed7b333138 Add missing descriptions for HTTP Server and Data repositories metrics
See gh-31516
2 years ago
Johnny Lim b17cb9b92b Polish gh-31231
See gh-31540
2 years ago
Andy Wilkinson 7c55639167 Depend on log4j-api directly rather than via Elastic's transitives
Closes gh-31692
2 years ago
Stephane Nicoll a368919600 Polish "Fix deprecation metadata for grid-fs-database"
See gh-31689
2 years ago
Felix Scheinost d5e18e61c5 Fix deprecation metadata for grid-fs-database
See gh-31689
2 years ago
Stephane Nicoll 793586f898 Upgrade to Reactor 2020.0.21
Closes gh-31607
2 years ago
Andy Wilkinson fe19984147 Upgrade to Micrometer 1.8.8
Closes gh-31612
2 years ago
Andy Wilkinson b94527de3b Start building against Micrometer 1.8.8 snapshots
See gh-31612
2 years ago
Andy Wilkinson f417b4b9b2 Start building against Spring Data 2021.1.6 snapshots
See gh-31611
2 years ago
Andy Wilkinson ece51636fd Start building against Spring Framework 5.3.22 snapshots
See gh-31610
2 years ago
Andy Wilkinson c38a3c0da4 Start building against Reactor 2020.0.21 snapshots
See gh-31607
2 years ago
Scott Frederick 17bdc526f6 Avoid adding layers for buildpacks that exist in the builder
This commit adds validation of any buildpacks that are specified for
image building to match them against buildpacks that are bundled in
the builder. If an image buildpack's ID, version, and one layer
hash match the same information stored in a label on the builder
image, that buildpack won't be added and the buildpack bundled in
the builder will be used instead. This reduces the chance of adding to
the total count of layers in a builder image unnecessarily.

Fixes gh-31233
2 years ago
Andy Wilkinson 6411f88f28 Upgrade to Dependency Management Plugin 1.0.12.RELEASE
Closes gh-31555
2 years ago
Andy Wilkinson c87340e5c1 Remove unnecessary throws 2 years ago
Andy Wilkinson f49b16c645 Upgrade to Spring Java Format 0.0.34
Closes gh-31524
2 years ago
Stephane Nicoll 6484be2aa5 Upgrade to Jetty 9.4.48.v20220622
Closes gh-31507
2 years ago
Phillip Webb 904feb2490 Polish 'Allow spring.data.cassandra.config file to override default values'
See gh-31238
2 years ago
Stern, Ittay (is9613) 1c7d99890e Allow spring.data.cassandra.config file to override default values
Update `CassandraAutoConfiguration` so that properties in a
`spring.data.cassandra.config` file can override the default values
defined in `CassandraProperties`.

This commit changes two things:

1. Any primitive on `CassandraProperties` are replaced with object values.
   This allows distinguishing between defaults values and no-values. Then
   CassandraAutoConfiguration.mapConfig() can use whenNonNull() predicate
   to ignore those.

2. `CassandraProperties` no longer populate default values on any
   property. With that, the defaults can be applied on top of the file
   spring.data.cassandra.config; i.e. the config file have higher
   precedence than the defaults, but lower that any spring.data.cassandra.*
   property.

See gh-31238
2 years ago
Phillip Webb aed4c47adb Polish CompositeHandlerExceptionResolver
See gh-31495
2 years ago
Guirong Hu 3592292e4b Use ExceptionHandler when Spring MVC uses a different management port
Update `CompositeHandlerExceptionResolver` to search for beans in
all contexts. Note that `BeanFactoryUtils.beansOfTypeIncludingAncestors`
cannot not be used since we need to pick up all beans, even if they
have the same name.

See gh-31495
2 years ago
Andy Wilkinson a784156f66 Revert "Start building against Spring Session 2021.1.4 snapshots"
This reverts commit 2f40c52d81.
2 years ago
Andy Wilkinson 17c757c600 Upgrade to Spring Integration 5.5.13
Closes gh-31482
2 years ago
Andy Wilkinson 522ea0a90e Handle malformed JSON more consistently
Closes gh-31301
2 years ago
Stephane Nicoll 79d3e3080f Polish 2 years ago
Stephane Nicoll 72257ba302 Upgrade to Jetty 9.4.47.v20220610
Closes gh-31487
2 years ago
Stephane Nicoll e74163704c Upgrade to Dropwizard Metrics 4.2.10
Closes gh-31486
2 years ago
Stephane Nicoll 09cd024817 Upgrade to Spring Kafka 2.8.7
Closes gh-31350
2 years ago
Phillip Webb 7fc9debf2a Consider super classes when detecting nested property classes
Update `PropertyDescriptor.isParentTheSame` to consider the candidate
as well as all super classes.

Fixes gh-21626
2 years ago
Andy Wilkinson 49fd727ef0 Upgrade to Spring AMQP 2.4.6
Closes gh-31348
2 years ago
Moritz Halbritter b56b95d429 Add Apache HttpClient WebClient support to documentation 2 years ago
Andy Wilkinson d45e42f2e1 Upgrade to Spring Security 5.6.6
Closes gh-31351
2 years ago
Stephane Nicoll 46a5e5d9d4 Upgrade to Spring Data 2021.1.5
Closes gh-31349
2 years ago
Stephane Nicoll 87ecbc7073 Upgrade to Spring HATEOAS 1.4.4
Closes gh-31464
2 years ago
Stephane Nicoll 8548f1a1cb Upgrade to Undertow 2.2.18.Final
Closes gh-31420
2 years ago
Stephane Nicoll 0edf12c07c Upgrade to Reactive Streams 1.0.4
Closes gh-31418
2 years ago
Stephane Nicoll 898cf7665a Upgrade to Postgresql 42.3.6
Closes gh-31417
2 years ago