746 Commits

Author SHA1 Message Date
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
94d5836618 Merge branch '1.5.x' 2018-01-05 12:02:11 +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
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
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
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
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
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
Stephane Nicoll
0515ca0dd0 Auto configure micrometer cache metrics
Closes gh-11221
2018-01-03 15:22:08 +01:00
Andy Wilkinson
38ac595615 Polish 2018-01-03 10:50:16 +00:00
Andy Wilkinson
70e14edaf7 Work around incorrect layout of generated epub archive
Previously, the Docbook Maven plugin would generate an epub archive
with the majority of contents in OEBPS/, including content.opf, while
the META-INF/container.xml file reference to content.opf in the root
of the archive.

This commit overrides the epub.oebps.dir variable to move the content
into the root of the archive where it's expected to be. Implementing
this override highlighted that our customization stylesheet was not
being applied as the configuration property was incorrect (it was
epubCustomnization rather than the required epub3Customization). This
has been corrected along with a problem with missing images that
fixing it revealed.

Closes gh-11470
2018-01-02 17:50:15 +00:00
Brian Clozel
8286cbc9f3 Merge branch '1.5.x' 2018-01-02 16:13:11 +01:00
Stephane Nicoll
f0b210c751 Merge branch '1.5.x' 2018-01-02 15:58:49 +01:00
Stephane Nicoll
6277d0ceb7 Update copyright header 2018-01-02 15:02:29 +01:00
dreis2211
eb1ae2dd79 Fix typos
Closes gh-11460
2018-01-02 15:01:16 +01:00
Andy Wilkinson
b545330d8e Fix reusable archive creation with Gradle 4.1 and later
Closes gh-11468
2018-01-02 12:56:55 +00:00
Johnny Lim
a462255383 Polish
Closes gh-11451
2018-01-01 08:41:09 +01:00
dreis2211
67a84cd4f9 Fix typos
Closes gh-11450
2018-01-01 08:37:42 +01:00
Stephane Nicoll
edc43f75cb Merge branch '1.5.x' 2018-01-01 08:30:03 +01:00
Johnny Lim
24b5a78e39 Polish
Closes gh-11448
2017-12-30 17:21:13 +01:00
Madhura Bhave
a46d1416ee Reinstate required parameter 2017-12-29 13:16:26 -08:00
Madhura Bhave
8102dc78cb Remove redundant throws declarations 2017-12-29 12:10:13 -08:00
Stephane Nicoll
1ab5b833af Add reference to liquigraph 2017-12-29 16:57:18 +01:00
Stephane Nicoll
106642a8d4 Polish 2017-12-29 14:48:24 +01:00
Johnny Lim
8ae2be6043 Fix property names in MeterBindersConfiguration
Closes gh-11443
2017-12-29 14:36:56 +01:00
Madhura Bhave
be9291a365 Match trailing slash in actuator endpoints
Fixes gh-11024
2017-12-28 13:13:23 -08:00
Madhura Bhave
c29fe05708 Remove redundant property from tests 2017-12-28 12:45:51 -08:00
Stephane Nicoll
cfa3cab988 Polish "Improve Spring Data Web configuration properties"
Closes gh-11403
2017-12-28 15:22:47 +01:00
Marcel Overdijk
be93eabc6b Improve Spring Data Web configuration properties
See gh-11403
2017-12-28 15:04:23 +01:00
Stephane Nicoll
8d1bd7eb3c Polish 2017-12-28 14:57:49 +01:00
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