Commit Graph

5616 Commits

Author SHA1 Message Date
Stephane Nicoll
a07ccb0c39 Upgrade to Netty 4.1.50.Final
Closes gh-21805
2020-06-10 10:22:22 +02:00
Stephane Nicoll
27c94bd649 Upgrade to Micrometer 1.1.14
Closes gh-21804
2020-06-10 10:22:21 +02:00
Stephane Nicoll
e88ae68430 Upgrade to Couchbase Client 2.7.15
Closes gh-21803
2020-06-10 10:22:19 +02:00
Stephane Nicoll
79f0e38c54 Start building against Spring Data Lovelace-SR18 snapshots
See gh-21774
2020-06-09 16:16:34 +02:00
Stephane Nicoll
9a457527fd Polish test 2020-06-09 16:00:50 +02:00
Stephane Nicoll
36a05375c7 Start building against Spring Kafka 2.2.14 snapshots
See gh-21780
2020-06-09 14:23:58 +02:00
Stephane Nicoll
445a9a461b Start building against Spring Integration 5.1.11 snapshots
See gh-21777
2020-06-09 14:23:58 +02:00
Stephane Nicoll
de6ee358fb Upgrade to Spring Framework 5.1.16
Closes gh-21729
2020-06-09 13:36:32 +02:00
Stephane Nicoll
10e0ca7dce Upgrade to Reactor Californium-SR19
Closes gh-21728
2020-06-09 09:01:13 +02:00
Andy Wilkinson
5dce945e29 Document dispatcher-types configuration for secured error pages
Closes gh-19293
2020-06-08 17:06:42 +01:00
Andy Wilkinson
c96455f7cf Remove . from CLI's classpath on Unix-like platforms
Previously, the spring bash script added . to the classpath but the
Windows spring.bat script did not. This commit aligns the classpath
of the two scripts by removing . from the classpath in the bash
script.

Fixes gh-19910
2020-06-08 14:40:14 +01:00
Andy Wilkinson
020a47ba3e Document support for Gradle 5
Closes gh-15358
2020-06-08 14:29:07 +01:00
Andy Wilkinson
6a9450ee8b Polish 2020-06-08 11:34:56 +01:00
Phillip Webb
70e0a27949 Drop the use of the term "white list"
Closes gh-21737
2020-06-07 10:22:35 -07:00
Stephane Nicoll
d4c8fa9b2a Start building against Spring Framework 5.1.16 snapshots
See gh-21729
2020-06-07 10:37:47 +02:00
Stephane Nicoll
0b0187cd0d Start building against Reactor Californium-SR19 snapshots
See gh-21728
2020-06-06 08:48:15 +02:00
Phillip Webb
b5fe3c3494 Refine YAML type restriction error
Closes gh-21596
2020-06-02 22:46:47 -07:00
Phillip Webb
95031295b9 Restore TomcatReactiveWebServerFactoryTests
Restore tests that were previously ignored due to a framework bug.

Closes gh-19702
2020-06-01 14:19:20 -07:00
Phillip Webb
587b840666 Restrict use of custom YAML types
Update `YamlJsonParser` and `OriginTrackedYamlLoader` to ensure that
custom types cannot be loaded.

Closes gh-21596
2020-05-27 16:36:46 -07:00
Andy Wilkinson
fdc63d71fe Use HTTPS when linking to groovy-lang.org
Closes gh-21466
2020-05-15 16:18:23 +01:00
Stephane Nicoll
efc9978362 Document use case of splitting auto-configuration and starter
Closes gh-20686
2020-05-08 16:55:47 +02:00
Stephane Nicoll
1a4f6df0a3 Upgrade to Spring Ldap 2.3.3.RELEASE
Closes gh-21342
2020-05-07 14:11:24 +02:00
Stephane Nicoll
66afe280cb Upgrade to Spring Security 5.1.10.RELEASE
Closes gh-21346
2020-05-07 09:32:15 +02:00
Stephane Nicoll
293cd6edb9 Upgrade to Jetty El 8.5.54
Closes gh-21331
2020-05-06 15:21:58 +02:00
Stephane Nicoll
6c8f0a0082 Upgrade to Hibernate 5.3.17.Final
Closes gh-21330
2020-05-06 15:21:56 +02:00
Phillip Webb
df70c42f98 Allow classpath wildcards with Java 11 or above
Update `StaticResourceJars` to catch both `IOException` and
`InvalidPathException` when checking URLs. Prior to this commit only
`IOException` was caught which worked on Java 8 but not Java 11 or
above.

