9290 Commits

Author SHA1 Message Date
Phillip Webb
44d8e09aac Polish endpoint parameter name discovery
Move logic from `ParameterNameMapper` into `ReflectiveOperationInvoker`
in order to reduce the surface area of the public API.

Also rename some classes for consistency.
2017-11-01 23:14:52 -07:00
Madhura Bhave
905e311ef2 Update javadoc 2017-11-01 18:20:14 -07:00
Madhura Bhave
b2efef2eed Detect springSecurityFilterChain using name 2017-11-01 17:39:58 -07:00
Madhura Bhave
083cf50685 Change condition for adding @EnableWebSecurity
Instead of looking for the presence of `WebSecurityConfiguration`,
this commit checks for the presence of a `Filter` with the name
springSecurityFilterChain. This allows users to configure the Filter
without adding `WebSecurityConfiguration`, making it more flexible.
`springSecurityFilterChain` is somewhat of a contract in Spring Security
and it relies on the name being `springSecurityFilterChain`.

Closes gh-10849
2017-11-01 16:43:49 -07:00
Andy Wilkinson
4757ad63f1 Fix typos in Javadoc of assertable application context classes
Closes gh-10865
2017-11-01 14:49:23 +00:00
Andy Wilkinson
fbfaddbd55 Wrap production-ready-features.adoc at 90 characters
Closes gh-10830
2017-11-01 11:06:46 +00:00
Jay Bryant
c7dabfeca5 Make editorial changes to production-ready-features.adoc
See gh-10830
2017-11-01 10:56:15 +00:00
Andy Wilkinson
cf4c490973 Add dependency managements for REST Docs' new webtestclient module
Closes gh-10819
2017-11-01 10:40:21 +00:00
Andy Wilkinson
8f4278c47f Update starters to route Log4j2 API into SLF4J by default
Closes gh-10847
2017-11-01 10:39:25 +00:00
Andy Wilkinson
2889ef99c7 Provide dependency management for log4j-to-slf4j
Closes gh-10860
2017-11-01 09:59:08 +00:00
Stephane Nicoll
74677629ff Remove handling of spring.git.properties
Closes gh-10857
2017-11-01 09:13:32 +01:00
Stephane Nicoll
8fe49eb9f7 Polish 2017-11-01 08:36:58 +01:00
Stephane Nicoll
9b6f0c83bf Add auto-configuration for DataSources
This commit automatically instruments all available data sources with
a configurable metric name. The instrumentation can be disabled in case
more control is needed.

Closes gh-10295
2017-11-01 08:34:37 +01:00
Stephane Nicoll
5208bd069d Fix typo 2017-11-01 08:34:28 +01:00
Stephane Nicoll
1739bfe077 Add missing title 2017-11-01 08:33:19 +01:00
Stephane Nicoll
5139881c4a Fix broken indent 2017-11-01 08:32:20 +01:00
Andy Wilkinson
28652209d6 Wrap spring-boot-features.adoc at 90 characters
Closes gh-10797
2017-10-31 19:05:18 +00:00
Jay Bryant
2e89fa7618 Make editorial changes to spring-boot-features.adoc
See gh-10797
2017-10-31 19:05:18 +00:00
Madhura Bhave
1e9fca0b76 Register a bean for OAuth2AuthorizedClientService
Closes gh-10837
2017-10-31 11:20:38 -07:00
Andy Wilkinson
ab4f211ebf Wrap deployment.adoc at 90 characters
Closes gh-10833
2017-10-31 17:31:18 +00:00
Jay Bryant
9f6dadf242 Make editorial changes to deployment.adoc
See gh-10833
2017-10-31 17:20:55 +00:00
Andy Wilkinson
6f55b57855 Make discovery of additional config metdata more robust with Gradle
Previously, the configuration metadata annotation processor relied
upon an additional metadata file have been copied to an output
location. When building with Gradle, it's the processResources task
that performs this copy and there is no guarantee that it will have
run before the compileJava task unless an explicit dependency betwee
the two tasks has been configured. If a project is built using
Gradle's parallel build support, the likelihood of this required
ordering not occurring increases.

This commit updates the configuration metadata annotation processor to
consider a new annotation processor option when looking for the
additional config metadata file. The Gradle plugin has been updated
to provide this option as a compiler argument. The option is only
provided when the annotation processor is found on the compilation
classpath to avoid a warning from javac's annotation processing about
the use of an option that is not supported by any of the available
annotation processors.

