Commit Graph

7190 Commits (7f509bf84e9b51416ce65a777a3b5b2521921a6f)

Author SHA1 Message Date
Johnny Lim d60d59434d Polish
See gh-18531
5 years ago
leoli 2b5f8f36a2 Fix ImmutableConfigurationProperties import statement in ref docs
See gh-18548
5 years ago
Andy Wilkinson e62ca778e9 Merge branch '2.1.x'
Closes gh-18554
5 years ago
dreis2211 ba46ab6a4f Remove accidental usage of UnsupportedOptionException
See gh-18539
5 years ago
dreis2211 09b9d18d88 Fix formatting issue
See gh-18544
5 years ago
dreis2211 e70a5686bf Fix checkstyle warning
See gh-18541
5 years ago
Stephane Nicoll 32a1cdf4d3 Polish "Use dedicated method to turn off authentication"
See gh-18538
5 years ago
Michael Simons 04a01a49c2 Use dedicated method to turn off authentication
See gh-18538
5 years ago
Andy Wilkinson b5243c5076 Polish "Polish"
See gh-18534
5 years ago
Kant Leung 2f73e196af Polish
See gh-18534
5 years ago
Johnny Lim e9e6c925e8 Remove a duplicate assertion
See gh-18524
5 years ago
Andy Wilkinson 002b2709d9 Document auditevent and httptrace endpoints' need for repositories
Closes gh-18352
5 years ago
Andy Wilkinson 8b9890eb5d Remove Woodstox dependency management after Jackson upgrade
The upgrade to Jackson 2.10.0 means that the possibility of getting
an incompatible combination of Woodstox and the StAX API when
building with Maven has gone. This commit removes the dependency
management as it was only added to work around the incompatibility
in Jackson's transitive dependencies.

Closes gh-18500
5 years ago
Andy Wilkinson 078536aded Merge branch '2.1.x'
Closes gh-18502
5 years ago
Andy Wilkinson f42b442ce2 Fix handling of encoded URLs in Class-Path manifest attribute
Fixes gh-18410
5 years ago
Andy Wilkinson bc8a88d734 Upgrade to Webjars Locator Core 0.41
Closes gh-18497
5 years ago
Andy Wilkinson b7e434d5f8 Upgrade to Mockito 3.1.0
Closes gh-18496
5 years ago
Andy Wilkinson 2d08842ad7 Upgrade to Hibernate 5.4.6.Final
Closes gh-18495
5 years ago
Andy Wilkinson a73f7829eb Upgrade to Johnzon Jsonb 1.2.0
Closes gh-18493
5 years ago
Andy Wilkinson a907519ff5 Upgrade to Okhttp3 3.14.4
Closes gh-18492
5 years ago
Phillip Webb be7a7bb2e9 Refine String to File conversion support
Refine the conversion support so that file URLs are support without
reintroducing gh-12163.

Closes gh-16931
5 years ago
Johnny Lim 701bd0dd46 Polish
See gh-18490
5 years ago
Phillip Webb 946202bd42 Polish 'Support 'New Relic' eventType properties'
See gh-18472
5 years ago
Neil Powell e73ae62621 Support 'New Relic' eventType properties
Update `NewRelicProperties` so that the event type sent with each
metric can be configured. An additional `boolean` property has
also been added if the previous behavior using the "meter-name"
is required.

NewRelic's own agents publish metrics to eventTypes aligned with broader
categories. To align with their recommendation the default behavior is
to publish metrics under a "SpringBootSample" category. When doing so,
additional context is provided by including "metricName" and
"metricType" attributes.

See gh-18472
5 years ago
Phillip Webb 3c7d3f9482 Add String to File conversion support
Add `String` -> `File` support to the `ApplicationConversionService`
that can support both simple filename as well as file URLs.

This allows Spring Boot application to work in a similar way to vanilla
Spring applications where Spring's `FileEditor` provides similar
support.

Closes gh-16931
5 years ago
Phillip Webb 61873fbf42 Don't generate @Configuration metadata
Update `AutoConfigureAnnotationProcessor` to no longer store
`@Configuration.value` in the meta-data JSON since we never actually
read it.