Fixes gh-21312
2020-05-05 12:10:31 -07:00
Stephane Nicoll
5292b3a693 Upgrade to Spring Integration 5.1.10
Closes gh-20941
2020-04-30 15:22:41 +02:00
Stephane Nicoll
3e6b62b043 Upgrade to Spring Kafka 2.2.13
Closes gh-20988
2020-04-29 14:20:59 +02:00
Stephane Nicoll
524d316500 Upgrade to Spring AMQP 2.1.14
Closes gh-20939
2020-04-29 14:20:39 +02:00
Stephane Nicoll
9e88af9703 Upgrade to Spring Data Lovelace-SR17
Closes gh-20940
2020-04-28 15:36:16 +02:00
Stephane Nicoll
5dc82eda53 Upgrade to Spring Framework 5.1.15
Closes gh-20938
2020-04-28 15:35:08 +02:00
Phillip Webb
50e9674631 Backport "Attempt to prevent JarFiles from being left open"
Update `JarFile` so that `super.close()` is called early so that the
file is not left open. Since we re-implement `JarFile` methods to work
directly on the underlying `RandomAccessDataFile`, it should be safe
to close immediately.

Closes gh-21177
2020-04-27 19:03:52 -07:00
Phillip Webb
e2705b2cfd Throw exception if classpath*: is used
Update `ConfigFileApplicationListener` to throw a better exception if
`classpath*:` is used as a location.

