Commit Graph

13194 Commits (98b48c106916af663dc80038b4f3ce556a294770)

Author SHA1 Message Date
Phillip Webb f82b33698d Add missing asciidoctor heading anchors
Closes gh-26239
4 years ago
Phillip Webb ba5b36d733 Restore support for binding random properties
Revert 0588e989af so that `@ConfigurationProperties` can again be
bound using values from the `RandomValuePropertySource`.

Fixes gh-26201
4 years ago
Phillip Webb 5e8f383947 Extract code samples from docs
See gh-6313
4 years ago
Andy Wilkinson 6de10ff791 Merge branch '2.4.x'
Closes gh-26237
4 years ago
Andy Wilkinson 11fa850b97 Merge branch '2.3.x' into 2.4.x
Closes gh-26236
4 years ago
Andy Wilkinson 4a990f3ed2 Use bean class loader when importing auto-configuration
Fixes gh-26234
4 years ago
Brian Clozel 1732d8ccf7 Merge branch '2.4.x'
Closes gh-26233
4 years ago
Brian Clozel 7be9c268b8 Fix ignored use-last-modified property in Spring MVC
Prior to this commit, the `spring.web.resources.cache.use-last-modified`
configuration property support was lost during a merge operation right
before 2.4.2.

This is due to an invalid test that missed this unintended change. This
commit fixes both problems.

Fixes gh-26212
4 years ago
Phillip Webb 32a87fcbda Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb 2f852fa256 Update copyright year of changed files 4 years ago
Phillip Webb f30d48e3b3 Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb 02cc778911 Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb 3075ac0f54 Formatting 4 years ago
Slawomir Jaranowski 50118f67fd Test Maven plugin against latest Maven versions
See gh-26200
4 years ago
Stephane Nicoll a7b0f90609 Merge branch '2.4.x'
Closes gh-26211
4 years ago
Stephane Nicoll e424c1c4b4 Merge branch '2.3.x' into 2.4.x
Closes gh-26210
4 years ago
Shimizu, Yuko 474e460d5e Align Maven version in system requirements with what is actually tested
See gh-26209
4 years ago
Stephane Nicoll 65a7422a45 Upgrade to Kafka 2.6.2
Closes gh-24247
4 years ago
Stephane Nicoll e3f81f0243 Merge branch '2.4.x' 4 years ago
Stephane Nicoll db7460ddd5 Polish contribution based on Andy's review
See gh-26188
4 years ago
Stephane Nicoll 3ca6ed6246 Polish
Closes gh-26190
4 years ago
izeye 4be48d0d50 Polish
See gh-26188
4 years ago
Stephane Nicoll 6c68f3652c Merge branch '2.4.x'
Closes gh-26186
4 years ago
Stephane Nicoll 8edeb2c7a9 Merge branch '2.3.x' into 2.4.x
Closes gh-26185
4 years ago
Stephane Nicoll 856e0d0535 Document that MeterFilters are only applied to a managed registry
Closes gh-25610
4 years ago
Stephane Nicoll d403103aac Merge branch '2.4.x'
Closes gh-26182
4 years ago
Stephane Nicoll 6fc803c5a2 Merge branch '2.3.x' into 2.4.x
Closes gh-26181
4 years ago
Stephane Nicoll 6f73fd6785 Upgrade to Testcontainers 1.15.3
Closes gh-26179
4 years ago
Andy Wilkinson b9348c6d28 Merge branch '2.4.x'
Closes gh-26169
4 years ago
Andy Wilkinson bc1a462143 Merge branch '2.3.x' into 2.4.x
Closes gh-26168
4 years ago
Andy Wilkinson 82198a99e0 Polish nohttp configuration
Closes gh-26166
4 years ago
Stephane Nicoll 55b9fc12c7 Merge branch '2.4.x'
Closes gh-26165
4 years ago
Stephane Nicoll 52543b84c1 Fix sourceType for spring.profiles.include
Closes gh-26163
4 years ago
Stephane Nicoll cf5334da35 Merge branch '2.4.x'
Closes gh-26164
4 years ago
Stephane Nicoll 2bd4ccce8a Document spring.profiles.group in configuration metadata
Closes gh-26127
4 years ago
izeye e53453c69c Fix broken assertions in tests
This commit also restores the HTTP response body
assertion that has been dropped in 5873ddd.