Closes gh-16608
5 years ago
Phillip Webb 795303d667 Replace depends-on post processor configurations
Replace `AbstractDependsOnBeanFactoryPostProcessor` `@Configuration`
classes with simple `@Import` component classes.

Closes gh-18382
5 years ago
Madhura Bhave fcbd4408c9 Fix @since tag 5 years ago
Phillip Webb 386c0a60a7 Relax @ConstructorBinding member class requirement
Update `@ConfigurationProperties` so that `@ConstructorBinding` classes
no longer need to repeat the annotation for their members.

Closes gh-18481
5 years ago
Madhura Bhave e6bb7a0a6f Add spring security rsocket dependency to docs 5 years ago
Phillip Webb 9582aa3f3c Remove accidentally committed debug sysout 5 years ago
Phillip Webb b1f23f54df Prevent ValueBinder from being incorrectly used
Fix a regression caused by e41c5a43 which incorrectly allowed the
`ValueObjectBinder` to be picked when the `JavaBeanBinder` should
have been used.

Closes gh-18485
5 years ago
Madhura Bhave 5547a8499f Polish 5 years ago
Madhura Bhave 58fc337315 Polish 5 years ago
Madhura Bhave fd721575f0 Add spring security saml dependency to docs 5 years ago
Madhura Bhave 40ac5b4ae2 Autoconfigure RSocket Security
Closes gh-18356
5 years ago
Madhura Bhave bc96e09965 Add additional test for reactive security auto-config 5 years ago
Stephane Nicoll 45f6668d03 Use @ConstructorBinding when generating meta-data
Update the configuration processor to use the newly introduced
`@ConstructorBinding` annotation to determine when meta data
should be generated from constructor parameters.

Prior to this commit, the processor had no good way to tell when
constructor parameters should be used instead of getters/setters.

Closes gh-17035
5 years ago
Phillip Webb 4208c93ba7 Validate @ConfigurationProperties bean definitions
Add a bean definition post-processor that throws a better exception
if @ConstructorBinding property beans are being instantiated as
regular Spring beans.

Prior to this commit, a constructor bound properties bean would fail
with an unsatisfied dependency exception which isn't all that helpful.

Closes gh-17831
5 years ago
Madhura Bhave 22ed56ac52 Add auto-config for Spring Security's SAML support
Closes gh-18260

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Phillip Webb 71f8347c81 Rename ServerRSocketFactoryCustomizer
Rename `ServerRSocketFactoryCustomizer` to
`ServerRSocketFactoryProcessor` to better reflect that it is not a
traditional customizer.

Closes gh-18390
5 years ago
Andy Wilkinson 96f85a40de Support customization of WebTestClient.Builder when using @SpringBootTest
Closes gh-15132
5 years ago
Andy Wilkinson 9e514ab7f9 Provide plugin release repository for Asciidoctor Extensions
See b5069a4f8a
5 years ago
Andy Wilkinson dab69cfbd2 Upgrade to Promethus Pushgateway 0.7.0
Closes gh-18418
5 years ago
Andy Wilkinson b5069a4f8a Upgrade to Spring Asciidoctor Extensions 0.3.0.RELEASE
Closes gh-18474
5 years ago
Andy Wilkinson 46c30d6bb0 Merge branch '2.1.x'
Closes gh-18476
5 years ago
Andy Wilkinson 3d4157ad6d Correct SCM URLs in published poms
Previously, Maven's default behaviour was relied up which resulted
in the artifact ID being appended to each URL as it was inherited.
This behaviour can only be disabled in Maven 3.6 and later, a version
that we cannot use due to an incompatibility with the Flatten Plugin.

This commit works around Maven's default behaviour by defining
properties for the SCM URL, connection, and developer connection and
then explicitly defining the settings in each pom using these
properties. The explicit definition of the properties in each pom
prevents them being inherited from the parent, thereby disabling the
unwanted appending of the artifact ID to the URL.

