Commit Graph

21208 Commits

Author SHA1 Message Date
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
Johnny Lim
858d325577 Fix getter and setter for sMaxAge 2017-11-22 23:21:18 +09:00
Stephane Nicoll
1b59e88aeb Polish
See gh-10881
2017-11-22 10:44:33 +01:00
Madhura Bhave
616bada6f5 Document ReactiveHealthIndicator support
Closes gh-10881
2017-11-21 15:39:27 -08:00
Andy Wilkinson
e17bbd179a Upgrade to Sqlite Jdbc 3.21.0
Closes gh-11103
2017-11-21 15:58:35 +00:00
Andy Wilkinson
d272c57de0 Upgrade to Selenium Htmlunit 2.28.1
Closes gh-11102
2017-11-21 15:58:34 +00:00
Andy Wilkinson
9a0ffbe5be Upgrade to Neo4j Ogm 3.0.2
Closes gh-11101
2017-11-21 15:58:33 +00:00
Andy Wilkinson
1021846762 Upgrade to Hibernate Validator 6.0.5.Final
Closes gh-11100
2017-11-21 15:58:33 +00:00
Andy Wilkinson
e2759a3c6c Upgrade to Johnzon Jsonb 1.1.5
Closes gh-11099
2017-11-21 15:58:32 +00:00
Andy Wilkinson
4148cdeef9 Upgrade to Rxjava 1.3.4
Closes gh-11098
2017-11-21 15:58:31 +00:00
Andy Wilkinson
7d54b70329 Upgrade to Lettuce 5.0.1.RELEASE
Closes gh-11097
2017-11-21 15:58:31 +00:00
Andy Wilkinson
895496b2c2 Upgrade to Cassandra Driver 3.3.2
Closes gh-11096
2017-11-21 15:58:30 +00:00
Andy Wilkinson
cf20ac788d Merge branch '1.5.x' 2017-11-21 15:56:16 +00:00
Andy Wilkinson
811e8df980 Upgrade to Aspectj 1.8.13
Closes gh-11095
2017-11-21 15:55:39 +00:00
Andy Wilkinson
844aa18173 Merge pull request #10545 from Bruce Brouwer
* gh-10545:
  Polish "Auto-configure templated welcome page"
  Auto-configure templated welcome page
2017-11-21 15:41:29 +00:00