Closes gh-21168
2020-04-27 13:42:40 -07:00
Stephane Nicoll
16005c608f Upgrade to Reactor Bom Californium-SR18
Clsoes gh-20937
2020-04-27 14:28:43 +02:00
Stephane Nicoll
3ea0b4198b Upgrade to Maven Dependency Plugin 3.1.2
Closes gh-21167
2020-04-27 09:38:51 +02:00
Stephane Nicoll
a7e3257e7f Upgrade to Xmlunit2 2.6.4
Closes gh-21166
2020-04-27 09:38:50 +02:00
Stephane Nicoll
cac0407762 Upgrade to Spring Ws 3.0.9.RELEASE
Closes gh-21165
2020-04-27 09:38:49 +02:00
Stephane Nicoll
4e93115b05 Upgrade to Spring Session Bom Bean-SR10
Closes gh-21164
2020-04-27 09:38:48 +02:00
Stephane Nicoll
0697b3acb4 Upgrade to Spring Security 5.1.9.RELEASE
Closes gh-21163
2020-04-27 09:38:47 +02:00
Stephane Nicoll
f24351d12a Upgrade to Spring Batch 4.1.4.RELEASE
Closes gh-21162
2020-04-27 09:38:46 +02:00
Stephane Nicoll
c3c5b444e7 Upgrade to Postgresql 42.2.12
Closes gh-21161
2020-04-27 09:38:45 +02:00
Stephane Nicoll
25fb48d0e3 Upgrade to Neo4j Ogm 3.1.19
Closes gh-21160
2020-04-27 09:38:44 +02:00
Stephane Nicoll
067a07386a Upgrade to Mimepull 1.9.13
Closes gh-21159
2020-04-27 09:38:43 +02:00
Stephane Nicoll
e6b17bc5b8 Upgrade to Infinispan 9.4.19.Final
Closes gh-21158
2020-04-27 09:38:41 +02:00
Stephane Nicoll
9bb16e44b0 Upgrade to Hibernate Validator 6.0.19.Final
Closes gh-21157
2020-04-27 09:38:40 +02:00
Stephane Nicoll
191a4e5a51 Upgrade to Hibernate 5.3.16.Final
Closes gh-21156
2020-04-27 09:38:39 +02:00
Stephane Nicoll
19826847d4 Upgrade to Freemarker 2.3.30
Closes gh-21155
2020-04-27 09:38:38 +02:00
Stephane Nicoll
46fe25480c Upgrade to Jetty 9.4.28.v20200408
Closes gh-21154
2020-04-27 09:38:37 +02:00
Stephane Nicoll
ce4001c54b Upgrade to Janino 3.0.16
Closes gh-21153
2020-04-27 09:38:36 +02:00
Stephane Nicoll
a9a3845168 Upgrade to Groovy 2.5.11
Closes gh-21152
2020-04-27 09:38:35 +02:00
Stephane Nicoll
a01b0b7145 Upgrade to Tomcat 9.0.34
Closes gh-21151
2020-04-27 09:38:34 +02:00
Stephane Nicoll
4a51a8be2a Upgrade to Solr 7.7.3
Closes gh-21150
2020-04-27 09:38:33 +02:00
Stephane Nicoll
a336f29ce2 Upgrade to Httpclient 4.5.12
Closes gh-21149
2020-04-27 09:38:32 +02:00
Stephane Nicoll
72e3d71067 Upgrade to Activemq 5.15.12
Closes gh-21148
2020-04-27 09:38:31 +02:00
Stephane Nicoll
c0398e190a Upgrade to Mysql 8.0.20
Closes gh-21147
2020-04-27 09:38:30 +02:00
Stephane Nicoll
d63d2075fa Upgrade to Joda Time 2.10.6
Closes gh-21146
2020-04-27 09:38:29 +02:00
Stephane Nicoll
671f3c2075 Upgrade to Undertow 2.0.30.Final
Closes gh-21145
2020-04-27 09:38:28 +02:00
Stephane Nicoll
d1821b3895 Upgrade to Rxjava2 2.2.19
Closes gh-21144
2020-04-27 09:38:27 +02:00
Stephane Nicoll
b29d2eedc8 Upgrade to Netty Tcnative 2.0.30.Final
Closes gh-21143
2020-04-27 09:38:25 +02:00
Stephane Nicoll
8a02bac617 Upgrade to Netty 4.1.49.Final
Closes gh-21142
2020-04-27 09:38:24 +02:00
Stephane Nicoll
effa0cb024 Upgrade to Micrometer 1.1.13
Closes gh-21141
2020-04-27 09:38:23 +02:00
Stephane Nicoll
4ea31a2d2e Upgrade to Appengine Sdk 1.9.80
Closes gh-21140
2020-04-27 09:38:22 +02:00
Stephane Nicoll
4c3880427a Upgrade to Jackson 2.9.10.20200411
Closes gh-21139
2020-04-27 09:38:21 +02:00
Stephane Nicoll
0c4efffaa7 Upgrade to Couchbase Client 2.7.14
Closes gh-21138
2020-04-27 09:38:20 +02:00
Phillip Webb
416cfc2c86 Improve @Value documentation
Improve "@ConfigurationProperties vs. @Value" documentation with the
recommendation that kebab-case is used with the `@Value` annotation.

Closes gh-20507
2020-04-23 16:39:22 -07:00
Stephane Nicoll
291165f060 Order additional metadata according to lexicographic order
Closes gh-21095
2020-04-23 13:58:49 +02:00
Phillip Webb
e0f94f54ac Add "Health as Gauge" how-to documentation
Add how-to documentation describing how health information can be
exported to a Micrometer Gauge.

Closes gh-18329
2020-04-22 16:45:46 -07:00
Phillip Webb
3e3587e0fb Polish 2020-04-22 12:57:08 -07:00
Phillip Webb
b3d33754a5 Remove outdated FIXMEs from tests
Closes gh-19782
2020-04-22 11:55:35 -07:00
Phillip Webb
c85918b8b3 Create new JarFile instance for URL connections
Update `JarURLConnection` to ensure that when connections are opened
a new copy of the JarFile is provided.