See gh-26162
4 years ago
Stephane Nicoll 57d35aba12 Merge branch '2.4.x'
Closes gh-26160
4 years ago
Stephane Nicoll 6bbd36c77a Merge branch '2.3.x' into 2.4.x
Closes gh-26159
4 years ago
Stephane Nicoll 03b65f3260 Polish "Enhance multiple entity manager factories how-to"
See gh-14928
4 years ago
Niclas Fredriksson 0d9db46f68 Enhance multiple entity manager factories how-to
See gh-14928
4 years ago
Stephane Nicoll 531ee83c6a Merge branch '2.4.x'
Closes gh-26156
4 years ago
Stephane Nicoll 54613c77d4 Exclude beans with scheduled methods from global lazy init
This commit updates TaskSchedulingAutoConfiguration to contribute a
LazyInitializationExcludeFilter that processes beans that have
@Scheduled methods. This lets them be contributed to the context so
that scheduled methods are invoked as expected.

Closes gh-25315
4 years ago
Andy Wilkinson 177152e007 Merge branch '2.4.x'
Closes gh-26155
4 years ago
Andy Wilkinson 0c30a5930d Polish "Use ConfigDataLocationResolvers' class loader to load resolver names"
See gh-26149
4 years ago
Sriram 4268f8da84 Use ConfigDataLocationResolvers' class loader to load resolver names
See gh-26149
4 years ago
Stephane Nicoll 221f36ba93 Add missing value provider metadata for SQL init resources
Closes gh-26154
4 years ago
Stephane Nicoll 548baf7914 Update copyright year of changed file
See gh-26145
4 years ago
izeye 996472b42d Polish
See gh-26145
4 years ago
zuisong 95a9f36ac1 Fix wrong replacements for spring.datasource.[schema|data]
See gh-26150
4 years ago
Stephane Nicoll bac101647a Polish contribution
See gh-25532
4 years ago
katielevy1 bd9dd9d5eb Polish KotlinConstructorParametersBinderTests
See gh-25532
4 years ago
Phillip Webb e1ad2cdab3 Fix Windows build failures
See gh-23098
4 years ago
Phillip Webb a48c98b469 Revert "Switch default MVC path matching strategy"
This reverts commit ab8e599cfe.

See gh-24805
4 years ago
Phillip Webb beaf03a008 Update copyright year of changed files 4 years ago
Phillip Webb 238d0fed71 Improve Log4J log level reset support
Update `Log4J2LoggingSystem` so that call to `setLevel` with a `null`
level with remove the logger if it was previously configured by a
`LoggingSystem` call.

To track which loggers have been configured by us, and which have been
configure directly by the user, a custom `LoggerConfig` subclass is
used. We'll only remove `LevelSetLoggerConfig` classes, for any others
we'll call `setLevel(null)` on the config.

Prior to this commit, it was impossible to set then reset a logger
level using the actuator endpoint. This is because Log4J doesn't provide
a way to get the actual configured level. If the `setLevel(null)` has
been applied, then `getLevel()` will return the value of the parent
logger or a default value of `ERROR`.

Fixes gh-24298
4 years ago
Phillip Webb 96823869a9 Merge branch '2.4.x'
Closes gh-26139
4 years ago
Phillip Webb 302d500ee9 Add StandardConfigDataResource.getProfile method
Add a `StandardConfigDataResource.getProfile()` method so that it's
possible to tell the profile used when reading a profile specific
resource.

