Commit Graph

11816 Commits (bb33574ad41d37a5d4f8a7d173dbac579cfeb20e)

Author SHA1 Message Date
Phillip Webb 7fd4c53352 Deal with unsupported DisposableServer operations
Update `NettyWebServer` to deal with any `UnsupportedOperationException`
thrown from `DisposableServer`. Specifically, this commit allows the
`NettyWebServer` to work with domain socket backed servers which cannot
provide a port.

Fixes gh-24529
4 years ago
Madhura Bhave 361198ebba Fix tests
See gh-11987
4 years ago
Madhura Bhave a1ea5b49ec Merge branch '2.3.x' into 2.4.x
Closes gh-24542
4 years ago
Madhura Bhave 09e07428cc Configure CORS in default security configuration for MVC
Fixes gh-11987
4 years ago
Scott Frederick 4e603d9239 Merge branch '2.3.x' into 2.4.x
Closes gh-24538
4 years ago
Scott Frederick e4d124dc45 Improve error message with Maven build-image and war packaging
Fixes gh-24522
4 years ago
Phillip Webb d6890e39a7 Merge branch '2.3.x' into 2.4.x
Closes gh-24536
4 years ago
Scott Frederick dfcabe1665 Merge branch '2.3.x' into 2.4.x
Fixes gh-24521 in 2.4.2
4 years ago
dreis2211 0ec603cdad Avoid duplicates in MergedContextConfiguration
Remove duplicate config attribute classes by using a `Set` rather
than a `List` in the `SpringBootTestContextBootstrapper`.

See gh-24532
4 years ago
Scott Frederick 0e5df2296e Fail with Gradle bootBuildImage and war packaging
Prior to this commit, running the bootBuildImage Gradle task on a
project configured for war packaging would result in a jar file being
built and used in the image instead of the war file. With this commit
an error will be thrown from the plugin in this case.

Fixes gh-24521
4 years ago
Andy Wilkinson 5fdb2ae2fd Protect PluginApplicationActions against absent plugin classes
Closes gh-24526
4 years ago
Phillip Webb 38e4c2a179 Add ConfigDataEnvironmentUpdateListener support
Add an overloaded `ConfigDataEnvironmentPostProcessor.applyTo` method
that accepts a listener that can used to track the updates that were
applied to the `Environment`.

The listener can be used to track the which `ConfigDataLocation` and
the `ConfigDataResource` were used to add a `PropertySource`. The lister
can also be used to tell which profiles were applied.

This enhancement is being added in a patch release because it's will
be useful for Spring Cloud 2020.0.0.

Closes gh-24504
4 years ago
Phillip Webb 5e1a69e90e Polish 4 years ago
Phillip Webb 4fba7d0c60 Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb 29300530c6 Polish 4 years ago
Phillip Webb a2d0b64e9c Test that empty property files can be used
Add an additional test to ensure that empty property files do not
throw ConfigDataLocationNotFoundException exceptions.

See gh-24499
See gh-24515
4 years ago
Andy Wilkinson a67edfbeb7 Merge branch '2.3.x' into 2.4.x
Closes gh-24518
4 years ago
Andy Wilkinson 76198f9a8d Include properties from test-autoconfigure in config props appendix
Closes gh-24486
4 years ago
Stephane Nicoll 251e8b2640 Update instruction to add the configuration processor with Maven
Closes gh-24498
4 years ago
izeye 8e69a821d5 Use BindResult.orElseGet() where beneficial
See gh-24477
4 years ago
Phillip Webb d1f2aab1e8 Fix non-optional classpath location checking
Allow directory locations that exist but do not contribute properties
to be specified without an `optional:` prefix. This commit fixes logic
introduced in commit 3dc03ac275 which didn't account for the fact that
a directory might contain only profile specific property files and that
profiles might not always be active.

Closes gh-24499
4 years ago
Stephane Nicoll 96510156ae Merge branch '2.3.x' into 2.4.x
Closes gh-24495
4 years ago
Stephane Nicoll 26e7e61919 Merge branch '2.2.x' into 2.3.x
Closes gh-24494
4 years ago
Stephane Nicoll 60f526add0 Remove links to Jetty API and documentation
This commit removes links to Jetty API and documentation as those links
are breaking every time the Jetty team releases a new version

