Commit Graph

23370 Commits (cd1b7c1a9cc9dbc8d92b5cfe6831af75eac6c888)
 

Author SHA1 Message Date
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
Stephane Nicoll 4e0de90e5a Merge branch '2.1.x' 5 years ago
Stephane Nicoll 9c09c7d5ca Prohibit upgrade to Netty 4.1.40+
See https://github.com/reactor/reactor-netty/issues/844
5 years ago
Brian Clozel b15e26662a Upgrade to Spring Doc Resources 0.1.3
Closes gh-18293
5 years ago
Stephane Nicoll 8c029959e6 Upgrade Java 13 version in CI image
Closes gh-18357
5 years ago
Madhura Bhave 8088e79f48 Merge branch '2.1.x'
Closes gh-18355
5 years ago
Madhura Bhave 401a6b586e Remove war packaging from Jersey sample
This also removes the need for the tomcat starter to be in provided
scope.

Closes gh-18346
5 years ago
Andy Wilkinson 7548da1b40 Merge pull request #18349 from dreis2211
* gh-18349:
  Fix deprecation warnings caused by BodyInserters.fromObject

Closes gh-18349
5 years ago
dreis2211 4262aab446 Fix deprecation warnings caused by BodyInserters.fromObject
See gh-18349
5 years ago
Andy Wilkinson eb00ba7470 Merge pull request #18351 from dreis2211
* gh-18351:
  Fix checkstyle errors in SampleReactiveOAuth2ClientApplicationTests

Closes gh-18351
5 years ago
dreis2211 de6c38398e Fix checkstyle errors in SampleReactiveOAuth2ClientApplicationTests
See gh-18351
5 years ago
Stephane Nicoll 48bf9a58c6 Upgrade to Reactor Dysprosium-RELEASE
Closes gh-18276
5 years ago
Stephane Nicoll ea5ca500ac Merge branch '2.1.x' 5 years ago
Stephane Nicoll 56623bd57b Upgrade to Reactor Californium-SR12
Closes gh-18348
5 years ago
Phillip Webb f1ec810caf Polish 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 bdfed317e1 Merge branch '2.1.x' 5 years ago
Andy Wilkinson 042de97cf3 Merge branch '2.1.x' 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
Andy Wilkinson 039aa16579 Merge branch '2.1.x' 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
Andy Wilkinson c5cb41df55 Merge pull request #18330 from eddumelendez
* gh-18330:
  Add dependency management for io.rest-assured:spring-web-test-client

Closes gh-18330
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
Stephane Nicoll 12751fe50a Merge pull request #18331 from polarbear567
* pr/18331:
  Fix property name in "Task Execution and Scheduling" example

Closes gh-18331
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 b210d2fcef Merge pull request #18321 from rstoyanchev
* gh-18321:
  Polish "Reference Spring Framework RSocket section + polish"
  Reference Spring Framework RSocket section + polish

Closes gh-18321
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