Commit Graph

14730 Commits

Author SHA1 Message Date
Stephane Nicoll 71aad04ea9 Update copyright header 2018-01-06 17:42:21 +01:00
Johnny Lim 67a5144112 Remove unnecessary condition in ConfigurationPropertyName
Closes gh-11486
2018-01-06 17:40:55 +01:00
Madhura Bhave a38d99762c Fix PR build so that it doesn't require privileged 2018-01-05 10:51:08 -08:00
Brian Clozel 2bf15f814e Polish
This commit fixes the `responseCommitted` test in
`DefaultErrorWebExceptionHandlerIntegrationTests` and reworks the whole
test class to use the `ContextRunner` infrastructure.

Fixes gh-11519
2018-01-05 18:55:13 +01:00
Brian Clozel 11d4426b4d Provide client factory with supplier in RestTemplateBuilder
This commit removes
`RestTemplateBuilder.requestFactory(ClientHttpRequestFactory factory)`
because it can be misleading. This builder class is meant to be
immutable, but calling that method and then timeout related ones will
affect the `ClientHttpRequestFactory` instance.

Instead, this method is replaced with a
`Supplier<ClientHttpRequestFactory>` that is called every time a
`RestTemplate` is being built.

That approach may reduce the reusability of request factories, but it is
much more consistent.

Closes gh-11255
2018-01-05 16:29:18 +01:00
Stephane Nicoll 04ae0cd62c Merge pull request #11502 from garyrussell:GH-11257
* pr/11502:
  Polish "Add support for additional Kafka listener properties"
  Add support for additional Kafka listener properties
2018-01-05 14:35:36 +01:00
Stephane Nicoll c4db22007c Polish "Add support for additional Kafka listener properties"
Closes gh-11502
2018-01-05 14:35:04 +01:00
Gary Russell 6fcbf80b31 Add support for additional Kafka listener properties
See gh-11502
2018-01-05 14:11:34 +01:00
Stephane Nicoll 2a7b2f304a Merge pull request #11492 from jkschneider:metrics-endpoint-tag-dedup
* pr/11492:
  Polish "Deduplicate tag values in metrics actuator endpoint"
  Deduplicate tag values in metrics actuator endpoint
2018-01-05 13:43:10 +01:00
Stephane Nicoll 5baedf9275 Polish "Deduplicate tag values in metrics actuator endpoint"
Closes gh-11492
2018-01-05 13:42:58 +01:00
Jon Schneider ebb51d5533 Deduplicate tag values in metrics actuator endpoint
See gh-11492
2018-01-05 13:42:58 +01:00
Stephane Nicoll 1962cbb623 Polish
This is no longer necessary as of micrometer 1.0 rc5
2018-01-05 13:42:47 +01:00
Andy Wilkinson 311e0aed4a Merge branch '1.5.x' 2018-01-05 12:37:24 +00:00
Andy Wilkinson a4134b8491 Start building against Spring Framework 4.3.14 snapshots
See gh-11520
2018-01-05 12:08:02 +00:00
Andy Wilkinson 93c5900d47 Merge branch '1.5.x' 2018-01-05 12:06:01 +00:00
Andy Wilkinson a9811e360a Add missing copyright headers to .java source files 2018-01-05 12:04:34 +00:00
Andy Wilkinson 94d5836618 Merge branch '1.5.x' 2018-01-05 12:02:11 +00:00
Andy Wilkinson 5bbd31e7a3 Rename test classes so that their tests are run by Maven 2018-01-05 11:49:39 +00:00
Stephane Nicoll 59d5ed5842 Add support for advanced customization of Hibernate settings
As HibernateJpaConfiguration is package private, it is no longer
possible to extend the default Spring Boot configuration to apply
advanced settings. The most notable use case for this is the
customization of Hibernate properties using instance value vs. string
value that can be set using the "spring.jpa.properties" namespace.

This commit adds a HibernatePropertiesCustomizer callback interface that
can be implemented to tune Hibernate properties at will.

Closes gh-11211
2018-01-05 12:19:22 +01:00
Andy Wilkinson 268b97bf98 No-op ResetMocksTestExecutionListener when Mockito is not present
Closes gh-11508
2018-01-05 11:13:36 +00:00
Stephane Nicoll 641013787d Polish 2018-01-05 11:40:26 +01:00
Stephane Nicoll ac004eabf3 Update copyright header
See gh-11510
2018-01-05 10:30:43 +01:00
Stephane Nicoll 91b4b4718f Merge pull request #11510 from izeye:polish-20180105
* pr/11510:
  Polish