See https://github.com/eclipse/jetty.project/issues/4546

Closes gh-24493
4 years ago
Stephane Nicoll 08b692581a Prepare 2.4.x branch 4 years ago
Phillip Webb 72d36e0c07 Update copyright year of changed files 4 years ago
Phillip Webb 14816a6b6c Support @Name meta-annotations with Kotlin binding
Update `ValueObjectBinder` Kotlin support to meta-annotations of
`@Named`.

See gh-24379
4 years ago
Andy Wilkinson 32e1289bbc Use unique names for wildcard property sources
Update `StandardConfigDataLoader` to use unique names for property
sources imported from a wildcard location.

Prior to this commit, all the property sources created from the same
wildcard location would have the same name. Each time a property source
that is equal to an existing property source is added, it replaces the
existing property source. Property source equality is name-based so this
resulted in the last property sources from the wildcard location
winning.

This commit updates `StandardConfigDataLoader` to use the resolved
Resource rather than the wildcard location in which it was discovered
in the name of the property source that it creates, ensuring that each
is property source from a wildcard location is uniquely named.

Fixes gh-24428
4 years ago
Stephane Nicoll 0533ac58fb Test the Gradle plugin against 6.7.1
Closes gh-24449
4 years ago
izeye 0eae6b4f72 Polish
See gh-24418
4 years ago
Stephane Nicoll 105cf591bf Merge branch '2.3.x'
See gh-24418
4 years ago
Stephane Nicoll ab99de4349 Polish
See gh-24418
4 years ago
Stephane Nicoll 6b858f3b84 Upgrade to Tomcat 9.0.41
Closes gh-24447
4 years ago
Stephane Nicoll dec085fa3c Upgrade to SQLite JDBC 3.32.3.3
Closes gh-24446
4 years ago
Stephane Nicoll 9091161cf9 Upgrade to Netty tcNative 2.0.35.Final
Closes gh-24445
4 years ago
Stephane Nicoll 9d5ea3da29 Upgrade to Netty 4.1.55.Final
Closes gh-24444
4 years ago
Stephane Nicoll 37f79f83ad Upgrade to Caffeine 2.8.8
Closes gh-24443
4 years ago
Stephane Nicoll ba87a0f23a Upgrade to Spring Kafka 2.6.4
Closes gh-24294
4 years ago
Stephane Nicoll 7d032330d2 Upgrade to Spring Batch 4.3.1
Closes gh-24291
4 years ago
Stephane Nicoll 2786b3dd66 Upgrade to Spring Integration 5.4.2
Closes gh-24442
4 years ago
Stephane Nicoll b06e0b50b4 Upgrade to Spring AMQP 2.3.2
Closes gh-24288
4 years ago
Stephane Nicoll d339cb1513 Upgrade to Micrometer 1.6.2
Closes gh-24281
4 years ago
Stephane Nicoll 94b6b62077 Upgrade to Undertow 2.1.5.Final
Closes gh-24441
4 years ago
Stephane Nicoll 30748b8dd0 Upgrade to Tomcat 9.0.41
Closes gh-24440
4 years ago
Stephane Nicoll 264cd83f4b Upgrade to Netty tcNative 2.0.35.Final
Closes gh-24439
4 years ago
Stephane Nicoll 1c720a56b2 Upgrade to Netty 4.1.55.Final
Closes gh-24438
4 years ago
Stephane Nicoll b6b046702f Upgrade to Caffeine 2.8.8
Closes gh-24437
4 years ago
Stephane Nicoll fd91daaf21 Upgrade to ActiveMQ 5.15.14
Closes gh-24436
4 years ago
Stephane Nicoll 5f8900ea0e Upgrade to Spring Kafka 2.5.10
Closes gh-24293
4 years ago
Stephane Nicoll 18e2ce1682 Upgrade to Spring Batch 4.2.5
Closes gh-24290
4 years ago
Stephane Nicoll c08310ca35 Upgrade to Spring AMQP 2.2.13
Closes gh-24287
4 years ago
Stephane Nicoll 388f00612e Upgrade to Micrometer 1.5.9
Closes gh-24427
4 years ago
Stephane Nicoll 7f9d0d2d7c Upgrade to Tomcat 9.0.41
Closes gh-24435
4 years ago
Stephane Nicoll 1094b7c10c Upgrade to Activemq 5.15.14
Closes gh-24434
4 years ago
Stephane Nicoll b8c68ef374 Upgrade to Undertow 2.0.33.Final
Closes gh-24433
4 years ago
Stephane Nicoll a9924c3576 Upgrade to Netty Tcnative 2.0.35.Final
Closes gh-24432
4 years ago
Stephane Nicoll 55b680e452 Upgrade to Netty 4.1.55.Final
Closes gh-24431
4 years ago
Stephane Nicoll 6d5e3b2c0d Upgrade to Caffeine 2.8.8
Closes gh-24430
4 years ago
Stephane Nicoll 60e69c2c3e Upgrade to Spring Kafka 2.3.13
Closes gh-24292
4 years ago
Stephane Nicoll 520b4bba9c Upgrade to Spring Batch 4.2.5
Closes gh-24289
4 years ago
Stephane Nicoll 317ec32458 Upgrade to Spring Integration 5.2.10
Closes gh-24429
4 years ago
Stephane Nicoll 241730bf10 Upgrade to Spring AMQP 2.2.13
Closes gh-24286
4 years ago
Phillip Webb 112503058a Merge branch '2.3.x'
Closes gh-24425
4 years ago
Phillip Webb 0bfa9cf107 Merge branch '2.2.x' into 2.3.x
Closes gh-24424
4 years ago
Phillip Webb 869141766b Use deterministic ordering of JavaBean methods
Update `JavaBeanBinder` so that methods and fields are sorted before
being processed. This ensures that setters are called in a deterministic
order, rather than the unspecified and variable order that reflection
provides.

