Commit Graph

7030 Commits (e9e6c925e814def50d0f167803de25d56e662d63)

Author SHA1 Message Date
Phillip Webb 69c561a69a Rename health JSON 'details' to 'components' in v3
Update the health endpoint so the nested components are now exposed
under `components` rather than `details` when v3 of the actuator
REST API is being used.

This distinction helps to clarify the difference between composite
health (health composed of other health components) and health
details (technology specific information gathered by the indicator).

Since this is a breaking change for the REST API, it is only returned
for v3 payloads. Requests made accepting only a v2 response will have
JSON provided in the original form.

Closes gh-17929
5 years ago
Phillip Webb cd1b7c1a9c Test v3 actuator API with loggers endpoint
Update `LoggersEndpointWebIntegrationTests` to ensure that the new
v3 media type can be used.

See gh-17929
5 years ago
Phillip Webb deb9d67cef Add Actuator ApiVersion support and bump version
Add `ApiVersion` enum that can be injected into actuator endpoints if
they need to support more than one API revision.

Spring MVC, WebFlux and Jersey integrations now detect the API version
based on the HTTP accept header. If the request explicitly accepts a
`application/vnd.spring-boot.actuator.v` media type then the version
is set from the header. If no explicit Spring Boot media type is
accepted then the latest `ApiVersion` is assumed.

A new v3 API revision has also been introduced to allow upcoming health
endpoint format changes. By default all endpoints now consume and
can produce v3, v2 and `application/json` media types.

See gh-17929
5 years ago
Phillip Webb d83238aaab Merge branch '2.1.x'
Closes gh-18369
5 years ago
Phillip Webb 050460f635 Check factory bean for EntityManager datasource
Update `DataSourceInitializedPublisher` to fallback to the
`LocalContainerEntityManagerFactoryBean` if the
`javax.persistence.nonJtaDataSource` property is not defined.

As of Hibernate 4.3 the property is no longer set if the `EntityManager`
is created from a `PersistenceUnitInfo` instance rather than actual
properties.

Although this is being addressed in Hibernate issue HHH-13432, it's
not strictly a requirement of the JPA spec that the property is set.

Fixes gh-17061
5 years ago
Brian Clozel b15e26662a Upgrade to Spring Doc Resources 0.1.3
Closes gh-18293
5 years ago
dreis2211 4262aab446 Fix deprecation warnings caused by BodyInserters.fromObject
See gh-18349
5 years ago
Stephane Nicoll 48bf9a58c6 Upgrade to Reactor Dysprosium-RELEASE
Closes gh-18276
5 years ago
Stephane Nicoll 56623bd57b Upgrade to Reactor Californium-SR12
Closes gh-18348
5 years ago
Phillip Webb 323a78c4b9 Add property to migrate deprecated endoint IDs
Allow legacy actuator endpoint IDs that contain dots to be transparently
migrated to the new format. This update will allow Spring Cloud users
to proactively migrate from endpoints such as `hystrix.stream` to
`hystrixstream`.

Closes gh-18148
5 years ago
Madhura Bhave 0a70e33009 Merge branch '2.1.x'
Closes gh-18345
5 years ago
Madhura Bhave 342a0535d7 Explicitly configure SecurityWebFilterChain bean for reactive oauth2 client
This will ensure that ReactiveManagementWebSecurityAutoConfiguration backs
off and that the actuator endpoints are also secured via OAuth2.

Fixes gh-17949
5 years ago
Andy Wilkinson a354657ace Merge branch '2.1.x'
Closes gh-18343
5 years ago
Andy Wilkinson c613418451 Suppress body when handling a no content (204) "error"
Fixes gh-18136
5 years ago
Andy Wilkinson 4ab53dc8ce Fix broken and redirected links in the reference documentation
Fixes gh-18332
5 years ago
Andy Wilkinson b483e78f55 Revert "Workaround Spring Data Rest enforcer issue"
This reverts commit 90defac71c.

