Andy Wilkinson
750265ee39
Upgrade to Jetty El 8.5.24
...
Closes gh-11563
2018-01-08 12:36:42 +00:00
Andy Wilkinson
2a9ab811bc
Upgrade to Mongo Driver Reactivestreams 1.7.0
...
Closes gh-11562
2018-01-08 12:36:42 +00:00
Andy Wilkinson
461ab35249
Upgrade to Mongodb 3.6.1
...
Closes gh-11561
2018-01-08 12:36:42 +00:00
Andy Wilkinson
bdced553f1
Upgrade to Mariadb 2.2.1
...
Closes gh-11560
2018-01-08 12:36:42 +00:00
Andy Wilkinson
f051eb5858
Upgrade to Jooq 3.10.3
...
Closes gh-11559
2018-01-08 12:36:42 +00:00
Andy Wilkinson
a7296fb8c0
Upgrade to Influxdb Java 2.8
...
Closes gh-11558
2018-01-08 12:36:42 +00:00
Andy Wilkinson
51026183c6
Upgrade to Infinispan 9.1.4.Final
...
Closes gh-11557
2018-01-08 12:36:42 +00:00
Andy Wilkinson
91e64c6a60
Upgrade to Hibernate Validator 6.0.7.Final
...
Closes gh-11556
2018-01-08 12:36:42 +00:00
Andy Wilkinson
dbd05c57ec
Upgrade to Flyway 5.0.5
...
Closes gh-11555
2018-01-08 12:36:42 +00:00
Andy Wilkinson
9918916181
Upgrade to Jaybird 3.0.3
...
Closes gh-11554
2018-01-08 12:36:42 +00:00
Andy Wilkinson
a88ddca754
Upgrade to Janino 3.0.8
...
Closes gh-11553
2018-01-08 12:36:42 +00:00
Andy Wilkinson
b91baa5d12
Upgrade to Assertj 3.9.0
...
Closes gh-11552
2018-01-08 12:36:42 +00:00
Andy Wilkinson
2487d8878a
Upgrade to Commons Pool2 2.5.0
...
Closes gh-11551
2018-01-08 12:36:42 +00:00
Andy Wilkinson
a43365ee58
Upgrade to Commons Dbcp2 2.2.0
...
Closes gh-11550
2018-01-08 12:36:42 +00:00
Andy Wilkinson
3a56398b68
Upgrade to Htmlunit 2.29
...
Closes gh-11549
2018-01-08 12:36:42 +00:00
Andy Wilkinson
330bd0a9b1
Upgrade to Jna 4.5.1
...
Closes gh-11548
2018-01-08 12:36:42 +00:00
Andy Wilkinson
9b6ea87f6a
Upgrade to Javax Validation 2.0.1.Final
...
Closes gh-11547
2018-01-08 12:36:42 +00:00
Andy Wilkinson
d98d40d7fd
Upgrade to Rxjava2 2.1.8
...
Closes gh-11546
2018-01-08 12:36:42 +00:00
Andy Wilkinson
2f5dfd6238
Upgrade to Netty 4.1.19.Final
...
Closes gh-11545
2018-01-08 12:36:42 +00:00
Andy Wilkinson
955a1f5e50
Upgrade to Dropwizard Metrics 3.2.6
...
Closes gh-11544
2018-01-08 12:36:42 +00:00
Andy Wilkinson
833cbfdce5
Upgrade to Unboundid Ldapsdk 4.0.3
...
Closes gh-11543
2018-01-08 12:36:42 +00:00
Andy Wilkinson
f54ee2ae23
Upgrade to Jmustache 1.14
...
Closes gh-11542
2018-01-08 12:36:42 +00:00
Andy Wilkinson
f0ac8ab695
Upgrade to Rabbit Amqp Client 5.1.1
...
Closes gh-11541
2018-01-08 12:36:42 +00:00
Andy Wilkinson
e7ebb94c5f
Upgrade to Hazelcast 3.9.2
...
Closes gh-11540
2018-01-08 12:36:42 +00:00
Andy Wilkinson
62fe20c8a1
Upgrade to Caffeine 2.6.1
...
Closes gh-11539
2018-01-08 12:36:42 +00:00
Andy Wilkinson
1d4f5b654c
Upgrade to Couchbase Client 2.5.3
...
Closes gh-11538
2018-01-08 12:36:42 +00:00
Stephane Nicoll
b7f60c2ded
Configure NettyStreamFactoryFactory by default if available
...
Closes gh-11526
Closes gh-10961
2018-01-08 10:46:51 +01:00
Stephane Nicoll
2b38ee9daf
Polish
2018-01-08 10:38:59 +01:00
Stephane Nicoll
06572b0101
Polish
2018-01-08 10:10:50 +01:00
Stephane Nicoll
f527c4b88c
Add reference to migration guide
...
Closes gh-11302
2018-01-08 09:35:13 +01:00
Stephane Nicoll
71aad04ea9
Update copyright header
2018-01-06 17:42:21 +01:00
Johnny Lim
67a5144112
Remove unnecessary condition in ConfigurationPropertyName
...
Closes gh-11486
2018-01-06 17:40:55 +01:00
Brian Clozel
2bf15f814e
Polish
...
This commit fixes the `responseCommitted` test in
`DefaultErrorWebExceptionHandlerIntegrationTests` and reworks the whole
test class to use the `ContextRunner` infrastructure.
Fixes gh-11519
2018-01-05 18:55:13 +01:00
Brian Clozel
11d4426b4d
Provide client factory with supplier in RestTemplateBuilder
...
This commit removes
`RestTemplateBuilder.requestFactory(ClientHttpRequestFactory factory)`
because it can be misleading. This builder class is meant to be
immutable, but calling that method and then timeout related ones will
affect the `ClientHttpRequestFactory` instance.
Instead, this method is replaced with a
`Supplier<ClientHttpRequestFactory>` that is called every time a
`RestTemplate` is being built.
That approach may reduce the reusability of request factories, but it is
much more consistent.
Closes gh-11255
2018-01-05 16:29:18 +01:00
Stephane Nicoll
c4db22007c
Polish "Add support for additional Kafka listener properties"
...
Closes gh-11502
2018-01-05 14:35:04 +01:00
Gary Russell
6fcbf80b31
Add support for additional Kafka listener properties
...
See gh-11502
2018-01-05 14:11:34 +01:00
Stephane Nicoll
5baedf9275
Polish "Deduplicate tag values in metrics actuator endpoint"
...
Closes gh-11492
2018-01-05 13:42:58 +01:00
Jon Schneider
ebb51d5533
Deduplicate tag values in metrics actuator endpoint
...
See gh-11492
2018-01-05 13:42:58 +01:00
Stephane Nicoll
1962cbb623
Polish
...
This is no longer necessary as of micrometer 1.0 rc5
2018-01-05 13:42:47 +01:00
Andy Wilkinson
94d5836618
Merge branch '1.5.x'
2018-01-05 12:02:11 +00:00
Stephane Nicoll
59d5ed5842
Add support for advanced customization of Hibernate settings
...
As HibernateJpaConfiguration is package private, it is no longer
possible to extend the default Spring Boot configuration to apply
advanced settings. The most notable use case for this is the
customization of Hibernate properties using instance value vs. string
value that can be set using the "spring.jpa.properties" namespace.
This commit adds a HibernatePropertiesCustomizer callback interface that
can be implemented to tune Hibernate properties at will.
Closes gh-11211
2018-01-05 12:19:22 +01:00
Andy Wilkinson
268b97bf98
No-op ResetMocksTestExecutionListener when Mockito is not present
...
Closes gh-11508
2018-01-05 11:13:36 +00:00
Stephane Nicoll
641013787d
Polish
2018-01-05 11:40:26 +01:00
Stephane Nicoll
ac004eabf3
Update copyright header
...
See gh-11510
2018-01-05 10:30:43 +01:00
Johnny Lim
37d8eedae3
Polish
...
Closes gh-11510
2018-01-05 10:29:22 +01:00
Madhura Bhave
7c5cf903fc
Remove management.security.enabled from documentation
...
Fixes gh-11383
2018-01-04 16:23:14 -08:00
Madhura Bhave
fc3b43e832
Wait for neo4j to start accepting connections
...
See gh-10516
2018-01-04 14:26:34 -08:00
Madhura Bhave
e28915bd4b
Make integration tests self-contained
...
Fixes gh-10516
2018-01-04 11:26:40 -08:00
Andy Wilkinson
3955c284f5
Start building against Spring Framework 5.0.3 snapshots
...
See gh-11503
2018-01-04 17:42:54 +00:00
Andy Wilkinson
0e3d873d85
Start building against Spring Integration 5.0.1 snapshots
...
See gh-11501
2018-01-04 16:56:23 +00:00
Brian Clozel
6525bc46ef
Add Jetty libraries to Javadoc build
2018-01-04 16:17:20 +01:00
Brian Clozel
c6a1fc93bd
Polish
2018-01-04 14:48:23 +01:00
Jay Bryant
0e7dbd59b2
Full editing pass plus linking
...
I made a complete editing pass plus another pass to see where I could add more links, both within the document and to other parts of Spring. The result was a thorough edit (though I'm sure I missed things, purely due to the size of the thing).
2018-01-04 14:34:50 +01:00
Andy Wilkinson
0aedd3f11d
Exclude tomcat-annotations-api and use javax.annotations-api instead
...
Closes gh-10133
2018-01-04 10:25:39 +00:00
Andy Wilkinson
a7808388ad
Make github-tag property available when generating Gradle plugin docs
...
Closes gh-11490
2018-01-04 10:11:41 +00:00
Stephane Nicoll
03dd53f347
Fix broken merge
2018-01-04 10:16:27 +01:00
Stephane Nicoll
e3bfd797a3
Merge branch '1.5.x'
2018-01-04 10:11:32 +01:00
Phillip Webb
bee5fa7fc6
Polish
2018-01-03 13:24:04 -08:00
Phillip Webb
6bac365a72
Polish micrometer cache metrics
...
Change `CacheMeterBinderProvider` to include a cache type
generic which helps to simplify implementations. Also move
and extract a few classes.
See gh-11221
2018-01-03 13:19:31 -08:00
Phillip Webb
37fe7bc8f6
Update validator background initializer
...
Update the validator background initializer to actually create
the validator.
Closes gh-11412
2018-01-03 13:19:31 -08:00
Madhura Bhave
716543828a
Refactor some tests to use ApplicationContextRunner
2018-01-03 11:07:19 -08:00
Brian Clozel
3ab32df242
Add support for HTTP/2 in Jetty with Conscrypt
...
This commit configures Jetty for HTTP/2 support as soon as the following
conditions are met:
* `server.http2.enabled=true`
* Both `org.eclipse.jetty:jetty-alpn-conscrypt-server` and
`org.eclipse.jetty.http2:http2-server` are on classpath
This will use the Conscrypt library for ALPN and TLS support using
native libraries shipped within the Conscrypt uber Jar. This does not
require a JVM agent or patching the JDK classes.
Closes gh-10902
2018-01-03 17:43:32 +01:00
Stephane Nicoll
ea70b2ed2e
Upgrade to Kotlin 1.2.10
...
See gh-11235
2018-01-03 17:25:14 +01:00
Andy Wilkinson
6d8676c268
Merge branch '1.5.x'
2018-01-03 15:04:00 +00:00
Stephane Nicoll
0515ca0dd0
Auto configure micrometer cache metrics
...
Closes gh-11221
2018-01-03 15:22:08 +01:00
Andy Wilkinson
38ac595615
Polish
2018-01-03 10:50:16 +00:00
Andy Wilkinson
70e14edaf7
Work around incorrect layout of generated epub archive
...
Previously, the Docbook Maven plugin would generate an epub archive
with the majority of contents in OEBPS/, including content.opf, while
the META-INF/container.xml file reference to content.opf in the root
of the archive.
This commit overrides the epub.oebps.dir variable to move the content
into the root of the archive where it's expected to be. Implementing
this override highlighted that our customization stylesheet was not
being applied as the configuration property was incorrect (it was
epubCustomnization rather than the required epub3Customization). This
has been corrected along with a problem with missing images that
fixing it revealed.
Closes gh-11470
2018-01-02 17:50:15 +00:00
Brian Clozel
8286cbc9f3
Merge branch '1.5.x'
2018-01-02 16:13:11 +01:00
Stephane Nicoll
f0b210c751
Merge branch '1.5.x'
2018-01-02 15:58:49 +01:00
Stephane Nicoll
6277d0ceb7
Update copyright header
2018-01-02 15:02:29 +01:00
dreis2211
eb1ae2dd79
Fix typos
...
Closes gh-11460
2018-01-02 15:01:16 +01:00
Andy Wilkinson
b545330d8e
Fix reusable archive creation with Gradle 4.1 and later
...
Closes gh-11468
2018-01-02 12:56:55 +00:00
Johnny Lim
a462255383
Polish
...
Closes gh-11451
2018-01-01 08:41:09 +01:00
dreis2211
67a84cd4f9
Fix typos
...
Closes gh-11450
2018-01-01 08:37:42 +01:00
Stephane Nicoll
edc43f75cb
Merge branch '1.5.x'
2018-01-01 08:30:03 +01:00
Johnny Lim
24b5a78e39
Polish
...
Closes gh-11448
2017-12-30 17:21:13 +01:00
Madhura Bhave
a46d1416ee
Reinstate required parameter
2017-12-29 13:16:26 -08:00
Madhura Bhave
8102dc78cb
Remove redundant throws declarations
2017-12-29 12:10:13 -08:00
Stephane Nicoll
1ab5b833af
Add reference to liquigraph
2017-12-29 16:57:18 +01:00
Stephane Nicoll
106642a8d4
Polish
2017-12-29 14:48:24 +01:00
Johnny Lim
8ae2be6043
Fix property names in MeterBindersConfiguration
...
Closes gh-11443
2017-12-29 14:36:56 +01:00
Madhura Bhave
be9291a365
Match trailing slash in actuator endpoints
...
Fixes gh-11024
2017-12-28 13:13:23 -08:00
Madhura Bhave
c29fe05708
Remove redundant property from tests
2017-12-28 12:45:51 -08:00
Stephane Nicoll
cfa3cab988
Polish "Improve Spring Data Web configuration properties"
...
Closes gh-11403
2017-12-28 15:22:47 +01:00
Marcel Overdijk
be93eabc6b
Improve Spring Data Web configuration properties
...
See gh-11403
2017-12-28 15:04:23 +01:00
Stephane Nicoll
8d1bd7eb3c
Polish
2017-12-28 14:57:49 +01:00
Stephane Nicoll
81af02fde7
Improve JVM metrics
...
This commit adds GC and thread jvm metrics to the existing memory
metrics. All three are now managed by a unique
management.metrics.binders.jvm.enabled property.
Closes gh-11425
2017-12-28 14:57:13 +01:00
sdeleuze
945ca00b5b
Upgrade to Kotlin 1.2
...
apiVersion and languageVersion options are set to 1.1
in order to avoid incompatibilities with Kotlin 1.1
based projects.
Closes gh-11235
2017-12-28 13:44:22 +01:00
Stephane Nicoll
2bd8c2bfca
Polish
...
See gh-11181
2017-12-28 12:52:40 +01:00
Stephane Nicoll
c709ff8e3b
Polish "Apply customize() to createCredentialNetworkMongoClient()"
...
Closes gh-11376
2017-12-28 12:39:54 +01:00
Johnny Lim
90369996a9
Apply customize() to createCredentialNetworkMongoClient()
...
See gh-11376
2017-12-28 12:39:06 +01:00
Stephane Nicoll
601b5e4d9a
Replace SystemProperties by TestPropertyValues
...
Closes gh-9852
2017-12-28 12:32:03 +01:00
Stephane Nicoll
f0d94a46fd
Polish
2017-12-28 12:09:27 +01:00
Stephane Nicoll
afba8fed79
Harmonize management.server.context-path property
...
This commit moves management.server.context-path to
management.server.servlet.context-path to align with the configuration
key for the application's main context path.
Closes gh-11359
2017-12-28 12:08:51 +01:00
Stephane Nicoll
5328508421
Merge branch '1.5.x'
2017-12-28 11:27:25 +01:00
Stephane Nicoll
2738147947
Polish "Move CorsEndpointProperties to the parent package"
...
Closes gh-11439
2017-12-28 11:01:14 +01:00
Johnny Lim
8383b76138
Move CorsEndpointProperties to the parent package
...
`CorsEndpointProperties` lives in `endpoint.web.servlet` but is also used
in `endpoint.web.reactive`, so this PR moves it to its common parent
package.
This commit also extracts `CorsConfiguration` creation logic duplicated
in `WebMvcEndpointManagementContextConfiguration` and
`WebFluxEndpointManagementContextConfiguration` into
`CorsEndpointProperties`.
See gh-11439
2017-12-28 10:40:51 +01:00
Stephane Nicoll
f57ff3a777
Merge branch '1.5.x'
2017-12-27 17:15:01 +01:00
Johnny Lim
38a188f557
Add a Checkstyle rule to prevent Commons Lang/Lang 3 imports
...
Closes gh-11432
2017-12-27 16:46:34 +01:00
Johnny Lim
8f7ab95e0e
Use BufferedReader.lines()
...
Closes gh-11436
2017-12-27 16:44:27 +01:00
Stephane Nicoll
50a4982a52
Merge branch '1.5.x'
2017-12-27 16:35:36 +01:00
Joe Kutner
c5695c8f78
Fix spring.quartz.jdbc.initialize-schema value
...
Use enum value from DataSourceInitializationMode instead of Boolean.
Closes gh-11433
2017-12-27 16:15:25 +01:00
Johnny Lim
3c5ccb1166
Polish
...
Closes gh-11418
2017-12-26 09:47:10 +01:00
Johnny Lim
b35348b41d
Remove org.flywaydb.core.internal.util.StringUtils import
...
Closes gh-11396
2017-12-24 12:20:03 +01:00
Stephane Nicoll
a8f5e1a361
Merge branch '1.5.x'
2017-12-24 12:19:40 +01:00
Johnny Lim
e32287164b
Use Supplier version of Assert.state()
...
Closes gh-11362
2017-12-23 14:31:38 +01:00
Johnny Lim
3a276d2a87
Rename CloudFoundryHealthWebEndpointManagementContextConfiguration
...
Closes gh-11400
2017-12-23 14:23:24 +01:00
Johnny Lim
4cc598ac5e
Replace contains() with indexOf()
...
Closes gh-11373
2017-12-23 14:00:27 +01:00
Stephane Nicoll
544c40d46d
Upgrade to Spring Kafka 2.1.0.RELEASE
...
Closes gh-11415
2017-12-23 13:44:49 +01:00
Johnny Lim
240aaadd83
Fix package name for InfluxDB
...
Closes gh-11364
2017-12-23 13:27:58 +01:00
Johnny Lim
e4f0ad2165
Polish
...
Closes gh-11372
2017-12-23 13:11:53 +01:00
dreis2211
a434e5cc5f
Fix JsonbHttpMessageConvertersConfiguration javadoc
...
Closes gh-11368
2017-12-23 12:54:50 +01:00
Eddú Meléndez
cc9b2a9786
Fix property key to enable influxdb health endpoint
...
Closes gh-11365
2017-12-23 12:51:24 +01:00
Phillip Webb
ad1c8d773f
Start properties validator in background thread
...
Change the default JSR-303 validator used by the configuration
properties binder so that it's initialized in a background thread.
This change allows the context to carry on loading additional beans
whilst the validator is initializing.
Fixes gh-11412
2017-12-22 21:16:47 -08:00
Phillip Webb
5f10c82284
Change property mapper to use array returns
...
Update the `PropertyMapper` interface to return arrays rather than
Lists. Since implementations are package-private it's possible for us
to control how they are used and it helps to save a little memory.
Fixes gh-11411
2017-12-22 20:57:38 -08:00
Phillip Webb
2efa21c570
Make hot methods in-line friendly
...
Refactor a few hot methods so that they are more likely to be in-lined
by the JIT.
Fixes gh-11409
2017-12-22 20:55:47 -08:00
Phillip Webb
e141f77801
Share BinderConversionService with a static
...
Use a single shared static `BinderConversionService` instance for all
created binders to save memory and improve performance.
Fixes gh-11352
2017-12-22 20:54:00 -08:00
Phillip Webb
6cb331ed2c
Cache endpoint enabled-by-default result
...
Update `OnEnabledEndpointCondition` so that the result of
`management.endpoints.enabled-by-default` is cached between calls.
Fixes gh-11407
2017-12-22 20:52:07 -08:00
Phillip Webb
7f0048a899
Use fast exceptions when enumerating resources
...
Update the `LaunchedURLClassLoader` used for fat jar support so that
each iteration on a `findResources` result also allows for fast
exceptions.
Fixes gh-11406
2017-12-22 20:50:07 -08:00
Phillip Webb
aa66d5dfb8
Reduce garbage created when loading fat jars
...
Refactor fat jar loader classes so that less `char[]` instances are
created. This is primarily achieved by adding a new `StringSequence`
class that can chop up Strings without needing to copy the underlying
array. Since Java 8, calls to `String.subString(...)` always copy the
underlying char array. For many of the operations that we need, this
is unnecessary.
Fixes gh-11405
2017-12-22 20:49:17 -08:00
Phillip Webb
c024313141
Drop environment variable "__" list support
...
Remove support for the `__` environment variable list shortcut in order
to reduce complexity. The shortcut was developed before the new `Binder`
code was fully formed and isn't really necessary now since comma-lists
can be converted automatically.
Fixes gh-11410
2017-12-22 12:15:12 -08:00
Phillip Webb
1ea921bfdd
Migrate to OAuth2Client to use PropertyMapper
...
See gh-9018
2017-12-22 09:55:21 -08:00
Phillip Webb
ba86b68484
Polish
2017-12-22 09:48:30 -08:00
Phillip Webb
6eabe8235c
Add optional javax.money dependency
...
Add an optional dependency to `javax.money` to Eclipse errors in
`WebConversionService`.
See gh-5523
See gh-11402
2017-12-22 09:48:29 -08:00
dreis2211
00d12c5b2d
Align 'behavior' spelling to style guide
...
Closes gh-11394
2017-12-22 18:15:19 +01:00
Christoph Dreis
1a7fd6c359
Fix typo
...
Closes gh-11388
2017-12-22 18:12:06 +01:00
Brian Clozel
2fa0539e7f
Support date conversion format for java.time types
...
Prior to this change, the Spring MVC auto-configuration would add a new
formatter to convert `java.util.Date` to/from `String` using the
configured configuration property `spring.mvc.date-format`.
This commit adds a new `WebConversionService` class that registers
date formatters with a custom date format, or register the default ones
if no custom configuration is provided.
This avoids duplicating equivalent formatters in the registry.
With this change, date types from `java.util`, `org.joda.time` and
`java.time` are now all supported.
This commit also replicates this feature for WebFlux applications by
adding a new `spring.webflux.date-format` configuration property.
Closes gh-5523
Closes gh-11402
2017-12-22 16:07:33 +01:00
Madhura Bhave
ec26488ff1
Allow encoding default password in reactive user details
...
See gh-10963
2017-12-20 10:29:20 -08:00
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
2017-12-18 14:34:02 -08:00
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
2017-12-15 18:32:07 -08:00
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
2017-12-15 18:32:06 -08:00
Phillip Webb
befdbaaaa9
Polish
2017-12-15 14:57:25 -08:00
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
2017-12-15 18:58:53 +01:00
Stephane Nicoll
2ed162a0be
Fix outdated references to server.context-path
...
Closes gh-11358
2017-12-15 10:24:14 +01:00
Stephane Nicoll
7566a197b0
Fix type for spring.data.cassandra.contact-points
...
Closes gh-11354
2017-12-15 10:13:40 +01:00
Madhura Bhave
bf3aa62a58
Merge branch '1.5.x'
2017-12-14 13:45:20 -08:00
Madhura Bhave
c94f0822e5
Fix bean names in tests
...
See gh-11224
2017-12-14 12:30:13 -08:00
Stephane Nicoll
27922ae325
Polish
2017-12-14 17:06:46 +01:00
Stephane Nicoll
dddf2c0013
Polish "Expose default RabbitMQ credentials in the metadata"
...
Closes gh-6863
2017-12-14 15:41:15 +01:00
Zoltan Altfatter
878a2e1a49
Expose default RabbitMQ credentials in the metadata
...
See gh-6863
2017-12-14 15:41:08 +01:00
Stephane Nicoll
9c7b944e4f
Polish
2017-12-14 15:17:42 +01:00
Stephane Nicoll
a33c3eec3f
Polish "Add InfluxDb health indicator"
...
Closes gh-11159
2017-12-14 15:16:00 +01:00
Eddú Meléndez
cdbdc1cb7f
Add InfluxDb health indicator
...
See gh-11159
2017-12-14 15:15:08 +01:00
Stephane Nicoll
b7c2bd9ca8
Remove problematic words from documentation
...
Closes gh-11224
2017-12-14 14:49:24 +01:00
Stephane Nicoll
ef78cb33b3
Move metrics properties to "management.metrics"
...
Closes gh-11340
2017-12-14 12:27:24 +01:00
Stephane Nicoll
de8fe7550f
Polish
2017-12-14 12:16:22 +01:00
Stephane Nicoll
0e20ed1d68
Merge branch '1.5.x'
2017-12-14 11:01:22 +01:00
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
2017-12-14 10:01:57 +01:00
Stephane Nicoll
797ad13bfa
Merge branch '1.5.x'
2017-12-14 09:35:50 +01:00
Stephane Nicoll
22aeb74d73
Polish
2017-12-14 08:40:03 +01:00
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
2017-12-13 14:58:11 -08:00
Phillip Webb
3273859fde
Polish
2017-12-13 14:32:55 -08:00
Phillip Webb
5ca608330c
Merge branch '1.5.x'
2017-12-13 13:07:18 -08:00
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
2017-12-13 17:47:18 +01:00
Stephane Nicoll
a626f5462d
Consistent use of @AliasFor
...
Closes gh-10836
2017-12-13 14:42:16 +01:00
Stephane Nicoll
47c8b5731a
polish
2017-12-13 14:41:39 +01:00
Stephane Nicoll
7216a8fa38
Polish
...
See gh-11341
2017-12-13 14:22:57 +01:00
Stephane Nicoll
bc5863df8d
Do not attempt to clear ResourceManager's cache with Java9
...
Closes gh-10927
2017-12-13 12:30:16 +01:00
Stephane Nicoll
d6fe4b9a6a
Polish
2017-12-13 12:18:59 +01:00
Stephane Nicoll
e5361d887c
Relocate banner properties to spring.banner
...
Closes gh-11339
2017-12-13 12:01:23 +01:00
Stephane Nicoll
b6aa0f24e2
Clean endpointIds in generated metadata
...
Closes gh-11107
2017-12-13 10:18:08 +01:00
Stephane Nicoll
7f2af8b209
Polish
2017-12-13 09:46:41 +01:00
Johnny Lim
de72f2ae32
Polish
...
Closes gh-11327
2017-12-13 09:38:20 +01:00
dreis2211
a93a4e8715
Use String.equalsIgnoreCase() where possible
...
Closes gh-11330
2017-12-13 09:02:45 +01:00
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
2017-12-12 12:40:33 -08:00
Madhura Bhave
4b73c5748b
Fix typo in documentation
...
Fixes gh-11329
2017-12-12 10:50:55 -08:00
Stephane Nicoll
e274f29018
Add "testing your auto-configuration" doc section
...
Closes gh-10011
2017-12-12 17:01:40 +01:00
Brian Clozel
175f451b0f
Polish
2017-12-12 16:41:44 +01:00
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
2017-12-12 16:03:37 +01:00
Andy Wilkinson
04068ee792
Tolerate custom response status in WebMvcTags
...
Closes gh-11263
2017-12-12 13:20:07 +00:00
Andy Wilkinson
58d1f99a1e
Merge branch '1.5.x'
2017-12-12 12:55:27 +00:00
Andy Wilkinson
d0981a1f6d
Merge branch '1.5.x'
2017-12-12 12:47:38 +00:00
Stephane Nicoll
23218add90
Polish
2017-12-12 11:57:30 +01:00
Brian Clozel
97c91eee94
Merge pull request #11316 from dkublik:adding-MetricsClientHttpRequestInterceptor-only-once
...
* pr/11316:
Polish
Avoid duplicate Metrics HTTP interceptor registration
2017-12-12 11:23:08 +01:00
Brian Clozel
c82f1016c1
Polish
2017-12-12 11:22:36 +01:00
dawid.kublik@vimn.com
77d4448c0e
Avoid duplicate Metrics HTTP interceptor registration
...
Closes gh-11315
2017-12-12 11:21:20 +01:00
Stephane Nicoll
68c8f7bae6
Add support for useRelativeRedirects customization
...
Closes gh-10597
2017-12-12 10:32:58 +01:00
Stephane Nicoll
6a4a0e3f29
Polish "Make RabbitTemplate exchange and routingKey configurable"
...
Closes gh-10978
2017-12-12 09:09:08 +01:00
Arlo O'Keeffe
4e31d2041a
Make RabbitTemplate exchange and routingKey configurable
...
See gh-10978
2017-12-12 08:52:48 +01:00
Stephane Nicoll
4eda29a42e
Merge branch '1.5.x'
2017-12-12 08:50:13 +01:00
Stephane Nicoll
408368a1f9
Polish "Allow graceful shutdown of Atomikos"
...
Closes gh-11237
2017-12-12 08:30:24 +01:00
nklmish
46d94aba4f
Allow graceful shutdown of Atomikos
...
See gh-11237
2017-12-12 08:18:42 +01:00
Stephane Nicoll
2da6675c42
Polish
...
See gh-10963
2017-12-12 08:16:00 +01:00
Madhura Bhave
a5ce4a10f1
Update reference doc with security changes
...
Fixes gh-11172
2017-12-11 15:15:47 -08:00
Madhura Bhave
47ed096981
Make default username and password configurable
...
Closes gh-10963
2017-12-11 15:15:47 -08:00
Brian Clozel
e68d8a3f98
Merge branch '1.5.x'
2017-12-11 23:37:54 +01:00
Brian Clozel
5f3c2bef50
Add CORS support to Actuator WebFlux
...
Closes gh-11308
2017-12-11 22:33:51 +01:00
Brian Clozel
deb16e1617
Polish
2017-12-11 22:11:24 +01:00
Stephane Nicoll
5ef9364085
Polish
2017-12-11 17:55:12 +01:00
Johnny Lim
384819ab5f
Add @Configuration to ScheduledTasksEndpointAutoConfiguration
...
Closes gh-11313
2017-12-11 17:46:16 +01:00
Stephane Nicoll
0b59751bf8
Fix Spring Data Couchbase Reactive starter
...
Closes gh-11245
2017-12-11 13:40:39 +01:00
Wendal Chen
9313ce8835
Add ref to Nutz.Dao Spring Boot starter
...
Closes gh-11212
2017-12-10 10:42:25 -08:00
Stephane Nicoll
f75ab21c7e
Upgrade to Spring Batch 4.0.0.RELEASE
...
Closes gh-11305
2017-12-09 15:53:42 -08:00
Johnny Lim
96250743b5
Add missing "abstract" keywords
...
Closes gh-11303
2017-12-09 15:29:15 -08:00
Madhura Bhave
954cf72de4
Fix javadoc
2017-12-08 15:32:40 -08:00
Johnny Lim
6d54072e04
Remove "final" keywords
...
Closes gh-11294
2017-12-08 11:13:07 -08:00
Stephane Nicoll
bd7bd6edc8
Fix session timeout conversion for Undertow
...
Closes gh-11283
2017-12-07 16:48:42 -08:00
Andy Wilkinson
c0e3ae9042
Polish
2017-12-07 18:27:52 +00:00
Andy Wilkinson
996a7cf013
Upgrade to Flyway 5.0.0
...
Closes gh-11287
2017-12-07 18:21:55 +00:00
Stephane Nicoll
36ea2ee87b
Merge branch '1.5.x'
2017-12-07 09:43:01 -08:00
Andy Wilkinson
953d69ce0b
Polish "Fix system properties in file-appender.xml"
...
Closes gh-11232
2017-12-06 15:31:06 +00:00
Johnny Lim
d4d6a43fc2
Fix system properties in file-appender.xml
...
See gh-11232
2017-12-06 15:30:57 +00:00
Johnny Lim
d33c6773da
Use volatile for ReactiveTokenValidator.cacheTokenKeys
...
Closes gh-11233
2017-12-06 15:10:01 +00:00
Henning Hoefer
c34eb3f762
Upgrade to Mockito 2.13.0
...
Closes gh-11272
2017-12-06 15:06:03 +00:00
Andy Wilkinson
54369a72ca
Polish "Use LoggingSystemProperties constants"
...
Closes gh-11240
2017-12-06 15:00:29 +00:00
Johnny Lim
4c5de416ef
Use LoggingSystemProperties constants
...
See gh-11240
2017-12-06 15:00:20 +00:00
Andy Wilkinson
adeca6ea01
Merge branch '1.5.x'
2017-12-06 14:05:25 +00:00
Stephane Nicoll
7380920ed4
Remove wrong usage of commons-lang3
...
Closes gh-11267
2017-12-05 17:43:56 -08:00
Johnny Lim
ada4d13a4e
Document spring.metrics.binders.*
...
Closes gh-11262
2017-12-05 15:57:46 -08:00
Brian Clozel
9cc9cdfc1e
Fix typo
...
See gh-11246
2017-12-03 11:57:43 -08:00
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
2017-12-03 11:23:43 -08:00
Johnny Lim
2c204f2154
Polish
...
Closes gh-11242
2017-12-02 09:03:59 +01:00
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
2017-12-02 08:29:07 +01:00
Stephane Nicoll
5dc28ec446
Merge branch '1.5.x'
2017-11-30 18:01:36 +01:00
Andy Wilkinson
e16579b416
Support Integer to Duration conversion during property binding
...
Closes gh-11216
2017-11-30 12:30:42 +00:00
Stephane Nicoll
a43dcfec6c
Polish "Update documentation references to `/status` endpoint"
...
Closes gh-11213
2017-11-30 11:42:06 +01:00
Vedran Pavic
e88c266285
Update documentation references to `/status` endpoint
...
See gh-11213
2017-11-30 11:20:29 +01:00
Stephane Nicoll
b6609ff392
Polish "Fix NullPointer when requesting a session that does not exist"
...
Closes gh-11202
2017-11-30 10:05:30 +01:00
petar.tahchiev
35c6dc4e3b
Fix NullPointer when requesting a session that does not exist
...
See gh-11202
2017-11-30 09:56:43 +01:00
Andy Wilkinson
6cae9257fe
Merge branch '1.5.x'
2017-11-29 20:33:38 +00:00
Johnny Lim
44299bb980
Polish
...
Closes gh-11206
2017-11-29 09:37:36 -08:00
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
2017-11-29 09:30:53 -08:00
Phillip Webb
d7251f52a4
Polish
2017-11-29 09:09:53 -08:00
Andy Wilkinson
159a758e19
Revert change accidentally committed in eb6182f5
2017-11-29 14:38:38 +00:00
Stephane Nicoll
b365e37850
Fix typo
...
Closes gh-11204
2017-11-29 14:25:32 +01:00
Stephane Nicoll
9965221378
Merge branch '1.5.x'
2017-11-29 14:21:45 +01:00
Andy Wilkinson
eb6182f587
Remove redundant commons-logging exclusions
...
Closes gh-11148
2017-11-29 13:17:01 +00:00
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
2017-11-29 13:02:45 +00:00
Brian Clozel
8b98db401c
Polish
...
Closes gh-11090
2017-11-29 12:00:00 +01:00
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
2017-11-29 11:45:12 +01:00
Stephane Nicoll
6be30045ec
Polish
...
See gh-11071
2017-11-29 11:44:46 +01:00
Brian Clozel
e3c3bb0076
Rename spring.cache.control to spring.cache.cachecontrol
...
Closes #11090
2017-11-29 11:14:31 +01:00
Stephane Nicoll
55f7b3a535
Rename nettyServerCustomizers to serverCustomizers
...
Closes gh-11155
2017-11-29 11:11:00 +01:00
Johnny Lim
952224ef56
Polish
...
Closes gh-11193
2017-11-29 10:50:42 +01:00
Stephane Nicoll
33bd7ccc91
Merge branch '1.5.x'
2017-11-29 10:47:52 +01:00
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
2017-11-29 10:37:39 +01:00
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
2017-11-28 21:19:53 -08:00
Madhura Bhave
9e95483645
Add cloudfoundry health extensions
...
Fixes gh-11192
2017-11-28 18:49:17 -08:00
Phillip Webb
e1306c6228
Polish micrometer rc.5 upgrade
...
Closes gh-11071
2017-11-28 16:58:53 -08:00
Jon Schneider
2e0a915281
Upgrade to micrometer 1.0.0-rc.5
...
See gh-11071
2017-11-28 16:58:53 -08:00
Phillip Webb
960083bd33
Polish
2017-11-28 16:21:09 -08:00
Madhura Bhave
2319d01feb
Prevent race condition in ReactiveTokenValidator
2017-11-28 14:24:22 -08:00
Stephane Nicoll
85ba361198
Upgrade to Spring Integration 5.0.0.RELEASE
...
Closes gh-11085
2017-11-28 22:54:12 +01:00
Andy Wilkinson
acce64b47b
Upgrade to Spring Amqp 2.0.1.RELEASE
...
Closes gh-11186
2017-11-28 18:45:28 +00:00
Andy Wilkinson
2db40db27a
Upgrade to Groovy 2.5.0-beta-2
...
Closes gh-11184
2017-11-28 18:29:05 +00:00
Andy Wilkinson
1fbf5f5b27
Complete the removal of Spring Social starters and auto-configuration
...
Closes gh-11117
2017-11-28 15:32:19 +00:00
Craig Walls
64d02f8bb5
Remove Spring Social starters and auto-configuration
...
See gh-11117
2017-11-28 14:53:36 +00:00
Andy Wilkinson
93cac333e8
Clean up logging dependencies and exclusions
...
Closes gh-11148
2017-11-28 13:05:05 +00:00
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
2017-11-28 12:41:37 +00:00
Andy Wilkinson
579b36b502
Upgrade to Spring REST Docs 2.0.0.RELEASE
...
Closes gh-11174
2017-11-28 12:38:30 +00:00
Andy Wilkinson
bead5cfd2e
Ignore duplicate module-info when validating starter dependencies
...
See gh-11178
2017-11-28 12:35:41 +00:00
Andy Wilkinson
a803b88b03
Upgrade to Rxjava2 2.1.7
...
Closes gh-11180
2017-11-28 11:07:03 +00:00
Andy Wilkinson
22a426fe39
Polish
2017-11-28 10:50:28 +00:00
Andy Wilkinson
a454c1c121
Upgrade to Selenium Htmlunit 2.28.2
...
Closes gh-11179
2017-11-28 10:50:28 +00:00
Andy Wilkinson
69dcead839
Upgrade to Log4j2 2.10.0
...
Closes gh-11178
2017-11-28 10:50:28 +00:00
Andy Wilkinson
ac1b6f10d6
Upgrade to Rest Assured 3.0.6
...
Closes gh-11177
2017-11-28 10:50:28 +00:00
Andy Wilkinson
23d9019051
Upgrade to Hikaricp 2.7.4
...
Closes gh-11176
2017-11-28 10:50:28 +00:00
Andy Wilkinson
deb6879563
Upgrade to Atomikos 4.0.5
...
Closes gh-11175
2017-11-28 10:50:28 +00:00
Johnny Lim
decf2dc1b7
Fix assertion locations
...
Closes gh-11171
2017-11-28 09:44:45 +01:00
Andy Wilkinson
92d7395110
Upgrade to Spring Session Data MongoDB 5.0.0.RC2
...
Closes gh-11083
2017-11-28 08:40:13 +00:00
Andy Wilkinson
e40a038484
Upgrade to Spring Session 5.0.0.RC2
...
Closes gh-11082
2017-11-28 08:39:43 +00:00
Andy Wilkinson
ce26325a38
Upgrade to Spring Security 5.0.0.RELEASE
...
Closes gh-11069
2017-11-28 08:37:38 +00:00
Andy Wilkinson
8d6e3dd73b
Upgrade to Spring Framework 5.0.2.RELEASE
...
Closes gh-10982
2017-11-28 08:36:47 +00:00
Madhura Bhave
9f76832488
Optimize fetching tokenKeys for reactive actuators
...
Closes gh-10899
2017-11-27 12:32:21 -08:00
Andy Wilkinson
1886791c73
Upgrade to Spring Data Kay-SR2
...
Closes gh-11166
2017-11-27 17:03:34 +00:00
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
2017-11-27 13:36:06 +00:00
Andy Wilkinson
03fce55cdb
Polish "Remove a redundant dash in TestPropertyValues.Type"
...
Closes gh-11156
2017-11-27 10:44:53 +00:00
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
2017-11-27 10:43:38 +00:00
Stephane Nicoll
89054d32fa
Polish "Fix CouchbaseReactiveRepositoriesAutoConfigurationTests"
...
Closes gh-11151
2017-11-27 10:59:21 +01:00
Eddú Meléndez
ef3d44f680
Fix CouchbaseReactiveRepositoriesAutoConfigurationTests
...
See gh-11151
2017-11-27 10:56:35 +01:00
Stephane Nicoll
116d763d52
Start building against Spring Data Key snapshots
...
See gh-11166
2017-11-27 10:55:57 +01:00
Stephane Nicoll
9543327406
Polish "Use BeanIds.SPRING_SECURITY_FILTER_CHAIN"
...
Closes gh-11162
2017-11-27 10:32:28 +01:00
Johnny Lim
70d92037bd
Use BeanIds.SPRING_SECURITY_FILTER_CHAIN
...
See gh-11162
2017-11-27 10:31:32 +01:00
Stephane Nicoll
c4387e1e8a
Polish "Add CouchbaseHealthIndicatorTests"
...
Closes gh-11161
2017-11-27 10:30:31 +01:00
Eddú Meléndez
2e9ca06688
Add CouchbaseHealthIndicatorTests
...
See gh-11161
2017-11-27 10:29:25 +01:00
Eddú Meléndez
5c216c2029
Clean LdapHealthIndicatorTests
...
Closes gh-11158
2017-11-27 10:27:29 +01:00
Stephane Nicoll
1620ac42b3
Polish contribution
...
Closes gh-11143
2017-11-27 10:14:34 +01:00
Johnny Lim
d9828a0aaa
Polish
...
See gh-11143
2017-11-27 10:14:18 +01:00
sdeleuze
65c777986d
Upgrade to Kotlin 1.1.61
...
Closes gh-11154
2017-11-26 17:25:12 +01:00
Johnny Lim
dea95b2b67
Make CouchbaseReactiveRepositoriesAutoConfigureRegistrar package-private
...
Closes gh-11142
2017-11-26 11:30:17 +01:00
Kazuki Shimizu
bd8834568d
Add @Inherited on spring-boot-test-autoconfigure
...
Closes gh-11139
2017-11-26 11:27:49 +01:00
Andy Wilkinson
61f9d240df
Polish
2017-11-24 16:31:31 +00:00
Johnny Lim
7d94695936
Harmonize CouchbaseReactiveRepositoriesAutoConfiguration conditions
...
Closes gh-11138
2017-11-24 16:51:29 +01:00
Andy Wilkinson
16b090c9bc
Polish
2017-11-24 15:46:19 +00:00
Andy Wilkinson
23014d97a2
Add new Devtools restart property to the appendix
...
Closes gh-9115
2017-11-24 14:56:50 +00:00
Andy Wilkinson
7674841946
Log condition evaluation delta upon DevTools restart
2017-11-24 14:49:53 +00:00
Stephane Nicoll
480039f212
Fix default value of management.endpoints.web.expose
2017-11-24 15:22:57 +01:00
Stephane Nicoll
1235d8f813
Polish Actuator doc
...
Closes gh-10861
2017-11-24 14:05:21 +01:00
Stephane Nicoll
a12bab453c
Polish "Fix PropertiesConfigAdapter delegation logic"
...
Closes gh-11135
2017-11-24 13:48:06 +01:00
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
2017-11-24 13:31:00 +01:00
Andy Wilkinson
b3c5a050ad
Polish message for matching beans produced by OnBeanCondition
2017-11-24 12:01:20 +00:00
Andy Wilkinson
51b56782a3
Apply customizers to build when created embedded Mongo client
...
Closes gh-11132
2017-11-24 10:59:29 +00:00
Stephane Nicoll
45e8c237de
Polish
2017-11-24 11:16:46 +01:00
Stephane Nicoll
3a6170c019
Polish
2017-11-24 10:45:11 +01:00
Stephane Nicoll
aa87c45b5d
Polish "Introduce TestRestTemplate Kotlin extensions"
...
Closes gh-11039
2017-11-24 09:56:47 +01:00
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
2017-11-24 09:44:34 +01:00
Stephane Nicoll
7f8ca64df1
Merge branch '1.5.x'
2017-11-23 18:01:05 +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
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
72b14b8add
Merge branch '1.5.x'
2017-11-23 13:15:41 +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
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