Prior to this commit, a single `JarFile` instance was shared which meant
that it could be accidental closed if accessed via
`JarURLConnection.getJarFile()`. If the underlying jar file is closed
then it's possible for a `NoClassDefFoundError` to be thrown if running
on JDK 11 with an active `SecurityManager`.

Closes gh-17796
2020-04-21 16:32:51 -07:00
Phillip Webb
6011470ba6 Auto-configure cors on WelcomePageHandlerMapping
Update `WebMvcAutoConfiguration` to automatically apply cors
configuration to the `WelcomePageHandlerMapping`.

Fixes gh-21048
2020-04-21 11:40:26 -07:00
Phillip Webb
a2fdf23e41 Don't throw NettyWebServer on permission errors
Update `NettyWebServer` so that the `PortInUseException` is not thrown
for permission denied errors.

Fixes gh-19807
2020-04-20 17:54:13 -07:00
Phillip Webb
c7611112f7 Include cause when throwing PortInUseException
Update classes that throw `PortInUseException` so that they also
include the cause. Prior to this commit the cause was not included
which could make diagnosing the real cause difficult.

See gh-19807
2020-04-20 17:54:10 -07:00
Phillip Webb
f0ec571b2e Document relaxed binding from the environment
Update the reference documentation with more details about how relaxed
binding works against environment variables.

Closes gh-18215
2020-04-19 18:51:07 -07:00
Phillip Webb
359b508077 Document devtool property file profile restrictions
Closes gh-19972
2020-04-19 17:46:24 -07:00
Phillip Webb
6a4d98a865 Allow exposure patterns to match dashed IDs
Update `ExposeExcludePropertyEndpointFilter` so that patterns will
also match endpoint IDs that contain a dash.

Closes gh-20997
2020-04-19 15:58:20 -07:00
Phillip Webb
822d9f6a31 Allow empty URIs to create embedded datasource
Refine `DataSourceAutoConfiguration` conditions so that an empty
`spring.datasource.url` property can be used to enable the embedded
source.

Fixed gh-20996
2020-04-17 15:07:50 -07:00
Madhura Bhave
c98fe51914 Make it more obvious that Jolokia does not work with a WebFlux app
Closes gh-20623
2020-04-14 16:45:31 -07:00
Stephane Nicoll
a3095d5956 Start building against Spring Integration 5.1.10 snapshots
See gh-20941
2020-04-14 10:35:23 +02:00
Stephane Nicoll
35c66d9088 Start building against Spring Data Lovelace-SR17 snapshots
See gh-20940
2020-04-14 10:32:41 +02:00
Stephane Nicoll
16334304d6 Start building against Spring AMQP 2.1.14 snapshots
See gh-20939
2020-04-14 10:32:04 +02:00
Stephane Nicoll
6a4fbe18c2 Start building against Spring Framework 5.1.15 snapshots
See gh-20938
2020-04-14 10:24:08 +02:00
Stephane Nicoll
fca3601477 Start building against Reactor Californium-SR18 snapshots
See gh-20937
2020-04-14 10:22:45 +02:00
Stephane Nicoll
88b7b78344 Make sure that cassandra health check reports version
Closes gh-20719
2020-03-30 12:58:41 +02:00
Stephane Nicoll
c9e32aaa47 Use LOCAL_ONE when querying system.local
This commit is a follow-up of gh-20709 to apply the same consistency
level to the Cassandra reactive health indicator.

Closes gh-20713
2020-03-29 18:37:30 +02:00
Stephane Nicoll
63be1678de Polish "Use LOCAL_ONE when querying system.local"
See gh-20709
2020-03-28 16:02:04 +01:00
Alexandre Dutra
851f631eac Use LOCAL_ONE when querying system.local
The system keyspace has a replication factor of 1 and is local to each
node; it is therefore recommended to query system.local with a
consistency level of ONE or LOCAL_ONE.

Stronger consistency levels may result in an Unavailable error, but this
does not mean that the node is down.

See gh-20709
2020-03-28 16:01:47 +01:00
Stephane Nicoll
18353231a0 Do not fail if "spring.datasource.url" cannot be resolved
Previously, a condition checked the value of "spring.datasource.url" to
determine if an embedded database has to be created as a fallback. When
the value is set with an unresolved placeholder, this fails even if
the DataSource is going to created by another mean ultimately.