Closes gh-18335
5 years ago
Andy Wilkinson 35ad5cd011 Fix intermittent failure of inMemoryDerbyIsShutdown 5 years ago
Andy Wilkinson 419f92d381 Tune @ConditionalOnMissingBean for interface-based back off
Previously, a number of usages of @ConditionalOnMissingBean prevented
a bean that implements an auto-configured bean's "main" interface from
causing the auto-configuration of the bean to back off. This would
happen when @ConditionalOnMissingBean did not specify a type, the
@Bean method returned the bean's concrete type, and that concreate
type implements a "main" interface.

This commit updates such usages of @ConditionalOnMissingBean to
specify the "main" interface as the type of the bean that must be
missing. This will allow, for example, the auto-configured
MongoTemplate bean to back off when a MongoOperations bean is defined.

Fixes gh-18101
5 years ago
Brian Clozel eeaa9bc6c1 Fix ref docs code snippet theme
This commit also fixes a link in the reference documentation.

See gh-18293
5 years ago
dreis2211 d89adfac91 Test compression with invalid content type for all webservers
Closes gh-18338
5 years ago
Andy Wilkinson 3fa9e037fa Merge pull request #18337 from dreis2211
* gh-18337:
  Test compression with invalid content type for all webservers

Closes gh-18337
5 years ago
dreis2211 7bc28fc646 Test compression with invalid content type for all webservers
See gh-18337
5 years ago
Eddú Meléndez 82bf819c49 Add dependency management for io.rest-assured:spring-web-test-client
See gh-18330
5 years ago
Stephane Nicoll 3c8402f6af Polish
See gh-18194
5 years ago
Stephane Nicoll ddc96c1a62 Merge branch '2.1.x'
Closes gh-18336
5 years ago
leoli 09cf1e6791 Fix property name in "Task Execution and Scheduling" example
See gh-18331
5 years ago
Phillip Webb d7a472b8a6 Restore HealthIndicatorRegistry beans
Restore `HealthIndicatorRegistry` and `ReactiveHealthIndicatorRegistry`
auto-configured beans with a version that adapts to the new contributor
interfaces.

Closes gh-16903
5 years ago
Phillip Webb 5076d8562a Fix Artemis EmbeddedJMS initialization
Update `ArtemisConnectionFactoryFactory` to reference the new
embedded Artemis classes.

See gh-16646
5 years ago
Phillip Webb 90defac71c Workaround Spring Data Rest enforcer issue
Temporarily update `spring-boot-starter-data-rest` to declare
the correct spring-plugin version.
5 years ago
Andy Wilkinson 42e0dc14b5 Migrate from deprecated Artemis EmbeddedJMS
Closes gh-16646
5 years ago
Brian Clozel 60b1bbb8b2 Polish "Reference Spring Framework RSocket section + polish"
See gh-18321
5 years ago
Rossen Stoyanchev 9a70b5d1f5 Reference Spring Framework RSocket section + polish 5 years ago
Andy Wilkinson b9cfbf7c8b Merge branch '2.1.x'
Closes gh-18323
5 years ago
Andy Wilkinson 9df356ec4c Fix destination checking in Artemis auto-configuration tests
Closes gh-18319
5 years ago
Stephane Nicoll 98ad5e53ef Start building against Spring Web Services 3.0.8 snapshots
See gh-18316
5 years ago
Stephane Nicoll ba2c8b333f Start building against Spring HATEOAS 1.0.0 snapshots
See gh-18258
5 years ago
Stephane Nicoll 71e39c7847 Start building against Spring Security 5.2.0 snapshots
See gh-18256
5 years ago
Stephane Nicoll 06f5f73362 Start building against Spring Kafka 2.3.0 snapshots
See gh-18255
5 years ago
Stephane Nicoll c2df1afff0 Start building against Spring Integration 5.2.0 snapshots
See gh-18254
5 years ago
Stephane Nicoll c8dc76c5bf Start building against Spring Data Moore snapshots
See gh-18253
5 years ago
Stephane Nicoll 8d131c4fcd Start building against Spring Batch 4.2.0 snapshots
See gh-18252
5 years ago
Stephane Nicoll e70da5edb0 Start building against Spring AMQP 2.2.0 snapshots
See gh-18251
5 years ago
Andy Wilkinson f027139743 Upgrade to Commons Compress 1.19
Closes gh-18311
5 years ago
Andy Wilkinson 5cd7c727d4 Drop dependency management for Spring Plugin
Closes gh-18318
5 years ago
Andy Wilkinson 79d8089cd0 Remove redundant spring-plugin-core dependencies
Closes gh-18317
5 years ago
Stephane Nicoll 7533bfd0d3 Start building against Spring Web Services 3.0.8 snapshots
See gh-18315
5 years ago
Stephane Nicoll f6589e66c2 Start building against Spring Kafka 2.2.9 snapshots
See gh-18314
5 years ago
Stephane Nicoll d38d3ea940 Start building against Spring Integration 5.1.8 snapshots
See gh-18313
5 years ago
Stephane Nicoll 05f857d1f1 Start building against Spring AMQP 2.1.11 snapshots
See gh-18312
5 years ago
Andy Wilkinson e6d60d937e Ensure the use of UTF-8 encoding in ImageBannerTests
Closes gh-18301
5 years ago
Andy Wilkinson ec2483e897 Polish assertions in ImageBannerTests 5 years ago
Phillip Webb b3141d8887 Use hexadecimal for string compare failure
Update `ImageBannerTests` to use `inHexacecimal()` to help with
failure logs.

