Commit Graph

21208 Commits

Author SHA1 Message Date
Andy Wilkinson
574a157faf Upgrade to Influxdb Java 2.9
Closes gh-12258
2018-02-27 17:43:36 +00:00
Andy Wilkinson
d8d8a06f95 Upgrade to Elasticsearch 5.6.8
Closes gh-12257
2018-02-27 17:43:36 +00:00
Andy Wilkinson
2fdf84199a Upgrade to Javax Annotation 1.3.2
Closes gh-12255
2018-02-27 17:43:36 +00:00
Andy Wilkinson
cffbad9b65 Upgrade to Rxjava2 2.1.10
Closes gh-12254
2018-02-27 17:43:36 +00:00
Andy Wilkinson
c0d9e3d14e Upgrade to Netty 4.1.22.Final
Closes gh-12253
2018-02-27 17:43:36 +00:00
Andy Wilkinson
476b7087a7 Upgrade to Hikaricp 2.7.8
Closes gh-12252
2018-02-27 17:43:36 +00:00
Andy Wilkinson
410555a1b6 Upgrade to Caffeine 2.6.2
Closes gh-12251
2018-02-27 17:43:36 +00:00
Stephane Nicoll
9ce96fbd89 Document support for java.util.Duration
Closes gh-12244
2018-02-27 18:00:36 +01:00
Stephane Nicoll
6676967cc1 Polish 2018-02-27 16:47:55 +01:00
Stephane Nicoll
0b46408846 Polish 2018-02-27 16:47:34 +01:00
Stephane Nicoll
b0f381bb6f Review conditions of ElasticsearchHealthIndicatorAutoConfiguration
Closes gh-12249
2018-02-27 16:37:59 +01:00
Stephane Nicoll
cb96bbd9be Polish
See https://github.com/micrometer-metrics/micrometer-docs/issues/14
2018-02-27 16:32:06 +01:00
Andy Wilkinson
647c6c45b9 Upgrade to Artemis 1.5.6
Closes gh-12250
2018-02-27 14:52:11 +00:00
Andy Wilkinson
0ba192dead Merge branch '1.5.x' 2018-02-27 14:47:13 +00:00
Andy Wilkinson
83fc4b3246 Merge pull request #12120 from Marcos Trejo Munguia
* gh-12120:
  Polish "Set host when creating Jetty SSL connector"
  Set host when creating Jetty SSL connector
2018-02-27 14:41:01 +00:00
Andy Wilkinson
eaf3789540 Polish "Set host when creating Jetty SSL connector"
Closes gh-12120
2018-02-27 14:39:59 +00:00
mtrejo
f0905ffaf6 Set host when creating Jetty SSL connector
See gh-12120
2018-02-27 14:39:45 +00:00
Andy Wilkinson
25c293b872 Start building against Spring Security 5.0.3 snapshots
See gh-12247
2018-02-27 14:32:23 +00:00
Andy Wilkinson
b0d2cca172 Start building against Spring Kafka 2.1.4 snapshots
See gh-12246
2018-02-27 13:52:48 +00:00
Andy Wilkinson
0a81b0a142 Start building against Spring Data Kay SR5 snapshots
See gh-12234
2018-02-27 13:46:33 +00:00
Andy Wilkinson
7f615eaa6c Start building against Spring Integration 5.0.3 snapshots
See gh-12235
2018-02-27 13:44:15 +00:00
Andy Wilkinson
37a66349fe Fall back to application conversion service in BindConverter
Previously, if a user declared a custom conversionService bean that
was not an ApplicationConversionService instance, the binder lost
the ability to convert a String to a Duration (along with any other
conversions that are specific to ApplicationConversionService).

This commit updates BindConverter so that, if the ConversionService
with which it is created is not an ApplicationConversionService, it
will use one as an additional service when performing conversion.

Closes gh-12237
2018-02-27 13:12:48 +00:00
Andy Wilkinson
30f79f2fb1 Use application name as convention for distribution's base name
Closes gh-12232
2018-02-27 12:56:50 +00:00
Andy Wilkinson
60ac2e5c09 Reduce the amount of garbage produced by JarFile
Previously, working with a JarFile created a large amount of garbage
that was allocated on the thread local allocation buffer (TLAB).
The TLAB allocations made a significant contribution to GC pressure
and slowed down startup. This commit reduces the amount of garbage
by making a number of changes.

Reading from a RandomAccessDataFile has been reworked to avoid
creating new RandomAccessFile instances. A single RandomAccessFile
is now created for an entire jar file and it is used to read data from
anywhere in that jar file, including entries in nested jar files. To
ensure that reads remain thread-safe, a lock is taken on the
RandomAccessFile that is shared by all RandomAccessDataFile instances
that are provided access to (portions of) the same jar file.