This commit makes a more conservative check by only checking the
presence of the property rather than its value.

Closes gh-20438
2020-03-25 11:25:47 +01:00
Stephane Nicoll
9a5ffb7e0c Upgrade to Reactor Californium SR17
Closes gh-20624
2020-03-23 18:28:42 +01:00
Stephane Nicoll
bcce6f9f07 Document that Jackson is a required dependency of the Actuator
Closes gh-19564
2020-03-23 14:16:55 +01:00
Stephane Nicoll
f5761bd508 Auto-configure listener container factory without consumer factory
Previously, the presence of a `ConsumerFactory` bean would make the
auto-configured one to back off, leading to a failure down the line if
no available instance matches the generics criterion. This commit
improves the auto-configuration to create a `ConsumerFactory<?,?>`
behind the scenes if none is available.

Closes gh-19221
2020-03-23 12:52:33 +01:00
Jordan Simpson
0d9d0f8532 Link to correct factory in TomcatReactiveWebServerFactory's javadoc
See gh-20583
2020-03-20 11:02:41 +00:00
Andy Wilkinson
b51c7386aa Fix detection of application home for paths containing spaces
Fixes gh-20531
2020-03-17 12:41:26 +00:00
Andy Wilkinson
f251772e17 Fix behaviour of DependencyCustomizer ifAllResourcesPresent
Previously, DependencyCustomizer's ifAllResourcesPresent method
would return a customizer that added modules if any of the resources
were present. This commit corrects this behaviours so that modules are
only added if all resources are present.

Fixes gh-20418
2020-03-11 13:00:49 +00:00
Andy Wilkinson
2b2113714d Use getTomcatWebServer to create TomcatWebServer instance
TomcatReactiveWebServerFactory's getTomcatWebServer is described as
being a hook point the can be overrideden to return a different
TomcatWebServer or to apply additional processing to the Tomcat
server. Previously, this did not work as the method was not called
to create the TomcatWebServer instance. Instead, TomcatWebServer was
instantiated and returned directly.

This commit updates TomcatReactiveWebServerFactory to call
getTomcatWebServer to create the TomcatWebServer instance. A test
has also been added to verify that the method is now used.

Fixes gh-20386
2020-03-11 09:24:27 +00:00
Madhura Bhave
06d870bdd0 Do not wrap CF JSON Keys containing special characters
This reverts commit 6828a15d31.
The commit has been reverted as it breaks backwards compatiblity.