See gh-18301
5 years ago
Andy Wilkinson 2de7b3af4a Merge branch '2.1.x' 5 years ago
Andy Wilkinson e5f26a4f1a Rename test resource to be Windows-friendly 5 years ago
Andy Wilkinson 30c05b2b49 Support X-Forwarded-Host header when auto-configuring RemoteIpValve
Closes gh-18233
5 years ago
Phillip Webb 303974fde9 Add block pixel mode support for image banners
Add support for a `spring.banner.image.pixelmode` property which can
be set to `block` to use unicode block characters when rendering image
banners.

Closes gh-18301
5 years ago
Phillip Webb 4ef1e18216 Add ANSI 8-bit color image banner support
Update `ImageBanner` and `AnsiColors` to optionally support 8-bit
color output.

See gh-18264
5 years ago
Phillip Webb 7f79c26b6b Polish 'Add ANSI 8-bit color support'
See gh-18264
5 years ago
Toshiaki Maki 65a27ef6d6 Add ANSI 8-bit color support
Update ANSI property support to include an 8-bit (256 color) option.

See gh-18264
5 years ago
Phillip Webb 5ca5ec8395 Merge branch '2.1.x'
Closes gh-18299
5 years ago
Phillip Webb 1ceb96f9f2 Ensure matches is not called before initialization
Update `ApplicationContextRequestMatcher` to ensure that the `matches`
method is never called before `initialized`. This fixes an issue
accidentally introduced in commit 5938ca78 where concurrent calls
to `matches` could trigger unexpected errors due to the fact that the
second call proceeded before the `initialized` method had returned.

Fixes gh-18211
5 years ago
Phillip Webb 5427526bcc Fix ApplicationContextRequestMatcher javadoc
Fix an error in the `ApplicationContextRequestMatcher` javadoc.
5 years ago
Andy Wilkinson 4cc7fef728 Deprecate support for Spring Cloud Connectors in favor of Java CFEnv
Closes gh-17877
5 years ago
Andy Wilkinson 79b5fd9d73 Polish "Allow the user that runs the app to be specified via an env var"
See gh-16973
5 years ago
Wagner Macedo b57f35893c Allow the user that runs the app to be specified via an env var
See gh-16973
5 years ago
Andy Wilkinson ea6d9f3328 Merge branch '2.1.x'
Closes gh-18298
5 years ago
aohana 51a8c73b7b Test custom comment prefix with one that does not work by default
See gh-18285
5 years ago
Andy Wilkinson 451703f321 Merge branch '2.1.x'
Closes gh-18297
5 years ago
Alessandro Falappa b1750defde Fix typo in configuration metadata appendix
See gh-18289

Closes gh-18289
5 years ago
Phillip Webb 838e7eb605 Extract spring-doc-resources URL property
Update the build to use a shared spring-doc-resources URL
rather than repeating it multiple times.

