3687 Commits

Author SHA1 Message Date
Stephane Nicoll
885948ce3b Polish 2018-09-23 10:47:09 +02:00
Stephane Nicoll
da59d5c6d9 Polish 2018-09-23 10:11:19 +02:00
Stephane Nicoll
47f9379305 Adapt to changes in latest Micrometer snapshot
See gh-14522
2018-09-22 20:02:28 +02:00
Johnny Lim
3dc78d19bf Add log messages to lines only when the destination isn't set
Closes gh-14565
2018-09-22 19:33:58 +02:00
Johnny Lim
f1552029ea Add @since in ApplicationContextInitializedEvent
Closes gh-14579
2018-09-22 19:32:40 +02:00
Stephane Nicoll
92afd041b0 Merge branch '2.0.x' 2018-09-22 19:31:45 +02:00
artsiom
7fb13d0dc2 Fix WebSocket web server customizer bean names
Closes gh-14582
2018-09-22 19:29:48 +02:00
Andy Wilkinson
8e9a93e5f3 Align SessionAutoConfigurationRedisTests with changes in Bean-RC1
See gh-14573
2018-09-22 14:57:43 +01:00
Andy Wilkinson
86c2b4a335 Upgrade to Spring Batch 4.1.0.RC1
Closes gh-14577
2018-09-22 08:24:17 +01:00
Andy Wilkinson
d4942a11a8 Upgrade to Spring Session Bean-RC1
Closes gh-14573
2018-09-22 08:23:48 +01:00
Andy Wilkinson
977f8b4479 Auto-configure Micrometer's Kafka consumer metrics
Closes gh-14525
2018-09-21 19:56:29 +01:00
Andy Wilkinson
5196e138fa Upgrade to Spring Integration 5.1.0.RC1
Closes gh-14572
2018-09-21 19:22:33 +01:00
Andy Wilkinson
06d05684e5 Upgrade to Spring Kafka 2.2.0.RC1
Closes gh-14491
2018-09-21 19:22:33 +01:00
Andy Wilkinson
5d0a1ee0da Upgrade to Spring AMQP 2.1.0.RC1
Closes gh-14574
2018-09-21 19:22:33 +01:00
Andy Wilkinson
ce75a585b1 Make spring-data-jdbc available to javadoc generation
See gh-14489
2018-09-21 19:14:22 +01:00
Andy Wilkinson
cce693f708 Upgrade to Spring Security 5.1.0.RELEASE
Closes gh-14571
2018-09-21 16:40:29 +01:00
Andy Wilkinson
ade79f7ded Fix duplicate section ID in the docs 2018-09-21 16:07:24 +01:00
Stephane Nicoll
9d46fee6db Merge branch '2.0.x' 2018-09-21 16:47:33 +02:00
Gary Russell
26c1e389df Polish RabbitMQ properties doc
Fix description for `prefetch`; remove reference to transactions since
the direct container does not support transactionSize.

Also fix `transactionSize` to just reference acks; autoConfiguration
doesn't support enabling transactions.

Closes gh-14569
2018-09-21 16:46:12 +02:00
Stephane Nicoll
cbae22f0c9 Polish "Migrate size properties to DataSize"
Closes gh-14549
2018-09-21 16:27:28 +02:00
qct
eb9f635004 Migrate size properties to DataSize
See gh-14549
2018-09-21 16:01:55 +02:00
Andy Wilkinson
def02deaf0 Make micrometer-registry-dynatrace available to javadoc generation
See gh-14522
2018-09-21 14:46:43 +01:00
Andy Wilkinson
258c4838b1 Auto-configure Micrometer's Log4j2 metrics
Closes gh-14524
2018-09-21 14:45:20 +01:00
Andy Wilkinson
0f7897a0ca Upgrade to Spring Data Lovelace-RELEASE
Closes gh-14510
2018-09-21 14:22:11 +01:00
Andy Wilkinson
4b00dc8a5c Add support for Spring Data JDBC (auto-config, starter, and test slice)
Closes gh-14489
2018-09-21 14:18:52 +01:00
Andy Wilkinson
fe75f966ff Auto-configure Micrometer's Dynatrace meter registry
Closes gh-14522
2018-09-21 13:11:33 +01:00
Andy Wilkinson
42abf733be Start building against snapshots for Micrometer 1.1.0 M1
See gh-14567
2018-09-21 11:56:00 +01:00
Stephane Nicoll
61858767ed Merge branch '2.0.x' 2018-09-21 11:49:35 +02:00
Stephane Nicoll
5506d972c6 Polish "Fix and improve Neo4j related documentation"
Closes gh-14548
2018-09-21 11:44:50 +02:00
Michael J. Simons
8a53adf3d2 Fix and improve Neo4j related documentation
See gh-14548
2018-09-21 11:44:32 +02:00
Stephane Nicoll
f3c637f5c2 Upgrade to Spring Framwork 5.1.0.RELEASE
Closes gh-14481
2018-09-21 10:57:48 +02:00
Stephane Nicoll
f1a38c461f Merge branch '2.0.x' 2018-09-21 10:00:22 +02:00
Stephane Nicoll
8cce5d3f64 Polish "Add dependency management for Neo4J OGM embedded driver"
Closes gh-14560
2018-09-21 09:59:18 +02:00
Michael J. Simons
ad449e9520 Add dependency management for Neo4J OGM embedded driver
See gh-14560
2018-09-21 09:56:33 +02:00
Phillip Webb
11b1318cad Reduce GC pressure in JAR handler
Update the JAR `Hander` so that URL `startsWith` checks produce less
garbage. Comparisons are now performed first on the `path` rather than
the full `toString`. URL `toString` operations produce quite a lot of
garbage since a `StringBuilder` is always used.

