Phillip Webb
d1649fbb9a
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21091
2020-04-22 16:49:33 -07: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
Madhura Bhave
b9c2b7b257
Prevent early initialization in MockitoPostProcessor
...
Fixes gh-20665
2020-04-22 14:35:50 -07:00
Phillip Webb
3e3587e0fb
Polish
2020-04-22 12:57:08 -07:00
Phillip Webb
102729b5e1
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21082
2020-04-22 11:58:39 -07:00
Phillip Webb
b3d33754a5
Remove outdated FIXMEs from tests
...
Closes gh-19782
2020-04-22 11:55:35 -07:00
Phillip Webb
6bf933205c
Merge branch '2.1.x' into 2.2.x
...
Fixes gh-21073
2020-04-21 17:21:32 -07:00
Madhura Bhave
16ac968f69
Relocate section on configuring DevTools' file system watcher
...
Closes gh-20895
2020-04-21 17:09:40 -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
7d0b14fe1c
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21070
2020-04-21 11:43:09 -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
Stephane Nicoll
8cbd7f5cd0
Polish "Add support for initializing nested object when nothing bound"
...
This commit harmonizes the change made to @DefaultValue to the
annotation processor. If such annotation is added to a scalar value with
no value at all, no default value is produced.
Closes gh-18917
2020-04-21 15:59:34 +02:00
Andy Wilkinson
3065c88d6f
Fix typo in IncludeExcludeEndpointFilter's name
...
Closes gh-21061
2020-04-21 13:27:35 +01:00
Phillip Webb
7d68c7c4c4
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21052
2020-04-20 17:55:33 -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
Madhura Bhave
4e0fdbee17
Process additional locations when non-default location configured
...
Fixes gh-20745
2020-04-20 17:08:54 -07:00
Madhura Bhave
af6d538781
Add support for initializing nested object when nothing bound
...
When using constructor binding, if no properties are bound to
a nested property, the top-level instance will be created with a
null value for the nested property.
This commit introduces support for an empty `@DefaultValue` which
indicates that an instance of the nested property must be created
even if nothing is bound to it. It honors any `@DefaultValue`
annotations that the nested property might have in its constructor.
Closes gh-18917
2020-04-20 15:39:55 -07:00
Phillip Webb
df26e24605
Fix ConditionalOnAvailableEndpoint dashed matching
...
Update `ConditionalOnAvailableEndpoint` so that it now uses the same
matching code as the endpoint filter. This allows the condition to
match endpoint IDs that contain a dash.
In order to share logic, the `ExposeExcludePropertyEndpointFilter` class
has been deprecated and its logic moved to a new `expose` package
under `IncludExcludeEndpointFilter`. This filter is used by both the
`OnAvailableEndpointCondition` and the auto-configuration classes.
Fixes gh-21044
2020-04-20 13:10:59 -07:00
Andy Wilkinson
439d9beecb
Test that gridFsDatabase is honored by auto-configured GridFsTemplate
...
Closes gh-21039
2020-04-20 17:09:37 +01:00
Phillip Webb
d27e437ddc
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21027
2020-04-19 18:55:15 -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
55f0af7f0f
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21025
2020-04-19 17:48:32 -07:00
Phillip Webb
359b508077
Document devtool property file profile restrictions
...
Closes gh-19972
2020-04-19 17:46:24 -07:00
Phillip Webb
83553ee504
Fix test checkstyle issues
...
Fix checkstyle issues from forward merge.
See gh-21022
2020-04-19 16:51:59 -07:00
Phillip Webb
5757c0864c
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21022
2020-04-19 16:03:49 -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
Stephane Nicoll
90c0378a7d
Apply configuration properties deprecation consistently
...
This commit makes sure that both the getter and the setter of a
deprecated configuration properties is flagged with `@Deprecated`.
Closes gh-20812
2020-04-19 16:35:16 +02:00
Phillip Webb
1a8aa72afd
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21003
2020-04-17 15:19:45 -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
Stephane Nicoll
1dd8dcc6c9
Polish "Polish JarFile to extra anonymous inner class"
...
See gh-20882
2020-04-15 09:39:00 +02:00
Konrado85
e0d1cf0e38
Polish JarFile to extra anonymous inner class
...
See gh-20882
2020-04-15 09:33:24 +02:00
Madhura Bhave
947594addd
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20963
2020-04-14 16:54:54 -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
6e1ff50328
Start building against Spring Kafka 2.3.8 snapshots
...
See gh-20952
2020-04-14 14:29:41 +02:00
Stephane Nicoll
fafac58311
Start building against Spring Integration 5.2.6 snapshots
...
See gh-20950
2020-04-14 14:29:06 +02:00
Stephane Nicoll
fb11285279
Start building against Spring Data Moore-SR7 snapshots
...
See gh-20948
2020-04-14 14:28:21 +02:00
Stephane Nicoll
99b576707e
Start building against Spring AMQP 2.2.6 snapshots
...
See gh-20946
2020-04-14 14:27:46 +02:00
Stephane Nicoll
ea1345d074
Start building against Spring Framework 5.2.6 snapshots
...
See gh-20944
2020-04-14 14:27:11 +02:00
Stephane Nicoll
4474da8850
Start building against Reactor Dysprosium-SR7 snapshots
...
See gh-20942
2020-04-14 14:26:28 +02:00
Brian Clozel
49bbcceda9
Fix Undertow compression config with invalid Mime Types
...
Prior to this commit, the Undertow compression configuration provided by
Spring Boot would fail and throw an exception for invalid MIME Types
when trying to check them against the list of configured types for
compression.
This commit ensures that invalid MIME Types are ignored and that
compression is disabled for those.
Fixes gh-20955
2020-04-14 14:15:39 +02: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
60f726a080
Polish
2020-04-11 10:27:05 +02:00
Stephane Nicoll
3cdb5a690a
Polish "Align Kafka's missingTopicsFatal default value"
...
See gh-20917
2020-04-11 10:20:09 +02:00
dhimathu
a12eace2a8
Align Kafka's missingTopicsFatal default value
...
See gh-20917
2020-04-11 10:03:21 +02:00
A Vaz
267f6481f8
Fix typo
...
See gh-20907
2020-04-10 11:36:46 +02:00
Andy Wilkinson
7e1807c01b
Polish "Update endpoint enablement description to describe availability"
...
See gh-20799
2020-04-09 12:41:16 +01:00
Eric Opoku
399c85a5ef
Update endpoint enablement description to describe availability
...
See gh-20799
2020-04-09 12:41:05 +01:00
Stephane Nicoll
cb66e4a206
Update copyright year
...
See gh-20832
2020-04-07 15:09:27 +02:00
dreis2211
235e693906
Fix WebappLoader constructor deprecations
...
See gh-20832
2020-04-07 15:08:28 +02:00
dreis2211
2f93196fbb
Polish ConditionMessage#because()
...
See gh-20847
2020-04-07 15:04:50 +02:00
Stephane Nicoll
1960c90d5f
Deprecated PushRegistry's numThreads property
...
This property is a left-over and was never used in Micrometer so this
commit deprecates its use so that it can be removed in the next feature
release.
Closes gh-20835
2020-04-05 15:12:42 +02:00
Stephane Nicoll
4641794fb5
Fix AtlasProperties hierarchy
...
This commit fixes the AtlasProperties hierarchy so that it no longer is
a StepRegistryProperties. The AtlasConfig on the Micrometer side of
things does not share the common config hierarchy either and some
properties have different default and lifecycle.
Closes gh-20843
2020-04-05 14:57:25 +02:00
Andy Wilkinson
6d7c3da1cf
Polish "Make it clear to which type the DataSource properties are bound"
...
See gh-20727
2020-03-31 12:56:34 +01:00
Param
004ea51b05
Make it clear to which type the DataSource properties are bound
...
See gh-20727
2020-03-31 12:56:13 +01:00
dreis2211
798e21fd3e
Polish GroovyTemplateAutoConfiguration
...
See gh-20708
2020-03-31 11:58:49 +01:00
Andy Wilkinson
ce95fd6825
Polish "Use @DynamicPropertySource for Neo4J and Redis data tests"
...
See gh-20676
2020-03-31 11:31:05 +01:00
dreis2211
d84422a41c
Use @DynamicPropertySource for Neo4J and Redis data tests
...
See gh-20676
2020-03-31 11:31:05 +01:00
Stephane Nicoll
ac56db703e
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20725
2020-03-30 13:02:58 +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
05f10819c4
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20717
2020-03-29 18:39:17 +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
a9a6df2ed4
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20711
2020-03-28 16:05:36 +01: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
5d56e24da2
Document that Java 14 is a supported version
...
Closes gh-20689
2020-03-27 11:00:42 +01:00
Madhura Bhave
042a02e0da
Update copyright of changed files
2020-03-26 16:34:52 -07:00
Anastasiia Losieva
a55c3e4ab7
Use jws-algorithm property in ReactiveOAuth2ResourceServerJwkConfiguration
...
See gh-20681
2020-03-26 16:20:31 -07:00
Stephane Nicoll
a234dff573
Remove check for deprecated configuration properties
...
See gh-20528
2020-03-26 11:06:47 +01:00
Stephane Nicoll
ab01c55d8e
Deprecate use of path extensions for request mapping and content negotiation
...
Closes gh-20528
2020-03-26 10:41:08 +01:00
Andy Wilkinson
0c3be4dde5
Upgrade to Spring Integration 5.2.5.RELEASE
...
Closes gh-20672
2020-03-25 19:50:19 +00:00
Stephane Nicoll
48f235c2cf
Upgrade to Spring Kafka 2.3.7
...
Closes gh-20574
2020-03-25 18:28:56 +01:00
Stephane Nicoll
f218565e7c
Upgrade to Mimepull 1.9.13
...
Closes gh-20675
2020-03-25 18:20:48 +01:00
Stephane Nicoll
1b3efb52df
Upgrade to Spring Data Moore SR6
...
Closes gh-20573
2020-03-25 12:01:31 +01:00
Stephane Nicoll
6316d26754
Upgrade to Spring HATEOAS 1.0.4.RELEASE
...
Closes gh-20232
2020-03-25 11:49:11 +01:00
Stephane Nicoll
009361d38c
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20670
2020-03-25 11:34:51 +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
089c0471fa
Test the Gradle Plugin against Gradle 6.3
...
Closes gh-20669
2020-03-25 09:57:04 +01:00
Stephane Nicoll
44a8ff893d
Upgrade to Spring Framework 5.2.5
...
Closes gh-20571
2020-03-24 14:28:15 +01:00
Stephane Nicoll
b53687535d
Upgrade to Maven Dependency Plugin 3.1.2
...
Closes gh-20658
2020-03-24 12:04:13 +01:00
Stephane Nicoll
9e87b54f09
Upgrade to Xmlunit2 2.6.4
...
Closes gh-20657
2020-03-24 12:04:13 +01:00
Stephane Nicoll
0bb564dff9
Upgrade to Spring Session Bom Corn-SR2
...
Closes gh-20656
2020-03-24 12:04:13 +01:00
Stephane Nicoll
d87726a953
Upgrade to Postgresql 42.2.11
...
Closes gh-20655
2020-03-24 12:04:13 +01:00
Stephane Nicoll
c99ef5df76
Upgrade to Neo4j Ogm 3.2.10
...
Closes gh-20654
2020-03-24 12:04:13 +01:00
Stephane Nicoll
64ca69305f
Upgrade to Liquibase 3.8.8
...
Closes gh-20653
2020-03-24 12:04:13 +01:00
Stephane Nicoll
67d2b8baa9
Upgrade to Kotlin Coroutines 1.3.5
...
Closes gh-20652
2020-03-24 12:04:12 +01:00
Stephane Nicoll
059e1cdd13
Upgrade to Kotlin 1.3.71
...
Closes gh-20651
2020-03-24 12:04:12 +01:00
Stephane Nicoll
468ddee339
Upgrade to Freemarker 2.3.30
...
Closes gh-20650
2020-03-24 12:04:12 +01:00
Stephane Nicoll
e3bdcae09d
Upgrade to Elasticsearch 6.8.7
...
Closes gh-20649
2020-03-24 12:04:12 +01:00
Stephane Nicoll
ef9d64c1fb
Upgrade to Jetty 9.4.27.v20200227
...
Closes gh-20648
2020-03-24 12:04:12 +01:00
Stephane Nicoll
e1e8528867
Upgrade to Janino 3.1.2
...
Closes gh-20647
2020-03-24 12:04:12 +01:00
Stephane Nicoll
bd96698ca3
Upgrade to Tomcat 9.0.33
...
Closes gh-20646
2020-03-24 12:04:12 +01:00
Stephane Nicoll
47e1e273c1
Upgrade to Httpclient 4.5.12
...
Closes gh-20645
2020-03-24 12:04:12 +01:00
Stephane Nicoll
46ffb4fd88
Upgrade to Activemq 5.15.12
...
Closes gh-20644
2020-03-24 12:04:12 +01:00
Stephane Nicoll
f244e12ec2
Add dependency management for Jakarta Xml Soap 1.4.2
...
Closes gh-20659
2020-03-24 12:04:12 +01:00
Stephane Nicoll
7b215e6998
Upgrade to Jakarta Xml Ws 2.3.3
...
Closes gh-20643
2020-03-24 10:59:40 +01:00