Reading all of the bytes from a RandomAccessData has been reworked to
avoid the use of an InputStream that was created, used to read the
data, and then thrown away. In place of the InputStream-based
mechanism a method has been introduced that returns all of the
RandomAccessData as a byte[]. Building on this change, a method has
also been introduced to read a portion of a RandomAccessData as a
byte[]. This avoids the need to create a new RandomAccessData
subsection where the subsection was only used to read its entire
contents and then thrown away.

Decoding of an MS-DOS datetime has been reworked to use LocalDataTime
rather than GregorianCalendar. The former produces less garbage than
the latter.

Closes gh-12226
2018-02-27 10:48:15 +00:00
Stephane Nicoll
569bad16da Polish 2018-02-27 10:54:43 +01:00
Stephane Nicoll
b4c901cab6 Merge branch '1.5.x' 2018-02-27 10:31:05 +01:00
Stephane Nicoll
14ff776f68 Fix TestRestTemplate example in the doc
Closes gh-12132
2018-02-27 09:58:59 +01:00
Phillip Webb
c0d79b9273 Rationalize multi-document config file handling
Update `PropertySourceLoader` so that it no longer needs to deal with
matching multi-document files using the `spring.profile` property. The
loader now simply returns one or more `PropertSource` instances for a
given `Resource`.

All property matching now occurs in the `ConfigFileApplicationListener`.
This allows document processing logic to be contained in a single place,
and allows us to rationalize the algorithm so that negative matching
profiles are processed last.

Fixes gh-12159
2018-02-26 23:30:09 -08:00
Phillip Webb
3d8f760ea0 Upgrade to reactor Bismuth-BUILD-SNAPSHOT
See gh-12233
2018-02-26 23:18:02 -08:00
Phillip Webb
145400505d Only validate target values on zero depth
Update `ValidationBindHandler` so that validation only occurs when a
value is bound, or the bind depth is zero. This prevents validation from
triggering getters which may throw an exception.

Fixes gh-12227
2018-02-26 23:08:45 -08:00
Phillip Webb
3244836003 Port Locale sensitive test from 1.5.x 2018-02-26 22:26:33 -08:00
Phillip Webb
fdf42ab9ec Merge branch '1.5.x' 2018-02-26 22:24:14 -08:00
Phillip Webb
98f58caeaf Reset default local after test completes 2018-02-26 22:22:21 -08:00
Phillip Webb
210342b75e Merge branch '1.5.x' 2018-02-26 22:19:03 -08:00
Phillip Webb
8f9c067a92 Polish 2018-02-26 22:16:08 -08:00
Madhura Bhave
d8caac77f1 Merge branch '1.5.x' 2018-02-26 13:04:35 -08:00
Madhura Bhave
257e324bd5 Add tests for binding to enum with different locale
See gh-12213
2018-02-26 12:28:28 -08:00
Phillip Webb
29c3be3590 Polish 2018-02-26 10:26:02 -08:00
Stephane Nicoll
306c79f0de Merge branch '1.5.x' 2018-02-26 18:03:32 +01:00
Stephane Nicoll
b4a7e1d64b Use toLowerCase() and toUpperCase() with Locale.ENGLISH
This commit updates all `toLowerCase()` and `toUpperCase` invocations to
use the variant that takes a `Locale` to avoid locale-specific side
effect.

Closes gh-12213
2018-02-26 17:49:03 +01:00
Andy Wilkinson
219b2d8c1e Upgrade to AssertJ 3.9.1
Closes gh-12224
2018-02-26 15:50:07 +00:00
Andy Wilkinson
8d73ab088a Document new endpoint infrastructure
Closes gh-10001
2018-02-26 15:26:18 +00:00
Stephane Nicoll
cd522dadcd Revert "Add Kafka health indicator"
Closes gh-12225
2018-02-26 15:46:35 +01:00
Stephane Nicoll
a309443ecc Merge pull request #12208 from kedar-joshi:documentation-polish
* pr/12208:
  Polish
2018-02-26 09:42:38 +01:00
Kedar Joshi
b189d88b94 Polish
Closes gh-12208
2018-02-26 09:42:17 +01:00
Stephane Nicoll
8755b4a547 Merge pull request #12203 from dreis2211:polish-tomcat-tests
* pr/12203:
  Polish argument capturing in two Tomcat tests
2018-02-26 09:37:36 +01:00
dreis2211
cbabf5414c Polish argument capturing in two Tomcat tests
Closes gh-12203
2018-02-26 09:35:39 +01:00
Stephane Nicoll
c3ae02a476 Merge pull request #12215 from izeye:doc-name
* pr/12215:
  Update doc to align with TomcatEmbeddedServletContainerFactory renaming
2018-02-26 09:34:27 +01:00
Johnny Lim
dc715a352a Update doc to align with TomcatEmbeddedServletContainerFactory renaming
Closes gh-12215
2018-02-26 09:34:03 +01:00
Stephane Nicoll
8257fd9d2f Merge pull request #12210 from aheritier:patch-1
* pr/12210:
  Fix dependency management of hibernate-validator-annotation-processor
2018-02-25 11:09:58 +01:00