Fixes gh-25940
4 years ago
Andy Wilkinson 5142fe9b8e Fix typo in Initialize a Database using basic SQL scripts
Closes gh-26137
4 years ago
izeye e27c85698d Polish
See gh-26135
4 years ago
izeye fb5a1270e8 Add RepositoryMetricsAutoConfiguration to spring.factories
See gh-26134
4 years ago
dreis2211 beb7f7b02d Avoid some redirects in docs
See gh-26129
4 years ago
Stephane Nicoll f814beacec Upgrade to Spring Session Dragonfruit-SR3
Closes gh-25907
4 years ago
Stephane Nicoll e8eb68a458 Upgrade to Spring Session Dragonfruit-SR3
Closes gh-25907
4 years ago
Stephane Nicoll f558ceda9a Upgrade to Spring WS 3.1.0-RC1
Closes gh-25933
4 years ago
Stephane Nicoll 0146ced614 Upgrade to Spring Session 2021.0.0-RC1
Closes gh-25932
4 years ago
Stephane Nicoll 28d27f5fe7 Upgrade to Spring Kafka 2.7.0
Closes gh-25930
4 years ago
Stephane Nicoll 28665ee93b Upgrade to Spring Integration 5.5.0-RC1
Closes gh-25929
4 years ago
Phillip Webb 282a8e09d0 Merge branch '2.4.x'
Closes gh-26125
4 years ago
Phillip Webb 5b836f3aee Merge branch '2.3.x' into 2.4.x
Closes gh-26124
4 years ago
Phillip Webb 61ff3c98bf Polish 'Don't detect CloudPlatform when property is set'
See gh-25455
4 years ago
nguyensach 70f44d3a56 Don't detect CloudPlatform when property is set
Update `CloudPlatform.isActive` to back-off from detection when any
`spring.main.cloud-platform` property is set.

See gh-25455
4 years ago
Phillip Webb b4c9bb0d5c Merge branch '2.4.x'
Closes gh-26122
4 years ago
Phillip Webb fb3796dae8 Merge branch '2.3.x' into 2.4.x
Closes gh-26121
4 years ago
Phillip Webb fcb2210a87 Include optional shade plugin in published pom
Update `MavenPublishingConventions` to add a new `mavenOptional` feature
that allows us to declare optional dependencies that are also published
in the generated POM.

This change allows us to include the maven-shade-plugin in the
spring-boot-maven-plugin POM which fixes an issue with Eclipse m2e.

Fixes gh-21992
4 years ago
Scott Frederick bf8051cd47 Log ApplicationAvailability state changes
Fixes gh-23098
4 years ago
Andy Wilkinson 1f0127036c Upgrade to Spring Integration 5.4.6
Closes gh-26113
4 years ago
Andy Wilkinson e6130c6ce0 Upgrade to Spring Integration 5.3.7.RELEASE
Closes gh-26112
4 years ago
Andy Wilkinson 9d0e1a2cb3 Include SQL init auto-config in Data RDBC test slice
Closes gh-24741
4 years ago
Andy Wilkinson 05adf02a47 Include SQL init auto-config in JDBC-based test slices
Closes gh-25323
4 years ago
Stephane Nicoll e2252c7856 Merge branch '2.4.x'
Closes gh-26111
4 years ago
Stephane Nicoll 401ebc672b Merge branch '2.3.x' into 2.4.x
Closes gh-26110
4 years ago
Stephane Nicoll ab785d9417 Document limitations of using deferred JPA bootstrap
Closes gh-24027
4 years ago
Stephane Nicoll fe2e57dee8 Upgrade to Spring Data 2021.0.0
Closes gh-25928
4 years ago
Stephane Nicoll 8c15e693d3 Merge branch '2.4.x'
Closes gh-26109
4 years ago
Stephane Nicoll 0d81b4d07e Merge branch '2.3.x' into 2.4.x
Closes gh-26108
4 years ago
Stephane Nicoll 0fb482579b Harmonize Neo4jContainer startup options
Closes gh-26084
4 years ago
Stephane Nicoll c04d640452 Scan for ElasticSearch's @Document type
Closes gh-26028
4 years ago
Stephane Nicoll 517998a829 Upgrade to Infinispan 12.1.1.Final
Closes gh-26053
4 years ago
Stephane Nicoll 0cedbf6e06 Upgrade to Spring Data 2020.0.8
Closes gh-25910
4 years ago
Stephane Nicoll 1de2dd9ecb Upgrade to Spring Data Neumann-SR9
Closes gh-25905
4 years ago
Stephane Nicoll 62a70475c2 Fix class condition on deprecated class
Closes gh-26107
4 years ago
Stephane Nicoll c5214b3c84 Merge branch '2.4.x'
Closes gh-26105
4 years ago
Stephane Nicoll 1855f96d07 Polish "Document spring.config.additional-location should be used early"
See gh-26085
4 years ago
Shannon Carey b0b1c04fc4 Document spring.config.additional-location should be used early
See gh-26085
4 years ago
Stephane Nicoll 90fccd7097 Upgrade to SAAJ Impl 1.5.3
Closes gh-26104
4 years ago
Stephane Nicoll 54d23bac9d Upgrade to Micrometer 1.6.6
Closes gh-26103
4 years ago
Stephane Nicoll 3a8736a112 Upgrade to Lettuce 6.0.4.RELEASE
Closes gh-26102
4 years ago
Stephane Nicoll 0429ab4b88 Upgrade to HSQLDB 2.5.2
Closes gh-26101
4 years ago
Stephane Nicoll 00b53b5bdb Upgrade to Glassfish JAXB 2.3.4
Closes gh-26100
4 years ago
Stephane Nicoll cb2a7dd4cb Upgrade to SAAJ Impl 1.5.3
Closes gh-26099
4 years ago
Stephane Nicoll cb1d7a3bc8 Upgrade to Micrometer 1.5.13
Closes gh-26098
4 years ago
Stephane Nicoll 7c85ebc9c9 Upgrade to Lettuce 5.3.7.RELEASE
Closes gh-26097
4 years ago
Stephane Nicoll 274cfc0af0 Upgrade to HSQLDB 2.5.2
Closes gh-26096
4 years ago
Stephane Nicoll 4a5cb3f29e Upgrade to Glassfish JAXB 2.3.4
Closes gh-26095
4 years ago
Stephane Nicoll caa21b0fbe Upgrade to Flatten Maven Plugin 1.2.7
Closes gh-26094
4 years ago
Stephane Nicoll f8768c053a Upgrade to Micrometer 1.7.0-RC1
Closes gh-25934
4 years ago
Stephane Nicoll 7723e7f130 Upgrade to Spring HATEOAS 1.3.0
Closes gh-25927
4 years ago
Andy Wilkinson f45202e86f Ensure String to RSA key converters can be used
Add tests to ensure that RSA key converters can be used with an
auto-configured security setup.