Fixes gh-24068
4 years ago
Stephane Nicoll e9aa070c6f Upgrade to Spring Data 2020.0.2
Closes gh-24284
4 years ago
Stephane Nicoll f4ed2e72c5 Upgrade to Spring Data Neumann-SR6
Closes gh-24283
4 years ago
Stephane Nicoll 6a8ad73e2e Upgrade to Spring Data Moore-SR12
Closes gh-24282
4 years ago
Stephane Nicoll 0d472d6f74 Start building against Spring Data 2020.0.2 snapshots
See gh-24284
4 years ago
Stephane Nicoll 922a7a4f8c Upgrade to Spring HATEOAS 1.2.2
Closes gh-24285
4 years ago
Stephane Nicoll 84b92bc531 Upgrade to Spring HATEOAS 1.1.3
Closes gh-24419
4 years ago
Stephane Nicoll f375048620 Upgrade to Spring Framework 5.3.2
Closes gh-24278
4 years ago
Stephane Nicoll 52b5c36750 Upgrade to Micrometer 1.5.8
Closes gh-24280
4 years ago
Stephane Nicoll 8c676a43bd Upgrade to Spring Framework 5.2.12
Closes gh-24277
4 years ago
Stephane Nicoll 275816d9f9 Upgrade to Micrometer 1.3.16
Closes gh-24279
4 years ago
Stephane Nicoll e961afd64f Upgrade to Spring Framework 5.2.12
Closes gh-24276
4 years ago
Phillip Webb bef5fe29e3 Allow recursive profile group references
Update the original fix for issue #24327 so that recursive elements
are tolerated rather than fail.

See gh-24327
4 years ago
Phillip Webb 0931f04eb0 Polish 'Fail on recursive references in profile groups'
See gh-24327
4 years ago
dreis2211 5b74f77ac6 Fail on recursive references in profile groups
Update `Profiles` group expansion logic to fail if recursive
references are found.

See gh-24327
4 years ago
Phillip Webb 0d157e046f Fix checkstyle violations
See gh-21015
4 years ago
Phillip Webb e95c514661 Merge branch '2.3.x'
Closes gh-24412
4 years ago
Phillip Webb 49e754f48b Merge branch '2.2.x' into 2.3.x
Closes gh-24411
4 years ago
Phillip Webb 286ef61071 Narrow auto-configure checkstyle suppressions
Closes gh-21015
4 years ago
Phillip Webb b48f4028a3 Merge branch '2.3.x' 4 years ago
Phillip Webb 30717b6ae3 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb 4f95486822 Polish note about Maven/Gradle restarts
See gh-24271
4 years ago
Phillip Webb b9e87a4ab2 Merge branch '2.3.x'
Closes gh-24410
4 years ago
Phillip Webb 445c6b8aa6 Merge branch '2.2.x' into 2.3.x
Closes gh-24409
4 years ago
Phillip Webb 10d3121e27 Polish "Triggering a restart" formatting
See gh-24271
4 years ago
Billy T. Hernandez 0503079dc5 Document devtools restart with Maven/Gradle
Update the documentation to help avoid confusion for people who aren't
using an IDE.

