Commit Graph

14043 Commits (55b7a48beeb4ed4db1bcea4b285c0a363737fd5f)
 

Author SHA1 Message Date
Madhura Bhave 55b7a48bee Add missing conditionals 7 years ago
Andy Wilkinson ac1062dcce Merge branch '1.5.x' 7 years ago
Andy Wilkinson e7d9014b3b Use archive.apache.org to download toTomEE binaries
Closes gh-10905
7 years ago
Brian Clozel fa0926b178 Error handling for WebFlux should log HTTP 5xx errors
This commit ensures that all errors handled by the
`DefaultErrorWebExceptionHandler` (Spring WebFlux error convetion
support) logs an error with request information and exception
stacktrace.

This is limited to errors that result in an HTTP 5xx error.
Exceptions that extend `ResponseStatusException` and set a non-5xx
status will not be logged.

Closes gh-10904
7 years ago
Andy Wilkinson bfe2f85a4f Merge branch '1.5.x' 7 years ago
Andy Wilkinson 054ce2865c Protect against partial visibility of Bean Validation API
On WebSphere Liberty, the javax.validation package may be visible but
other javax.validation packages upon which it depends may not be
visible. This can lead to an incorrect assumption that the Bean
Validation API is available when, in fact, it is only partially
available.

Add an additional check for the availability of a class in the
javax.validation.bootstrap package to ensure that it's not just the
javax.validation package that's available.

Closes gh-10877
7 years ago
Brian Clozel bb9396e3a4 Enable HTTP/2 support for Tomcat and Undertow
This commit enables HTTP/2 support for Tomcat and Undertow, for both
Servlet-based and Reactive applications.

Enabling the `server.http2.enabled` configuration flag is enough with
Undertow.

Tomcat has a few prerequisites:

* Tomcat 8.5 requires JDK8+ and the proper libtcnative version installed
on the host
* Tomcat 9.0.x requires JDK9+

Closes gh-10043
7 years ago
Brian Clozel 58db841c8f Add Http2 configuration properties
This commit adds a new configuration properties class for configuring
HTTP/2 protocol support.
By default, this protocol is disabled as enabling it requires several
manual changes:

* configuring a web server for proper TLS and ALPN support
* configuring a proper SSL certificate

See gh-10043
7 years ago
Brian Clozel 7f58db7d0e Apply TLS configuration to reactive web servers
This commit applies the SSL configuration to the following reactive web
servers: Jetty, Tomcat, Undertow, Reactor Netty.

Closes gh-9431
7 years ago
Brian Clozel 5f57578b71 Enable APR optional support in Tomcat servers
This commits adds the AprLifecycleListener as a default
LifecycleListener in order to detect and use automatically the
tomcatnative library if it is available, for SSL support.

This feature can be useful for both performance reasons or for
supporting ALPN when using JDK8.

See gh-10043
Closes gh-9964
7 years ago
Andy Wilkinson 5cf50b6ccc Remove dependency management for spring-boot-starter-mobile
See gh-10884
7 years ago
Phillip Webb 3f00ba3cad Polish 7 years ago
Phillip Webb 200eb8f5b5 Merge pull requests #10892, #10893, #10896, #10897 from Buzzardo
* pr/10892:
  Format production-ready-features.adoc to 90 chars
  Format spring-boot-features.adoc to 90 chars
  Format using-spring-boot.adoc to 90 chars
  Format getting-started.adoc to 90 chars
7 years ago
Jay Bryant 9fc9c55c90 Format production-ready-features.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10897
7 years ago
Jay Bryant 92e0eb0230 Format spring-boot-features.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10896
7 years ago
Jay Bryant f8bcdc9082 Format using-spring-boot.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10893
7 years ago
Jay Bryant ccfff94bbd Format getting-started.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10892
7 years ago
Phillip Webb 8e3e234a41 Merge pull request #10801 from izeye/file-execution-permission
* pr/10801:
  Restore execution permission on launch.script
7 years ago
Johnny Lim 84d137d41d Restore execution permission on launch.script
Restore the execute permission that was accidentally removed in
commit 5ee28a08e1.

Closes gh-10801
7 years ago
Phillip Webb 243fa9cf8d Merge pull request #10740 from green-leaves/spring-boot-context-loader-flexible-environment
* pr/10740:
  Support custom SpringBootContextLoader environment
