Commit Graph

7025 Commits

Author SHA1 Message Date
Johnny Lim 3a63179d81 Fix a broken Asciidoctor syntax
Along the way, this commit also fixes a typo.

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

Closes gh-18393
2019-09-28 22:05:07 -07:00
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
2019-09-28 22:04:44 -07:00
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
2019-09-28 22:04:30 -07:00
Phillip Webb 4b0fb8ff24 Polish 'Add @LocalRSocketServerPort support'
See gh-18287
2019-09-28 22:03:36 -07:00
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>
2019-09-28 22:03:36 -07:00
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
2019-09-28 22:02:27 -07:00
dreis2211 8a6e254465 Avoid need to escape pipe character in reference tables 2019-09-28 22:02:27 -07:00
dreis2211 37dbe647f2 Polish some external documentation links
See gh-18384
2019-09-28 22:01:05 -07:00
dreis2211 edefbfde42 Mention Java 13 in system requirements docs
See gh-18383
2019-09-28 21:59:50 -07:00
Phillip Webb 228901a5ca Polish 2019-09-28 21:59:20 -07:00
Phillip Webb 68f410b7dc Upgrade to Jackson 2.10.0
Closes gh-17999
2019-09-28 21:56:19 -07:00
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
2019-09-28 21:46:36 -07:00
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
2019-09-28 21:43:38 -07:00
Tadaya Tsuyukubo bccdf04358 Use ordered TaskExecutorCustomizers
Use an ordered stream in `TaskExecutionAutoConfiguration` when
obtaining the TaskExecutor customizers.

See gh-18333
2019-09-28 18:44:57 -07:00
Stephane Nicoll 865a1cd994 Upgrade to Spring Framework 5.1.10.RELEASE
Closes gh-18238
2019-09-28 14:50:22 +02:00
Stephane Nicoll d83e3f9070 Upgrade to Lombok 1.18.10
Closes gh-18407
2019-09-28 14:17:50 +02:00
Stephane Nicoll 526f2516e0 Upgrade to Postgresql 42.2.8
Closes gh-18406
2019-09-28 14:17:49 +02:00
Stephane Nicoll ed04be78f4 Upgrade to Neo4j Ogm 3.1.14
Closes gh-18405
2019-09-28 14:17:48 +02:00
Stephane Nicoll 278cffffc5 Upgrade to Hibernate 5.3.12.Final
Closes gh-18404
2019-09-28 14:17:47 +02:00
Stephane Nicoll b0a48c6303 Upgrade to Tomcat 9.0.26
Closes gh-18403
2019-09-28 14:17:45 +02:00
Stephane Nicoll d8f17d318d Upgrade to Httpclient 4.5.10
Closes gh-18402
2019-09-28 14:17:44 +02:00
Stephane Nicoll 82e00d1b2d Upgrade to Joda Time 2.10.4
Closes gh-18401
2019-09-28 14:17:43 +02:00
Stephane Nicoll 94402f4d77 Upgrade to Netty Tcnative 2.0.26.Final
Closes gh-18400
2019-09-28 14:17:40 +02:00
Stephane Nicoll 3ed1713915 Polish 2019-09-28 09:17:51 +02:00
Madhura Bhave 39ed15728f Configure oauth2client in Reactive OAuth2 client auto-config
Closes gh-18385
2019-09-27 11:42:43 -07:00
Stephane Nicoll 15eeedb59a Merge branch '2.1.x'
Closes gh-18380
2019-09-27 17:00:23 +02:00
Johnny Lim 7319908b40 Polish
See gh-18347
2019-09-27 16:57:09 +02:00
dreis2211 14d7777138 Add missing appendices to PDF reference documentation
See gh-18371
2019-09-27 16:37:38 +02:00
Stephane Nicoll c605419f19 Merge branch '2.1.x'
Closes gh-18379
2019-09-27 16:34:59 +02:00
Roland Weisleder 92ae7b21a1 Fix typo in ApplicationContextAssert
See gh-18372
2019-09-27 16:32:32 +02:00
Stephane Nicoll f78c9574d8 Start building against Spring Session Corn snapshots
See gh-18257
2019-09-27 16:20:50 +02:00
Phillip Webb 3ffc5f2a30 Polish 'Support programmatic lazy-int exclusion'
See gh-16615
2019-09-26 21:24:51 -07:00
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
2019-09-26 21:22:36 -07:00
Phillip Webb a13666d696 Polish "Simplify code"
See gh-18342
2019-09-26 19:12:18 -07:00
Yuyan 4d0da4b700 Simplify code
See gh-18342
2019-09-26 19:09:28 -07:00
dreis2211 4f7f8ff0c7 Add micrometer cloudwatch2 managed dependency
See gh-18367
2019-09-26 19:05:35 -07:00
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
2019-09-26 18:20:59 -07:00
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
2019-09-26 16:17:28 -07:00
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
2019-09-26 16:16:23 -07:00
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
2019-09-26 16:16:19 -07:00
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
2019-09-26 16:16:15 -07:00
Phillip Webb d83238aaab Merge branch '2.1.x'
Closes gh-18369
2019-09-26 12:14:35 -07:00
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
2019-09-26 12:14:13 -07:00