Commit Graph

5367 Commits

Author SHA1 Message Date
Andy Wilkinson d4c47a13a0 Upgrade to Spring Security 5.2.0.M2
Closes gh-16534
2019-04-15 19:30:45 +01:00
Stephane Nicoll 9b0c1d305c Upgrade to Spring Session Corn-M1
Closes gh-16532
2019-04-15 17:38:03 +02:00
Stephane Nicoll 120ffb1ed0 Upgrade to asciidoctor-maven-plugin 1.6.0 2019-04-15 16:52:57 +02:00
Stephane Nicoll f9c74d983f Merge branch '2.1.x'
Closes gh-16565
2019-04-15 16:18:22 +02:00
Stephane Nicoll e99deb95f7 Fix source detection in case of multiple candidates
This commit improves the detection of a property source when more than
one group with the same type exist.

Closes gh-16549
2019-04-15 16:17:11 +02:00
Andy Wilkinson 84df37fd73 Merge branch '2.1.x'
Closes gh-16564
2019-04-15 14:27:02 +01:00
Andy Wilkinson bb0037f041 Restore indentation in published spring-boot-dependencies pom
The move to an HTTPS URL for the xmlns:xslt identifier has the unwanted
side-effect of disabling indentation.

This commit moves back to an HTTPS URL. It also changes the indent size
to 2, aligning with the size used by all the other poms that are written
by the flatten plugin.

Closes gh-16466
2019-04-15 14:26:52 +01:00
Andy Wilkinson 9d1f584560 Adapt Gradle plugin tests to change in Kotlin's packaging
Closes gh-16554
2019-04-15 12:36:58 +01:00
Brian Clozel b35424478b Deprecate Elasticsearch transport and Jest clients
As of Spring Data Moore, the Elasticsearch high level REST client is
supported for Spring Data repositories. The transport client is now
deprecated and is likely to be removed in a future Spring Data release.

This commit deprecates the transport client and marks all the associated
configuration properties as deprecated. The Spring Boot starter depends
on the `spring-data-elasticsearch` project, which now depends on both
transport client and high level REST client.

This commit also deprecates the Jest client, as Spring Boot will focus
on supporting the high level REST client and the reactive client
provided by Spring Data - both being in sync with the fast release pace
of Elasticsearch.

Closes gh-15008
2019-04-15 12:05:07 +02:00
Stephane Nicoll fe9da06a7e Remove outdated exclusion to http-client
Closes gh-16510
2019-04-15 10:38:17 +02:00
Stephane Nicoll 5e281fa8ec Switch to snapshots in preparation for the release 2019-04-15 10:17:25 +02:00
Stephane Nicoll 5c37e68a2b Upgrade to Spring AMQP 2.2.0.M1
Closes gh-16530
2019-04-15 09:57:40 +02:00
Sebastien Deleuze 86c75b9fd3 Upgrade to Kotlin 1.3.30
Closes gh-16554
2019-04-15 08:39:46 +02:00
Madhura Bhave b4d6ac1f41 Fix javadoc 2019-04-12 12:32:23 -07:00
Madhura Bhave 7bbeeaa4d2 Fix build following Spring Security changes 2019-04-12 12:24:35 -07:00
Madhura Bhave 8fd8a9b618 Fix javadoc 2019-04-12 11:55:06 -07:00
Madhura Bhave 62ec8f373a Forwarded header auto-config should be conditional on missing bean
See gh-5677
2019-04-12 11:34:38 -07:00
Madhura Bhave 959e161555 Provide an option to use Spring's forwarded header support
Previously, if the `server.use-forward-headers` property
was set to true, X-Forwarded-* headers support was provided
at the server level. The property has been deprecated in favor
of `server.forward-headers-strategy` which can be also be configured
to use Spring's forwarded header support apart from native server support.

Closes gh-5677
2019-04-12 10:34:19 -07:00
Stephane Nicoll 33fecec4a8 Upgrade to Spring Kafka 2.3.0.M1
Closes gh-16302
2019-04-12 12:45:02 +02:00
Brian Clozel ddc8b6f6b9 Fix Javadoc build for new RSocket dependencies
See gh-16021
2019-04-11 21:07:26 +02:00
Brian Clozel 9eb7260699 Polish RSocket server support
Relax the `NettyRSocketBootstrap` contract to allow all types of
`SocketAcceptor` implementations.

