Commit Graph

14322 Commits

Author SHA1 Message Date
Stephane Nicoll
7f8ca64df1 Merge branch '1.5.x' 2017-11-23 18:01:05 +01:00
Stephane Nicoll
e85578cf2f Polish 2017-11-23 18:00:49 +01:00
Stephane Nicoll
5ebed451e0 Remove dead code 2017-11-23 17:55:58 +01:00
Andy Wilkinson
6bf837e95b Tidy up documentation following removal of /status and /health changes
Closes gh-10863
2017-11-23 16:14:34 +00:00
Andy Wilkinson
3b1d2b0733 Merge pull request #11126 from Johnny Lim
* gh-11126:
  Polish
2017-11-23 16:00:59 +00:00
Johnny Lim
01a48412d2 Polish
Closes gh-11126
2017-11-23 16:00:55 +00:00
Stephane Nicoll
97bb70cd0c Polish 2017-11-23 16:28:00 +01:00
Stephane Nicoll
0a5f064d39 Improve error metadata for Autoconfigure module 2017-11-23 16:11:48 +01:00
Stephane Nicoll
3a6a238ea9 Improve error metadata for Actuator 2017-11-23 15:59:51 +01:00
Andy Wilkinson
1a76b5122d Merge branch '1.5.x' 2017-11-23 14:21:17 +00:00
Andy Wilkinson
3cc7509804 Merge pull request #10706 from Ali Kord
* gh-10706:
  Polish "Fix handling of spaces in container's document root"
  Fix handling of spaces in container's document root
2017-11-23 14:08:34 +00:00
Andy Wilkinson
c14f5fb6ad Polish "Fix handling of spaces in container's document root"
Closes gh-10706
2017-11-23 14:08:00 +00:00
Ali Kord
8031a1bdb4 Fix handling of spaces in container's document root
See gh-10706
2017-11-23 14:01:21 +00:00
Andy Wilkinson
72b14b8add Merge branch '1.5.x' 2017-11-23 13:15:41 +00:00
Andy Wilkinson
276a9a0eec Reflect each source's values in env endpoint's response
Previously, the env endpoint would use the entire environment to
get the value of each property in a source. This meant that when
there were multiple sources with the same property, the value from
the source with the highest precedence would be used for every
source that contains the property.

This commit update the endpoint to retrieve the value from the
property source that is being described, rather than resolving it
against all the environment's property sources.

Closes gh-10883
2017-11-23 13:09:48 +00:00
Stephane Nicoll
c6709899db Polish 2017-11-23 13:52:58 +01:00
Andy Wilkinson
c748a009b0 Merge branch '1.5.x' 2017-11-23 12:43:29 +00:00
Stephane Nicoll
877ed041e7 Polish 2017-11-23 13:38:11 +01:00
Andy Wilkinson
5cf2e76377 Set PID system property before *_LOG_PATTERN system properties
Previously, the PID system property was set after the
CONSOLE_LOG_PATTERN and FILE_LOG_PATTERN system properties. This meant
that the values of the pattern system properties could not reference
the PID system property, i.e. ${PID} would not resolve.

This commit sets the PID system property before the *_LOG_PATTERN
system properties, thereby allowing the latter to reference the
former.

Closes gh-10594
2017-11-23 12:34:00 +00:00
Stephane Nicoll
02a0683cff Polish
See gh-10595
2017-11-23 13:32:03 +01:00
Stephane Nicoll
13ccf45008 Polish
See gh-10884
2017-11-23 13:28:44 +01:00
Stephane Nicoll
c9c9e3664e Polish
See gh-11113
2017-11-23 13:26:55 +01:00
Andy Wilkinson
f12de333f5 Merge branch '1.5.x' 2017-11-23 11:46:42 +00:00
Andy Wilkinson
137d3f3533 Test Flyway location checking with implicit classpath: prefix
Closes gh-10894
2017-11-23 11:44:25 +00:00
Andy Wilkinson
69fb433eb7 Merge branch '1.5.x' 2017-11-23 11:35:12 +00:00
Andy Wilkinson
d4e19f8170 Auto-configure jOOQ after transaction auto-configuration
jOOQ auto-configuration will make use of a PlatformTransactionManager
bean if available. This commit ensures that jOOQ is auto-configured
after transaction auto-configuration, thereby ensuring that any
auto-configuration PlatformTransactionManager bean can be consumed.

Closes gh-11052
2017-11-23 11:33:16 +00:00
Stephane Nicoll
a3e71febcb Merge pull request #11091 from vpavic:endpoint-props
* pr/11091:
  Polish "Fix references to management related properties"
  Fix references to management related properties
