Stephane Nicoll
199d2e30d7
Polish
2018-01-15 15:15:34 +01:00
Andy Wilkinson
23d8d608c4
Polish
2018-01-15 13:35:46 +00:00
Stephane Nicoll
b2ec7c58a6
Merge branch '1.5.x'
2018-01-15 12:13:24 +01:00
Stephane Nicoll
cbefc7bf83
Polish doc
...
Closes gh-11635
2018-01-15 12:11:33 +01:00
Stephane Nicoll
e258884dd3
Polish doc
...
Closes gh-11529
2018-01-15 12:09:43 +01:00
Andy Wilkinson
f7e408945e
Use Instant for Session creation and last accessed times
...
Closes gh-10976
2018-01-15 10:59:22 +00:00
Brian Clozel
67e5897c40
Disable suffix pattern matching in Spring MVC
...
This commit disables by default suffix pattern matching in Spring MVC
applications. As described in the Spring MVC documentation (see
https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc-ann-requestmapping-suffix-pattern-match ),
this is considered as best practice.
This change also introduces new configuration properties to achieve
similar results in a safer way (using query parameters) or to rollback
to the former default.
Closes gh-11105
2018-01-15 11:58:26 +01:00
Stephane Nicoll
2bf662f231
Remove hdrhistogram managed dependency
...
Closes gh-10923
2018-01-15 11:36:28 +01:00
Stephane Nicoll
29ebb75d0b
Merge pull request #11630 from izeye:polish-20180114
...
* pr/11630:
Polish
2018-01-15 10:31:45 +01:00
Johnny Lim
77150f8dc9
Polish
...
Closes gh-11630
2018-01-15 10:20:31 +01:00
Stephane Nicoll
3f88906b97
Fix handling of ResponseStatusException
...
This commit updates DefaultErrorAttributes to handle
ResponseStatusException explicitly. This exception is used in a
WebFlux application to signal that the processing of the query has
failed with an HTTP status code and a reason phrase. The latter is now
properly mapped to the `message` attribute of the response body.
Closes gh-11614
2018-01-15 10:03:15 +01:00
Stephane Nicoll
fdd501c943
Merge pull request #11619 from eddumelendez:spring_session_2.0.0
...
* pr/11619:
Upgrade to Spring Session 2.0.0.RELEASE
2018-01-14 09:34:03 +01:00
Eddú Meléndez
fb88a56af0
Upgrade to Spring Session 2.0.0.RELEASE
...
Closes gh-11619
2018-01-14 09:33:35 +01:00
Stephane Nicoll
74707bb75c
Merge pull request #11622 from izeye:unnecessary-assertion
...
* pr/11622:
Remove an unnecessary assertion
2018-01-14 09:31:38 +01:00
Johnny Lim
f6780bed65
Remove an unnecessary assertion
...
Closes gh-11622
2018-01-14 09:31:11 +01:00
Andy Wilkinson
2b99962a85
Replace use of Date with OffsetDateTime and Instant in Actuator
...
Closes gh-10976
2018-01-12 17:26:05 +00:00
Stephane Nicoll
a99adb1047
Upgrade to Micrometer 1.0.0-rc.7
...
See gh-11598
2018-01-12 18:25:15 +01:00
Stephane Nicoll
8aaf95b792
Polish
2018-01-12 11:40:35 +01:00
Stephane Nicoll
270acd4636
Merge pull request #11606 from izeye:fix-typo-dynamic
...
* pr/11606:
Fix typo in DynamicRegistrationBean class name
2018-01-12 01:45:09 +01:00
Johnny Lim
136e26e307
Fix typo in DynamicRegistrationBean class name
...
Closes gh-11606
2018-01-12 01:44:45 +01:00
Stephane Nicoll
bfa2c87b4e
Merge pull request #11598 from jkschneider:micrometer-rc6
...
* pr/11598:
Polish "Upgrade to Micrometer 1.0.0-rc.6"
Upgrade to Micrometer 1.0.0-rc.6
2018-01-11 18:37:02 +01:00
Stephane Nicoll
ae3cd75d1a
Polish "Upgrade to Micrometer 1.0.0-rc.6"
...
Closes gh-11598
2018-01-11 18:35:31 +01:00
Jon Schneider
ccc820f723
Upgrade to Micrometer 1.0.0-rc.6
...
See gh-11598
2018-01-11 18:35:31 +01:00
Brian Clozel
69d5b7a4e8
Add missing header expectations in tests
...
Fixes gh-11318
2018-01-11 14:44:50 +01:00
Stephane Nicoll
f10210f769
Make MetricsEndpoint response types public
...
Closes gh-11602
2018-01-11 13:53:46 +01:00
Andy Wilkinson
a051e30fe0
Publish an event after refresh but before runners are called
...
This commit partially reverts the changes made in ec470fbe . While
the started message continues to be logged before any application and
command line runners are called, the publishing of
ApplicationReadyEvent now happens after the runners have been called.
Additionally, a new event, named ApplicationStartedEvent, has been
introduced. This new event is published after the context has been
refreshed but before any application and command line runners are
called.
Closes gh-11484
The reworking of the events described above also means that either
an ApplicationReadyEvent or an ApplicationFailedEvent will be
published and the latter should never be published once the former
has been published.
Closes gh-11485
2018-01-11 11:26:53 +00:00
Stephane Nicoll
4a9123d6e3
Detect user-defined RedisCacheConfiguration
...
This commits improves the cache auto-configuration for Redis by looking
up a custom "RedisCacheConfiguration" bean that allows to take full
control over the `RedisCacheManager`.
Closes gh-11599
2018-01-11 11:52:08 +01:00
Stephane Nicoll
7d12dc2e02
Polish description
...
See gh-11428
2018-01-11 11:24:34 +01:00
Stephane Nicoll
7189f426ed
Create CloudFoundry-specific EndpointWebExtension
...
Closes gh-11428
2018-01-11 11:23:20 +01:00
Brian Clozel
6ecdd6e9c1
Add SSL client Auth support with Reactor Netty
...
This commit adds SSL client Authentication support
to Reactor Netty and adds the relevant tests to
`AbstractReactiveWebServerFactoryTests` for all servers.
Fixes gh-11488
2018-01-11 11:15:29 +01:00
Brian Clozel
98ac2218db
Apply server.undertow.* config to reactive servers
...
This commit applies `server.undertow.*` configuration properties
to Undertow when configured as a reactive web server.
See gh-11500
2018-01-11 11:15:23 +01:00
Brian Clozel
15bc718248
Apply server.jetty.* config to reactive servers
...
This commit applies `server.jetty.*` configuration properties
to Jetty when configured as a reactive web server.
It also removes some infrastructure support for Jetty 8, which
is not supported anymore in Spring Boot 2.0 (partial fix for
gh-11504).
See gh-11500
2018-01-11 11:15:17 +01:00
Brian Clozel
d264af8142
Apply server.tomcat.* config to reactive servers
...
This commit applies most `server.tomcat.*` configuration
properties to Tomcat when set up as a reactive web server.
Some Servlet-specific properties are not applied:
* server.tomcat.additional-tld-skip-patterns
* server.tomcat.redirect-context-root
* server.tomcat.use-relative-redirects
Fixes gh-11334
2018-01-11 11:15:02 +01:00
Stephane Nicoll
4b59d5f517
Rationalize AuditEventRepository contract
...
Closes gh-11331
2018-01-11 10:54:07 +01:00
Stephane Nicoll
644925e9f0
Merge pull request #11591 from izeye:gson
...
* pr/11591:
Polish "Make GsonAutoConfiguration align with JacksonAutoConfiguration"
Make GsonAutoConfiguration align with JacksonAutoConfiguration
2018-01-11 10:37:13 +01:00
Stephane Nicoll
b2eae0006d
Polish "Make GsonAutoConfiguration align with JacksonAutoConfiguration"
...
Closes gh-11591
2018-01-11 10:36:58 +01:00
Johnny Lim
50518514b0
Make GsonAutoConfiguration align with JacksonAutoConfiguration
...
See gh-11591
2018-01-11 10:16:35 +01:00
Phillip Webb
49c685b7c0
Merge branch '1.5.x'
2018-01-10 12:01:29 -08:00
Phillip Webb
84fa67d33e
Backport use docker-java 3.0.x for launch tests
...
Backport commit d439b73758 to upgrade launch integration tests to
use docker-java 3.0.x.
2018-01-10 11:56:09 -08:00
Stephane Nicoll
027e6baba5
Improve documentation for WebTestClient
...
Closes gh-11203
2018-01-10 16:15:15 +01:00
Andy Wilkinson
db83a80deb
Correct test expectations following changes to application context ID
...
See gh-11023
2018-01-10 14:12:06 +00:00
Andy Wilkinson
2059922735
Make ContextIdApplicationContextInitializer produce unique IDs
...
Closes gh-11023
2018-01-10 12:53:03 +00:00
Stephane Nicoll
f2b15ce5d8
Merge pull request #11587 from izeye:fix-imports-order
...
* pr/11587:
Fix imports order for Checkstyle
2018-01-10 09:46:28 +01:00
Johnny Lim
483d123d9b
Fix imports order for Checkstyle
...
Closes gh-11587
2018-01-10 09:46:06 +01:00
Madhura Bhave
e57aafd63d
Provide EndpointRequest for WebFlux-based Security
...
Closes gh-11022
2018-01-09 16:06:36 -08:00
Madhura Bhave
32557e4987
Fix imports
2018-01-09 15:47:09 -08:00
Madhura Bhave
fa8bca41f8
Fix javadoc
2018-01-09 14:47:32 -08:00
Madhura Bhave
8fedc29ed7
Update copyright year of changed files
2018-01-09 14:45:43 -08:00
Madhura Bhave
3d30c62162
Fix package tangle in cloudfoundry configuration
...
Fixes gh-11273
2018-01-09 14:42:28 -08:00
Phillip Webb
b078698f20
Update copyright year of changed files
2018-01-09 12:13:27 -08:00