See gh-16021
2019-04-11 20:52:49 +02:00
Brian Clozel 2112e02eda Polish
Closes gh-15952
2019-04-11 19:07:14 +02:00
Dmytro Nosan 2c20d01e25 Add requestId info to ErrorAttributes in WebFlux
See gh-15952
2019-04-11 19:06:52 +02:00
Brian Clozel b33944b53f Add RSocket server support with Spring Messaging
This commit adds support for RSocket server applications.
The auto-configuration will either add RSocket support to an existing
Reactor Netty server in a WebFlux application (as a WebSocket endpoint),
or bootstrap a brand new RSocket server instance.

Spring Boot will also auto-configure the Spring Messaging infrastructure
that supports Controller beans with `@MessageMapping` annotated methods.

Fixes gh-16021
2019-04-11 15:44:17 +02:00
Stephane Nicoll 5e58f4a8c6 Fix unresolved directives in generated documentation
Closes gh-16452
2019-04-11 14:31:41 +02:00
Stephane Nicoll a5f29bb36b Upgrade to Spring Data Moore M3
Closes gh-16528
2019-04-11 13:59:12 +02:00
Stephane Nicoll 4d4566e0f9 Merge branch '2.1.x' 2019-04-11 13:55:34 +02:00
Adam Michalik 55987a51c7 Fix package of java.time.Duration in documentation
Closes gh-16527
2019-04-11 13:54:18 +02:00
Stephane Nicoll cb4aa4cef4 Upgrade to Jooq 3.11.11
Closes gh-16525
2019-04-11 12:44:10 +02:00
Stephane Nicoll 6d7b5bea5c Upgrade to Infinispan 9.4.12.Final
Closes gh-16524
2019-04-11 12:44:08 +02:00
Stephane Nicoll b2f73f8974 Upgrade to Aspectj 1.9.3
Closes gh-16523
2019-04-11 12:44:07 +02:00
Stephane Nicoll 071128c44e Upgrade to Undertow 2.0.20.Final
Closes gh-16522
2019-04-11 12:44:06 +02:00
Vedran Pavic bbaa98175f Upgrade to Hazelcast 3.12
Closes gh-16503
2019-04-11 12:38:47 +02:00
Stephane Nicoll 61f9816361 Upgrade to Neo4j Ogm 3.2.0-alpha05
Closes gh-16521
2019-04-11 11:11:44 +02:00
Stephane Nicoll 94775b796d Upgrade to Mongodb 3.10.2
Closes gh-16520
2019-04-11 11:11:43 +02:00
Stephane Nicoll 44176c12e1 Upgrade to Junit Jupiter 5.4.2
Closes gh-16519
2019-04-11 11:11:42 +02:00
Stephane Nicoll d4117699e4 Upgrade to Rabbit Amqp Client 5.7.0
Closes gh-16518
2019-04-11 11:11:41 +02:00
Brian Clozel 054c8ee0c4 Upgrade to Spring Framework 5.2.0.M1
Fixes gh-16173
2019-04-10 12:08:54 +02:00
Brian Clozel 3e56707132 Overriding getMappingPathPatterns is not required
After a hierarchy change in Spring Framework in gh-22543,
`AbstractWebFluxEndpointHandlerMapping` doesn't need to override the
`getMappingPathPatterns` method anymore.
2019-04-10 08:41:14 +02:00
Johnny Lim 4392d7c2ed Polish
Closes gh-16494
2019-04-10 08:03:18 +02:00
Stephane Nicoll ee735a61ce Polish
See gh-15814
2019-04-09 14:20:52 +02:00
Stephane Nicoll f42b6199ae Polish 2019-04-09 12:21:28 +02:00
Stephane Nicoll a828072132 Migrate tests to use withBean
See gh-16011
2019-04-09 12:15:05 +02:00
Stephane Nicoll a780875390 Allow `ApplicationContextRunner` to accept simple bean definitions
This commit adds `withBean` methods to the `ApplicationContextRunner`
abstraction so that simple beans can be registered inline. This is a
nice alternative for cases where a inner configuration class has to be
defined for the purpose of creating a simple bean.