Fixes gh-20343
2020-03-09 15:56:48 -07:00
Stephane Nicoll
0c5973f688 Upgrade to Neo4j Ogm 3.1.17
Closes gh-20322
2020-02-26 08:52:42 -05:00
Stephane Nicoll
eb33be8849 Upgrade to Rxjava2 2.2.18
Closes gh-20321
2020-02-26 08:52:40 -05:00
Stephane Nicoll
5db92e3d30 Upgrade to Jackson 2.9.10.20200223
Closes gh-20320
2020-02-26 08:52:39 -05:00
Stephane Nicoll
de3f72f25b Upgrade to Spring Data Lovelace-SR16
Closes gh-20198
2020-02-26 08:47:01 -05:00
Stephane Nicoll
eaafe50880 Upgrade to Spring Framework 5.1.14
Closes gh-20197
2020-02-25 13:50:25 -05:00
Andy Wilkinson
cb2e3bd076 Upgrade to Reactor Californium-SR16
Closes gh-20196
2020-02-25 09:15:02 +00:00
Madhura Bhave
88ee50601d Update copyright of changed files 2020-02-24 15:03:38 -08:00
Madhura Bhave
0957168626 Binding to collection of custom objects should not fail with unbound error
Fixes gh-20134
2020-02-24 14:48:10 -08:00
Stephane Nicoll
fb97f075b9 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20260
2020-02-21 14:17:36 +01:00
Stephane Nicoll
29d7714a2b Upgrade to Spring Session Bom Bean-SR9
Closes gh-20259
2020-02-21 14:17:36 +01:00
Stephane Nicoll
eecd8e1669 Upgrade to Spring Security 5.1.8.RELEASE
Closes gh-20258
2020-02-21 14:17:36 +01:00
Stephane Nicoll
3f538c2b4a Upgrade to Lombok 1.18.12
Closes gh-20257
2020-02-21 14:17:36 +01:00
Stephane Nicoll
32fdc42ce1 Upgrade to Postgresql 42.2.10
Closes gh-20256
2020-02-21 14:17:36 +01:00
Stephane Nicoll
1e5b548501 Upgrade to Infinispan 9.4.18.Final
Closes gh-20255
2020-02-21 14:17:36 +01:00
Stephane Nicoll
7b8d3c284d Upgrade to Jetty 9.4.26.v20200117
Closes gh-20254
2020-02-21 14:17:36 +01:00
Stephane Nicoll
ac41bcbb66 Upgrade to Tomcat 9.0.31
Closes gh-20253
2020-02-21 14:17:30 +01:00
Stephane Nicoll
2b033c532b Upgrade to Httpclient 4.5.11
Closes gh-20252
2020-02-21 13:32:59 +01:00
Stephane Nicoll
b3b7d80374 Upgrade to Dependency Management Plugin 1.0.9.RELEASE
Closes gh-20251
2020-02-21 13:32:58 +01:00
Stephane Nicoll
b5a20492bd Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20250
2020-02-21 13:32:56 +01:00
Stephane Nicoll
cd99b838f7 Upgrade to Hazelcast 3.11.7
Closes gh-20249
2020-02-21 13:32:55 +01:00
Stephane Nicoll
4b9070d9b5 Upgrade to Appengine Sdk 1.9.78
Closes gh-20248
2020-02-21 13:32:54 +01:00
Stephane Nicoll
f4a3d7ff3a Upgrade to Couchbase Client 2.7.12
Closes gh-20247
2020-02-21 13:32:52 +01:00
Stephane Nicoll
5750b8d826 Start building against Reactor Californium-SR16 snapshots
See gh-20196
2020-02-20 11:10:11 +01:00
Stephane Nicoll
6aeff91f50 Polish 2020-02-20 10:58:37 +01:00
Andy Wilkinson
29bc5d848e Start building against Spring Data Lovelace-SR16 snapshots
See gh-20198
2020-02-19 18:51:24 +00:00
Andy Wilkinson
5ae66d4c08 Start building against Spring Framework 5.1.14 snapshots
See gh-20197
2020-02-19 18:51:24 +00:00
Stephane Nicoll
2147976c17 Do not fallback to embedded configuration if a datasource url is set
This commit makes sure that a fallback embedded datasource is not
created if no suitable connection pool is found and an url has been
explicitly registered.

This is consistent with EmbeddedDataSourceConfiguration as it is using
EmbeddedDatabaseBuilder behind the scenes and the latter does not
honour the configured URL anyway.

Closes gh-19192
2020-02-18 16:27:31 +01:00
Andy Wilkinson
c8907d46b4 Fix up-to-date checking of build info properties
Closes gh-20135
2020-02-14 11:56:19 +00:00
Stephane Nicoll
32c1dd45a9 Revert "Merge pull request #19926 from xak2000"
Closes gh-19926
2020-02-14 10:18:02 +01:00
Madhura Bhave
97ac6c9de7 Polish 2020-02-11 19:41:54 -08:00
Madhura Bhave
ac91f14f05 Polish "Verify ssl key alias on server startup"
See gh-19202
2020-02-11 17:08:59 -08:00
cbono
e351605962 Verify ssl key alias on server startup
See gh-19202
2020-02-11 17:04:31 -08:00
Madhura Bhave
747eab020d Update copyright of changed files 2020-02-11 14:57:17 -08:00
Madhura Bhave
544dca7f1b Polish contribution
Along with surrounding map keys with dot from VCAP_SERVICES with `[ ]`,
this commit also does that for non-alphanumeric and `-` characters so that
they are not stripped off later.