See gh-24271
4 years ago
Phillip Webb 3618bddf51 Merge branch '2.3.x'
Closes gh-24408
4 years ago
Phillip Webb 06531b9b71 Merge branch '2.2.x' into 2.3.x
Closes gh-24407
4 years ago
Phillip Webb 89642f0ce8 Add link to appendix from error handling
Improve documentation by adding a link from the "Error Handling" section
to the appendix.

Closes gh-24265
4 years ago
Phillip Webb cd5ff6e4af Merge branch '2.3.x'
Closes gh-24404
4 years ago
Phillip Webb 11f285bde5 Merge branch '2.2.x' into 2.3.x
Closes gh-24403
4 years ago
izeye 8c55803931 Polish
See gh-24306
4 years ago
Stephane Nicoll 93d83342d2 Merge branch '2.3.x'
Closes gh-24401
4 years ago
Stephane Nicoll 06671aa50e Stop deferring JPA bootstrap mode by default
This commit changes the default value of bootstrap-mode to "default"
rather than "deferred" so that the JPA infrastructure starts in the
main thread rather than asynchronously.

Closes gh-24249
4 years ago
Stephane Nicoll 7b2f24aa46 Upgrade to Undertow 2.2.3.Final
Closes gh-24397
4 years ago
Stephane Nicoll 2fea5d49e7 Upgrade to Tomcat 9.0.40
Closes gh-24396
4 years ago
Stephane Nicoll d96323be7b Upgrade to Nimbus JOSE JWT 9.1.3
Closes gh-24395
4 years ago
Stephane Nicoll 643bb1ba6b Upgrade to Mockito 3.6.28
Closes gh-24394
4 years ago
Stephane Nicoll a7d52a2b2d Upgrade to MariaDB 2.7.1
Closes gh-24393
4 years ago
Stephane Nicoll 3223e7cf39 Upgrade to Kotlin Coroutines 1.4.2
Closes gh-24392
4 years ago
Stephane Nicoll 8dd34b74c5 Upgrade to jOOQ 3.14.4
Closes gh-24390
4 years ago
Stephane Nicoll 626b67ffc0 Upgrade to Jetty 9.4.35.v20201120
Closes gh-24389
4 years ago
Stephane Nicoll 543ccd33d4 Upgrade to Infinispan 11.0.8.Final
Closes gh-24388
4 years ago
Stephane Nicoll d7ee9a5b15 Upgrade to HttpCore 4.4.14
Closes gh-24387
4 years ago
Stephane Nicoll 3fa898c104 Upgrade to Hibernate 5.4.25.Final
Closes gh-24386
4 years ago
Stephane Nicoll 558f691a8d Upgrade to Groovy 2.5.14
Closes gh-24385
4 years ago
Stephane Nicoll 9aa170703d Upgrade to Dropwizard Metrics 4.1.16
Closes gh-24384
4 years ago
Stephane Nicoll 2770326356 Upgrade to DB2 JDBC 11.5.5.0
Closes gh-24383
4 years ago
Stephane Nicoll ad079bf58a Upgrade to Caffeine 2.8.7
Closes gh-24382
4 years ago
Stephane Nicoll df405e1636 Upgrade to Reactor 2020.0.2
Closes gh-24275
4 years ago
Stephane Nicoll f84cb1b765 Upgrade to Reactor Dysprosium-SR15
Closes gh-24274
4 years ago
Stephane Nicoll 07a1ef3604 Upgrade to Reactor Dysprosium-SR15
Closes gh-24273
4 years ago
Stephane Nicoll 0df3797c37 Upgrade to Spring Security 5.4.2
Closes gh-24297
4 years ago
Stephane Nicoll 4fa460d4a5 Start building against Spring Kafka 2.6.4 snapshots
See gh-24294
4 years ago
Stephane Nicoll eabcc81b03 Start building against Spring Batch 4.3.1 snapshots
See gh-24291
4 years ago
Stephane Nicoll 013d8ed990 Start building against Spring AMQP 2.3.2 snapshots
See gh-24288
4 years ago
Stephane Nicoll f3ae8d9e8e Start building against Spring HATEOAS 1.2.2 snapshots
See gh-24285
4 years ago
Scott Frederick d61724aada Add @Name support for Kotlin value object binding
Fixes gh-24379
4 years ago
Stephane Nicoll 64d4648ad1 Upgrade to Spring Security 5.3.6
Closes gh-24296
4 years ago
Stephane Nicoll 9b4cf0c2fc Start building against Spring Kafka 2.5.10 snapshots
See gh-24293
4 years ago
Stephane Nicoll 4d29098e6a Start building against Spring Batch 4.2.5 snapshots
See gh-24290
4 years ago
Stephane Nicoll c17442c37b Start building against Spring AMQP 2.2.13 snapshots
See gh-24287
4 years ago
Stephane Nicoll 92d088f33f Start building against Spring Data Neumann-SR6 snapshots
See gh-24283
4 years ago
Stephane Nicoll 60523b07b9 Start building against Spring Kafka 2.3.13 snapshots
See gh-24292
4 years ago
Stephane Nicoll 4c07539a9f Start building against Spring Batch 4.2.5 snapshots
See gh-24289
4 years ago
Stephane Nicoll dab6d0a53f Start building against Spring AMQP 2.2.13 snapshots
See gh-24286
4 years ago
Stephane Nicoll 9ce919d6dc Start building against Spring Data Moore-SR12 snapshots
See gh-24282
4 years ago
Stephane Nicoll 6e040740c6 Upgrade to Tomcat 9.0.40
Closes gh-24375
4 years ago
Stephane Nicoll ddda80909e Upgrade to Jetty 9.4.35.v20201120
Closes gh-24374
4 years ago
Stephane Nicoll 9eeae227b0 Upgrade to HttpCore 4.4.14
Closes gh-24373
4 years ago
Stephane Nicoll c1ef49ae63 Upgrade to Hibernate 5.4.25.Final
Closes gh-24372
4 years ago
Stephane Nicoll 1e252ab382 Upgrade to Groovy 2.5.14
Closes gh-24371
4 years ago
Stephane Nicoll ae71111893 Upgrade to Dropwizard Metrics 4.1.16
Closes gh-24370
4 years ago
Stephane Nicoll dfae03704b Upgrade to DB2 JDBC 11.5.5.0
Closes gh-24369
4 years ago
Stephane Nicoll fa3723eb8b Upgrade to Caffeine 2.8.7
Closes gh-24368
4 years ago
Stephane Nicoll 530b3e79a4 Upgrade to Spring Security 5.2.8.RELEASE
Closes gh-24366
4 years ago
Stephane Nicoll cabe0ef28b Upgrade to Neo4j Ogm 3.2.18
Closes gh-24365
4 years ago
Stephane Nicoll 6779180a94 Upgrade to Infinispan 9.4.21.Final
Closes gh-24364
4 years ago
Stephane Nicoll 75059beac3 Upgrade to Hibernate 5.4.25.Final
Closes gh-24363
4 years ago
Stephane Nicoll aa87b788e2 Upgrade to Jetty 9.4.35.v20201120
Closes gh-24362
4 years ago
Stephane Nicoll 28cf851ed8 Upgrade to Groovy 2.5.14
Closes gh-24361
4 years ago
Stephane Nicoll 0ea2ab1005 Upgrade to Tomcat 9.0.40
Closes gh-24360
4 years ago
Stephane Nicoll 193e3e5e82 Upgrade to Httpcore 4.4.14
Closes gh-24359
4 years ago
Stephane Nicoll e06c106a4f Upgrade to Byte Buddy 1.10.18
Closes gh-24358
4 years ago
Stephane Nicoll e8f6f6be17 Upgrade to Netty 4.1.54.Final
Closes gh-24357
4 years ago
Stephane Nicoll 8498f402e5 Upgrade to Dropwizard Metrics 4.1.16
Closes gh-24356
4 years ago
Stephane Nicoll 7689609f81 Upgrade to Db2 Jdbc 11.5.5.0
Closes gh-24355
4 years ago
Stephane Nicoll cf51d80278 Upgrade to Appengine Sdk 1.9.83
Closes gh-24354
4 years ago
Stephane Nicoll 264ff95753 Upgrade to Caffeine 2.8.7
Closes gh-24353
4 years ago
Stephane Nicoll d8706cdcfe Upgrade to Jackson 2.10.5.20201202
Closes gh-24352
4 years ago
Stephane Nicoll aba4c20823 Upgrade to Couchbase Client 2.7.18
Closes gh-24351
4 years ago
Phillip Webb ff0725f6bf Fix HazelcastHealthIndicatorTests
See gh-24337
4 years ago
Phillip Webb 55ae5be84b Revert "Restore HazelcastHealthIndicatorTests"
This reverts commit 5a51b5853e.
4 years ago
Phillip Webb 5a51b5853e Restore HazelcastHealthIndicatorTests
Restore `HazelcastHealthIndicatorTests` which was accidentally replaced
with a version from 2.4.x.

