Commit Graph

19234 Commits

Author SHA1 Message Date
Bryan Turner 8b40ce14cb Restore max-http-header-size default value support
Fix `TomcatWebServerFactoryCustomizer` to restore Spring Boot 2.0
behavior where a negative or zero `max-http-header-size` indicates
that the server default should be used.

See gh-14986
2018-10-28 20:56:51 -07:00
Phillip Webb 807743b679 Merge branch '2.0.x' 2018-10-28 09:00:32 -07:00
Phillip Webb a8ac091187 Merge pull request #14977 from nishantraut
* pr/14977:
  Polish "Improve Path Matching and Content Negotiation docs"
  Improve Path Matching and Content Negotiation docs
2018-10-28 09:00:00 -07:00
Phillip Webb 43dd3cfa76 Polish "Improve Path Matching and Content Negotiation docs"
See gh-14977
2018-10-28 08:59:30 -07:00
Nishant Raut 113abbe6e6 Improve Path Matching and Content Negotiation docs
Add a note to the "Path Matching and Content Negotiation" section about
the `spring.mvc.pathmatch.use-suffix-pattern` property.

Closes gh-14977
2018-10-28 08:52:36 -07:00
Phillip Webb 1c18fd8bae Add managed mimepull dependency
Add a managed dependency for `org.jvnet.mimepull:mimepull` so that
`spring-boot-starter-web-services` works with Java 11.

Although we don't directly depend on mimepull ourselves, there is an
transitive dependency from `com.sun.xml.messaging.saaj:saaj-impl:1.5.0`
which unfortunately references a version that was never published to
Maven Central.

Closes gh-14924
2018-10-26 17:23:03 -07:00
Phillip Webb aebf049223 Merge pull request #14972 from dreis2211
* pr/14972:
  Fix MetricsAutoConfigurationTests
2018-10-26 16:54:53 -07:00
dreis2211 fb03139c59 Fix MetricsAutoConfigurationTests
Closes gh-14972
2018-10-26 16:54:11 -07:00
Phillip Webb 621eb85ad7 Merge pull request #14971 from dreis2211
* pr/14971:
  Polish mocks with default answer
2018-10-26 16:42:38 -07:00
dreis2211 3d2fbdf3bd Polish mocks with default answer
Closes gh-14971
2018-10-26 16:39:48 -07:00
Phillip Webb c393f6262e Merge branch '2.0.x' 2018-10-26 16:36:02 -07:00
Phillip Webb 33c7a74bee Update copyright year for changed files 2018-10-26 16:35:28 -07:00
Phillip Webb 997de53f20 Remove uncessary call in PropertiesMigrationReport
Closes gh-14974
2018-10-26 16:35:00 -07:00
Phillip Webb 236bd856f6 Merge pull request #14967 from chang-chao
* pr/14967:
  Polish "Consider aliases when checking descendants"
  Consider aliases when checking descendants
2018-10-26 16:33:26 -07:00
Phillip Webb 5603d61909 Polish "Consider aliases when checking descendants"
See gh-14967
2018-10-26 16:24:23 -07:00
chang-chao 256ca681fd Consider aliases when checking descendants
Update `AliasedConfigurationPropertySource` to consider aliases in
`containsDescendantOf`.

Prior to this commit, given a source containing `example.name` with
a defined alias of `other.name -> example.name` calling
`containsDescendantOf("other")` would incorrectly return
`ConfigurationPropertyState.ABSENT`.

Closes gh-14967
2018-10-26 16:08:56 -07:00
Phillip Webb 1a0a8470e5 Merge branch '2.0.x' 2018-10-26 13:37:39 -07:00
Phillip Webb 7bb6df4206 Merge pull request #14933 from benas
* pr/14933:
  Polish "Fix Spring Batch job restart parameters handling"
  Fix Spring Batch job restart parameters handling
2018-10-26 13:37:07 -07:00
Phillip Webb 62b9268cec Polish "Fix Spring Batch job restart parameters handling"
See gh-14933
2018-10-26 13:30:50 -07:00
Mahmoud Ben Hassine ad3c3ad361 Fix Spring Batch job restart parameters handling
Fix the `JobLauncherCommandLineRunner` to correctly deal with job
parameters when restarting a job.

Prior to this commit, we were was calling the `getNextJobParameters`
method of the `JobParametersBuilder` from batch. This method was getting
the previous parameters of the wrong job instance in a restart scenario.

This commit fixes the issue by first getting the right job instance with
the provided parameters, then restarting it.

Closes gh-14933
2018-10-26 13:24:02 -07:00
Phillip Webb 1a85e629d7 Stop using streams when working with sources
Replace `streamSources()` calls with `getSources()` in an attempt to
reduce the amount of garbage created.