See gh-18915
2020-02-11 14:50:55 -08:00
Hans Schulz
6828a15d31 Handle JSON keys containing a dot from CF environment as a single path segment
See gh-18915
2020-02-11 14:50:04 -08:00
Stephane Nicoll
b0aba9ed67 Document how to register a blocking health contributor with reactive
Closes gh-19707
2020-02-11 14:22:16 +01:00
Ruslan Stelmachenko
5f7e1ac4f2 Remove unnecessary leading slash in changelog locations
See gh-19926
2020-02-11 10:14:49 +01:00
Andy Wilkinson
b6a408ae77 Upgrade to Spring Asciidoctor Extensions 0.4.0.RELEASE
Closes gh-20041
2020-02-05 14:04:14 +00:00
Stephane Nicoll
12b644d73c Polish contribution
See gh-19901
2020-02-04 09:03:55 +01:00
Dmytro Nosan
aead3a7c44 Handle message of @ResponseStatus-annotated exception with WebFlux
See gh-19901
2020-02-04 09:03:45 +01:00
Andy Wilkinson
140f5e7baf Unwraper handler to find ContextHandler when logging context path
Previously, only the top-level handlers were examined to find the
ContextHandlers and log the context path. If those handlers had
been wrapped, this prevented the ContextHandlers from being found
and an empty string was always logged.

When finding the context path, this commit unwraps the handler held
by a HandlerWrapper until the ContextHandler is found.

Fixes gh-19969
2020-01-28 17:01:11 +00:00
dreis2211
db2bacc62a Fix Gradle plugin documentation links
See gh-19961
2020-01-28 14:41:05 +01:00
Pascal Verdage
930ec51968 Fix typo
See gh-19956
2020-01-28 11:12:21 +01:00
Stephane Nicoll
7fd8cce465 Polish "Close TomcatMetrics on shutdown for cleanup"
See gh-19880
2020-01-24 14:07:53 +01:00
Johnny Lim
51dfd528bd Close TomcatMetrics on shutdown for cleanup
See micrometer-metrics/micrometer#1424
See gh-19880
2020-01-24 14:04:13 +01:00
Stephane Nicoll
c3d0b9c43a Upgrade to Micrometer 1.1.10
Closes gh-19639
2020-01-24 13:58:33 +01:00
Stephane Nicoll
650e55c242 Polish "Encourage use of SpringBootApplication"
See gh-19855
2020-01-23 09:51:03 +01:00
protyay
3131616c5a Encourage use of SpringBootApplication
See gh-19855
2020-01-23 09:40:30 +01:00
Stephane Nicoll
34c263a828 Polish actuator dependencies and test resources
This commit removes references of cache infra following the move to
Micrometer. We no longer ships an infinispan specific binder so the
dependency has been removed as well.

Closes gh-19838
2020-01-21 14:20:28 +01:00
Andy Wilkinson
c85f19b75b Revert "Add profiles directly to the application environment for tests"
This reverts commit 487b9cbf96.

Fixes gh-19788
2020-01-20 15:01:09 +00:00
Andy Wilkinson
8f209ced6d Revert "Start building against Micrometer 1.1.10 snapshots"
The release did not happen in time for 2.1.12.

See gh-19649.
2020-01-16 09:13:09 +00:00
Andy Wilkinson
ebebe09a9d Fix file handle leak in JarFileTests
The JarFile was not being closed which linked a file handle and caused
a test failure on Windows.

The local variable has been renamed as, when declared in a
try-with-resources, Checkstyle was confused by the shadowing of the
jarFile field and required references to jarFile within the try-block
the be prefixed with this.

See gh-19595
2020-01-15 20:43:54 +00:00
Andy Wilkinson
b982bbec37 Upgrade to Spring Kafka 2.2.12.RELEASE
Closes gh-19761
2020-01-15 19:40:29 +00:00
Andy Wilkinson
5c7bd33fed Upgrade to Spring AMQP 2.1.13
Closes gh-19641
2020-01-15 19:38:48 +00:00