leogtzr
69b844cb13
Fix shellcheck warnings in CLI's bash script
...
See gh-11458
2018-10-02 16:45:58 +01:00
Stephane Nicoll
aaecdfb527
Deprecate Cassandra properties that require a default constructor
...
Closes gh-14473
2018-10-02 17:43:59 +02:00
Stephane Nicoll
068040e227
Register SpringBeanContainer with default Hibernate setup
...
Closes gh-13717
2018-10-02 16:41:02 +02:00
Stephane Nicoll
7bf32290c6
Update description of the `logger-name` hint
...
Closes gh-14456
2018-10-02 15:05:50 +02:00
Stephane Nicoll
3f9c41df81
Merge branch '2.0.x'
2018-10-02 10:48:14 +02:00
Rodolpho Couto
e30f693699
Add reference to valiktor-spring-boot-starter
...
Closes gh-14514
2018-10-02 10:47:26 +02:00
Phillip Webb
2add65fe15
Polish Neo4J BookmarkManager auto-configuration
...
Closes gh-14568
2018-10-01 10:34:10 -07:00
Michael J. Simons
b7847d98a7
Auto-configure Neo4J BookmarkManager when possible
...
Add `Neo4jBookmarkManagementConfiguration` which provides an instance
of `BookmarkManager` if necessary and Caffeine cache is on the
classpath. Depending on the kind of application, the `BookmarkManager`
will be request scoped or singleton, as recommended by Spring Data
Neo4j.
See gh-14568
2018-10-01 10:29:17 -07:00
Phillip Webb
94b366bc16
Make assertable context interfaces configurable
...
Update `Assertable*ApplicationContext` interfaces so that they also
extend the appropriate `Configurable*ApplicationContext` interface.
Closes gh-14650
2018-10-01 10:27:39 -07:00
Johnny Lim
b079eeff1a
Polish
...
Closes gh-14621
2018-10-01 10:51:13 -04:00
Stephane Nicoll
2d36a6f952
Merge branch '2.0.x'
2018-10-01 10:50:58 -04:00
Johnny Lim
1eca492c5e
Polish
...
See gh-14621
2018-10-01 10:46:27 -04:00
Andy Wilkinson
121aad8397
Merge branch '2.0.x'
2018-10-01 15:39:15 +01:00
Andy Wilkinson
da1fde6a5f
Merge branch '1.5.x' into 2.0.x
2018-10-01 15:38:53 +01:00
Andy Wilkinson
d145fab7e5
Merge branch '2.0.x'
2018-10-01 15:14:53 +01:00
Andy Wilkinson
fd10226c54
Merge branch '1.5.x' into 2.0.x
2018-10-01 15:14:45 +01:00
Andy Wilkinson
9735774b4a
Merge branch '2.0.x'
2018-10-01 14:28:16 +01:00
Andy Wilkinson
62b481c7db
Merge branch '1.5.x' into 2.0.x
2018-10-01 14:28:09 +01:00
Andy Wilkinson
726579a910
Merge branch '2.0.x'
2018-10-01 14:01:38 +01:00
Andy Wilkinson
89f5cfc5a4
Merge branch '1.5.x' into 2.0.x
2018-10-01 13:51:55 +01:00
Johnny Lim
1e756db966
Use Commons Logging for OnlyOnceLoggingDenyMeterFilter
...
Closes gh-14637
2018-09-30 17:47:18 -04:00
Andy Wilkinson
285f6bfd5f
Merge branch '2.0.x'
2018-09-27 06:59:37 -04:00
jnizet
eee07a840f
Move away from deprecated Gradle configurations
...
Closes gh-14593
2018-09-27 06:58:31 -04:00
Johnny Lim
698bbd6a9e
Polish
...
Closes gh-14597
2018-09-26 11:45:21 -04:00
Stephane Nicoll
c403ac9db6
Merge branch '2.0.x'
2018-09-26 11:43:59 -04:00
Stephane Nicoll
b6e5103dc4
Polish contribution
...
Closes gh-14592
2018-09-26 11:43:19 -04:00
Marten Deinum
77afe76ed5
Polish
...
The SpringBootContextLoader still checked if tests were annotated with
@IntegrationTest or @WebIntegrationTest. Those classes have been
removed in Spring Boot 1.5 and been deprecated since 1.4.
This commit removes the check on the annotations as well as the static
list of names.
See gh-14592
2018-09-26 11:41:25 -04:00
Andy Wilkinson
f88ebf75cd
Use Mongo 3.5.5 by default with Embedded mongo
...
Closes gh-14476
2018-09-25 16:44:38 -04:00
Andy Wilkinson
1a8f519922
Raise the default version of Mongo to 3.6.5 when using Embedded Mongo
...
While MongoDB 3.6.7 has been released, 3.6.5 is the latest version that's supported
by the version of Embedded Mongo that we're currently using.
Closes gh-14476
2018-09-25 15:19:34 -04:00
Hanope
e5ed5ebf8b
Fix "Query Parameters" section name
...
Closes gh-14600
2018-09-25 14:24:34 -04:00
Phillip Webb
64627fa9d6
Restore Maven 3.3 compatibility
...
Downgrade the `spring-boot-maven-plugin` maven version to 3.3.
Closes gh-14464
2018-09-24 15:40:25 -04:00
Phillip Webb
a04e913c22
Make ResourceHandlerRegistrationCustomizer public
...
Make `ResourceHandlerRegistrationCustomizer` a public top level class.
Closes gh-14587
2018-09-24 10:20:25 -04:00
Phillip Webb
ff98ba0fa5
Allow early OnWebApplication filtering
...
Update `OnWebApplicationCondition` to be an
`AutoConfigurationImportFilter` and filter out classes early.
Closes gh-13328
2018-09-24 09:46:30 -04:00
Phillip Webb
75bde00334
Generate auto-configuration OnWebApplication data
...
Update the auto-configuration annotation processor to generate
properties for `@OnWebApplication`.
See gh-13328
2018-09-24 09:46:26 -04:00
Phillip Webb
c2f8398c06
Allow early OnBeanCondition filtering
...
Update `OnBeanCondition` to be an `AutoConfigurationImportFilter` and
filter out classes early.
See gh-13328
2018-09-24 09:45:49 -04:00
Phillip Webb
586507c49a
Generate auto-configuration OnBean data
...
Update the auto-configuration annotation processor to generate
properties for `@ConditionalOnBean` and `@ConditionalOnSingleCandidate`.
See gh-13328
2018-09-24 09:45:46 -04:00
Phillip Webb
e4f54a45be
Add AutoConfigurationImportFilter base classes
...
Add `FilteringSpringBootCondition` base class and refactor the existing
`OnClassCondition` to use it. Also update the `match` method so that
the `autoConfigurationClasses` array may include `null` elements.
See gh-13328
2018-09-24 09:45:05 -04:00
Stephane Nicoll
5765ed00e8
Polish
2018-09-24 10:53:22 +02:00
Stephane Nicoll
19779951a1
Handle class not found
...
See gh-14575
2018-09-24 10:23:59 +02:00
Brian Clozel
0f11e69ca3
Upgrade to Micrometer 1.1.0-m.1
...
Closes #14567
2018-09-24 07:02:10 +02:00
Phillip Webb
84e72193b3
Remove automatic devtools web debug logging
...
Rework `DevToolsPropertyDefaultsPostProcessor` so that web logging no
longer defaults to `DEBUG`. The post processor now logs an info hint
to suggest the user configure the logging themselves.
Closes gh-14575
2018-09-23 08:44:34 -07:00
Andy Wilkinson
6e00d13d68
Polish
2018-09-23 15:53:14 +01:00
Andy Wilkinson
4c3e2d10d1
Auto-configure Micrometer's Elastic registry
...
Closes gh-14523
2018-09-23 15:52:29 +01:00
Andy Wilkinson
95ecbc736b
Update example for disk space health indicator to use DataSize
...
See gh-14549
2018-09-23 12:05:57 +01:00
Stephane Nicoll
6145b3d278
Polish
2018-09-23 10:56:40 +02:00
Stephane Nicoll
831b0d7bdd
Merge branch '2.0.x'
2018-09-23 10:49:17 +02:00
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
Stephane Nicoll
ad340d253c
Upgrade to Influxdb Java 2.13
...
Closes gh-14541
2018-09-20 11:45:32 +02:00
Stephane Nicoll
705ac1b4f3
Upgrade to Elasticsearch 6.4.1
...
Closes gh-14540
2018-09-20 11:45:32 +02:00
Stephane Nicoll
a176e64ad8
Upgrade to Htmlunit 2.33
...
Closes gh-14539
2018-09-20 11:45:31 +02:00
Stephane Nicoll
310d6a5c79
Upgrade to Lettuce 5.1.0.RELEASE
...
Closes gh-14538
2018-09-20 11:45:30 +02:00