2018-01-05 10:29:53 +01:00
Johnny Lim 37d8eedae3 Polish
Closes gh-11510
2018-01-05 10:29:22 +01:00
Madhura Bhave 7c5cf903fc Remove management.security.enabled from documentation
Fixes gh-11383
2018-01-04 16:23:14 -08:00
Madhura Bhave fc3b43e832 Wait for neo4j to start accepting connections
See gh-10516
2018-01-04 14:26:34 -08:00
Madhura Bhave 8001c6a2b8 Fix docker-lib url in images 2018-01-04 12:42:28 -08:00
Madhura Bhave 747b71ba69 Add docker-lib from github 2018-01-04 12:01:27 -08:00
Madhura Bhave e28915bd4b Make integration tests self-contained
Fixes gh-10516
2018-01-04 11:26:40 -08:00
Andy Wilkinson 3955c284f5 Start building against Spring Framework 5.0.3 snapshots
See gh-11503
2018-01-04 17:42:54 +00:00
Andy Wilkinson 0e3d873d85 Start building against Spring Integration 5.0.1 snapshots
See gh-11501
2018-01-04 16:56:23 +00:00
Brian Clozel 6525bc46ef Add Jetty libraries to Javadoc build 2018-01-04 16:17:20 +01:00
Andy Wilkinson bfef8be4dc Merge branch '1.5.x' 2018-01-04 14:59:21 +00:00
Andy Wilkinson 9baa9772c2 Revert "Upgrade to Jackson 2.8.11"
This reverts commit f91f8f7eec.

See gh-11475
2018-01-04 14:58:37 +00:00
Brian Clozel b96f862c9e Merge pull request #11489 from Buzzardo:linking
* pr/11489:
  Polish
  Full editing pass plus linking
2018-01-04 14:50:08 +01:00
Brian Clozel c6a1fc93bd Polish 2018-01-04 14:48:23 +01:00
Jay Bryant 0e7dbd59b2 Full editing pass plus linking
I made a complete editing pass plus another pass to see where I could add more links, both within the document and to other parts of Spring. The result was a thorough edit (though I'm sure I missed things, purely due to the size of the thing).
2018-01-04 14:34:50 +01:00
Andy Wilkinson 0aedd3f11d Exclude tomcat-annotations-api and use javax.annotations-api instead
Closes gh-10133
2018-01-04 10:25:39 +00:00
Andy Wilkinson a7808388ad Make github-tag property available when generating Gradle plugin docs
Closes gh-11490
2018-01-04 10:11:41 +00:00
Stephane Nicoll 03dd53f347 Fix broken merge 2018-01-04 10:16:27 +01:00
Stephane Nicoll e3bfd797a3 Merge branch '1.5.x' 2018-01-04 10:11:32 +01:00
Stephane Nicoll d49b022ce3 Shade json in configuration processor
This commit shades the json API in the configuration processor so that
it doesn't bring `android-json` to the classpath anymore.

Closes gh-10307
2018-01-04 10:10:56 +01:00
Phillip Webb bee5fa7fc6 Polish 2018-01-03 13:24:04 -08:00
Phillip Webb 6bac365a72 Polish micrometer cache metrics
Change `CacheMeterBinderProvider` to include a cache type
generic which helps to simplify implementations. Also move
and extract a few classes.

See gh-11221
2018-01-03 13:19:31 -08:00
Phillip Webb 37fe7bc8f6 Update validator background initializer
Update the validator background initializer to actually create
the validator.

Closes gh-11412
2018-01-03 13:19:31 -08:00
Madhura Bhave 732d9868e3 Increase session timeout to prevent CI failures 2018-01-03 11:12:41 -08:00
Madhura Bhave 716543828a Refactor some tests to use ApplicationContextRunner 2018-01-03 11:07:19 -08:00
Brian Clozel 3ab32df242 Add support for HTTP/2 in Jetty with Conscrypt
This commit configures Jetty for HTTP/2 support as soon as the following
conditions are met:

* `server.http2.enabled=true`
* Both `org.eclipse.jetty:jetty-alpn-conscrypt-server` and
`org.eclipse.jetty.http2:http2-server` are on classpath

This will use the Conscrypt library for ALPN and TLS support using
native libraries shipped within the Conscrypt uber Jar. This does not
require a JVM agent or patching the JDK classes.

Closes gh-10902
2018-01-03 17:43:32 +01:00
Stephane Nicoll ea70b2ed2e Upgrade to Kotlin 1.2.10
See gh-11235
2018-01-03 17:25:14 +01:00
Andy Wilkinson 6d8676c268 Merge branch '1.5.x' 2018-01-03 15:04:00 +00:00