Fixes gh-18328
5 years ago
Andy Wilkinson f029fa55da Upgrade to Spring Batch 4.2.0.RELEASE
Closes gh-18252
5 years ago
Andy Wilkinson e507d47571 Upgrade to Spring Session Corn-RC1
Closes gh-18257
5 years ago
Phillip Webb b65ba60980 Polish 'Simplify some code'
See gh-18438
5 years ago
kenneth e6b45de41e Simplify some code
See gh-18438
5 years ago
Phillip Webb e41c5a4327 Require annotation signal for constructor binding
Update `@ConfigurationProperties` constructor binding support to only
apply when a `@ConstructorBinding` annotation is present on either the
type or the specific constructor to use.

Prior to this commit we didn't have a good way to tell when constructor
binding should be used vs regular autowiring.

For convenience, an `@ImmutableConfigurationProperties` meta-annotation
has also been added which is composed of `@ConfigurationProperties` and
`@ConstructorBinding`.

Closes gh-18469
5 years ago
Phillip Webb ecf751e7eb Polish 5 years ago
Andy Wilkinson 557d187607 Revert "Upgrade to Spring Session Corn-RC1"
This reverts commit e7e69e2e16.

See gh-18257
5 years ago
Andy Wilkinson e7e69e2e16 Upgrade to Spring Session Corn-RC1
Closes gh-18257
5 years ago
Vedran Pavic 4808016560 Align with Spring Session MongoDB deprecations
See gh-18470
5 years ago
Andy Wilkinson 6a5f608f30 Upgrade to Spring Kafka 2.3.0.RELEASE
Closes gh-18255
5 years ago
Andy Wilkinson 9e1825ed42 Upgrade to Spring Integration 5.2.0.RELEASE
Closes gh-18254
5 years ago
Andy Wilkinson ead1304bb5 Upgrade to Spring AMQP 2.2.0.RELEASE
Closes gh-18251
5 years ago
Phillip Webb b262ebf5b4 Update copyright header of changed files 5 years ago
Phillip Webb a8139ba819 Merge branch '2.1.x' 5 years ago
Phillip Webb 40acbfc733 Update copyright header of changed files 5 years ago
Phillip Webb 262eb686d0 Merge branch '2.1.x'
Closes gh-18468
5 years ago
Madhura Bhave ecf393461e Skip management context ResourceConfigCustomizers
Update `JerseyManagementContextConfiguration` so that customizer beans
are not longer applied. The endpoint resource endpoints are now added
with a registrar bean `@PostConstruct` method.

Prior to this commit, when running the management server on a different
port a `Resource` added by a customizer could be added two different
`ResourceConfig` instance. This breaks the singleton contract expected
by Jersey.

Fixes gh-17801

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Stephane Nicoll 5f4ddd98d8 Upgrade to Spring Security 5.2.0.RELEASE
Closes gh-18256
5 years ago
Johnny Lim 3a63179d81 Fix a broken Asciidoctor syntax
Along the way, this commit also fixes a typo.

