22717 Commits

Author SHA1 Message Date
Madhura Bhave
d50fe8874f Add CF support for reactive actuators
Closes gh-10780
2017-11-02 18:00:55 -07:00
Phillip Webb
f0327fbd0d Polish SizeAndTimeBasedRollingPolicy changes
Closes gh-6352
2017-11-02 15:21:14 -07:00
Vedran Pavic
991468b0ef Use SizeAndTimeBasedRollingPolicy file appender
Update the logback file appender to use `SizeAndTimeBasedRollingPolicy`
rather than `FixedWindowRollingPolicy`.

Add two new properties to improve log file configuration capabilities:

 - `logging.file.max-history` to limit the number of archive log files
    to keep.
 - `logging.file.max-size` to limit the log file size.

See gh-6352
2017-11-02 15:18:16 -07:00
Phillip Webb
f440fc6d25 Formatting 2017-11-02 15:04:39 -07:00
Andy Wilkinson
d148dff713 Upgrade to Spring Integration 5.0.0.RC1
Closes gh-7029
2017-11-02 20:30:02 +00:00
Andy Wilkinson
76df3fc496 Use explicit classpath: prefix for Flyway location
Flyway implicitly adds classpath: to locations without a prefix but
resource loader fails to find migratons on the classpath without the
prefix.

Add an explicit classpath: prefix so that both Flyway and the resource
loader used to check the locations can find the migration location.

See gh-10807
2017-11-02 18:54:04 +00:00
Jay Bryant
8f2653d4c7 Wrap documentation-overview.adoc at 90 characters and use title case
Closes gh-10889
2017-11-02 17:34:15 +00:00
Jay Bryant
a1a30c6c13 Make editorial changes to howto.adoc
Closes gh-10854
2017-11-02 17:28:09 +00:00
Eddú Meléndez
dcc6d8d6ff Align default of flyway.check-location with equivalent Liquibase prop
Closes gh-10807
2017-11-02 17:19:48 +00:00
Andy Wilkinson
8eae372433 Change handling of spring.config.location so it replaces defaults
Previously, spring.config.name was handled in such a way that its
value would replace the defaults. By constrast, spring.config.location
would add to the defaults.

Update the handling of spring.config.location so that it replaces the
defaults. This aligns its behaviour with spring.config.name. To allow
users to add additional locations a new property,
spring.config.additional-location, has been introduced. It behaves as
spring.config.location did prior to this change.

Closes gh-10595
2017-11-02 17:12:22 +00:00
Stephane Nicoll
9b8fefb0f4 Move micrometer export related keys under a common prefix #10858
Closes gh-10858
2017-11-02 16:55:34 +01:00
Andy Wilkinson
2ae4678b1e Drop support for Spring Mobile
Closes gh-10884
2017-11-02 14:39:46 +00:00
Andy Wilkinson
e43d0adc4f Polish 2017-11-02 12:05:18 +00:00
Andy Wilkinson
9bbccb093a Rename Gradle plugin tests to work around Windows filename restrictions
The Gradle plugin integration tests find their Gradle build scripts
using a naming convention of ${ClassName}-${methodName}.gradle. This
convention led to two gradle scripts with filenames that were long
enough to causes problems on Windows.

This commit renames two test methods to reduce the length of their
names and, therefore, the names of their corresponding Gradle script
files.

Closes gh-10868
2017-11-02 11:51:09 +00:00
Stephane Nicoll
e28b98c59d Remove multi config runApplication extension
Closes gh-10511
2017-11-02 12:04:22 +01:00
Vedran Pavic
3d44ef0872 Add support for configuring Spring Session cleanup cron
This commit adds support for configuring cron expression used for
expired session cleanup job in Redis and JDBC session stores.

Closes gh-10818
2017-11-02 11:56:11 +01:00
Stephane Nicoll
08272c92db Polish "Make editorial changes to appendix-configuration-metadata.adoc"
Closes gh-10874
2017-11-02 11:42:46 +01:00
Jay Bryant
78838fb2bb Make editorial changes to appendix-configuration-metadata.adoc
See gh-10874
2017-11-02 11:38:34 +01:00
Jay Bryant
d5c879c186 Make editorial changes to appendix-auto-configuration-classes.adoc
Closes gh-10875
2017-11-02 11:23:03 +01:00
Jay Bryant
5f4b5417a3 Make editorial changes to appendix-test-auto-configuration.adoc
Closes gh-10876
2017-11-02 11:21:00 +01:00
Stephane Nicoll
85cf019835 Polish "Make editorial changes to appendix-executable-jar-format.adoc"
Closes gh-10878
2017-11-02 11:19:01 +01:00
Jay Bryant
59bc74614b Make editorial changes to appendix-executable-jar-format.adoc
See gh-10878
2017-11-02 11:18:37 +01:00
Jay Bryant
16cf0e7e38 Make editorial changes to appendix-dependency-versions.adoc
Closes gh-10879
2017-11-02 11:09:54 +01:00
Jay Bryant
a0363f8f25 Add my name to the author list
I succumbed to a fit of vanity. ;)

Clsoes gh-10871
2017-11-02 11:06:10 +01:00
Johnny Lim
3fa7586c25 Remove System.out::println
Closes gh-10848
2017-11-02 11:04:46 +01:00
Phillip Webb
c11e514767 Allow individual builds of invoker plugin projects
Clean `${revision}` variables when running invoker based integration
tests. Prior to this commit some `${revision}` placeholders remained
in the invoker local repository preventing the project from being built
outside of the reactor.

Fixes gh-10667
2017-11-01 23:14:52 -07:00
Phillip Webb
c55b5d7111 Polish 2017-11-01 23:14:52 -07:00
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