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
69fb433eb7
Merge branch '1.5.x'
2017-11-23 11:35:12 +00: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
50985b7e83
Polish
2017-11-23 10:40:25 +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
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
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
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
2b1d1cd317
Polish "Auto-configure templated welcome page"
...
Closes gh-10545
2017-11-21 15:21:57 +00:00
Bruce Brouwer
cc855f4462
Auto-configure templated welcome page
...
See gh-10545
2017-11-21 15:21:48 +00:00
Andy Wilkinson
08c85c1fba
Separate welcome page handler mapping and its tests from auto-config
...
Closes gh-11094
2017-11-21 14:44:29 +00:00
Andy Wilkinson
ff3d7c2ca1
Polish
2017-11-21 12:23:16 +00:00
Andy Wilkinson
64ae83b964
Polish visibility in ConfigurationPropertiesBinderBuilder
2017-11-21 12:20:49 +00:00
Andy Wilkinson
aa9c5e6e08
Align expectation with new endpoint enabled property description
...
See gh-10870
2017-11-21 11:38:50 +00:00
Phillip Webb
4d5de829cb
Fix checkstyle error
2017-11-20 19:58:31 -08:00
Phillip Webb
e82913dd5a
Align appendix edits with source code
...
Port editing changes from append to java source files to ensure that
IDE meta-data also reflects the improvements.
Closes gh-10870
2017-11-20 15:47:49 -08:00
Jay Bryant
3e5b7dd4ac
Make editorial changes to appendix-application-properties.adoc
...
See gh-10870
2017-11-20 15:47:18 -08:00
Phillip Webb
e01c92a38a
Polish
2017-11-20 12:44:39 -08:00
Phillip Webb
64c5e8b6ed
Rename @DurationUnit -> @DefaultDurationUnit
...
Rename `@DurationUnit` to `@DefaultDurationUnit` to make it clearer
that it only changes the unit if one isn't specified by the user.
Closes gh-11078
2017-11-20 12:18:14 -08:00
Phillip Webb
6f3ca459ea
Align MongoReactiveSessionConfiguration conditions
...
Align `MongoReactiveSessionConfiguration` `@ConditionalOnClass` with
`MongoSessionConfiguration`
See gh-11063
2017-11-20 12:07:03 -08:00
Andy Wilkinson
8a3502bdde
Polish "Improve Spring Session auto-configuration tests"
...
See gh-11063
2017-11-20 17:13:35 +00:00
Vedran Pavic
d8e3960631
Improve Spring Session auto-configuration tests
...
Closes gh-11063
2017-11-20 17:13:35 +00:00
Brian Clozel
b7753a1f29
Polish
2017-11-20 17:38:49 +01:00
tinexw
e2bc90b6bb
Add CacheControl config keys in spring.resources.*
...
This commit adds several configuration keys for customizing the
"Cache-Control" HTTP response header when serving static resources.
New keys are located in the "spring.resources.cache-control.*"
namespace; anything configured there will prevail on existing
"spring.resources.cache-period=" values, so as to mirror Spring MVC's
behavior.
Fixes gh-9432
2017-11-20 17:36:21 +01:00
Andy Wilkinson
bc98b84013
Reduce excessive logging by disabling Statsd metrics export
...
Closes gh-11009
2017-11-20 15:27:01 +00:00
Andy Wilkinson
4d1a98b380
Improve exception message that reports clashing endpoint operations
...
Closes gh-10942
2017-11-20 14:52:27 +00:00
Andy Wilkinson
41c297063b
Record metrics for request handled by ParameterizableViewController
...
Closes gh-10335
2017-11-20 13:20:35 +00:00
Andy Wilkinson
331c7a1c56
Make handler Object available to WebMvcTagsProvider.httpRequestTags
...
Closes gh-11088
2017-11-20 13:18:48 +00:00
Andy Wilkinson
417c98304d
Remove assumption about file separator that is incorrect on Windows
...
Closes gh-11087
2017-11-20 11:48:07 +00:00
Stephane Nicoll
75079b3bb8
Polish "Align Session auto-config with Redis namespace config support"
...
Closes gh-11084
2017-11-20 11:29:27 +01:00
Vedran Pavic
b6d9ae7efa
Align Session auto-config with Redis namespace config support
...
See gh-11084
2017-11-20 11:16:34 +01:00
Andy Wilkinson
f654b9b302
Build against Spring Integration snapshots for 5.0.0.RELEASE
...
See gh-11085
2017-11-20 09:56:43 +00:00
Stephane Nicoll
aaabc45281
Fix typo
2017-11-20 09:01:36 +01:00
Stephane Nicoll
e4e635f09a
Start building against Spring Session Data MongoDB 2.0 snapshots
...
See gh-11083
2017-11-20 08:31:23 +01:00
Stephane Nicoll
87d2b8c54e
Start building against Spring Session 2.0 snapshots
...
See gh-11082
2017-11-20 08:30:11 +01:00
Phillip Webb
8f4bf233b4
Update configuration properties to use Duration
...
Update appropriate configuration properties to use the `Duration`
type, rather than an ad-hoc mix of milliseconds or seconds.
Configuration properties can now be defined in a consistent and readable
way. For example `server.session.timeout=5m`.
Properties that were previously declared using seconds are annotated
with `@DurationUnit` to ensure a smooth upgrade experience. For example
`server.session.timeout=20` continues to mean 20 seconds.
Fixes gh-11080
2017-11-19 21:52:57 -08:00
Phillip Webb
cbaf0fa686
Support Duration in generated meta-data
...
Update the configuration properties annotation processor to deal
with `Duration` based default values. For example a field that
defaults to `Duration.ofSeconds(10)` will have a meta-data default
value of `10s`.
See gh-11080
2017-11-19 21:51:10 -08:00
Phillip Webb
7c6c9ddf09
Refine duration converter for optional suffix
...
Update `StringToDurationConverter` so that the suffix is optional and
values such as `100`, `+100`, `-100` are assumed to be milliseconds.
Also add support for `@DurationUnit` to allow the unit to be changed
on a per-field basis (allowing for better back-compatibility).
Closes gh-11078
2017-11-19 21:49:35 -08:00
Stephane Nicoll
303b812363
Properly document default for useNewIdGeneratorMappings
...
Closes gh-11064
2017-11-19 13:14:12 +01:00
Phillip Webb
e147982045
Add FilteredClassLoader
...
Add `FilteredClassLoader` to replace `HideClassesClassLoader` and
`HidePackagesClassLoader`.
Fixes gh-10303
2017-11-18 23:20:00 -08:00
Phillip Webb
74c48767a1
Add beanFactory context constructors
...
Align `WebServer` application contexts with Spring Framework by allowing
a custom beanFactory to be used on construction.
Fixes gh-8547
2017-11-18 21:55:03 -08:00
Phillip Webb
99afc4bc1f
Allow more flexible Duration binding
...
Extend `BinderConversionService` to support `Duration` parsing of
the more readable `10s` form (equivalent to 10 seconds). Standard
ISO-8601 parsing also remains as an option.
Fixes gh-11078
2017-11-18 21:41:27 -08:00
Phillip Webb
2f6aca222e
Fix checkstyle violation
...
Fix public constructor accidentally added in commit 72862b565c .
See gh-10387
2017-11-18 20:43:59 -08:00
Phillip Webb
72862b565c
Polish location check with vendor placeholder
...
Closes gh-10387
2017-11-18 20:29:43 -08:00
Eddú Meléndez
1ee47cec31
Support location check with vendor placeholder
...
Update location check logic triggered if `flyway.check-location=true`
to resolve any vendor placeholders in `flyway.locations`.
See gh-10387
2017-11-18 20:28:52 -08:00
Phillip Webb
4c29c35cbb
Polish Kafka transaction support property
...
Closes gh-11076
2017-11-18 10:20:07 -08:00
nklmish
6d396b973f
Add Kafka transaction support property
...
Add `spring.kafka.producer.transaction-id-prefix` property that will be
passed to `DefaultKafkaProducerFactory.setTransactionIdPrefix(...)`
See gh-11076
2017-11-18 10:15:39 -08:00
Johnny Lim
73c65286ea
Polish
2017-11-18 10:07:30 -08:00
Phillip Webb
7ff2cb5dc8
Polish
2017-11-18 10:03:30 -08:00
Stephane Nicoll
3e9c2b84b6
Fix default ReactiveWebApplicationContext class
...
Closes gh-11074
2017-11-18 09:53:45 +01:00
dreis2211
23da409b31
Remove duplicate words
...
Closes gh-11073
2017-11-18 09:17:30 +01:00
Stephane Nicoll
c4070e093c
Polish
2017-11-18 09:05:28 +01:00
Madhura Bhave
49768e2b1f
Register config classes once in reactive child context
...
Fixes gh-10939
2017-11-17 19:49:31 -08:00
Johnny Lim
1783a072ad
Remove explicit constructor super() calls
...
Closes gh-11068
2017-11-17 16:44:16 -08:00
Phillip Webb
a6cefc5ba0
Polish
2017-11-17 14:18:31 -08:00
Madhura Bhave
551c08ebfe
Update conditions for OAuth security config
...
Closes gh-11070
2017-11-17 12:43:48 -08:00
Madhura Bhave
5ce9067e30
Clean trailing slash from endpoints.web.base-path
...
Fixes gh-11021
2017-11-17 12:00:55 -08:00
Madhura Bhave
4a41c02926
Update redirect-uri-template in oauth sample and docs
...
Fixes gh-11014
2017-11-17 11:29:01 -08:00
Madhura Bhave
d1766509f1
Rename clientReg redirectUri to redirectUriTemplate
...
To keep it consistent with changes made in Spring Security
Closes gh-11038
2017-11-17 10:16:38 -08:00
Andy Wilkinson
3e46b5c5c7
Auto-configure endpoints in main context so they are always discovered
...
Closes gh-11046
2017-11-17 14:09:20 +00:00
Andy Wilkinson
b9c104a22d
Upgrade to Netty 4.1.17.Final
...
Closes gh-10993
2017-11-17 13:54:07 +00:00
Andy Wilkinson
3b45342359
Make Actuator Web API documentation compatible with Java 9
...
Closes gh-8042
2017-11-17 12:24:37 +00:00
Jay Bryant
706600c003
Polish Actuator Web API documentation
...
See gh-8042
2017-11-17 11:27:41 +00:00
Andy Wilkinson
4de208bc94
Provide reference documentation for Actuator web endpoints
...
Closes gh-8042
2017-11-17 11:27:16 +00:00
Stephane Nicoll
4ff8126217
Make binder API private again
...
Closes gh-10867
2017-11-17 11:23:34 +01:00
Stephane Nicoll
0f69a157ac
Upgrade to Reactor Bismuth-SR4
...
Closes gh-11030
2017-11-17 10:41:10 +01:00
Johnny Lim
639bf5e99c
Update "Building reference documentation" section
...
This commit also changes `spring-boot-maven-plugin/pom.xml` to make it
work with `full` Maven profile.
Closes gh-11045
2017-11-17 10:05:04 +01:00
Vedran Pavic
44eebcaff5
Fix `SessionAutoConfiguration` ordering
...
This commit updates `SessionAutoConfiguration` to ensure it is processed
after `MongoDataAutoConfiguration` and
`MongoReactiveDataAutoConfiguration`, instead of `MongoAutoConfiguration`
and `MongoReactiveAutoConfiguration`. This is required in order for
MongoDB Session auto-configuration to work, since
`MongoSessionConfiguration` and `MongoReactiveSessionConfiguration` are
conditional on `MongoOperations` and `ReactiveMongoOperations` beans,
respectively.
Closes gh-11054
2017-11-17 10:02:52 +01:00
Johnny Lim
e8563c54dd
Polish
...
Closes gh-11050
2017-11-17 09:56:16 +01:00
Stephane Nicoll
54b54b7c30
Fix condition for Datadog's api key
...
Closes gh-11053
2017-11-17 09:47:57 +01:00
Stephane Nicoll
5728d9614e
Use a List rather than an array for consistency
...
Closes gh-11029
2017-11-17 09:14:45 +01:00
Stephane Nicoll
a0374c0c31
Polish "Add 'enableSpringElCompiler' to ThymeleafProperties"
...
Closes gh-10869
2017-11-16 15:56:52 +01:00
Kazuki Shimizu
cf350cf85b
Add 'enableSpringElCompiler' to ThymeleafProperties
...
See gh-10869
2017-11-16 15:46:01 +01:00
Johnny Lim
72e5ba3e24
Fix a broken Asciidoctor syntax
...
Closes gh-11044
2017-11-16 11:29:30 +01:00
Johnny Lim
cbb483735d
Polish
...
Closes gh-10948
2017-11-16 10:36:20 +01:00
dreis2211
1e4941e29a
Use StandardCharsets where possible
...
Closes gh-11036
2017-11-16 10:34:44 +01:00