See gh-26089
Closes gh-24891
4 years ago
Phillip Webb 51c3e18011 Support binding with BeanFactory ConversionService
Update `BindConverter` so that multiple `ConverterServices` can be
specified when binding. This change allows `ConversionServiceDeducer`
to add both the `BeanFactory` conversion service as well as a
custom `ApplicationConversionService` when beans annotated with
`@ConfigurationPropertiesBinding` are found.

Fixes gh-26089
4 years ago
Phillip Webb 5581ec0e29 Make getSharedInstance() unmodifiable
Update `ApplicationConversionService.getSharedInstance()` so that the
instance returned is unmodifiable and converters cannot be added or
removed from it.

Closes gh-26088
4 years ago
Andy Wilkinson b0cce645dd Use a non-deprecated class to identify kotlin-gradle-plugin-api jar
See gh-26080
4 years ago
Andy Wilkinson 962fa06d9b Merge branch '2.4.x'
Closes gh-26082
4 years ago
Andy Wilkinson a58b25b5db Add package-info to o.s.b.test.autoconfigure.data.Cassandra
Closes gh-26081
4 years ago
Andy Wilkinson 4cbe6836a0 Polish o.s.b.liquibase package-info 4 years ago
dreis2211 4a1924ed73 Fix Spring Data Elasticsearch deprecations
See gh-26078
4 years ago
Andy Wilkinson 6f2b4aa685 Upgrade to Kotlin 1.5.0-RC
Closes gh-26080
Closes gh-25498
4 years ago
Andy Wilkinson 5289b50a1a Polish indentation 4 years ago
Soheel Chughtai 18b017690a Add reference to IBM MQ Spring Boot starter
See gh-26041
4 years ago
Andy Wilkinson 2e25a256d5 Allow the auto-configured RabbitMQ ConnectionFactory to be customized
Closes gh-6719
4 years ago
Stephane Nicoll a481b4aec2 Upgrade to HSQLDB 2.5.2
Closes gh-26051
4 years ago
Stephane Nicoll 15f0d3d2f3 Upgrade to Nimbus JOSE JWT 9.8.1
Closes gh-26077
4 years ago
Stephane Nicoll bcd79751c6 Upgrade to OAuth2 OIDC SDK 9.3.3
Closes gh-26076
4 years ago
Stephane Nicoll 51dc0baf02 Upgrade to Lettuce 6.1.1.RELEASE
Closes gh-26075
4 years ago
Andy Wilkinson 5873dddc1c Attempt to stabilise web server tests that use h2c
Apache HttpClient 5.1 doesn't cope with Jetty 10 sending
SETTINGS_ENABLE_CONNECT_PROTOCOL in the settings frame. It also appears
to be unstable when using Undertow, resulting in a failure and
"UT005032: Listener not making progress on framed channel, closing
channel to prevent infinite loop" being logged on the server-side.