See gh-24337
4 years ago
Phillip Webb 30c27274e2 Merge branch '2.3.x'
Closes gh-24339
4 years ago
Phillip Webb 5f351a6983 Merge branch '2.2.x' into 2.3.x
Closes gh-24338
4 years ago
Phillip Webb d8a05090b3 Fix checkstyle BDD Mockito violations
See gh-24337
4 years ago
Phillip Webb 837fc83527 Fix checkstyle header violations
See gh-24337
4 years ago
dreis2211 0389a07f7c Remove deprecated code in EndpointDiscoverer
See gh-24317
4 years ago
dreis2211 b9ec88a7a5 Fix Asciidoc build step
See gh-24326
4 years ago
Madhura Bhave 977140053b Merge pull request #24325 from dreis2211
* pr/24325:
  Remove System.out.println in DevToolsPropertyDefaultsPostProcessor

Closes gh-24325
4 years ago
dreis2211 faec47d332 Remove System.out.println in DevToolsPropertyDefaultsPostProcessor
See gh-24325
4 years ago
Madhura Bhave 13a5ec169c Merge pull request #24323 from dreis2211
* pr/24323:
  Remove deprecated ExposeExcludePropertyEndpointFilter

Closes gh-24323
4 years ago
dreis2211 3e2d0c6d86 Remove deprecated ExposeExcludePropertyEndpointFilter
See gh-24323
4 years ago
Madhura Bhave d041c7d6b9 Document the granularity for property document imports
Closes gh-22987
4 years ago
Madhura Bhave 932fb65107 Correct external application properties load order
Fixes gh-24308
4 years ago
Phillip Webb 3dc03ac275 Refine non-optional classpath location checking
Update `StandardConfigDataLocationResolver` to no longer check if
directories exist for classpath resources. Unfortunately checking for
the parent directory of a `ClassPathResource` isn't always possible
without resorting something similar to the
`PathMatchingResourcePatternResolver` which would add a lot of
complexity to the resolver.

