Commit Graph

17293 Commits

Author SHA1 Message Date
artsiom 64f04fceea Make sure cache busting works with error pages
See gh-14583
2018-10-04 17:53:56 +02:00
Phillip Webb 8c896d9376 Improve Reactive...Context thread safety
Refactor `ReactiveWebServerApplicationContext` to improve thread safety
by using a single manager object rather than then trying to synchronize
the `WebServer` and `HttpHandler`.

Closes gh-14666
2018-10-04 07:59:39 -07:00
Andy Wilkinson cf24d18139 Explicity set permissions on files in lib of Boot distribution
Previously, only the permissions for the scripts in bin/ were set. The
permissions for the files in lib/ were not explicity set, leaving them
with the same permissions as the source files in Gradle's cache. This
has proven to be a little brittle when building in certain
environments, leading to test failures. It also assumes that the
file permissions in Gradle's cache will be appropriate for entries in
a distribution archive. That may not always be a reasonable assumption
to make.

To avoid the above-described problems, this commit updates the copy
spec that's used to add files to lib/ in the archive so that each
file uses 0644 for its permissions.

Closes gh-14158
2018-10-04 15:55:48 +01:00
Stephane Nicoll 1b10d3fcbf Fix missing metadata for nested POJO
This commit fixes missing descriptions and default values when
applicable for `management.server.ssl`, `server.compression`,
`server.http2`, `server.servlet.jsp`, `server.servlet.session` and
`server.ssl`.

Those nested namespace are managed by a POJO that is declared outside
of the module of the target @ConfigurationProperties type using it. As
a result, the annotation processor has no access to the source model and
can't extract the description and the default value, if any.

This commit migrates the misleading field-level Javadoc to manual meta
data for the time being.

Closes gh-14669
2018-10-04 15:49:04 +02:00
Stephane Nicoll a2203268f9 Merge pull request #14681 from rweisleder
* pr/14681:
  Clarify Javadoc of ConditionalOn annotations
2018-10-04 12:23:41 +02:00
Roland Weisleder d2a063b26a Clarify Javadoc of ConditionalOn annotations
Closes gh-14681
2018-10-04 12:22:52 +02:00
Stephane Nicoll b4c5aea152 Fix detection of WebApplicationType with context class
Closes gh-14589
2018-10-03 14:37:31 +02:00
Stephane Nicoll 73e6a39b44 Merge pull request #14670 from jvalkeal
* pr/14670:
  Polish docs
2018-10-03 13:40:16 +02:00
Janne Valkealahti 26345d3900 Polish docs
This commit replaces tabs to spaces in a yaml example for configuring
endpoint web exposure include.

Closes gh-14670
2018-10-03 13:39:20 +02:00
Stephane Nicoll b248afc808 Clarify conversion system in Appendix
Closes gh-14645
2018-10-03 11:15:09 +02:00
Stephane Nicoll 135797c347 Remove useless prerequisites section
Closes gh-14668
2018-10-03 10:33:24 +02:00
Phillip Webb bd9500290e Defer HttpHandler initialization
Update `ReactiveWebServerApplicationContext` so that the `HttpHandler`
bean is not longer created from `onRefresh`, but is instead created
only when the server starts.

Prior to this commit, the WebFlux hander would cause early
initialization of several beans, including Jackson Modules.

Closes gh-14666
2018-10-02 22:57:09 -07:00
Phillip Webb 7afde2ba43 Add another ConfigurationPropertyName.equals test
Include an additional test to ensure that `.equals` works for names
starting with the same value.

See gh-14665
2018-10-02 13:58:31 -07:00
Phillip Webb 923e47e978 Exclude ImportControl checkstyle rule from samples
See gh-14660
2018-10-02 12:13:44 -07:00
Phillip Webb 3ff20b2440 Restore import-control checkstyle
Restore checkstyle import control and fix a few violations in the
process.

Closes gh-14660
2018-10-02 10:30:14 -07:00
Phillip Webb 63b64b4efa Fix checkstyle import regex patterns
Update checkstyle rules to fix import regex patterns for both packages
and classes.
2018-10-02 09:15:24 -07:00
Stephane Nicoll 13491b5f94 Merge pull request #14514 from rodolphocouto
* pr/14514:
  Add reference to valiktor-spring-boot-starter
2018-10-02 10:48:03 +02:00
Rodolpho Couto e30f693699 Add reference to valiktor-spring-boot-starter
Closes gh-14514
2018-10-02 10:47:26 +02:00
Stephane Nicoll 7163fe1f46 Merge pull request #14621 from izeye
* pr/14621:
  Polish
2018-10-01 10:50:42 -04:00
Johnny Lim 1eca492c5e Polish
See gh-14621
2018-10-01 10:46:27 -04:00
Andy Wilkinson da1fde6a5f Merge branch '1.5.x' into 2.0.x 2018-10-01 15:38:53 +01:00
Andy Wilkinson 1471db220f Merge pull request #13714 from Welton Rodrigo Torres Nascimento
* gh-13714:
  Polish "Clarify that RestTemplateBuilder overwrites default converters"
  Clarify that RestTemplateBuilder overwrites default converters