Local experimentation suggests that Jetty's HTTP/2 client is more
robust and that it does not trigger the problem with Undertow. It also
fixes the problem with SETTINGS_ENABLE_CONNECT_PROTOCOL when testing
against Jetty 10 so this commit updates the tests to use Jetty's client.

Closes gh-26040
4 years ago
Stephane Nicoll 17a13de855 Upgrade to Undertow 2.2.7.Final
Closes gh-26073
4 years ago
Stephane Nicoll 7d5e7cecd8 Upgrade to Sun Mail 1.6.7
Closes gh-26071
4 years ago
Stephane Nicoll 75506df0ed Upgrade to Selenium HtmlUnit 2.49.1
Closes gh-26070
4 years ago
Stephane Nicoll bdc910fb1a Upgrade to Rabbit AMQP Client 5.12.0
Closes gh-26069
4 years ago
Stephane Nicoll 888330eb9d Upgrade to Netty tcNative 2.0.38.Final
Closes gh-26068
4 years ago
Stephane Nicoll 023c20594d Upgrade to Netty 4.1.63.Final
Closes gh-26067
4 years ago
Stephane Nicoll 18e751a81b Upgrade to Neo4j Java Driver 4.2.4
Closes gh-26066
4 years ago
Stephane Nicoll 7bf8b91b93 Upgrade to MongoDB 4.2.3
Closes gh-26065
4 years ago
Stephane Nicoll 50416647bb Upgrade to Mockito 3.9.0
Closes gh-26064
4 years ago
Stephane Nicoll 8eff215cd0 Upgrade to MIMEPull 1.9.14
Closes gh-26063
4 years ago
Stephane Nicoll 041b65d9ce Upgrade to Maven Invoker Plugin 3.2.2
Closes gh-26062
4 years ago
Stephane Nicoll 95d55f50e9 Upgrade to Lombok 1.18.20
Closes gh-26061
4 years ago
Stephane Nicoll e7988de2e9 Upgrade to Liquibase 4.3.3
Closes gh-26060
4 years ago
Stephane Nicoll e9ba79d5be Upgrade to Lettuce 6.1.0.RELEASE
Closes gh-26059
4 years ago
Stephane Nicoll 979cf96cae Upgrade to Jetty 9.4.39.v20210325
Closes gh-26058
4 years ago
Stephane Nicoll 2f424b15da Upgrade to Jetty Reactive HTTPClient 1.1.7
Closes gh-26057
4 years ago
Stephane Nicoll b8d3253151 Upgrade to Jaybird 4.0.3.java8
Closes gh-26056
4 years ago
Stephane Nicoll db5ef657d6 Upgrade to Jakarta Mail 1.6.7
Closes gh-26055
4 years ago
Stephane Nicoll 7c32389dd0 Upgrade to Jackson Bom 2.12.3
Closes gh-26054
4 years ago
Stephane Nicoll c66c15fac2 Upgrade to HtmlUnit 2.49.1
Closes gh-26052
4 years ago
Stephane Nicoll a2df809e8c Upgrade to Hibernate 5.4.30.Final
Closes gh-26050
4 years ago
Stephane Nicoll 313cc0d6af Upgrade to Git Commit ID Plugin 4.0.4
Closes gh-26049
4 years ago
Stephane Nicoll 7a81be0327 Upgrade to Flyway 7.7.3
Closes gh-26048
4 years ago
Stephane Nicoll 37c41607e3 Upgrade to Elasticsearch 7.12.0
Closes gh-26047
4 years ago
Stephane Nicoll 31c96ac95d Upgrade to Dropwizard Metrics 4.1.19
Closes gh-26046
4 years ago
Stephane Nicoll fbb2489a46 Upgrade to Couchbase Client 3.1.4
Closes gh-26045
4 years ago