Commit Graph

855 Commits (fb88a56af0738e7b480d95f70dc94aa3cc12b1d1)

Author SHA1 Message Date
Madhura Bhave 1b93f84912 Allow encoded password for default user
If raw password is provided, add {noop} prefix.
If prefix is present or PasswordEncoder bean is provided,
use the password as is.

Closes gh-10963
7 years ago
Phillip Webb 5e9cfea5a8 Migrate to auto-configurations to PropertyMapper
Update auto-configuration classes that have extensive property mapping
code to make use of the new `PropertyMapper` utility.

Fixes gh-9018
7 years ago
Phillip Webb 241a7086c0 Add PropertyMapper utility class
Add a utility class that can help when mapping values from
`@ConfigurationProperties` to a third-party class.

See gh-9018
7 years ago
Phillip Webb befdbaaaa9 Polish 7 years ago
Stephane Nicoll b7435016fb Improve Couchbase health indicator
This commit improve the couchbase health indicator to list the available
nodes. Doing so improves the reliability of the indicator as accessing
the bucket forces a remote call and better detect the cases where the
broker is down.

Closes gh-7369
7 years ago
Stephane Nicoll 2ed162a0be Fix outdated references to server.context-path
Closes gh-11358
7 years ago
Stephane Nicoll 7566a197b0 Fix type for spring.data.cassandra.contact-points
Closes gh-11354
7 years ago
Madhura Bhave bf3aa62a58 Merge branch '1.5.x' 7 years ago
Madhura Bhave c94f0822e5 Fix bean names in tests
See gh-11224
7 years ago
Stephane Nicoll 27922ae325 Polish 7 years ago
Stephane Nicoll dddf2c0013 Polish "Expose default RabbitMQ credentials in the metadata"
Closes gh-6863
7 years ago
Zoltan Altfatter 878a2e1a49 Expose default RabbitMQ credentials in the metadata
See gh-6863
7 years ago
Stephane Nicoll 9c7b944e4f Polish 7 years ago
Stephane Nicoll a33c3eec3f Polish "Add InfluxDb health indicator"
Closes gh-11159
7 years ago
Eddú Meléndez cdbdc1cb7f Add InfluxDb health indicator
See gh-11159
7 years ago
Stephane Nicoll b7c2bd9ca8 Remove problematic words from documentation
Closes gh-11224
7 years ago
Stephane Nicoll ef78cb33b3 Move metrics properties to "management.metrics"
Closes gh-11340
7 years ago
Stephane Nicoll de8fe7550f Polish 7 years ago
Stephane Nicoll 0e20ed1d68 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 41720ca93d Improve extension of Neo4jHealthIndicator
This commit makes it easier to extend `Neo4jHealthIndicator` for cases
where a custom cypher needs to be executed.

Closes gh-11120
7 years ago
Stephane Nicoll 797ad13bfa Merge branch '1.5.x' 7 years ago
Stephane Nicoll 22aeb74d73 Polish 7 years ago
Phillip Webb ed2460b091 Add support for animated GIFs
Update ImageBanner to support animated GIFs. Animations rely on ANSI
cursor codes so don't work so well in an IDE. They do, however, work
when running the app from a terminal.

See also commit 47bc5e71ab

Closes gh-11118
7 years ago
Phillip Webb 3273859fde Polish 7 years ago
Phillip Webb 5ca608330c Merge branch '1.5.x' 7 years ago
Stephane Nicoll 681fdb1ee8 Property detect Health web extension with management context
Previously, the Health web extension was defined in the management
context and, as a result, it wasn't found when a separate port was
required. The side effect is that anything that the health web extension
does was not active anymore in that case.

This commit makes sure that the extension is always defined as part of
the main context where operations are discovered and merged.

Closes gh-11285
7 years ago
Stephane Nicoll a626f5462d Consistent use of @AliasFor
Closes gh-10836
7 years ago
Stephane Nicoll 47c8b5731a polish 7 years ago
Stephane Nicoll 7216a8fa38 Polish
See gh-11341
7 years ago
Stephane Nicoll bc5863df8d Do not attempt to clear ResourceManager's cache with Java9
Closes gh-10927
7 years ago
Stephane Nicoll d6fe4b9a6a Polish 7 years ago
Stephane Nicoll e5361d887c Relocate banner properties to spring.banner
Closes gh-11339
7 years ago
Stephane Nicoll b6aa0f24e2 Clean endpointIds in generated metadata
Closes gh-11107
7 years ago
Stephane Nicoll 7f2af8b209 Polish 7 years ago
Johnny Lim de72f2ae32 Polish
Closes gh-11327
7 years ago
dreis2211 a93a4e8715 Use String.equalsIgnoreCase() where possible
Closes gh-11330
7 years ago
Thiago Hirata f3055f2685 UserNameAttribute for custom OAuth2 provider
The UserNameAttribute field for a custom OAuth2 provider was
ignored when building the ClientRegistration.