Closes gh-16011
2019-04-09 12:15:05 +02:00
Madhura Bhave 7054a33e70 Add support for public key file for OAuth2 resource server
Closes gh-15814
2019-04-08 18:17:12 -07:00
Stephane Nicoll cf1d6ca660 Polish "Add missing backquote"
Closes gh-16483
2019-04-08 09:46:28 +02:00
Kaze 530d3da6c9 Add missing backquote
See gh-16483
2019-04-08 09:46:12 +02:00
Stephane Nicoll 20e98cb999 Merge branch '2.1.x' 2019-04-07 17:14:46 +02:00
Stephane Nicoll 391c8b6274 Add reference to https://github.com/alimate/errors-spring-boot-starter 2019-04-07 17:14:14 +02:00
dreis2211 7042884042 Fix Thymeleaf deprecations
Closes gh-16478
2019-04-06 21:32:04 +02:00
Stephane Nicoll 84735f58f3 Fix build failure 2019-04-06 18:00:13 +02:00
dreis2211 52cd9c6cac Fix compilation error
Closes gh-16476
2019-04-06 17:26:22 +02:00
Madhura Bhave 3c203e9b0d Update devtools to use @Lazy(false)
Fixes gh-16184
2019-04-05 18:02:27 -07:00
Madhura Bhave ce0282406f Skip lazy init for beans that explicitly set lazy to false
This commit also adds tests to ensure that the child
management context works when lazy initialization is
enabled. Also, it adds a BeanFactoryPostProcessor to
the child context so that the server is created and
listening for requests but other beans in the child
context are not created until requested.

See gh-16184
2019-04-05 18:02:26 -07:00
Andy Wilkinson ff1e5076dc Merge branch '2.1.x'
Closes gh-16473
2019-04-05 17:37:24 +01:00
Andy Wilkinson c0a91478f1 Only start management server once main server is initialized
Closes gh-15378
2019-04-05 17:36:20 +01:00
Phillip Webb 8626a33bbb Polish "Migrate ApplicationContext to common hierarchy"
Users calling the methods will still face problems but at least they
will have some guidance.

Closes gh-16096
2019-04-05 14:17:49 +02:00
Stephane Nicoll c432288ed1 Migrate ApplicationContext to common hierarchy
This commit migrates `AnnotationConfigReactiveWebApplicationContext`
parent to the `GenericApplicationContext` abstraction. Any use of
`AnnotationConfigWebApplicationContext` is also removed as it also
inherits from the `AbstractRefreshableApplicationContext` outdated
hierarchy.

A new `AnnotationConfigServletWebApplicationContext` context is
introduced instead, extending from `GenericApplicationContext` and
providing the counter part of the reactive context for the Servlet-based
web app tests.

See gh-16096
2019-04-05 14:17:41 +02:00
Stephane Nicoll dbf8245c1d Polish "Polish embedded tomcat setup"
Closes gh-16446
2019-04-05 08:44:54 +02:00
Rudy Adams 06028f83b2 Polish embedded tomcat setup
See gh-16446
2019-04-05 08:44:54 +02:00
Madhura Bhave 7587af343d Merge pull request #16342 Pascal Zwick
* pr/16342:
  Polish "Simplify the configuration of the ProtocolHandler"
  Simplify the configuration of the ProtocolHandler
2019-04-04 12:41:15 -07:00
Madhura Bhave ad767ca4e1 Polish "Simplify the configuration of the ProtocolHandler"
Closes gh-16342
2019-04-04 12:41:05 -07:00
Pascal Zwick 2eaa64f82e Simplify the configuration of the ProtocolHandler
This commit introduces a new callback interface that can
be used to customize the ProtocolHandler on a Tomcat Connector.

See gh-16342
2019-04-04 12:24:47 -07:00
Stephane Nicoll 0972ef3422 Merge branch '2.1.x'
Closes gh-16451
2019-04-04 16:00:34 +02:00
Stephane Nicoll fbb5ffe0a4 Avoid infinite cycle resolving generic type that refers itself
This commit improves type resolution for a unresolved generic type that
uses itself in its upper bound declaration.