See gh-18293
5 years ago
Madhura Bhave 7978c3d75c Polish 5 years ago
Madhura Bhave 48960c54d1 Drop . prefix from files in .config directory for devtools
Closes gh-18006
5 years ago
Madhura Bhave d092df43b7 Merge branch '2.1.x'
Closes gh-18296
5 years ago
Madhura Bhave 3c4449bf0e Polish "Fix typo in logback example"
See gh-18295
5 years ago
Harald Brabenetz 0091c04720 Fix typo in logback example
See gh-18295
5 years ago
Brian Clozel 73ed96893f
Polish spring-doc-resources update
See gh-18293
5 years ago
Phillip Webb 221ff0ff6d Polish configuration property bean classes
Refactor the `org.springframework.boot.actuate.context` package
with the following changes:

- Deprecate several classes which would ideally be internal

- Replace `ConfigurationBeanFactoryMetadata` with a new
  `ConfigurationPropertiesBean` class to better reflect that we no
  longer maintain meta-data directly.

- Use constructor injection and final fields whenever possible

- Rename `ConfiguraionPropertiesBeanDefinition` to
  `ConfigurationPropertiesValueObjectBeanDefinition` to align
  with the binder changes made in commit 0b3015e4ff

- Add additional tests

Closes gh-16903
5 years ago
Brian Clozel 3b0c4b1837 Upgrade Spring Doc Resources and switch to light theme
See gh-18293
5 years ago
Brian Clozel 79e4d1354d Warn about RSocket web server compatibility
This commit warns developers about the fact that plugging RSocket into
an existing web server is only possible with Reactor Netty web servers.
RSocket itself is using Reactor Netty, so this is why we can plug an
RSocket over websocket handler in an existing Reactor Netty handler.

This feature is not possible with other web servers, as existing APIs do
not make that possible.