Closes gh-10672
7 years ago
Madhura Bhave 4b73c5748b Fix typo in documentation
Fixes gh-11329
7 years ago
Stephane Nicoll e274f29018 Add "testing your auto-configuration" doc section
Closes gh-10011
7 years ago
Brian Clozel 175f451b0f Polish 7 years ago
Alessandro Ciccimarra e1def637ae Apply configurers on MeterRegistry before injection
MeterRegistryConfigurers are now applied within the Bean method
creating the CompositeMeterRegistry, instead of applying them
later in its lifecycle, when the bean itself could have been
injected somewhere.

Fixes gh-11319
7 years ago
Andy Wilkinson 04068ee792 Tolerate custom response status in WebMvcTags
Closes gh-11263
7 years ago
Andy Wilkinson 58d1f99a1e Merge branch '1.5.x' 7 years ago
Andy Wilkinson d0981a1f6d Merge branch '1.5.x' 7 years ago
Stephane Nicoll 23218add90 Polish 7 years ago
Brian Clozel 97c91eee94 Merge pull request #11316 from dkublik:adding-MetricsClientHttpRequestInterceptor-only-once
* pr/11316:
  Polish
  Avoid duplicate Metrics HTTP interceptor registration
7 years ago
Brian Clozel c82f1016c1 Polish 7 years ago
dawid.kublik@vimn.com 77d4448c0e Avoid duplicate Metrics HTTP interceptor registration
Closes gh-11315
7 years ago
Stephane Nicoll 68c8f7bae6 Add support for useRelativeRedirects customization
Closes gh-10597
7 years ago
Stephane Nicoll 6a4a0e3f29 Polish "Make RabbitTemplate exchange and routingKey configurable"
Closes gh-10978
7 years ago
Arlo O'Keeffe 4e31d2041a Make RabbitTemplate exchange and routingKey configurable
See gh-10978
7 years ago
Stephane Nicoll 4eda29a42e Merge branch '1.5.x' 7 years ago
Stephane Nicoll 408368a1f9 Polish "Allow graceful shutdown of Atomikos"
Closes gh-11237
7 years ago
nklmish 46d94aba4f Allow graceful shutdown of Atomikos
See gh-11237
7 years ago
Stephane Nicoll 2da6675c42 Polish
See gh-10963
7 years ago
Madhura Bhave a5ce4a10f1 Update reference doc with security changes
Fixes gh-11172
7 years ago
Madhura Bhave 47ed096981 Make default username and password configurable
Closes gh-10963
7 years ago
Brian Clozel e68d8a3f98 Merge branch '1.5.x' 7 years ago
Brian Clozel 5f3c2bef50 Add CORS support to Actuator WebFlux
Closes gh-11308
7 years ago
Brian Clozel deb16e1617 Polish 7 years ago
Stephane Nicoll 5ef9364085 Polish 7 years ago
Johnny Lim 384819ab5f Add @Configuration to ScheduledTasksEndpointAutoConfiguration
Closes gh-11313
7 years ago
Stephane Nicoll 0b59751bf8 Fix Spring Data Couchbase Reactive starter
Closes gh-11245
7 years ago
Wendal Chen 9313ce8835 Add ref to Nutz.Dao Spring Boot starter
Closes gh-11212
7 years ago
Stephane Nicoll f75ab21c7e Upgrade to Spring Batch 4.0.0.RELEASE
Closes gh-11305
7 years ago
Johnny Lim 96250743b5 Add missing "abstract" keywords
Closes gh-11303
7 years ago
Madhura Bhave 954cf72de4 Fix javadoc 7 years ago
Johnny Lim 6d54072e04 Remove "final" keywords
Closes gh-11294
7 years ago
Stephane Nicoll bd7bd6edc8 Fix session timeout conversion for Undertow
Closes gh-11283
7 years ago
Andy Wilkinson c0e3ae9042 Polish 7 years ago
Andy Wilkinson 996a7cf013 Upgrade to Flyway 5.0.0
Closes gh-11287
7 years ago
Stephane Nicoll 36ea2ee87b Merge branch '1.5.x' 7 years ago
Andy Wilkinson 953d69ce0b Polish "Fix system properties in file-appender.xml"
Closes gh-11232
7 years ago
Johnny Lim d4d6a43fc2 Fix system properties in file-appender.xml
See gh-11232
7 years ago
Johnny Lim d33c6773da Use volatile for ReactiveTokenValidator.cacheTokenKeys
Closes gh-11233
7 years ago
Henning Hoefer c34eb3f762 Upgrade to Mockito 2.13.0
Closes gh-11272
7 years ago
Andy Wilkinson 54369a72ca Polish "Use LoggingSystemProperties constants"
Closes gh-11240
7 years ago
Johnny Lim 4c5de416ef Use LoggingSystemProperties constants
See gh-11240
7 years ago
Andy Wilkinson adeca6ea01 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 7380920ed4 Remove wrong usage of commons-lang3
Closes gh-11267
7 years ago
Johnny Lim ada4d13a4e Document spring.metrics.binders.*
Closes gh-11262
7 years ago
Brian Clozel 9cc9cdfc1e Fix typo
See gh-11246
7 years ago
Brian Clozel eec7a8f075 Remove Web depedency from Freemarker starter
Now that Spring Boot supports Freemarker for both Spring MVC and Spring
WebFlux, the dedicated starter should not pull the Web starter
transitively and let developers manually choose the web stack.