Closes gh-9755
2017-10-31 14:31:51 +00:00
Andy Wilkinson
56fde15fcb Wrap build-tool-plugins.adoc at 90 characters
Closes gh-10835
2017-10-31 12:51:57 +00:00
Jay Bryant
2ecd116470 Edit build-tool-plugins.adoc
See gh-10835
2017-10-31 12:51:54 +00:00
Andy Wilkinson
68b2ee3a75 Wrap spring-boot-cli.adoc at 90 characters
Closes gh-10834
2017-10-31 12:39:20 +00:00
Jay Bryant
f0901343bd Edit spring-boot-cli.adoc
See gh-10834
2017-10-31 12:39:05 +00:00
Andy Wilkinson
cf64580c87 Upgrade to Spring Session Data MongoDB 2.0.0.RC1
Closes gh-10841
2017-10-31 09:28:38 +00:00
Andy Wilkinson
b26bd21351 Upgrade to Spring Session 2.0.0.RC1
Closes gh-10817
2017-10-31 09:27:32 +00:00
Andy Wilkinson
2cce7c179f Upgrade to Spring Security 5.0.0.RC1
Closes gh-10705
2017-10-31 09:07:04 +00:00
Stephane Nicoll
cd45d373f2 Fix kotlin maven plugin coordinates 2017-10-31 09:37:02 +01:00
Andy Wilkinson
93a67e6b4a Polish 2017-10-30 23:11:18 +00:00
Andy Wilkinson
48cc7bde30 Test the Gradle plugin against Gradle 4.3
Closes gh-10769
2017-10-30 20:47:37 +00:00
Andy Wilkinson
f59fbe6f81 Update test to align with media type change in HATEOAS 0.24
See gh-10828
2017-10-30 17:01:25 +00:00
Brian Clozel
6bfbcc291a Add NettyServerCustomizer for Reactor Netty support
This commit adds a new customizer interface, `NettyServerCustomizer` for
customizing Reactor Netty server instances while they're being built.

Closes gh-10418
2017-10-30 17:50:47 +01:00
Andy Wilkinson
ec470fbe59 Call Application and CommandLine Runners after ready event
Closes gh-7656
2017-10-30 16:41:18 +00:00
Andy Wilkinson
27f550b8eb Upgrade to Spring HATEAOS 0.24.0.RELEASE
Closes gh-10828
2017-10-30 16:06:44 +00:00
Andy Wilkinson
5df473a651 Add env-based configuration of TTL of Tomcat's static resource cache
Closes gh-9670
2017-10-30 16:05:43 +00:00
Stephane Nicoll
350377c3f2 Polish "Handle AbstractReactiveHealthIndicator.doHealthCheck exception"
Closes gh-10822
2017-10-30 17:03:49 +01:00
Nikolay Rybak
99c2fa699e Handle AbstractReactiveHealthIndicator.doHealthCheck exception
Exceptions inside AbstractReactiveHealthIndicator.doHealthCheck()
method, outside of Mono pipeline, could fail whole endpoint
response instead of returning `DOWN` status from indicator.

See gh-10822
2017-10-30 16:53:25 +01:00
Andy Wilkinson
c50a0d855f Reflect process monitoring classes' move to spring-boot in docs
Closes gh-9998
2017-10-30 15:33:59 +00:00
dreis2211
ddb6176f88 Fix duplicated 'the' in Quartz scheduler doc section
Closes gh-10824
2017-10-30 16:32:14 +01:00
Stephane Nicoll
4dcc354f86 Merge branch '1.5.x' 2017-10-30 16:31:50 +01:00
Stephane Nicoll
654cee5a94 Polish 2017-10-30 16:26:04 +01:00
Stephane Nicoll
822ca00001 Merge branch '1.5.x' 2017-10-30 16:24:41 +01:00
Andy Wilkinson
a276356328 Add auto-configuration for Spring Session's reactive support
Closes gh-9850
2017-10-30 15:19:41 +00:00
Andy Wilkinson
bdab4aa97e Auto-configuration of reactive Spring Session 2017-10-30 15:19:41 +00:00
Stephane Nicoll
3d820adb4d Remove outdated Kotlin internal dependency management 2017-10-30 16:12:41 +01:00
Andy Wilkinson
5aa66305a8 Log warning when open-in-view is implicitly enabled for JPA or Neo4j
Closes gh-7107
2017-10-30 12:37:38 +00:00
Andy Wilkinson
95d8fe708a Upgrade to Spring REST Docs 2.0.0.RC1
Closes gh-10819
2017-10-30 12:02:51 +00:00
Andy Wilkinson
9932f3408c Start building against Spring Session snapshots
See gh-10817
2017-10-30 09:13:49 +00:00