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