Closes gh-11246
7 years ago
Johnny Lim 2c204f2154 Polish
Closes gh-11242
7 years ago
Stephane Nicoll a4913712cb Do not expose the composite ReactiveHealthIndicator as a bean
Previously, a `ReactiveHealthIndicator` bean was exposed to define the
health indicator to use for the reactive endpoint. Having it exposed as
a bean has the side effect that the regular `HealthIndicator` composite
is picked up and a "reactive" entry is added to the health details.

This commit creates such indicator internally as it should be.

Closes gh-11222
7 years ago
Stephane Nicoll 5dc28ec446 Merge branch '1.5.x' 7 years ago
Andy Wilkinson e16579b416 Support Integer to Duration conversion during property binding
Closes gh-11216
7 years ago
Stephane Nicoll a43dcfec6c Polish "Update documentation references to `/status` endpoint"
Closes gh-11213
7 years ago
Vedran Pavic e88c266285 Update documentation references to `/status` endpoint
See gh-11213
7 years ago
Stephane Nicoll b6609ff392 Polish "Fix NullPointer when requesting a session that does not exist"
Closes gh-11202
7 years ago
petar.tahchiev 35c6dc4e3b Fix NullPointer when requesting a session that does not exist
See gh-11202
7 years ago
Andy Wilkinson 6cae9257fe Merge branch '1.5.x' 7 years ago
Johnny Lim 44299bb980 Polish
Closes gh-11206
7 years ago
Phillip Webb 7ebe4935ac Restore dependency in `maven-shade-plugin`
Restore `spring-boot-maven-plugin` dependency in `maven-shade-plugin`
starter configuration. Required so that the shade plugin can use
`PropertiesMergingResourceTransformer` if wanted.

Fixes gh-11200
7 years ago
Phillip Webb d7251f52a4 Polish 7 years ago
Andy Wilkinson 159a758e19 Revert change accidentally committed in eb6182f5 7 years ago
Stephane Nicoll b365e37850 Fix typo
Closes gh-11204
7 years ago
Stephane Nicoll 9965221378 Merge branch '1.5.x' 7 years ago
Andy Wilkinson eb6182f587 Remove redundant commons-logging exclusions
Closes gh-11148
7 years ago
Andy Wilkinson 80543250a2 Rework properties for enabling Spring Data repositories
Rather than using two properties to enable or disable reactive and
imperative repositories for a particular store, this commit introduces
a new repository type condition that's backed by a single
spring.data.<store>.repositories.type property. The type can be
auto (automatically enables whatever's available), imperative (enables
imperative repositories), none (enables nothing), or reactive (enables
reactive repositories). The default is auto.

Repositories do not have a reactive option (such as JPA) continue to
have a spring.data.<store>.repositories.enabled property that takes a
boolean value.