Closes gh-18325
5 years ago
Andy Wilkinson ed29eea365 Align Spring Asciidoctor Extension dependency with new module names 5 years ago
Stephane Nicoll b0d6169285 Upgrade to Spring Session Bom Bean-SR8
Closes gh-18466
5 years ago
Stephane Nicoll 9d40d192a0 Upgrade to Micrometer 1.1.7
Closes gh-18465
5 years ago
Stephane Nicoll 852b369ce1 Revert to fixed version 5 years ago
Stephane Nicoll 4237d9fc1a Merge branch '2.1.x'
See gh-18316
5 years ago
Stephane Nicoll 47365dc260 Revert to Spring Web Services 3.0.7.RELEASE
See gh-18315
5 years ago
Stephane Nicoll 91afd289bf Upgrade to Download Maven Plugin 1.4.2
Closes gh-18459
5 years ago
Stephane Nicoll fc7c0ba32e Upgrade to Commons FileUpload 1.4
Closes gh-18450
5 years ago
Stephane Nicoll b2334dd871 Upgrade to gmavenplus-plugin 1.8.0
Closes gh-18462
5 years ago
Stephane Nicoll 94de7ee97e Upgrade to Cargo Maven Plugin 1.7.7
Closes gh-18461
5 years ago
Stephane Nicoll 9f2201c5e5 Upgrade to Maven Maven Plugin 3.6.0
Closes gh-18460
5 years ago
Stephane Nicoll 9133d52416 Upgrade to plexus-archiver to 3.7.0
Closes gh-18457
5 years ago
Stephane Nicoll 67bb90ee5a Upgrade to maven-plugin-annotations 3.6.0
Closes gh-18456
5 years ago
Stephane Nicoll 4008d70248 Upgrade to maven-common-artifact-filters 3.1.0
Closes gh-18455
5 years ago
Stephane Nicoll a1e83558c2 Upgrade to maven-archiver 3.4.0
Closes gh-18453
5 years ago
Stephane Nicoll b66288219a Upgrade to Spock 1.3-groovy-2.5
Closes gh-18458
5 years ago
Stephane Nicoll 9330760e22 Upgrade to MockK 1.9.3
Closes gh-18452
5 years ago
Stephane Nicoll 112cbd216b Remove plugin dependency management for the Sonar plugin 5 years ago
Stephane Nicoll 6cf1b158f8 Remove duplicate maven-resources-plugin dependency management 5 years ago
Andy Wilkinson a6f1619971 Use Asciidoctor extension to verify documented configuration properties
Closes gh-18451
5 years ago
Stephane Nicoll a36d2cd159 Upgrade to micrometer 1.3.0
Closes gh-18389
5 years ago
Stephane Nicoll 1357f1b46c Upgrade to Spring AMQP 2.1.11.RELEASE
Closes gh-18312
5 years ago
Stephane Nicoll 00a9eeaaff Upgrade to Spring AMQP 2.1.11.RELEASE
Closes gh-18312
5 years ago
Stephane Nicoll a22046697e Upgrade to Spring Integration 5.1.8.RELEASE
Closes gh-18313
5 years ago
Stephane Nicoll b4ba667ef1 Update to Spring Data Moore-RELEASE
Closes gh-18253
5 years ago
dreis2211 3ae3439054 Upgrade to Testcontainers 1.12.2
See gh-18446
5 years ago
Stephane Nicoll e0d6d90683 Merge branch '2.1.x'
Closes gh-18447
5 years ago
dreis2211 417bfc4c87 Fix comment position in ZipHeaderPeekInputStreamTests
See gh-18445
5 years ago
Stephane Nicoll 04ac38fbe8 Upgrade to Spring HATEOAS 1.0.0.RELEASE
Closes gh-18258
5 years ago
Stephane Nicoll 2fffa5675d Upgrade to Spring Data Lovelace-SR11
Closes gh-18414
5 years ago
Stephane Nicoll d2273bd68e Remove endpoint ID hints from metadata
Closes gh-18381
5 years ago
Andy Wilkinson 3e92cd36fa Merge branch '2.1.x'
Closes gh-18439
5 years ago
Stephane Nicoll 58ec780b5d Upgrade to Spring Framework 5.2.0.RELEASE
Closes gh-18232
5 years ago
Andy Wilkinson 0c8bb394f7 Upgrade to Spring REST Docs 2.0.4.RELEASE
Closes gh-18271
5 years ago
Stephane Nicoll 0791f56eb7 Upgrade to RSocket 1.0.0-RC5
Closes gh-18364
5 years ago
Stephane Nicoll 1066b97113 Merge branch '2.1.x'
Closes gh-18437
5 years ago
dreis2211 208fb8f1ef Add Mustache to 'Customize ViewResolvers' docs section
See gh-18378
5 years ago
dreis2211 bafc10f2c4 Fix default values in metadata for HiddenHttpMethodFilter
See gh-18435
5 years ago
Stephane Nicoll c9838f2509 Upgrade to Maven Invoker Plugin 3.2.1
Closes gh-18429
5 years ago
Stephane Nicoll 167207e98c Upgrade to Lombok 1.18.10
Closes gh-18428
5 years ago
Stephane Nicoll fc5e28f038 Upgrade to Postgresql 42.2.8
Closes gh-18427
5 years ago
Stephane Nicoll 9e2b231435 Upgrade to Neo4j Ogm 3.2.1
Closes gh-18426
5 years ago
Stephane Nicoll 8291a00985 Upgrade to Mariadb 2.4.4
Closes gh-18425
5 years ago
Stephane Nicoll 4f7deb998c Upgrade to Kotlin Coroutines 1.3.2
Closes gh-18424
5 years ago
Stephane Nicoll 686afd444c Upgrade to Hibernate 5.4.5.Final
Closes gh-18423
5 years ago
Stephane Nicoll 67de7b694d Upgrade to Flyway 6.0.4
Closes gh-18422
5 years ago
Stephane Nicoll 4a2bad3c4c Upgrade to Artemis 2.10.1
Closes gh-18421
5 years ago
Stephane Nicoll 2f25780b66 Upgrade to Jakarta Jms 2.0.3
Closes gh-18420
5 years ago
Stephane Nicoll 02eea3c915 Upgrade to Lettuce 5.2.0.RELEASE
Closes gh-18418
5 years ago
Stephane Nicoll 5317895e70 Upgrade to Hikaricp 3.4.1
Closes gh-18417
5 years ago
Stephane Nicoll f6bce8be42 Upgrade to Okhttp3 3.14.3
Closes gh-18416
5 years ago
Stephane Nicoll 17df6ab044 Start building against Spring Data Lovelace-SR11 snapshots
See gh-18414
5 years ago
Phillip Webb 869a8c2691 Merge branch '2.1.x'
Closes gh-18411
5 years ago
Stephane Nicoll fab80d6974 Avoid duplicate activation-api with Jersey starter
Closes gh-18398
5 years ago
Phillip Webb 1f9c9fedb4 Merge branch '2.1.x'
Closes gh-18409
5 years ago
Phillip Webb 1528b6c2f8 Polish 5 years ago
Phillip Webb 9568777d7d Fix devtools package tangle
Fix package tangle in devtools by relocating `DevToolsEnablementDeducer`
to a new `system` package.

