Commit Graph

14634 Commits

Author SHA1 Message Date
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
Stephane Nicoll
c5802c2950 Merge pull request #11235 from sdeleuze:kotlin-1.2
* pr/11235:
  Upgrade to Kotlin 1.2
2017-12-28 13:46:57 +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
bae6b3115e Merge pull request #11376 from izeye:customize
* pr/11376:
  Polish "Apply customize() to createCredentialNetworkMongoClient()"
  Apply customize() to createCredentialNetworkMongoClient()
2017-12-28 12:40:19 +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
053982ae62 Merge pull request #11401 from douglascardoso:master
* pr/11401:
  Log inaccessible file in RandomAccessDataFile
2017-12-28 11:27:08 +01:00
Douglas Cardoso
feecc27677 Log inaccessible file in RandomAccessDataFile
Closes gh-11401
2017-12-28 11:25:51 +01:00
Stephane Nicoll
3cbbef866f Merge pull request #11439 from izeye:cors-endpoint-properties
* pr/11439:
  Polish "Move CorsEndpointProperties to the parent package"
  Move CorsEndpointProperties to the parent package
2017-12-28 11:02:04 +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
Stephane Nicoll
970b16f8bc Merge pull request #11431 from izeye:mongo-client
* pr/11431:
  Use MongoClient consistently
2017-12-27 17:02:42 +01:00
Johnny Lim
d2109ddf4d Use MongoClient consistently
Closes gh-11431
2017-12-27 17:01:59 +01:00
Stephane Nicoll
cf427736ec Merge pull request #11432 from izeye:commons-lang
* pr/11432:
  Add a Checkstyle rule to prevent Commons Lang/Lang 3 imports
2017-12-27 16:47:20 +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
Stephane Nicoll
9c1acb5f46 Merge pull request #11436 from izeye:buffered-reader-lines
* pr/11436:
  Use BufferedReader.lines()
2017-12-27 16:45:43 +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
Stephane Nicoll
9c4e6f247c Fix table formatting issue
Closes gh-11434
2017-12-27 16:34:24 +01:00
Stephane Nicoll
360abe2647 Merge pull request #11433 from jkutner:patch-2
* pr/11433:
  Fix spring.quartz.jdbc.initialize-schema value
2017-12-27 16:16:44 +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
Stephane Nicoll
2430de5fe9 Merge pull request #11418 from izeye:polish-21071224
* pr/11418:
  Polish
2017-12-26 09:53:43 +01:00
Johnny Lim
3c5ccb1166 Polish
Closes gh-11418
2017-12-26 09:47:10 +01:00
Stephane Nicoll
644359920b Merge pull request #11396 from izeye:string-utils
* pr/11396:
  Remove org.flywaydb.core.internal.util.StringUtils import
2017-12-24 12:20:32 +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
Stephane Nicoll
07bb33d8ed Prevent the accidental use of Flyway's StringUtils
See gh-11396
2017-12-24 12:16:14 +01:00
Stephane Nicoll
8f793eaf33 Merge pull request #11362 from izeye:assert-state-supplier
* pr/11362:
  Use Supplier version of Assert.state()
2017-12-23 14:32:30 +01:00
Johnny Lim
e32287164b Use Supplier version of Assert.state()
Closes gh-11362
2017-12-23 14:31:38 +01:00
Stephane Nicoll
db2de63106 Merge pull request #11400 from izeye:rename-auto-configuration
* pr/11400:
  Rename CloudFoundryHealthWebEndpointManagementContextConfiguration
2017-12-23 14:23:42 +01:00
Johnny Lim
3a276d2a87 Rename CloudFoundryHealthWebEndpointManagementContextConfiguration
Closes gh-11400
2017-12-23 14:23:24 +01:00
Stephane Nicoll
691183a66e Merge pull request #11373 from izeye:contains
* pr/11373:
  Replace contains() with indexOf()
2017-12-23 14:00:47 +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
Stephane Nicoll
9bb5bb41d5 Merge pull request #11364 from izeye:fix-package-name
* pr/11364:
  Fix package name for InfluxDB
2017-12-23 13:29:44 +01:00
Johnny Lim
240aaadd83 Fix package name for InfluxDB
Closes gh-11364
2017-12-23 13:27:58 +01:00
Stephane Nicoll
1867ba6362 Merge pull request #11372 from izeye:polish-20171218
* pr/11372:
  Polish
2017-12-23 13:14:20 +01:00
Johnny Lim
e4f0ad2165 Polish
Closes gh-11372
2017-12-23 13:11:53 +01:00
Stephane Nicoll
873d88e1eb Merge pull request #11368 from dreis2211:fix-javadoc
* pr/11368:
  Fix JsonbHttpMessageConvertersConfiguration javadoc
2017-12-23 12:55:06 +01:00
dreis2211
a434e5cc5f Fix JsonbHttpMessageConvertersConfiguration javadoc
Closes gh-11368
2017-12-23 12:54:50 +01:00
Stephane Nicoll
48f4508aef Merge pull request #11365 from eddumelendez:fix_influxdb_health_property
* pr/11365:
  Fix property key to enable influxdb health endpoint
2017-12-23 12:53:27 +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