Closes gh-11134
7 years ago
Brian Clozel 8b98db401c Polish
Closes gh-11090
7 years ago
Brian Clozel de208cd372 Do not handle WebFlux errors if response is committed
If the WebFlux handler commits the response but still sends an error
signal in the reactive pipeline, Spring Boot error handling should not
try to handle that error: once committed, it is impossible to change the
response status or the response headers. Writing to the body might also
lead to invalid responses.

This commit skips error handling if the response is committed and
delegates to Spring Framework's `HttpWebHandlerAdapter` which will log
the error.

Fixes gh-11168
7 years ago
Stephane Nicoll 6be30045ec Polish
See gh-11071
7 years ago
Brian Clozel e3c3bb0076 Rename spring.cache.control to spring.cache.cachecontrol
Closes #11090
7 years ago
Stephane Nicoll 55f7b3a535 Rename nettyServerCustomizers to serverCustomizers
Closes gh-11155
7 years ago
Johnny Lim 952224ef56 Polish
Closes gh-11193
7 years ago
Stephane Nicoll 33bd7ccc91 Merge branch '1.5.x' 7 years ago
Brian Clozel ee62633e33 Auto-Configure Freemarker in WebFlux
This commit adds support for basic auto-configuration for the Freemarker
template engine in WebFlux.

A few configuration properties in the `spring.freemarker.*` namespace
aren't supported yet, since they mostly apply to MVC (Servlet request
and session attributes).

Closes gh-10094
7 years ago
Phillip Webb 2c959b8e2a Polish health indicators
Align reactive and non-reactive web extensions and update `showDetails`
so that it only applies to web exposure.

See gh-11113
See gh-11192
7 years ago
Madhura Bhave 9e95483645 Add cloudfoundry health extensions
Fixes gh-11192
7 years ago
Phillip Webb e1306c6228 Polish micrometer rc.5 upgrade
Closes gh-11071
7 years ago
Jon Schneider 2e0a915281 Upgrade to micrometer 1.0.0-rc.5
See gh-11071
7 years ago
Phillip Webb 960083bd33 Polish 7 years ago
Madhura Bhave 2319d01feb Prevent race condition in ReactiveTokenValidator 7 years ago
Stephane Nicoll 85ba361198 Upgrade to Spring Integration 5.0.0.RELEASE
Closes gh-11085
7 years ago
Andy Wilkinson acce64b47b Upgrade to Spring Amqp 2.0.1.RELEASE
Closes gh-11186
7 years ago
Andy Wilkinson 2db40db27a Upgrade to Groovy 2.5.0-beta-2
Closes gh-11184
7 years ago
Andy Wilkinson 1fbf5f5b27 Complete the removal of Spring Social starters and auto-configuration
Closes gh-11117
7 years ago
Craig Walls 64d02f8bb5 Remove Spring Social starters and auto-configuration
See gh-11117
7 years ago
Andy Wilkinson 93cac333e8 Clean up logging dependencies and exclusions
Closes gh-11148
7 years ago
Andy Wilkinson 74200f27a6 Drop jackson-module-kotlin from spring-boot-starter-json
Previously, a dependency on jackson-module-kotlin with Kotlin excluded
was added to spring-boot-starter-json. This gave Kotlin users a smooth
experience with Jackson and JSON at minimal, we thought, cost to other
users. We have since learned that this arrangement causes a
ClassNotFoundException at runtime when Jackson is configured to find
modules via the service loader. This makes the cost of including
jackson-module-kotlin to high for non-Kotlin users so this commit
removes it.