Closes gh-18393
5 years ago
Phillip Webb 062163b52f Fix package tangle with configuration properties
Fix a package tangle that was introduced when we added cache bypass to
`SpringIterableConfigurationPropertySource`. Ideally we should have
been able to depend on `env` from `context` but unfortunately the
`EnvironmentPostProcessor` interface references `SpringApplication`
which needs to use the Binder.

The `isImmutable` method has now been moved to `OriginLookup` which
removes the immediate tangle.

Closes gh-18393
5 years ago
Phillip Webb 615c6d4e86 Restructure RSocket packages and polish
Polish code and relocate `RSocketServerBootstrap` from `server` to
`context` since it's really an `ApplicationContext` concern.

Closes gh-18391
5 years ago
Phillip Webb 4b0fb8ff24 Polish 'Add @LocalRSocketServerPort support'
See gh-18287
5 years ago
Verónica Vásquez 3c8fa3bbd0 Add @LocalRSocketServerPort support
Add an appication context initializer to detect and store the
active RSocket port in the Environment under
`local.rsocket.server.port`.

Additionally add a `@LocalServerPort` that provides a convenient
alternative to `@Value`.

See gh-18287

Co-authored-by: Eddú Meléndez <eddu.melendez@gmail.com>
5 years ago
dreis2211 370998e91e Simplify pipe escaping for reference doc tables
Replace `{vbar}` with an escaped pipe character. Unfortunately
`{vbar}` does not render correctly with PDF generation.

See gh-18374
5 years ago
dreis2211 8a6e254465 Avoid need to escape pipe character in reference tables 5 years ago
dreis2211 37dbe647f2 Polish some external documentation links
See gh-18384
5 years ago
dreis2211 edefbfde42 Mention Java 13 in system requirements docs
See gh-18383
5 years ago
Phillip Webb 228901a5ca Polish 5 years ago
Phillip Webb 68f410b7dc Upgrade to Jackson 2.10.0
Closes gh-17999
5 years ago
Phillip Webb 38968d2fff Polish 'Apply TTL invocation caching on reactor types'
Extract reactor specific code to an inner class to protect
against ClassNotFound exceptions if reactor is not in use.

Also add support for `Flux`.