Fixes gh-17494
5 years ago
Andy Wilkinson 8791b696f8 Add auto-configuration support for TransactionalOperator
Closes gh-18265
5 years ago
Andy Wilkinson 3b01bc0366 Switch TransactionAutoConfigurationTests to ApplicationContextRunner 5 years ago
Brian Clozel 070eedaa19 Configure RouteMatcher at the RSocketStrategies level
After a change in Spring Framework (see
spring-projects/spring-framework#23314), the `RouteMatcher` to be used
with the RSocket infrastructure is configured on the `RSocketStrategies`
directly.

This commit moves the auto-configuration of the
`PathPatternRouteMatcher` from the message handling parts to the RSocket
strategy one.

Closes gh-17571
5 years ago
Andy Wilkinson 02ac089767 Polish "Support zip64 jars"
See gh-16091
5 years ago
Camille Vienot 1917e1eac5 Support zip64 jars
See gh-16091
5 years ago
Andy Wilkinson d5fc324537 Upgrade to Asciidoctor Maven Plugin 1.6.0
Closes gh-17234
5 years ago
Johnny Lim 0243cfa23e Fix a broken Asciidoctor syntax
Along the way, this commit also fixes a typo.

See gh-18288
5 years ago
Madhura Bhave 02759d65bf Merge branch '2.1.x' 5 years ago
Madhura Bhave f9d94c6ed0 Remove duplicate word in docs 5 years ago
Andy Wilkinson 39c1e47eb7 Use 3 decimal places at most for logged startup time
Fixes gh-18278
5 years ago
Andy Wilkinson 7d3e53c94c Fix test expectations for run-fork JVM args on Java 13+
Closes gh-17008
5 years ago
Stephane Nicoll 19115d19f0 Merge branch '2.1.x'
Closes gh-18283
5 years ago
Alessandro Falappa 6dab9bb224 Fix pre-defined logging group documentation
See gh-18270
5 years ago
Johnny Lim b70be97cbf Polish
See gh-18281
5 years ago
Andy Wilkinson d2b28ceba5 Don't add -Xverify:none to JVM args when running on Java 13
Closes gh-17008
5 years ago
Brian Clozel ce2c26e934 Use Reactor's new Schedulers.boundedElastic()
Prior to this commit, Spring Boot would use `Schedulers.elastic()` when
required to process blocking tasks in a reactive environment.
reactor/reactor-core#1804 introduced a new scheduler,
`Schedulers.boundedElastic()` that behaves quite similarly but:

* will limit the number of workers thread
* will queue tasks if no worker thread is available and reject them is
the queue is exceeds a limit

This allows Spring Boot to schedule blocking tasks as before and allows
greater flexibility.

Fixes gh-18269
See gh-18276
5 years ago
Andy Wilkinson 9377b9a9e4 Support -- and # by default as Quartz datasource init comment prefixes
Closes gh-17435
5 years ago
rajadilipkolli abcff3a3b3 Use try-with-resources in HttpTunnelPayload
See gh-11779
5 years ago
Andy Wilkinson 9d3586d0b8 Test DatabaseDriver.ORACLE now it's available from Maven Central
Closes gh-18274
5 years ago
Andy Wilkinson dce9d3da82 Add dependency management for Oracle's JDBC driver
Closes gh-18242
5 years ago
Andy Clement 4fecefe149 Add Graal checks ahead of some interactions with ClassLoader methods
See gh-18262
5 years ago
Andy Wilkinson b15e427a3e Improve handling of non-standard status codes in WebFluxTags
Closes gh-18267
5 years ago
Andy Wilkinson 6534047fcf Rework test slice annotation javadoc to reflect JUnit 5 default
Closes gh-18178
5 years ago
Alessandro Falappa 38fb16a79d Fix typos in HealthContributors definition
See gh-18249
5 years ago
Andy Wilkinson 5ea994d955 Merge pull request #18248 from AlexFalappa
* gh-18248:
  Remove duplicated row from HealthIndicators table

Closes gh-18248
5 years ago
Alessandro Falappa 4aa186d6e5 Remove duplicated row from HealthIndicators table
See gh-18248
5 years ago
Andy Wilkinson c662c404c5 Do not enable H2C by default when using Reactor Netty
Previously, Reactor Netty was the only embedded server that enabled
H2C by default. This commit updates the factory to only enable HTTP/2
when SSL has also been configured, aligning it with Jetty, Tomcat,
and Undertow.

If H2C is required, it can be enabled using a NettyServerCustomizer:

@Bean
NettyServerCustomizer h2cCustomizer() {
    return (httpServer) ->
           httpServer.protocol(HttpProtocol.HTTP11, HttpProtocol.H2C);
}

Closes gh-17867
5 years ago
Andy Wilkinson d5adbbb626 Split appendices into multiple pages and include a ToC in each
Closes gh-16289
5 years ago
Stephane Nicoll 81ddebbc27 Merge branch '2.1.x'
Closes gh-18239
5 years ago
Stephane Nicoll 9434cb0e22 Keep a live reference of protocol resolvers rather than copying them
This commit makes sure that any subsequent call on addProtocolResolver
on the context will impact the ResourceLoader implementation that
DevTools sets on the context.

This makes sure that any custom ProtocolResolver that is set later in
the lifecycle is taken into account.

Closes gh-17214
5 years ago
Stephane Nicoll b3b6605713 Merge branch '2.1.x'
Closes gh-18236
5 years ago
Stephane Nicoll a642421661 Force creation of sources jar
Closes gh-18212
5 years ago
Andy Wilkinson 448f5b8650 Simplify error page config by dropping redundant support for Tomcat 7
Closes gh-17937
5 years ago
Andy Wilkinson 84b2438c4c Upgrade to Jersey 2.29.1
Closes gh-17430
5 years ago
Andy Wilkinson cc67213b1f Correct capitalization of GemFire in the reference docs
Closes gh-18001
5 years ago
Andy Wilkinson 6f20ba9550 Remove mention of Spring IO Platform from reference docs
Closes gh-17986
5 years ago
Phillip Webb ad32603635 Restore compatibility with MockRestServiceServer
Closes gh-17885
5 years ago
Stephane Nicoll 3d5530d15d Merge branch '2.1.x'
Closes gh-18234
5 years ago
leoli a0d2721e33 Use custom port for RSocket server over websocket
Prior to this change, the custom port configured for the RSocket
server would not be used if the server factory is using the
websocket transport and is provided with a custom
`ReactorResourceFactory`.

Fixes gh-18200
5 years ago
Stephane Nicoll 9065c4997d Fix rebase from master 5 years ago
Stephane Nicoll e05f42f0f3 Polish Add Testable to CLASS_ANNOTATIONS in TestTypeExcludeFilter"
See gh-18214
5 years ago
Leonard Brünings b9c8d7dd60 Add Testable to CLASS_ANNOTATIONS in TestTypeExcludeFilter
See gh-18214
5 years ago
Stephane Nicoll a0d7d52106 Polish "Add ROLLING_FILE_NAME_PATTERN for File Appender"
See gh-18151
5 years ago
Eddú Meléndez 4a3810a0f1 Add ROLLING_FILE_NAME_PATTERN for File Appender
This new property allows to customize `fileNamePattern` if it is set.
Otherwise, a default pattern remains. Also, new property is supported
`logging.pattern.rolling-file-name`.

See gh-18151
5 years ago
Phillip Webb 06f46baa9d Build against Spring Framework 5.2.0 snapshots
See gh-18232
5 years ago
Andy Wilkinson 2e6f15b6f3 Fix intermittent failure of inMemoryDerbyIsShutdown 5 years ago
Andy Wilkinson 1b237de5f5 Use Awaitility in our own tests
Closes gh-18227
5 years ago
Andy Wilkinson 568caa1206 Add dependency management for Awaitility
Closes gh-18205
5 years ago
Andy Wilkinson 47eee7bec8 Merge branch '2.1.x'
Closes gh-18226
5 years ago
Andy Wilkinson b1ca1ae6e9 Add missing dependency management for Janino modules
Closes gh-18225
5 years ago
Andy Wilkinson b9bb84236b Restore compatibility with Flyway 5.2
Previously, the upgrade to Flyway 6 broke compatibility with Flyway
5.2 due to the use of method references that refer to two methods
that do not exist in Flyway 5.2.

This commit replaces the method references with lambdas that are only
called if the user sets the related property. Unless a new-in-Flyway-6
property is set, the auto-configuration will work as before. When such
a property is set the auto-configuration will fail with a
NoSuchMethodError. This approach was chosen to make the
incompatibility clear.

We have also introduced support for passing any JavaMigration beans
in the context into Flyway. This too relies on API that is new in
Flyway 6. It is possible (although unlikely) that users had
JavaMigration beans in Spring Boot 2.1 that were being ignored. This
commit restores this behaviour when using Flyway 5.2.

Closes gh-18193
5 years ago
Stephane Nicoll b5589f8abe Merge branch '2.1.x'
Closes gh-18222
5 years ago
Peter Sauer dba18ce778 Fix minor typo
The phrase `We have you covered.` is a sentence and so it should start
with a capital `W`.

See gh-18216
5 years ago
Phillip Webb 8e398e164c Fix checkstyle violations 5 years ago
Phillip Webb eea5d15412 Merge branch '2.1.x'
Closes gh-18219
5 years ago
Phillip Webb 23174eb484 Remember annotations when using withExistingValue
Update `Bindable` builder methods so that existing annotations are
retained.

Closes gh-18218
5 years ago
Stephane Nicoll 70f7e47002 Polish "Use Duration for ServerProperties.Jetty.idleTimeout"
See gh-18206
5 years ago
Johnny Lim 96019362f7 Use Duration for ServerProperties.Jetty.idleTimeout
See gh-18206
5 years ago
Johnny Lim 5b41c3b608 Polish
See gh-18192
5 years ago
Brian Clozel 219bafaba1 Apply RSocket server customizers to netty web server
This commit applies `ServerRSocketFactoryCustomizer` beans to RSocket
setups when the RSocket server is being plugged into an existing Reactor
Netty web server.

Fixes gh-18208
5 years ago
Andy Wilkinson f033016364 Allow @Component on mutable @ConfigurationProperties
Update configuration properties support to allow the `@Component`
annotation to be used on `@ConfigurationProperties` beans as long
as they are mutable.

This restores the behavior of Spring Boot 2.1 for mutable beans whilst
still allowing us to enforce the stricter rules for immutable value
object configuration properties.

Closes gh-18138
5 years ago
wonwoo b321dacc1c Fix typo in javadoc
See gh-18187
5 years ago
Andy Wilkinson 0074a7c662 Merge branch '2.1.x' 5 years ago
Andy Wilkinson 4f21b51a2b Polish one sentence per line in the reference docs 5 years ago
Stephane Nicoll a56eb4b974 Fix typo 5 years ago
Stephane Nicoll ae34ae78dc Polish "Remove management.health.status.order from docs"
See gh-18170
5 years ago
dreis2211 0975b5b220 Fix link formatting in custom HealthIndicator section
See gh-18170
5 years ago
dreis2211 7a49651e09 Remove management.health.status.order from docs
See gh-18170
5 years ago
Stephane Nicoll 14a676052f Polish
This commit moves `@ConfigurationProperties` to the `@Bean` factory
method as this is unusual to put it at class level if it's exposed
that way.

As HealthIndicatorProperties has a constructor, this makes sure that
the annotation processor enables JavaBean binding mode.
5 years ago
Stephane Nicoll 39fed4a9d9 Fix binding detection of ConfigurationProperties contributed by @Bean
This commit makes sure that a ConfigurationProperties type contributed
by a `@Bean` factory method uses properties binding regardless of the
presence of a matching constructor.

`@Bean` method makes sure the user is in control and will be responsible
of creating the instance. As a result, binding of properties will not
happen there and therefore can only happen with regular JavaBean
accessors.

Closes gh-18184
5 years ago
Andy Wilkinson 0c0e2dd54b Merge branch '2.1.x'
Closes gh-18186
5 years ago
Andy Wilkinson 674d3dd262 Polish health endpoint documentation for groups and nesting
Closes gh-14022
5 years ago
Andy Wilkinson 7b1e10ed00 Use one sentence per line in Actuator and Gradle plugin doc source
Closes gh-18185
5 years ago
gaohanghang 74d2fe472a Simplify code
See gh-18175
5 years ago
Andy Wilkinson 41111ac96f Upgrade to Junit Jupiter 5.5.2
Closes gh-18182
5 years ago
Andy Wilkinson ba6bd12898 Upgrade to Glassfish El 3.0.3
Closes gh-18181
5 years ago
Andy Wilkinson 35c01e3f08 Upgrade to Micrometer 1.2.1
Closes gh-18180
5 years ago
dreis2211 09e991ca1c Fix broken links for master snapshot builds
See gh-18172
5 years ago
Andy Wilkinson 2472836c48 Upgrade to Spring Session Bom Corn-M4
Closes gh-17903
5 years ago
Andy Wilkinson 9b6a425f91 Upgrade to Spring Batch 4.2.0.RC1
Closes gh-17899
5 years ago
Andy Wilkinson 9262a55892 Upgrade to Spring Kafka 2.3.0.RC1
Closes gh-17902
5 years ago
Andy Wilkinson 57d2c38dee Upgrade to Spring AMQP 2.2.0.RC1
Closes gh-17898
5 years ago
Andy Wilkinson c4e2784ac2 Upgrade to Spring Integration 5.2.0.RC1
Closes gh-17901
5 years ago
Andy Wilkinson 87c7307d28 Upgrade to Spring Security 5.2.0.RC1
Closes gh-17897
5 years ago
Andy Wilkinson 80b8f19961 Tune @ConditionalOnMissingBean for interface-based back off
Previously, a number of usages of @ConditionalOnMissingBean prevented
a bean that implements an auto-configured bean's "main" interface from
causing the auto-configuration of the bean to back off. This would
happen when @ConditionalOnMissingBean did not specify a type, the
@Bean method returned the bean's concrete type, and that concreate
type implements a "main" interface.

This commit updates such usages of @ConditionalOnMissingBean to
specify the "main" interface as the type of the bean that must be
missing. This will allow, for example, the auto-configured
MongoTemplate bean to back off when a MongoOperations bean is defined.
5 years ago
Andy Wilkinson ff1983c9ae Merge branch '2.1.x'
Closes gh-18168
5 years ago
Andy Wilkinson 795c2f225f Support getComment() on a nested JarFile
Previously, calling getComment() on a nested jar file would result
in the outer jar file's comment being returned.

This commit updates the loader's JarFile to read the file's comment
from the central directory end record and return it from getComment().

Fixes gh-18128
5 years ago
Andy Wilkinson fc1889ee72 Merge branch '2.1.x'
Closes gh-18167
5 years ago
dreis2211 ae30515e5e Test the Gradle Plugin against Gradle 5.6.2
See gh-18164
5 years ago
Andy Wilkinson 71d5d481ad Merge branch '2.1.x'
Closes gh-18165
5 years ago
Andy Wilkinson 19ccfaea86 Fix QuartzAutoConfiguration when Liquibase is not on the class path
Fixes gh-18153
5 years ago
Andy Wilkinson 715e90437f Merge branch '2.1.x' 5 years ago
Andy Wilkinson 8882c532cd Correct attribute references in reference documentation
Fixes gh-18163
5 years ago
Andy Wilkinson 07eb1815b2 Upgrade to Spring Data Moore-RC3
Closes gh-17900
5 years ago
Andy Wilkinson 628854c53d Upgrade to Neo4j Ogm 3.2.0-RC2
Closes gh-18162
5 years ago
Andy Wilkinson 6de723e225 Upgrade to Jooq 3.12.1
Closes gh-18161
5 years ago
Andy Wilkinson 283c67713a Upgrade to Kotlin Coroutines 1.3.1
Closes gh-18160
5 years ago
Andy Wilkinson a0a214de24 Upgrade to Elasticsearch 6.8.3
Closes gh-18159
5 years ago
Andy Wilkinson f799e1dcd9 Upgrade to Ehcache3 3.8.1
Closes gh-18158
5 years ago
Andy Wilkinson 9554bf5eff Upgrade to Jakarta Ws Rs 2.1.6
Closes gh-18157
5 years ago
Andy Wilkinson e922e2ab66 Upgrade to Jakarta Websocket 1.1.2
Closes gh-18156
5 years ago
Andy Wilkinson 03314a752e Upgrade to Jakarta Servlet Jsp Jstl 1.2.7
Closes gh-18155
5 years ago
Andy Wilkinson 61cbb1cade Upgrade to Jakarta Servlet 4.0.3
Closes gh-18154
5 years ago
Andy Wilkinson 1f875d552a Polish "Add a config property for JMS listener container's receive timeout"
See gh-17332
5 years ago
ibmmqmet 1cde657861 Add a config property for JMS listener container's receive timeout
See gh-17332
5 years ago
Andy Wilkinson 6328f2e8a8 Polish "Make logError() in AbstractErrorWebExceptionHandler overrideable"
See gh-17863
5 years ago
Peter Jurkovic 7ea612beaf Make logError() in AbstractErrorWebExceptionHandler overrideable
See gh-17863
5 years ago
Andy Wilkinson e8de5a6d95 Provide a public API for determining a request's outcome
Closes gh-18150
5 years ago
dreis2211 a2a672de0e Improve handling of non-standard status codes in WebMvcTags
See gh-17998
5 years ago
Andy Wilkinson 4069d855e8 Upgrade to Spring HATEOAS 1.0.0.RC2
Closes gh-17904
5 years ago
Andy Wilkinson 58eddb8fa4 Become compatible with Jackson 2.10 while remaining 2.9 compatible
See gh-17999
5 years ago
Stephane Nicoll 743351e067 Upgrade to Httpcore 4.4.12
Closes gh-18147
5 years ago
Stephane Nicoll 798fe069ce Upgrade to Activemq 5.15.10
Closes gh-18146
5 years ago
Stephane Nicoll a4582307da Upgrade to Undertow 2.0.26.Final
Closes gh-18145
5 years ago
Stephane Nicoll 9cd93ac98f Upgrade to Httpcore 4.4.12
Closes gh-18144
5 years ago
Stephane Nicoll 5fe4f3b25a Upgrade to Activemq 5.15.10
Closes gh-18143
5 years ago
Stephane Nicoll fd77fd4f05 Upgrade to Undertow 2.0.26.Final
Closes gh-18142
5 years ago
Stephane Nicoll e978f9ac8e Upgrade to Reactor Bom Californium-SR11
Closes gh-18141
5 years ago
Stephane Nicoll e7474b55de Upgrade to Reactor Dysprosium-RC1
Closes gh-17895
5 years ago
Stephane Nicoll 359279b1fb Upgrade to Spring Framework 5.2.0.RC2
Closes gh-17896
5 years ago
Stephane Nicoll 7cb2eb1850 Polish "Polish test"
See gh-18130
5 years ago