Closes gh-11133
7 years ago
Andy Wilkinson 579b36b502 Upgrade to Spring REST Docs 2.0.0.RELEASE
Closes gh-11174
7 years ago
Andy Wilkinson bead5cfd2e Ignore duplicate module-info when validating starter dependencies
See gh-11178
7 years ago
Andy Wilkinson a803b88b03 Upgrade to Rxjava2 2.1.7
Closes gh-11180
7 years ago
Andy Wilkinson 22a426fe39 Polish 7 years ago
Andy Wilkinson a454c1c121 Upgrade to Selenium Htmlunit 2.28.2
Closes gh-11179
7 years ago
Andy Wilkinson 69dcead839 Upgrade to Log4j2 2.10.0
Closes gh-11178
7 years ago
Andy Wilkinson ac1b6f10d6 Upgrade to Rest Assured 3.0.6
Closes gh-11177
7 years ago
Andy Wilkinson 23d9019051 Upgrade to Hikaricp 2.7.4
Closes gh-11176
7 years ago
Andy Wilkinson deb6879563 Upgrade to Atomikos 4.0.5
Closes gh-11175
7 years ago
Johnny Lim decf2dc1b7 Fix assertion locations
Closes gh-11171
7 years ago
Andy Wilkinson 92d7395110 Upgrade to Spring Session Data MongoDB 5.0.0.RC2
Closes gh-11083
7 years ago
Andy Wilkinson e40a038484 Upgrade to Spring Session 5.0.0.RC2
Closes gh-11082
7 years ago
Andy Wilkinson ce26325a38 Upgrade to Spring Security 5.0.0.RELEASE
Closes gh-11069
7 years ago
Andy Wilkinson 8d6e3dd73b Upgrade to Spring Framework 5.0.2.RELEASE
Closes gh-10982
7 years ago
Madhura Bhave 9f76832488 Optimize fetching tokenKeys for reactive actuators
Closes gh-10899
7 years ago
Andy Wilkinson 1886791c73 Upgrade to Spring Data Kay-SR2
Closes gh-11166
7 years ago
Andy Wilkinson ecdbc52fc5 Make log4j-core available to Elasticsearch tests
Elasticsearch server requires log4j-core but we don't want the entire
module to have a test dependency on log4j-core as it already uses
Logback. This commit uses the modified class path runner to make
log4j-core available specifically to the Elasticsearch-related tests.

See gh-11166
7 years ago
Andy Wilkinson 03fce55cdb Polish "Remove a redundant dash in TestPropertyValues.Type"
Closes gh-11156
7 years ago
Johnny Lim f21737a675 Remove a redundant dash in TestPropertyValues.Type
Prior to this change, the dash was duplicated. For example
"test--systemEnvironment". This commit removes the redundant dash
and corrects the assertion in the test that should have caught the
problem.

See gh-11156
7 years ago
Stephane Nicoll 89054d32fa Polish "Fix CouchbaseReactiveRepositoriesAutoConfigurationTests"
Closes gh-11151
7 years ago
Eddú Meléndez ef3d44f680 Fix CouchbaseReactiveRepositoriesAutoConfigurationTests
See gh-11151
7 years ago
Stephane Nicoll 116d763d52 Start building against Spring Data Key snapshots
See gh-11166
7 years ago
Stephane Nicoll 9543327406 Polish "Use BeanIds.SPRING_SECURITY_FILTER_CHAIN"
Closes gh-11162
7 years ago
Johnny Lim 70d92037bd Use BeanIds.SPRING_SECURITY_FILTER_CHAIN
See gh-11162
7 years ago
Stephane Nicoll c4387e1e8a Polish "Add CouchbaseHealthIndicatorTests"
Closes gh-11161
7 years ago
Eddú Meléndez 2e9ca06688 Add CouchbaseHealthIndicatorTests
See gh-11161
7 years ago
Eddú Meléndez 5c216c2029 Clean LdapHealthIndicatorTests
Closes gh-11158
7 years ago
Stephane Nicoll 1620ac42b3 Polish contribution
Closes gh-11143
7 years ago
Johnny Lim d9828a0aaa Polish
See gh-11143
7 years ago
sdeleuze 65c777986d Upgrade to Kotlin 1.1.61
Closes gh-11154
7 years ago
Johnny Lim dea95b2b67 Make CouchbaseReactiveRepositoriesAutoConfigureRegistrar package-private
Closes gh-11142
7 years ago
Kazuki Shimizu bd8834568d Add @Inherited on spring-boot-test-autoconfigure
Closes gh-11139
7 years ago
Andy Wilkinson 61f9d240df Polish 7 years ago
Johnny Lim 7d94695936 Harmonize CouchbaseReactiveRepositoriesAutoConfiguration conditions
Closes gh-11138
7 years ago
Andy Wilkinson 16b090c9bc Polish 7 years ago
Andy Wilkinson 23014d97a2 Add new Devtools restart property to the appendix
Closes gh-9115
7 years ago
Andy Wilkinson 7674841946 Log condition evaluation delta upon DevTools restart 7 years ago
Stephane Nicoll 480039f212 Fix default value of management.endpoints.web.expose 7 years ago
Stephane Nicoll 1235d8f813 Polish Actuator doc
Closes gh-10861
7 years ago
Stephane Nicoll a12bab453c Polish "Fix PropertiesConfigAdapter delegation logic"
Closes gh-11135
7 years ago
Nikolay Rybak 9163d65b0e Fix PropertiesConfigAdapter delegation logic
This change replaces fallback logic in PropertiesConfigAdapter and its
descendants such that instead of falling back to default "empty" config
it delegates to superinterface default implementation of the same class.