In addition, we now also cache the JarFile URL toString to save repeated
calculation.

Closes gh-14561
2018-09-20 22:33:19 -07:00
Phillip Webb
d0de4657d4 Reduce ConfigurationPropertyName GC pressure
Rewrite `ConfigurationPropertyName` in an attempt to consume less memory
and to reduce GC pressure from `toString()`.

Prior to this commit the `toString()` method would always construct a
new value from the name elements. This is sub-optimal since on on many
occasions the `ConfigurationPropertyName` is created from an already
well-formed String. The updated code now attempts to directly use the
original value for both `toString` and `equals` whenever possible.

Further refinements have also been made to the way that elements are
stored. Rather than a list or objects, we now use arrays that contains
the split points and types. This helps to reduce the amount of memory
required to store the name.

Closes gh-13414
2018-09-20 22:27:06 -07:00
Phillip Webb
0a187675b5 Reduce GC in SpringConfigurationPropertySource
Update `SpringConfigurationPropertySource` so that the
`DelegatingPropertyMapper` accepts a maximum of two values and does
not need to wrap arguments in an array. Also optimize the merge
operation to return a single result directly rather than always using
a new `List`.

Closes gh-14563
2018-09-20 22:21:18 -07:00
Phillip Webb
2bc3d8d01f Use shared BindConverter when possible
Update the `Binder` so that a single shares static `BindConverter` is
used whenever possible.

Closes gh-14562
2018-09-20 22:15:31 -07:00
Phillip Webb
865b7ae47f Reduce object creation when binding
Use static finals and private instances to reduce the number of objects
created when binding from the `ConfigFileApplicationListener`.

Closes gh-13436
2018-09-20 22:14:47 -07:00
Phillip Webb
624cd40598 Reduce GC pressure creating load descriptions
Update `ConfigFileApplicationListener` to build description methods
using a `StringBuilder` and not to use `String.format`.

See gh-13436
2018-09-20 22:13:09 -07:00
Andy Wilkinson
426ff3ada7 Store ObjectProvider rather than their Streams to allow reuse
Generally speaking, methods on configuration classes will only be called once
and, therefore, it should be safe to hold a reference to a Stream for later
one-time usage. However, there are some scenarios in Spring Fu where functional
registration results in an attempt being made to use a Stream more than use.

This commit protects against multiple use by storing the ObjectProvider and
getting a new ordered Stream each time it's needed.

Closes gh-14467
2018-09-20 16:16:42 +01:00
Andy Wilkinson
cc6cf880cf Stop using ObjectProvider<List> and ObjectProvider<Collection>
Closes gh-14467
2018-09-20 13:19:40 +01:00
Stephane Nicoll
5323095e44 Fix broken build 2018-09-20 13:32:41 +02:00
Stephane Nicoll
22e77e02b6 Polish "Add support for SAP Hana Database"
Closes gh-14513
2018-09-20 12:02:55 +02:00
Michael
cea95c303f Add support for SAP Hana Database
See gh-14513
2018-09-20 11:56:17 +02:00
Stephane Nicoll
cd45343d41 Upgrade to Maven Shade Plugin 3.2.0
Closes gh-14546
2018-09-20 11:45:36 +02:00
Stephane Nicoll
90f4da0dac Upgrade to Mongo Driver Reactivestreams 1.9.2
Closes gh-14545
2018-09-20 11:45:35 +02:00
Stephane Nicoll
8b2bf3e0d9 Upgrade to Mongodb 3.8.2
Closes gh-14544
2018-09-20 11:45:34 +02:00
Stephane Nicoll
2a2f1e4023 Upgrade to Jooq 3.11.5
Closes gh-14543
2018-09-20 11:45:34 +02:00
Stephane Nicoll
fd8c074371 Upgrade to Kotlin 1.2.70
Closes gh-14542
2018-09-20 11:45:33 +02:00