Andy Wilkinson
861587ec78
Allow @ConditionalOnEnabledEndpoint to be used on any component
...
Closes gh-14787
2018-10-12 11:24:33 +01:00
Phillip Webb
21ebb94d49
Respect Tomcat's failCtxIfServletStartFails flag
...
Ensure that if the user has set `failCtxIfServletStartFails` to `true`
using a `ContextCustomizers` any Servlet init exceptions stop the
application from running.
Closes gh-14448
2018-10-11 20:12:01 -07:00
Phillip Webb
b1399db994
Add a warning about webDriver scope to the docs
...
Update the reference documentation with a warning about the `webDriver`
scope that we create.
Closes gh-13093
2018-10-11 16:17:24 -07:00
Phillip Webb
0d35af1813
Add "Encrypting Properties" documentation
...
Update the reference documentation with a section about encrypting
properties and a link to Spring Cloud Vault.
Closes gh-13618
2018-10-11 16:03:42 -07:00
Phillip Webb
1c3987d55a
Fix documentation of devtools Gradle scope
...
Update the reference documentation to suggest that devtools uses a
custom `developmentOnly` scope, rather than `compileOnly`.
Closes gh-14451
2018-10-11 15:42:56 -07:00
Phillip Webb
30ab4f9691
Polish "Stop MetricsEndpoint from summing up same metrics"
...
See gh-14497
2018-10-11 15:31:40 -07:00
pmehra
950480dc1c
Stop MetricsEndpoint from summing up same metrics
...
Update `MetricsEndpoint` so that only the first matching meter is used
when calculating the sum of of statistics.
Prior this this commit the endpoint would consider all Meters. This
caused incorrect statistics when multiple back-end systems were being
used since the registries contained in the `CompositeMeterRegistry`
would be iterated, and the same effective metric would be counted more
than once.
Closes gh-14497
2018-10-11 15:18:35 -07:00
Andy Wilkinson
2a2908e74e
Order MeterFilters and MeterRegistryCustomizers
...
Closes gh-14780
2018-10-11 17:15:47 +01:00
Andy Wilkinson
a296a805c5
Tolerate different quoting of annotation attributes on Java 8 and 9+
...
Closes gh-13594
2018-10-11 11:51:34 +01:00
Stephane Nicoll
81377e2fd5
Invoke Flyway#setCallbacks only if necessary
...
Closes gh-14775
2018-10-11 11:50:53 +02:00
Andy Wilkinson
6b22cc1581
Revert "Upgrade to Netty 4.1.30.Final"
...
This reverts commit c9cf78bb69 .
See gh-14752
2018-10-11 10:38:33 +01:00
Hanope
29b453d8b0
Fix typo
...
Closes gh-14770
2018-10-10 15:43:29 +02:00
Andy Wilkinson
c897ff959f
Upgrade to Ehcache3 3.5.3
...
Closes gh-14755
2018-10-10 13:06:01 +01:00
Andy Wilkinson
88c2f36ff1
Upgrade to Javax Jaxb 2.3.1
...
Closes gh-14754
2018-10-10 13:06:01 +01:00
Andy Wilkinson
72db995336
Upgrade to Javax Json 1.1.3
...
Closes gh-14753
2018-10-10 13:06:00 +01:00
Andy Wilkinson
c9cf78bb69
Upgrade to Netty 4.1.30.Final
...
Closes gh-14752
2018-10-10 13:05:59 +01:00
Andy Wilkinson
27ae772064
Upgrade to Rabbit Amqp Client 5.4.3
...
Closes gh-14751
2018-10-10 13:05:58 +01:00
Andy Wilkinson
ddb8694ae2
Merge branch '1.5.x' into 2.0.x
2018-10-10 13:00:17 +01:00
Andy Wilkinson
839e686c9e
Fix Checkstyle violation
2018-10-10 12:43:06 +01:00
Andy Wilkinson
f9b6c1ab4d
Include more information in NoSuchBeanDefinition failure analysis
...
Closes gh-13594
2018-10-10 12:21:46 +01:00
Andy Wilkinson
9e14fc6b8b
Cope with hanging call to connection.start() in JmsHealthIndicator
...
Previously, if the call to connection.start() hung, JmsHealthIndicator
would also hang and then never respond.
This commit introduces the use of an additional thread that waits for
up to 5 seconds for the connection to start. If the call to start
does not complete within that time, the connection is closed. The
call to close causes the call to start to throw an exception, thereby
stopping the hang and allowing the indicator to report that the
broker is down.
Closes gh-10809
2018-10-10 12:20:34 +01:00
Andy Wilkinson
51a1309ab7
Document need to use spring.data.rest rather than spring.data.web
...
Closes gh-14413
2018-10-09 17:46:55 +01:00
Andy Wilkinson
3f7a01fd27
Use ApplicationContextRunner in SpringDataWebAutoConfigurationTests
...
See gh-14413
2018-10-09 17:46:55 +01:00
Stephane Nicoll
6e6c22c0ae
Polish "Remove duplicate -l option for init command"
...
Closes gh-1446
2018-10-09 17:08:10 +02:00
Ruslan Molchanov
71cf472116
Remove duplicate -l option for init command
...
See gh-14460
2018-10-09 17:08:10 +02:00
Andy Wilkinson
c6fdb4f0f2
Improve documentation of Quartz DataSource customization
...
Closes gh-12780
2018-10-09 15:05:25 +01:00
Hanope
8b08f04e39
Correct TIP typo in the documentation
...
Closes gh-14735
2018-10-09 14:36:16 +01:00
Andy Wilkinson
73122fa8f3
Improve documentation of supported JSON mapping libraries
...
Closes gh-14703
2018-10-09 14:04:48 +01:00
Andy Wilkinson
f2446f78df
Align Session Redis tests with changes in latest Apple snapshots
...
See gh-14732
2018-10-09 12:39:08 +01:00
Andy Wilkinson
1b4a60e65c
Start building against Spring Session snapshots for Apple-SR6
...
See gh-14732
2018-10-09 11:33:34 +01:00
Andy Wilkinson
e2b589547c
Start building against Spring Data snapshots for Kay-SR11
...
See gh-14728
2018-10-09 11:32:21 +01:00
Andy Wilkinson
508bfda9ad
Start building against Spring Framework 5.0.10 snapshots
...
See gh-14722
2018-10-08 20:08:24 +01:00
Andy Wilkinson
07dd689c9c
Polish
2018-10-08 16:29:21 +01:00
dreis2211
e6313fd96f
Fix @Cacheable typo
...
Closes gh-14720
2018-10-08 16:28:05 +01:00
Andy Wilkinson
9afd6f53e5
Document need for -parameters compilation with @SpyBean and @Cacheable
...
Closes gh-13945
2018-10-08 16:10:15 +01:00
Andy Wilkinson
4f51a83ab3
Add a note recommending the use of containers' multipart upload
...
Closes gh-2958
2018-10-08 15:58:48 +01:00
Andy Wilkinson
d3b3c8c64e
Honour management.metrics.web.server.auto-time-requests with WebFlux
...
Closes gh-13895
2018-10-08 15:52:50 +01:00
Andy Wilkinson
1f34da9025
Document application plugin's need for mainClassName to be set
...
Closes gh-14250
2018-10-08 15:06:37 +01:00
Andy Wilkinson
5d3f30ee94
Honour SSL key and trust store providers when configuring Netty
...
Closes gh-14714
2018-10-08 12:39:09 +01:00
Andy Wilkinson
d6d59edb35
Merge branch '1.5.x' into 2.0.x
2018-10-08 12:19:52 +01:00
dreis2211
55ec016bac
Remove unused fields in tests
...
Closes gh-14707
2018-10-08 10:40:04 +02:00
Andy Wilkinson
bbdd6cc9cb
Merge branch '1.5.x'
2018-10-06 13:06:37 +01:00
Andy Wilkinson
ca329d3d03
Update Jersey indicator class to one that requires the Servlet API
...
Previously, if WebFlux and Jersey were on the classpath, but there was
no Servlet API (and no embedded container) on the classpath, the web
application type would be prevented from being reactive. The absence
of the Servlet API would then prevent the web application type from
being servlet so it would be none.
By contrast, if Spring MVC was on the classpath in place of Jersey
the absence of the Servlet API would allow the web application type to
be reactive. This happened because the Spring MVC indicator class is
DispatcherServlet which requires the Servlet API.
This commit updates the Jersey indicator class to be ServletContainer.
This class is both an HttpServlet and a Filter so it too requires the
Servlet API and, therefore, further aligns the deduction behaviour for
Jersey and Spring MVC.
Closes gh-14701
2018-10-06 12:59:25 +01:00
Phillip Webb
6aedb69443
Update copyright year for changed files
2018-10-05 13:31:33 -07:00
Phillip Webb
456d1af443
Polish
2018-10-05 13:30:24 -07:00
Stephane Nicoll
febaf15b61
Guard WebApplicationType detection in case spring web is not present
...
Closes gh-14589
2018-10-05 16:41:22 +02:00
Andy Wilkinson
8573edc03e
Provide complete dependency management for Micrometer
...
Closes gh-14700
2018-10-05 15:11:54 +01:00
Andy Wilkinson
ad647ba073
Make JSON-B auto-config back of if no JSON-P implementation is available
...
Closes gh-14675
2018-10-05 13:05:14 +01:00
Andy Wilkinson
8ee4c5e4a1
Use offical JSON API jar rather than Geronimo's in Artemis starter
...
Closes gh-14691
2018-10-05 12:44:53 +01:00
Andy Wilkinson
0ad0785bf7
Provide complete dependency management for Apache Johnzon
...
Closes gh-14692
2018-10-05 12:00:26 +01:00