This allows default implementation to call back to other properties,
like DatadogConfig.uri() does.

See gh-11135
7 years ago
Andy Wilkinson b3c5a050ad Polish message for matching beans produced by OnBeanCondition 7 years ago
Andy Wilkinson 51b56782a3 Apply customizers to build when created embedded Mongo client
Closes gh-11132
7 years ago
Stephane Nicoll 45e8c237de Polish 7 years ago
Stephane Nicoll 3a6170c019 Polish 7 years ago
Stephane Nicoll aa87c45b5d Polish "Introduce TestRestTemplate Kotlin extensions"
Closes gh-11039
7 years ago
sdeleuze cd98da5ee9 Introduce TestRestTemplate Kotlin extensions
This commit introduces Kotlin extensions similar to the RestOperations
ones in order to be able to take advantage of Kotlin reified type
parameters for example.

See gh-11039
7 years ago
Stephane Nicoll 7f8ca64df1 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 5ebed451e0 Remove dead code 7 years ago
Andy Wilkinson 6bf837e95b Tidy up documentation following removal of /status and /health changes
Closes gh-10863
7 years ago
Johnny Lim 01a48412d2 Polish
Closes gh-11126
7 years ago
Stephane Nicoll 97bb70cd0c Polish 7 years ago
Stephane Nicoll 0a5f064d39 Improve error metadata for Autoconfigure module 7 years ago
Stephane Nicoll 3a6a238ea9 Improve error metadata for Actuator 7 years ago
Andy Wilkinson 1a76b5122d Merge branch '1.5.x' 7 years ago
Andy Wilkinson 72b14b8add Merge branch '1.5.x' 7 years ago
Stephane Nicoll c6709899db Polish 7 years ago
Andy Wilkinson c748a009b0 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 877ed041e7 Polish 7 years ago
Stephane Nicoll 02a0683cff Polish
See gh-10595
7 years ago
Stephane Nicoll 13ccf45008 Polish
See gh-10884
7 years ago
Stephane Nicoll c9c9e3664e Polish
See gh-11113
7 years ago
Andy Wilkinson f12de333f5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 69fb433eb7 Merge branch '1.5.x' 7 years ago
Vedran Pavic 63aef58d30 Fix references to management related properties
See gh-11091
7 years ago
Stephane Nicoll f7ed24cb7c Merge branch '1.5.x' 7 years ago
Stephane Nicoll 50985b7e83 Polish 7 years ago
Eric Spiegelberg 789e7670d8 Add reference to Neo4j's health indicator
Closes gh-11115
7 years ago
Stephane Nicoll 59df2909b8 Format 7 years ago
Stephane Nicoll cc2d882d08 Polish
See gh-11090
7 years ago
Phillip Webb 07f71e889e Move `/application` to `/actuator`
Change the endpoint default path from `/application` to `/actuator`.

Fixes gh-10970
7 years ago
Phillip Webb 3e2ede51d6 Delete `status` documentation
See gh-11113
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Phillip Webb 47bc5e71ab Polish 7 years ago
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.
7 years ago
Andy Wilkinson ffca60d308 Revert "Rework BootRun so that it does not subclass JavaExec"
This reverts commit 6eee9de3c1.