In order to ensure that non-optional locations are always resolved,
the `ConfigDataEnvironment` now checks that all imported locations
have been loaded.

Closes gh-24143
4 years ago
Scott Frederick 01478a25b4 Handle wrapper types in Env actuator
This commit modifies the actuator `EnvironmentEndpoint` to allow
primitive wrapper types to be serialized in the response data
structure.

Fixes gh-24307
4 years ago
Stephane Nicoll bd7e89be1a Start building against Spring Framework 5.3.2 snapshots
See gh-24278
4 years ago
Stephane Nicoll 7c59d8a32f Start building against Reactor 2020.0.2 snapshots
See gh-24275
4 years ago
Stephane Nicoll 065fde2996 Start building against Spring Framework 5.2.12 snapshots
See gh-24277
4 years ago
Stephane Nicoll 5f81882305 Start building against Reactor Dysprosium-SR15 snapshots
See gh-24274
4 years ago
Stephane Nicoll 9763ba56ba Start building against Spring Framework 5.2.12 snapshots
See gh-24276
4 years ago
Stephane Nicoll afeb9f29d4 Start building against Reactor Dysprosium-SR15 snasphots
See gh-24273
4 years ago
Jim Stockwell 728e474f7f Mark OriginTrackedPropertiesLoader#isNewDocument private
See gh-24268
4 years ago
Stephane Nicoll e6ccbfb017 Merge branch '2.3.x'
Closes gh-24259
4 years ago
Jim Stockwell bb7ad30de4 Fix ErrorAttributeOptions#getIncludes Javadoc
See gh-24257
4 years ago
João Guerra 1d6bacf1c8 Fix typo
See gh-24245
4 years ago
Stephane Nicoll f248cfe79c Polish "Check that WebClient is available"
See gh-24152
4 years ago
Tobias Gesellchen f6255cc691 Check that WebClient is available
This commit reinstanties the isWeBClientPresent() check so that
WebTestClientContextCustomizer is only added if a web client is
available.