2018-10-01 15:38:41 +01:00
Andy Wilkinson 5c1d22eed8 Polish "Clarify that RestTemplateBuilder overwrites default converters"
Closes gh-13714
2018-10-01 15:37:31 +01:00
Welton Rodrigo Torres Nascimento 3dbeff56e4 Clarify that RestTemplateBuilder overwrites default converters
See gh-13714
2018-10-01 15:37:12 +01:00
Andy Wilkinson fd10226c54 Merge branch '1.5.x' into 2.0.x 2018-10-01 15:14:45 +01:00
Andy Wilkinson 17e9a2ee62 Polish 2018-10-01 15:14:18 +01:00
Andy Wilkinson 7d0dcf781c Merge branch '1.5.x' into 2.0.x 2018-10-01 14:48:15 +01:00
Andy Wilkinson bc7bac8091 Only retrieve values from request if they will be traced
Closes gh-14550
2018-10-01 14:46:28 +01:00
Andy Wilkinson 62b481c7db Merge branch '1.5.x' into 2.0.x 2018-10-01 14:28:09 +01:00
Andy Wilkinson 3dc93641dd Clarify documentation on using Spock 1.0
Closes gh-14612
2018-10-01 14:26:47 +01:00
Andy Wilkinson 89f5cfc5a4 Merge branch '1.5.x' into 2.0.x 2018-10-01 13:51:55 +01:00
Andy Wilkinson da1a17e8b2 Stop adding filters with disabled registrations to MockMvc
Closes gh-14636
2018-10-01 13:30:33 +01:00
Andy Wilkinson d5b81f9327 Merge pull request #14630 from Gustavo Andrade
* gh-14630:
  Upgrade Java 10 CI image to 10.0.2-13-jdk
2018-09-28 13:58:20 -04:00
Gustavo Andrade 9cd0c5a05d Upgrade Java 10 CI image to 10.0.2-13-jdk
Closes gh-14630
2018-09-28 13:57:42 -04:00
Andy Wilkinson 997a27c57d Merge pull request #14593 from JB Nizet
* gh-14593:
  Move away from deprecated Gradle configurations
2018-09-27 06:59:27 -04:00
jnizet eee07a840f Move away from deprecated Gradle configurations
Closes gh-14593
2018-09-27 06:58:31 -04:00
Andy Wilkinson 1d49352778 Merge pull request #14618 from Gustavo Andrade
* gh-14618:
  Upgrade Java 8 CI image to openjdk:8u181-jdk
2018-09-27 06:21:51 -04:00
Andrade, Gustavo (ESI) 31f89e5981 Upgrade Java 8 CI image to openjdk:8u181-jdk
Closes gh-14618
2018-09-27 06:21:21 -04:00
Stephane Nicoll 379ce62e2e Merge pull request #14592 from mdeinum
* pr/14592:
  Polish contribution
  Polish
2018-09-26 11:43:47 -04:00
Stephane Nicoll b6e5103dc4 Polish contribution
Closes gh-14592
2018-09-26 11:43:19 -04:00
Marten Deinum 77afe76ed5 Polish
The SpringBootContextLoader still checked if tests were annotated with
@IntegrationTest or @WebIntegrationTest. Those classes have been
removed in Spring Boot 1.5 and been deprecated since 1.4.

This commit removes the check on the annotations as well as the static
list of names.

See gh-14592
2018-09-26 11:41:25 -04:00
Madhura Bhave 579722bfbd Fix braces in publish release notes script 2018-09-25 12:30:27 -04:00
Phillip Webb 96f5c8280c Make release notes script executable 2018-09-24 19:54:13 -04:00
Madhura Bhave ea3d9b4ead Update publish release notes script
The milestone name and tag name can be different if the release type
is ".RELEASE".
2018-09-24 11:11:58 -04:00
Stephane Nicoll 885948ce3b Polish 2018-09-23 10:47:09 +02:00
Stephane Nicoll f225945218 Merge branch '1.5.x' into 2.0.x 2018-09-22 20:24:46 +02:00
Stephane Nicoll 3b51d79353 Remove useless jcache profile
Closes gh-14584
2018-09-22 20:24:25 +02:00
Stephane Nicoll 6e92c4ddaf Polish 2018-09-22 20:23:41 +02:00
Stephane Nicoll ed615d4267 Merge pull request #14582 from ayudovin
* pr/14582:
  Fix WebSocket web server customizer bean names
2018-09-22 19:31:31 +02:00
artsiom 7fb13d0dc2 Fix WebSocket web server customizer bean names
Closes gh-14582
2018-09-22 19:29:48 +02:00