Closes gh-13565
2018-10-26 11:30:28 -07:00
Phillip Webb 9e7478a1b6 Merge pull request #14949 from vpavic
* pr/14949:
  Upgrade to Hazelcast 3.11
2018-10-25 15:59:59 -07:00
Vedran Pavic 6e967fe860 Upgrade to Hazelcast 3.11
Closes gh-14949
2018-10-25 15:57:59 -07:00
Phillip Webb acb5a90273 Log warning when using deprecated EndpointId chars
Update `EndpointId` to log a warning when `-` or `.` are used.

Closes gh-14840
2018-10-25 15:56:48 -07:00
Stephane Nicoll b45ebbdae7 Merge branch '2.0.x' 2018-10-26 07:53:10 +09:00
Stephane Nicoll d1ce315602 Merge branch '1.5.x' into 2.0.x 2018-10-26 07:48:40 +09:00
Stephane Nicoll 264b7ca728 Backport "Upgrade to Ehcache 2.10.6"
Closes gh-14962
2018-10-26 07:45:27 +09:00
Stephane Nicoll b84b957242 Backport "Upgrade to Appengine Sdk 1.9.67"
Closes gh-14955
2018-10-26 07:38:48 +09:00
Stephane Nicoll 3652f15cb7 Merge pull request #14954 from Hanope
* pr/14954:
  Fix typos
2018-10-26 07:37:44 +09:00
Hanope 65e3b9ff5b Fix typos
Closes gh-14954
2018-10-26 07:34:58 +09:00
Stephane Nicoll a43728d9d8 Merge pull request #14969 from dreis2211
* pr/14969:
  Polish javadoc of CachesEndpoint
2018-10-26 07:33:43 +09:00
dreis2211 5b6e94d78a Polish javadoc of CachesEndpoint
Closes gh-14969
2018-10-26 07:31:49 +09:00
Phillip Webb 5a4220c773 Fix logging checkstye violations in samples
See gh-14911
2018-10-25 09:28:04 -07:00
Brian Clozel b424fa6039 Upgrade to Maven Failsafe Plugin 2.22.1
Closes gh-14965
2018-10-25 12:53:14 +02:00
Brian Clozel b5ea9c1eb2 Upgrade to Flyway 5.2.1
Closes gh-14964
2018-10-25 12:53:14 +02:00
Brian Clozel 3c367d8a46 Upgrade to Aspectj 1.9.2
Closes gh-14963
2018-10-25 12:53:14 +02:00
Brian Clozel 0c00d1d482 Upgrade to Ehcache 2.10.6
Closes gh-14962
2018-10-25 12:53:14 +02:00
Brian Clozel 8c400c8522 Upgrade to Mysql 8.0.13
Closes gh-14960
2018-10-25 12:53:14 +02:00
Brian Clozel ecd2efd4e4 Upgrade to Undertow 2.0.14.Final
Closes gh-14959
2018-10-25 12:53:14 +02:00
Brian Clozel 2f244057e2 Upgrade to Rxjava2 2.2.3
Closes gh-14958
2018-10-25 12:53:14 +02:00
Brian Clozel a046aa0138 Upgrade to Appengine Sdk 1.9.67
Closes gh-14955
2018-10-25 12:52:25 +02:00
Brian Clozel cf882c9b40 Fix import error in 8376bc369 2018-10-25 12:52:25 +02:00
Brian Clozel 8376bc3697 Fix build after checkstyle imports updates
See gh-14911
2018-10-25 11:25:56 +02:00
Brian Clozel 755c4b8b98 Update spring.mvc.log-resolved-exception description
Closes gh-14936
2018-10-25 11:04:20 +02:00
Phillip Webb befec76866 Add logging checkstye rule
Add checkstyle rule to ensure SLF4J is not used.

Closes gh-14911
2018-10-24 22:48:42 -07:00
Phillip Webb 6aa2862f85 Merge branch '2.0.x' 2018-10-24 22:48:18 -07:00
Phillip Webb 7bcc793faf Fix WebMvcMetricsFilter logger imports
Don't use SLF4J loggers in `WebMvcMetricsFilter`.

Fixes gh-14953
2018-10-24 22:46:31 -07:00
Phillip Webb c130956f0f Merge pull request #14947 from vpavic
* pr/14947:
  Use message source in Web UI sample
2018-10-24 21:51:47 -07:00
Vedran Pavic 4b2f084e28 Use message source in Web UI sample
Update the sample application to show how a message source can be
used in the view tier.

Closes gh-14947
See gh-14882
2018-10-24 21:50:40 -07:00
Phillip Webb 5e18fe1eaa Merge pull request #14950 from vpavic
* pr/14950:
  Add starter for OAuth2 resource server
2018-10-24 21:37:53 -07:00