See gh-24152
4 years ago
Stephane Nicoll b1678ee6ad Merge branch '2.3.x'
Closes gh-24251
4 years ago
Stephane Nicoll 9b992af34b Merge branch '2.2.x' into 2.3.x
Closes gh-24250
4 years ago
Stephane Nicoll d506f0c73e Polish "Reduce redis health indicator info command result size"
See gh-24208
4 years ago
xJoeWoo 99cc3f4bfc Reduce redis health indicator info command result size
See gh-24208
4 years ago
Stephane Nicoll 8bcc3d1b09 Merge branch '2.3.x'
Closes gh-24234
4 years ago
Stephane Nicoll 016b69aa78 Polish "Allow to exclude an empty set of ErrorAttributes"
See gh-24230
4 years ago
Wanderlei Souza 6518f8f7fd Allow to exclude an empty set of ErrorAttributes
See gh-24230
4 years ago
Andy Wilkinson 11c81ad245 Merge branch '2.3.x'
Closes gh-24223
4 years ago
Andy Wilkinson 7efa1e47aa Merge branch '2.2.x' into 2.3.x
Closes gh-24222
4 years ago
Andy Wilkinson 12f2529be5 Allow actuator endpoint to have responses with custom HTTP statuses
Fixes gh-24123
4 years ago
Andy Wilkinson 1f3012b466 Merge branch '2.3.x'
Closes gh-24220
4 years ago
Andy Wilkinson 0ed7f7f40a Merge branch '2.2.x' into 2.3.x
Closes gh-24219
4 years ago
Andy Wilkinson 08b9d1da57 Polish "Ensure that MeterRegistry bean is defined before SI looks for it"
See gh-24095
4 years ago
Artem Bilan 7d712aaa2d Ensure that MeterRegistry bean is defined before SI looks for it
Previously, it was possible for Spring Integration, including its
built-in Micrometer support, to be auto-configured before the
Micrometer auto-configuration had defined the MeterRegistry bean. This
resulted in missing Spring Integration metrics.

Spring Integration is unusual in having its own built-in Micrometer
support that it configures itself. Rather than providing
auto-configuration for Integration's Micrometer support (Which isn't
needed), this commit introduces some auto-configuration that just
affects the ordering of the auto-configuration classes. This ordering
ensures that the MeterRegistry bean has been defined by Spring
Integration is auto-configured. This ensures that the MeterRegistry
bean is known to the BeanFactory when Spring Integration goes looking
for it.

See gh-24095
4 years ago
Andy Wilkinson 4a7bc3d096 Require bean name match for Locale(Context)Resolver to back off
Web MVC and WebFlux look up by name the Locale(Context)Resolver beans
that they use. Previously, the auto-configured resolvers for MVC and
WebFlux would back off when any bean of the required type was defined,
irrespective of its name. If the name of the user's bean didn't match
the name used by MVC and WebFlux to find the custom resolver, the
custom resolver would be ignored and MVC and WebFlux would use their
defaults. There was no indication of this happening in the condition
evaluation report as all it would show is that the auto-configured
resolver had backed off in favour of the custom resolver. It wouldn't
show anything to explain why the custom resolver had not been used.

This commit updates the auto-configured resolvers to be conditional
on a missing bean of the name required by MVC and WebFlux. If the
user then defines a custom resolver with a different name, the
condition evaluation report will show that the auto-configured
resolver remained as the bean name didn't match.

Fixes gh-24209
4 years ago
Madhura Bhave e342d7d262 Fix processing of line immediately after # in properties file
Fixes gh-24158
4 years ago