7 years ago
Phillip Webb b58f1f00fa Merge pull request #8516 from hdohlmann/logging-pattern-dateformat
* pr/8516:
  Introduce configurable logging.pattern.dateformat
7 years ago
Nguyen Duy Tiep fae7a09b83 Support custom SpringBootContextLoader environment
Provide a `getEnvironment` method in `SpringBootContextLoader` to allow
specialized `ConfigurableEnvironment` implementations to be used.

Closes gh-10740
7 years ago
Henrik 7728f8fde6 Introduce configurable logging.pattern.dateformat
Add configurable logger dateformat support for Logback and Log4j2.

Closes gh-8516
7 years ago
Madhura Bhave d50fe8874f Add CF support for reactive actuators
Closes gh-10780
7 years ago
Phillip Webb 7c5d2fadd3 Merge pull request #6352 from vpavic/gh-5590
* pr/6352:
  Polish SizeAndTimeBasedRollingPolicy changes
  Use SizeAndTimeBasedRollingPolicy file appender
7 years ago
Phillip Webb f0327fbd0d Polish SizeAndTimeBasedRollingPolicy changes
Closes gh-6352
7 years ago
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
7 years ago
Phillip Webb f440fc6d25 Formatting 7 years ago
Andy Wilkinson d148dff713 Upgrade to Spring Integration 5.0.0.RC1
Closes gh-7029
7 years ago
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
7 years ago
Andy Wilkinson dcdb3f18c4 Merge pull request #10889 from Jay Bryant
* gh-10889:
  Wrap documentation-overview.adoc at 90 characters and use title case
7 years ago
Jay Bryant 8f2653d4c7 Wrap documentation-overview.adoc at 90 characters and use title case
Closes gh-10889
7 years ago
Andy Wilkinson 75914be777 Merge pull request #10854 from Jay Bryant
* gh-10854:
  Make editorial changes to howto.adoc
7 years ago
Jay Bryant a1a30c6c13 Make editorial changes to howto.adoc
Closes gh-10854
7 years ago
Andy Wilkinson 09b015babf Merge pull request #10807 from Eddu Melendez
* gh-10807:
  Align default of flyway.check-location with equivalent Liquibase prop
7 years ago
Eddú Meléndez dcc6d8d6ff Align default of flyway.check-location with equivalent Liquibase prop
Closes gh-10807
7 years ago
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
7 years ago
Stephane Nicoll 9b8fefb0f4 Move micrometer export related keys under a common prefix #10858
Closes gh-10858
7 years ago
Andy Wilkinson 2ae4678b1e Drop support for Spring Mobile
Closes gh-10884
7 years ago
Andy Wilkinson e43d0adc4f Polish 7 years ago
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
7 years ago
Stephane Nicoll e28b98c59d Remove multi config runApplication extension
Closes gh-10511
7 years ago
Stephane Nicoll 944216e11f Merge pull request #10818 from vpavic:align-session-2.0
* pr/10818:
  Add support for configuring Spring Session cleanup cron
7 years ago
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
7 years ago
Stephane Nicoll f59986f100 Merge pull request #10874 from Buzzardo:editing_appendix_configuration_metadata
* pr/10874:
  Polish "Make editorial changes to appendix-configuration-metadata.adoc"
  Make editorial changes to appendix-configuration-metadata.adoc
7 years ago
Stephane Nicoll 08272c92db Polish "Make editorial changes to appendix-configuration-metadata.adoc"
Closes gh-10874
7 years ago
Jay Bryant 78838fb2bb Make editorial changes to appendix-configuration-metadata.adoc
See gh-10874
7 years ago
Stephane Nicoll 85176debf3 Merge pull request #10875 from Buzzardo:editing_appendix_auto_configuration_classes
* pr/10875:
  Make editorial changes to appendix-auto-configuration-classes.adoc
7 years ago
Jay Bryant d5c879c186 Make editorial changes to appendix-auto-configuration-classes.adoc
Closes gh-10875
7 years ago
Stephane Nicoll ea89f633cc Merge pull request #10876 from Buzzardo:editing_appendix_test_auto_configuration
* pr/10876:
  Make editorial changes to appendix-test-auto-configuration.adoc
7 years ago