Commit Graph

19225 Commits

Author SHA1 Message Date
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
Vedran Pavic
81c7ce1d15 Add starter for OAuth2 resource server
Closes gh-14950
2018-10-24 21:37:28 -07:00
Phillip Webb
683484e4a8 Fix primary beans with ApplicationContextAssert
Update `ApplicationContextAssert.getBean` so that multiple beans are
supported as long as one of them is primary. This aligns better with
the way that the standard `ApplicationContext.getBean` method works.

Closes gh-14874
2018-10-24 21:34:17 -07:00
Madhura Bhave
06f1a0e6a2 Use oauth2-client starter in reactive sample 2018-10-24 19:56:36 -07:00
Phillip Webb
df16349725 Rename oauth2-oidc-client starter in sample
Fixup sample POM following rename of the oauth2-oidc-client starter.

See gh-14951
2018-10-24 19:40:35 -07:00
Phillip Webb
62cb0f9593 Rename oauth2-oidc-client starter in dependencies
Fixup dependencies POM following rename of the oauth2-oidc-client
starter.

See gh-14951
2018-10-24 19:36:32 -07:00
Phillip Webb
69b0d37fe0 Rename oauth2-oidc-client starter
Rename `spring-boot-starter-oauth2-oidc-client` to
`spring-boot-starter-oauth2-client`.

Closes gh-14951
2018-10-24 18:08:44 -07:00
Phillip Webb
99e166516d Restore conversion service binary compatibility
Change `ApplicationConversionService.getSharedInstance()` to again
return a `ConversionService` rather than `ApplicationConversionService`.

This restore binary compatibly with Spring Boot 2.0

Closes gh-14938
2018-10-24 15:22:42 -07:00
Phillip Webb
2097b6a4c1 Improve ResourceUrlEncodingFilter conditions
Update Thymeleaf and FreeMarker configurations to make use of the new
`@ConditionalOnMissingFilterBean` annotation.

Closes gh-14926
2018-10-24 15:10:49 -07:00
Phillip Webb
44a46f1514 Add @ConditionalOnMissingFilterBean
Add a new condition that can be used to check for servlet `Filter`
beans that are either registered directly, or via a
`FilterRegistrationBean`.

Closes gh-14940
2018-10-24 15:10:49 -07:00