2017-11-23 10:57:32 +01:00
Stephane Nicoll
dfc0e392ed Polish "Fix references to management related properties"
Closes gh-11091
2017-11-23 10:57:18 +01:00
Vedran Pavic
63aef58d30 Fix references to management related properties
See gh-11091
2017-11-23 10:48:37 +01:00
Stephane Nicoll
f7ed24cb7c Merge branch '1.5.x' 2017-11-23 10:46:29 +01:00
Stephane Nicoll
1fc3750c6d Merge pull request #11108 from izeye:broken-asciidoctor-syntax-20171122
* pr/11108:
  Fix broken Asciidoctor syntax
2017-11-23 10:45:01 +01:00
Johnny Lim
8b917abeab Fix broken Asciidoctor syntax
Closes gh-11108
2017-11-23 10:44:37 +01:00
Stephane Nicoll
50985b7e83 Polish 2017-11-23 10:40:25 +01:00
Stephane Nicoll
bae7c96ea8 Merge pull request #11115 from espiegelberg:master
* pr/11115:
  Add reference to Neo4j's health indicator
2017-11-23 10:36:07 +01:00
Eric Spiegelberg
789e7670d8 Add reference to Neo4j's health indicator
Closes gh-11115
2017-11-23 10:35:17 +01:00
Stephane Nicoll
59df2909b8 Format 2017-11-23 10:16:32 +01:00
Stephane Nicoll
cc2d882d08 Polish
See gh-11090
2017-11-23 10:14:24 +01:00
Phillip Webb
07f71e889e Move /application to /actuator
Change the endpoint default path from `/application` to `/actuator`.

Fixes gh-10970
2017-11-22 23:18:22 -08:00
Phillip Webb
3e2ede51d6 Delete status documentation
See gh-11113
2017-11-22 23:18:21 -08:00
Phillip Webb
05d2ca4f16 Allow bean binding if property binding fails
Update `Binder` so that if a property exists, but it cannot be converted
to required type, bean binding is attempted.

Prior to this commit, if a user happened to have an environment
variable named `SERVER` the binder would fail when trying to directly
convert its `String` value into a `ServerProperties`

Fixes gh-10945
2017-11-22 23:18:21 -08:00
Phillip Webb
93ae71cf93 Switch Jackson write-dates-as-timestamps default
Update `JacksonAutoConfiguration` so that `write-dates-as-timestamps`
now defaults to `false`.

Fixes gh-11079
2017-11-22 22:02:17 -08:00
Phillip Webb
78dee309b1 Merge pull request #11055 from vpavic/session-webflux-sample
* pr/11055:
  Polish Spring Session WebFlux sample
  Add Spring Session WebFlux sample
2017-11-22 22:01:59 -08:00
Phillip Webb
31025d9f6c Drop status endpoint
Drop the status endpoint and merge functionality back into the health
endpoint. The `management.endpoint.health.show-details` property can
be used to change if full details, or just the status is displayed.

Fixes gh-11113
2017-11-22 22:01:58 -08:00
Phillip Webb
4412285c45 Polish Spring Session WebFlux sample
Closes gh-11055
2017-11-22 22:01:58 -08:00
Vedran Pavic
a8c027ba8e Add Spring Session WebFlux sample
See gh-11055
2017-11-22 22:01:58 -08:00
Phillip Webb
d99625fa78 Rename properties that have - in their prefix
Rename `reactive-repositories` to `reactiverepositories` and replace
`spring.resources.cache-control` with `spring.resources.cache.control`.

Fixes gh-11090
2017-11-22 16:48:21 -08:00
Phillip Webb
47bc5e71ab Polish 2017-11-22 13:17:26 -08:00
Andy Wilkinson
4bf1640198 Allow beans to be used as Hibernate naming strategies
Previously, custom Hibernate naming strategies could only be
configured via properties. This allowed a fully-qualified classname to
be specified, but did not allow a naming strategy instance to be used.

This commit updates HibernateJpaConfiguration to use
ImplicitNamingStrategy and PhysicalNamingStrategy beans if they
exist. If both a bean exists and the equivalent property has been set,
the bean wins.
2017-11-22 17:29:13 +00:00
Andy Wilkinson
ffca60d308 Revert "Rework BootRun so that it does not subclass JavaExec"
This reverts commit 6eee9de3c1.

Closes gh-10872
2017-11-22 17:22:44 +00:00
Brian Clozel
6f97bc58a6 Merge pull request #11111 from izeye:fix-s-max-age
* pr/11111:
  Fix getter and setter for sMaxAge
2017-11-22 15:27:35 +01:00