Closes gh-10872
7 years ago
Johnny Lim 858d325577 Fix getter and setter for sMaxAge 7 years ago
Stephane Nicoll 1b59e88aeb Polish
See gh-10881
7 years ago
Madhura Bhave 616bada6f5 Document ReactiveHealthIndicator support
Closes gh-10881
7 years ago
Andy Wilkinson e17bbd179a Upgrade to Sqlite Jdbc 3.21.0
Closes gh-11103
7 years ago
Andy Wilkinson d272c57de0 Upgrade to Selenium Htmlunit 2.28.1
Closes gh-11102
7 years ago
Andy Wilkinson 9a0ffbe5be Upgrade to Neo4j Ogm 3.0.2
Closes gh-11101
7 years ago
Andy Wilkinson 1021846762 Upgrade to Hibernate Validator 6.0.5.Final
Closes gh-11100
7 years ago
Andy Wilkinson e2759a3c6c Upgrade to Johnzon Jsonb 1.1.5
Closes gh-11099
7 years ago
Andy Wilkinson 4148cdeef9 Upgrade to Rxjava 1.3.4
Closes gh-11098
7 years ago
Andy Wilkinson 7d54b70329 Upgrade to Lettuce 5.0.1.RELEASE
Closes gh-11097
7 years ago
Andy Wilkinson 895496b2c2 Upgrade to Cassandra Driver 3.3.2
Closes gh-11096
7 years ago
Andy Wilkinson cf20ac788d Merge branch '1.5.x' 7 years ago
Andy Wilkinson 2b1d1cd317 Polish "Auto-configure templated welcome page"
Closes gh-10545
7 years ago
Bruce Brouwer cc855f4462 Auto-configure templated welcome page
See gh-10545
7 years ago
Andy Wilkinson 08c85c1fba Separate welcome page handler mapping and its tests from auto-config
Closes gh-11094
7 years ago
Andy Wilkinson ff3d7c2ca1 Polish 7 years ago
Andy Wilkinson 64ae83b964 Polish visibility in ConfigurationPropertiesBinderBuilder 7 years ago
Andy Wilkinson aa9c5e6e08 Align expectation with new endpoint enabled property description
See gh-10870
7 years ago
Phillip Webb 4d5de829cb Fix checkstyle error 7 years ago
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
7 years ago
Jay Bryant 3e5b7dd4ac Make editorial changes to appendix-application-properties.adoc
See gh-10870
7 years ago
Phillip Webb e01c92a38a Polish 7 years ago
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
7 years ago
Phillip Webb 6f3ca459ea Align MongoReactiveSessionConfiguration conditions
Align `MongoReactiveSessionConfiguration` `@ConditionalOnClass` with
`MongoSessionConfiguration`

See gh-11063
7 years ago
Andy Wilkinson 8a3502bdde Polish "Improve Spring Session auto-configuration tests"
See gh-11063
7 years ago
Vedran Pavic d8e3960631 Improve Spring Session auto-configuration tests
Closes gh-11063
7 years ago
Brian Clozel b7753a1f29 Polish 7 years ago
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
7 years ago
Andy Wilkinson bc98b84013 Reduce excessive logging by disabling Statsd metrics export
Closes gh-11009
7 years ago
Andy Wilkinson 4d1a98b380 Improve exception message that reports clashing endpoint operations
Closes gh-10942
7 years ago
Andy Wilkinson 41c297063b Record metrics for request handled by ParameterizableViewController
Closes gh-10335
7 years ago
Andy Wilkinson 331c7a1c56 Make handler Object available to WebMvcTagsProvider.httpRequestTags
Closes gh-11088
7 years ago
Andy Wilkinson 417c98304d Remove assumption about file separator that is incorrect on Windows
Closes gh-11087
7 years ago
Stephane Nicoll 75079b3bb8 Polish "Align Session auto-config with Redis namespace config support"
Closes gh-11084
7 years ago
Vedran Pavic b6d9ae7efa Align Session auto-config with Redis namespace config support
See gh-11084
7 years ago
Andy Wilkinson f654b9b302 Build against Spring Integration snapshots for 5.0.0.RELEASE
See gh-11085
7 years ago
Stephane Nicoll aaabc45281 Fix typo 7 years ago
Stephane Nicoll e4e635f09a Start building against Spring Session Data MongoDB 2.0 snapshots
See gh-11083
7 years ago
Stephane Nicoll 87d2b8c54e Start building against Spring Session 2.0 snapshots
See gh-11082
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Stephane Nicoll 303b812363 Properly document default for useNewIdGeneratorMappings
Closes gh-11064
7 years ago
Phillip Webb e147982045 Add FilteredClassLoader
Add `FilteredClassLoader` to replace `HideClassesClassLoader` and
`HidePackagesClassLoader`.

Fixes gh-10303
7 years ago
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
7 years ago
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
7 years ago
Phillip Webb 2f6aca222e Fix checkstyle violation
Fix public constructor accidentally added in commit 72862b565c.

See gh-10387
7 years ago
Phillip Webb 72862b565c Polish location check with vendor placeholder
Closes gh-10387
7 years ago
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
7 years ago
Phillip Webb 4c29c35cbb Polish Kafka transaction support property
Closes gh-11076
7 years ago