See gh-18339
5 years ago
dreis2211 33d8bfa99d Apply TTL invocation caching on reactor types
Update `CachingOperationInvoker` so that TTL caching is applied directly
to reactive types. Prior to this commit, a `Mono` would be cached, but
the values that it emitted would not.

See gh-18339
5 years ago
Tadaya Tsuyukubo bccdf04358 Use ordered TaskExecutorCustomizers
Use an ordered stream in `TaskExecutionAutoConfiguration` when
obtaining the TaskExecutor customizers.

See gh-18333
5 years ago
Stephane Nicoll 865a1cd994 Upgrade to Spring Framework 5.1.10.RELEASE
Closes gh-18238
5 years ago
Stephane Nicoll d83e3f9070 Upgrade to Lombok 1.18.10
Closes gh-18407
5 years ago
Stephane Nicoll 526f2516e0 Upgrade to Postgresql 42.2.8
Closes gh-18406
5 years ago
Stephane Nicoll ed04be78f4 Upgrade to Neo4j Ogm 3.1.14
Closes gh-18405
5 years ago
Stephane Nicoll 278cffffc5 Upgrade to Hibernate 5.3.12.Final
Closes gh-18404
5 years ago
Stephane Nicoll b0a48c6303 Upgrade to Tomcat 9.0.26
Closes gh-18403
5 years ago
Stephane Nicoll d8f17d318d Upgrade to Httpclient 4.5.10
Closes gh-18402
5 years ago
Stephane Nicoll 82e00d1b2d Upgrade to Joda Time 2.10.4
Closes gh-18401
5 years ago
Stephane Nicoll 94402f4d77 Upgrade to Netty Tcnative 2.0.26.Final
Closes gh-18400
5 years ago
Stephane Nicoll 3ed1713915 Polish 5 years ago
Madhura Bhave 39ed15728f Configure oauth2client in Reactive OAuth2 client auto-config
Closes gh-18385
5 years ago
Stephane Nicoll 15eeedb59a Merge branch '2.1.x'
Closes gh-18380
5 years ago
Johnny Lim 7319908b40 Polish
See gh-18347
5 years ago
dreis2211 14d7777138 Add missing appendices to PDF reference documentation
See gh-18371
5 years ago
Stephane Nicoll c605419f19 Merge branch '2.1.x'
Closes gh-18379
5 years ago
Roland Weisleder 92ae7b21a1 Fix typo in ApplicationContextAssert
See gh-18372
5 years ago
Stephane Nicoll f78c9574d8 Start building against Spring Session Corn snapshots
See gh-18257
5 years ago
Phillip Webb 3ffc5f2a30 Polish 'Support programmatic lazy-int exclusion'
See gh-16615
5 years ago
Tyler Van Gorder 0f26f4d6e2 Support programmatic lazy-int exclusion
Allow the `LazyInitializationBeanFactoryPostProcessor` to skip setting
lazy-init based on a programmatic callback. This feature allows
downstream projects to deal with edge-cases in which it is not easy to
support lazy-loading (such as in DSLs that dynamically create additional
beans).

See gh-16615
5 years ago
Phillip Webb a13666d696 Polish "Simplify code"
See gh-18342
5 years ago
Yuyan 4d0da4b700 Simplify code
See gh-18342
5 years ago
dreis2211 4f7f8ff0c7 Add micrometer cloudwatch2 managed dependency
See gh-18367
5 years ago
Phillip Webb 8f9fd97095 Don't reset defaults if source collection is empty
Update `LegacyHealthEndpointCompatibilityConfiguration` to ensure that
the default configuration is only overwritten when the user has
explicitly set new values.

Fixes gh-18354
5 years ago
Phillip Webb a94ab673a3 Add health endpoint 'show-components' support
Add a `show-components` property under `management.endpoint.health` and
`management.endpoint.health.group.<name>` that can be used to change
when components are displayed.

Prior to this commit it was only possible to set `show-details` which
offered an "all or nothing" approach to the resulting JSON. The new
switch allows component information to be displayed whilst still hiding
potentially sensitive details returned from the actual `HealthIndicator`.

Closes gh-15076
5 years ago
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