5302 Commits

Author SHA1 Message Date
Sebastien Deleuze
86c75b9fd3 Upgrade to Kotlin 1.3.30
Closes gh-16554
2019-04-15 08:39:46 +02: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