Closes gh-16451
2019-04-04 15:55:55 +02:00
Andy Wilkinson 537a97c1e5 Merge branch '2.1.x'
Closes gh-16461
2019-04-04 14:40:54 +01:00
Andy Wilkinson 8a04e2cc86 Honor custom change log tables in Liquibase endpoint
Closes gh-16442
2019-04-04 14:40:47 +01:00
Stephane Nicoll bb4e559724 Let Hibernate detect the dialect to use
Closes gh-16172
2019-04-04 14:10:01 +02:00
Stephane Nicoll 5f6d8e1ead Polish 2019-04-04 11:16:09 +02:00
Stephane Nicoll 763c1a99e0 Polish 2019-04-04 11:01:10 +02:00
Phillip Webb 8aec4de399 Merge branch '2.1.x' 2019-04-03 17:34:01 -07:00
Phillip Webb 617f97f788 Fix checkstyle violation 2019-04-03 17:33:34 -07:00
Phillip Webb ddbfb2530d Update copyright header of changed files 2019-04-03 17:01:00 -07:00
Phillip Webb ad7eebee9e Merge branch '2.1.x' 2019-04-03 17:00:25 -07:00
Phillip Webb f12ab1ff90 Update copyright header of changed files 2019-04-03 16:13:00 -07:00
Phillip Webb 34fee1adfa Polish 2019-04-03 16:12:37 -07:00
Andy Wilkinson c5c53849ce Merge branch '2.1.x' 2019-04-03 14:41:15 +01:00
Andy Wilkinson e404ac39bf Upgrade to Spring Integration 5.1.4
See gh-16350
2019-04-03 14:40:59 +01:00
Andy Wilkinson efd2f685d3 Upgrade to Spring Session Bean-SR4
See gh-16357
2019-04-03 14:40:59 +01:00
Andy Wilkinson c3b5d9c363 Upgrade to Sqlite Jdbc 3.27.2
Closes gh-16440
2019-04-03 14:40:59 +01:00
Andy Wilkinson 4cf273770c Upgrade to Mockito 2.25.1
Closes gh-16439
2019-04-03 14:40:59 +01:00
Andy Wilkinson 78a15c2234 Upgrade to Mariadb 2.4.1
Closes gh-16438
2019-04-03 14:40:59 +01:00
Andy Wilkinson 3fd0c26402 Upgrade to Junit Jupiter 5.4.1
Closes gh-16437
2019-04-03 14:40:28 +01:00
Andy Wilkinson 62462c9ced Upgrade to Hibernate 5.4.2.Final
Closes gh-16436
2019-04-03 14:40:28 +01:00
Andy Wilkinson fe4d96e60b Upgrade to Elasticsearch 6.6.2
Closes gh-16435
2019-04-03 14:40:28 +01:00
Andy Wilkinson 8b195940a6 Upgrade to Assertj 3.12.2
Closes gh-16434
2019-04-03 14:40:28 +01:00
Andy Wilkinson e7261f3d3f Upgrade to Artemis 2.7.0
Closes gh-16432
2019-04-03 14:40:28 +01:00
Andy Wilkinson 7661287760 Upgrade to Thymeleaf Layout Dialect 2.4.1
Closes gh-16431
2019-04-03 14:40:28 +01:00
Andy Wilkinson 674a96e369 Upgrade to Classmate 1.5.0
Closes gh-16430
2019-04-03 14:40:28 +01:00
Andy Wilkinson ca0119950f Align with new fail-fast behaviour in Micrometer 1.1.4
Closes gh-16425
2019-04-03 14:39:29 +01:00
Stephane Nicoll 5f4bd37eb1 Merge branch '2.1.x' 2019-04-03 13:56:58 +02:00
Stephane Nicoll 3c058585bf Upgrade to Micrometer 1.1.4
Close gh-16425
2019-04-03 13:54:41 +02:00
Andy Wilkinson e3f4d4a165 Merge branch '2.1.x' 2019-04-03 11:40:31 +01:00
Andy Wilkinson 961b0307d6 Upgrade to Netty Tcnative 2.0.24.Final
Closes gh-16429
2019-04-03 11:40:21 +01:00
Andy Wilkinson 1db848af0d Upgrade to Solr 6.6.6
Closes gh-16428
2019-04-03 11:38:16 +01:00
Stephane Nicoll c5d0ebccff Merge branch '2.1.x' 2019-04-03 12:09:42 +02:00
Brian Clozel f221061d81 Avoid bean method proxying in WebMVC and WebFlux config
This commit applies changes similar to what's been done in gh-9068, for
MVC and WebFlux configurations. This is now possible thanks to the
changes done in Spring Framework in
https://github.com/spring-projects/spring-framework/pull/22596

Fixes gh-16427
2019-04-03 12:08:29 +02:00
Stephane Nicoll a90d0a224f Upgrade to Spring Batch 4.1.2
Closes gh-16423
2019-04-03 12:07:09 +02:00
Stephane Nicoll 3fb8d504c5 Upgrade to Spring Batch 4.0.3
Closes gh-16422
2019-04-03 12:04:40 +02:00
Stephane Nicoll edb5937571 Merge branch '2.1.x' 2019-04-03 11:46:58 +02:00