Commit Graph

8064 Commits (b6474f2ca1aefdae7bc55aaa64bb3ebaaf127a96)

Author SHA1 Message Date
Stephane Nicoll a7e3257e7f Upgrade to Xmlunit2 2.6.4
Closes gh-21166
5 years ago
Stephane Nicoll cac0407762 Upgrade to Spring Ws 3.0.9.RELEASE
Closes gh-21165
5 years ago
Stephane Nicoll 4e93115b05 Upgrade to Spring Session Bom Bean-SR10
Closes gh-21164
5 years ago
Stephane Nicoll 0697b3acb4 Upgrade to Spring Security 5.1.9.RELEASE
Closes gh-21163
5 years ago
Stephane Nicoll f24351d12a Upgrade to Spring Batch 4.1.4.RELEASE
Closes gh-21162
5 years ago
Stephane Nicoll c3c5b444e7 Upgrade to Postgresql 42.2.12
Closes gh-21161
5 years ago
Stephane Nicoll 25fb48d0e3 Upgrade to Neo4j Ogm 3.1.19
Closes gh-21160
5 years ago
Stephane Nicoll 067a07386a Upgrade to Mimepull 1.9.13
Closes gh-21159
5 years ago
Stephane Nicoll e6b17bc5b8 Upgrade to Infinispan 9.4.19.Final
Closes gh-21158
5 years ago
Stephane Nicoll 9bb16e44b0 Upgrade to Hibernate Validator 6.0.19.Final
Closes gh-21157
5 years ago
Stephane Nicoll 191a4e5a51 Upgrade to Hibernate 5.3.16.Final
Closes gh-21156
5 years ago
Stephane Nicoll 19826847d4 Upgrade to Freemarker 2.3.30
Closes gh-21155
5 years ago
Stephane Nicoll 46fe25480c Upgrade to Jetty 9.4.28.v20200408
Closes gh-21154
5 years ago
Stephane Nicoll ce4001c54b Upgrade to Janino 3.0.16
Closes gh-21153
5 years ago
Stephane Nicoll a9a3845168 Upgrade to Groovy 2.5.11
Closes gh-21152
5 years ago
Stephane Nicoll a01b0b7145 Upgrade to Tomcat 9.0.34
Closes gh-21151
5 years ago
Stephane Nicoll 4a51a8be2a Upgrade to Solr 7.7.3
Closes gh-21150
5 years ago
Stephane Nicoll a336f29ce2 Upgrade to Httpclient 4.5.12
Closes gh-21149
5 years ago
Stephane Nicoll 72e3d71067 Upgrade to Activemq 5.15.12
Closes gh-21148
5 years ago
Stephane Nicoll c0398e190a Upgrade to Mysql 8.0.20
Closes gh-21147
5 years ago
Stephane Nicoll d63d2075fa Upgrade to Joda Time 2.10.6
Closes gh-21146
5 years ago
Stephane Nicoll 671f3c2075 Upgrade to Undertow 2.0.30.Final
Closes gh-21145
5 years ago
Stephane Nicoll d1821b3895 Upgrade to Rxjava2 2.2.19
Closes gh-21144
5 years ago
Stephane Nicoll b29d2eedc8 Upgrade to Netty Tcnative 2.0.30.Final
Closes gh-21143
5 years ago
Stephane Nicoll 8a02bac617 Upgrade to Netty 4.1.49.Final
Closes gh-21142
5 years ago
Stephane Nicoll effa0cb024 Upgrade to Micrometer 1.1.13
Closes gh-21141
5 years ago
Stephane Nicoll 4ea31a2d2e Upgrade to Appengine Sdk 1.9.80
Closes gh-21140
5 years ago
Stephane Nicoll 4c3880427a Upgrade to Jackson 2.9.10.20200411
Closes gh-21139
5 years ago
Stephane Nicoll 0c4efffaa7 Upgrade to Couchbase Client 2.7.14
Closes gh-21138
5 years ago
Phillip Webb 7d53f7d27f Attempt to prevent JarFiles from being left open
Update `JarFile` to also call `super.close()` early for nested jars.

See gh-21126
5 years ago
Phillip Webb 7c6e912463 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.

See gh-21126
5 years ago
Stephane Nicoll 80410997ec Polish "Enhance Database initialization how to guide"
See gh-21077
5 years ago
nikmanzotti f2b10be01e Enhance Database initialization how to guide
See gh-21077
5 years ago
dreis2211 e3a9bacf3b Fix typo
See gh-21002
5 years ago
Andy Wilkinson 29dc236bb2 Broaden deprecation warning check in Gradle Plugin's tests
Closes gh-21111
5 years ago
Phillip Webb 581ce09f88 Merge branch '2.1.x' into 2.2.x
Closes gh-21106
5 years ago
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
5 years ago
Phillip Webb db28c0c65c Backport "Attempt to fix CI" 5 years ago
Phillip Webb 93f7e2b6ba Limit when PortInUseException is thrown
Refactor `PortInUseException` logic to a single place and refine when
the exception is thrown.

Prior to this commit, we assumed that a `BindException` was only thrown
when the port was in use. In fact, it's possible that the exception
could be thrown because the requested address "could not be assigned".

We now only throw a `PortInUserException` if the `BindException` message
includes the phrase "in use".

Fixes gh-21101
5 years ago
Phillip Webb 9bb53a4c37 Polish 5 years ago
Madhura Bhave 4dc9bbe127 @SpringBootTest classes with different args shouldn't share a context
Fixes gh-20866
5 years ago
Stephane Nicoll 8ac3ab5551 Add missing metadata for removed configuration keys
Closes gh-20846
5 years ago
Stephane Nicoll 311952730e Merge branch '2.1.x' into 2.2.x
Closes gh-21097
5 years ago
Stephane Nicoll 291165f060 Order additional metadata according to lexicographic order
Closes gh-21095
5 years ago
Phillip Webb d1649fbb9a Merge branch '2.1.x' into 2.2.x
Closes gh-21091
5 years ago
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
5 years ago
Madhura Bhave b9c2b7b257 Prevent early initialization in MockitoPostProcessor
Fixes gh-20665
5 years ago
Phillip Webb 3e3587e0fb Polish 5 years ago
Phillip Webb 102729b5e1 Merge branch '2.1.x' into 2.2.x
Closes gh-21082
5 years ago
Phillip Webb b3d33754a5 Remove outdated FIXMEs from tests
Closes gh-19782
5 years ago
Phillip Webb 6bf933205c Merge branch '2.1.x' into 2.2.x
Fixes gh-21073
5 years ago
Madhura Bhave 16ac968f69 Relocate section on configuring DevTools' file system watcher
Closes gh-20895
5 years ago
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
5 years ago
Phillip Webb 7d0b14fe1c Merge branch '2.1.x' into 2.2.x
Closes gh-21070
5 years ago
Phillip Webb 6011470ba6 Auto-configure cors on WelcomePageHandlerMapping
Update `WebMvcAutoConfiguration` to automatically apply cors
configuration to the `WelcomePageHandlerMapping`.

Fixes gh-21048
5 years ago
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
5 years ago
Andy Wilkinson 3065c88d6f Fix typo in IncludeExcludeEndpointFilter's name
Closes gh-21061
5 years ago
Phillip Webb 7d68c7c4c4 Merge branch '2.1.x' into 2.2.x
Closes gh-21052
5 years ago
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
5 years ago
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
5 years ago
Madhura Bhave 4e0fdbee17 Process additional locations when non-default location configured
Fixes gh-20745
5 years ago
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
5 years ago
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
5 years ago
Andy Wilkinson 439d9beecb Test that gridFsDatabase is honored by auto-configured GridFsTemplate
Closes gh-21039
5 years ago
Phillip Webb d27e437ddc Merge branch '2.1.x' into 2.2.x
Closes gh-21027
5 years ago
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
5 years ago
Phillip Webb 55f0af7f0f Merge branch '2.1.x' into 2.2.x
Closes gh-21025
5 years ago
Phillip Webb 359b508077 Document devtool property file profile restrictions
Closes gh-19972
5 years ago
Phillip Webb 83553ee504 Fix test checkstyle issues
Fix checkstyle issues from forward merge.

See gh-21022
5 years ago
Phillip Webb 5757c0864c Merge branch '2.1.x' into 2.2.x
Closes gh-21022
5 years ago
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
5 years ago
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
5 years ago
Phillip Webb 1a8aa72afd Merge branch '2.1.x' into 2.2.x
Closes gh-21003
5 years ago
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
5 years ago
Stephane Nicoll 1dd8dcc6c9 Polish "Polish JarFile to extra anonymous inner class"
See gh-20882
5 years ago
Konrado85 e0d1cf0e38 Polish JarFile to extra anonymous inner class
See gh-20882
5 years ago
Madhura Bhave 947594addd Merge branch '2.1.x' into 2.2.x
Closes gh-20963
5 years ago
Madhura Bhave c98fe51914 Make it more obvious that Jolokia does not work with a WebFlux app
Closes gh-20623
5 years ago
Stephane Nicoll 6e1ff50328 Start building against Spring Kafka 2.3.8 snapshots
See gh-20952
5 years ago
Stephane Nicoll fafac58311 Start building against Spring Integration 5.2.6 snapshots
See gh-20950
5 years ago
Stephane Nicoll fb11285279 Start building against Spring Data Moore-SR7 snapshots
See gh-20948
5 years ago
Stephane Nicoll 99b576707e Start building against Spring AMQP 2.2.6 snapshots
See gh-20946
5 years ago
Stephane Nicoll ea1345d074 Start building against Spring Framework 5.2.6 snapshots
See gh-20944
5 years ago
Stephane Nicoll 4474da8850 Start building against Reactor Dysprosium-SR7 snapshots
See gh-20942
5 years ago
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
5 years ago
Stephane Nicoll a3095d5956 Start building against Spring Integration 5.1.10 snapshots
See gh-20941
5 years ago
Stephane Nicoll 35c66d9088 Start building against Spring Data Lovelace-SR17 snapshots
See gh-20940
5 years ago
Stephane Nicoll 16334304d6 Start building against Spring AMQP 2.1.14 snapshots
See gh-20939
5 years ago
Stephane Nicoll 6a4fbe18c2 Start building against Spring Framework 5.1.15 snapshots
See gh-20938
5 years ago
Stephane Nicoll fca3601477 Start building against Reactor Californium-SR18 snapshots
See gh-20937
5 years ago
Stephane Nicoll 60f726a080 Polish 5 years ago
Stephane Nicoll 3cdb5a690a Polish "Align Kafka's missingTopicsFatal default value"
See gh-20917
5 years ago
dhimathu a12eace2a8 Align Kafka's missingTopicsFatal default value
See gh-20917
5 years ago
A Vaz 267f6481f8 Fix typo
See gh-20907
5 years ago
Andy Wilkinson 7e1807c01b Polish "Update endpoint enablement description to describe availability"
See gh-20799
5 years ago
Eric Opoku 399c85a5ef Update endpoint enablement description to describe availability
See gh-20799
5 years ago
Stephane Nicoll cb66e4a206 Update copyright year
See gh-20832
5 years ago
dreis2211 235e693906 Fix WebappLoader constructor deprecations
See gh-20832
5 years ago
dreis2211 2f93196fbb Polish ConditionMessage#because()
See gh-20847
5 years ago
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
5 years ago
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
5 years ago
Andy Wilkinson 6d7c3da1cf Polish "Make it clear to which type the DataSource properties are bound"
See gh-20727
5 years ago
Param 004ea51b05 Make it clear to which type the DataSource properties are bound
See gh-20727
5 years ago
dreis2211 798e21fd3e Polish GroovyTemplateAutoConfiguration
See gh-20708
5 years ago
Andy Wilkinson ce95fd6825 Polish "Use @DynamicPropertySource for Neo4J and Redis data tests"
See gh-20676
5 years ago
dreis2211 d84422a41c Use @DynamicPropertySource for Neo4J and Redis data tests
See gh-20676
5 years ago
Stephane Nicoll ac56db703e Merge branch '2.1.x' into 2.2.x
Closes gh-20725
5 years ago
Stephane Nicoll 88b7b78344 Make sure that cassandra health check reports version
Closes gh-20719
5 years ago
Stephane Nicoll 05f10819c4 Merge branch '2.1.x' into 2.2.x
Closes gh-20717
5 years ago
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
5 years ago
Stephane Nicoll a9a6df2ed4 Merge branch '2.1.x' into 2.2.x
Closes gh-20711
5 years ago
Stephane Nicoll 63be1678de Polish "Use LOCAL_ONE when querying system.local"
See gh-20709
5 years ago
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
5 years ago
Stephane Nicoll 5d56e24da2 Document that Java 14 is a supported version
Closes gh-20689
5 years ago
Madhura Bhave 042a02e0da Update copyright of changed files 5 years ago
Anastasiia Losieva a55c3e4ab7 Use jws-algorithm property in ReactiveOAuth2ResourceServerJwkConfiguration
See gh-20681
5 years ago
Stephane Nicoll a234dff573 Remove check for deprecated configuration properties
See gh-20528
5 years ago
Stephane Nicoll ab01c55d8e Deprecate use of path extensions for request mapping and content negotiation
Closes gh-20528
5 years ago
Andy Wilkinson 0c3be4dde5 Upgrade to Spring Integration 5.2.5.RELEASE
Closes gh-20672
5 years ago
Stephane Nicoll 48f235c2cf Upgrade to Spring Kafka 2.3.7
Closes gh-20574
5 years ago
Stephane Nicoll f218565e7c Upgrade to Mimepull 1.9.13
Closes gh-20675
5 years ago
Stephane Nicoll 1b3efb52df Upgrade to Spring Data Moore SR6
Closes gh-20573
5 years ago
Stephane Nicoll 6316d26754 Upgrade to Spring HATEOAS 1.0.4.RELEASE
Closes gh-20232
5 years ago
Stephane Nicoll 009361d38c Merge branch '2.1.x' into 2.2.x
Closes gh-20670
5 years ago
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
5 years ago
Stephane Nicoll 089c0471fa Test the Gradle Plugin against Gradle 6.3
Closes gh-20669
5 years ago
Stephane Nicoll 44a8ff893d Upgrade to Spring Framework 5.2.5
Closes gh-20571
5 years ago
Stephane Nicoll b53687535d Upgrade to Maven Dependency Plugin 3.1.2
Closes gh-20658
5 years ago
Stephane Nicoll 9e87b54f09 Upgrade to Xmlunit2 2.6.4
Closes gh-20657
5 years ago
Stephane Nicoll 0bb564dff9 Upgrade to Spring Session Bom Corn-SR2
Closes gh-20656
5 years ago
Stephane Nicoll d87726a953 Upgrade to Postgresql 42.2.11
Closes gh-20655
5 years ago
Stephane Nicoll c99ef5df76 Upgrade to Neo4j Ogm 3.2.10
Closes gh-20654
5 years ago
Stephane Nicoll 64ca69305f Upgrade to Liquibase 3.8.8
Closes gh-20653
5 years ago
Stephane Nicoll 67d2b8baa9 Upgrade to Kotlin Coroutines 1.3.5
Closes gh-20652
5 years ago
Stephane Nicoll 059e1cdd13 Upgrade to Kotlin 1.3.71
Closes gh-20651
5 years ago
Stephane Nicoll 468ddee339 Upgrade to Freemarker 2.3.30
Closes gh-20650
5 years ago
Stephane Nicoll e3bdcae09d Upgrade to Elasticsearch 6.8.7
Closes gh-20649
5 years ago
Stephane Nicoll ef9d64c1fb Upgrade to Jetty 9.4.27.v20200227
Closes gh-20648
5 years ago
Stephane Nicoll e1e8528867 Upgrade to Janino 3.1.2
Closes gh-20647
5 years ago
Stephane Nicoll bd96698ca3 Upgrade to Tomcat 9.0.33
Closes gh-20646
5 years ago
Stephane Nicoll 47e1e273c1 Upgrade to Httpclient 4.5.12
Closes gh-20645
5 years ago
Stephane Nicoll 46ffb4fd88 Upgrade to Activemq 5.15.12
Closes gh-20644
5 years ago
Stephane Nicoll f244e12ec2 Add dependency management for Jakarta Xml Soap 1.4.2
Closes gh-20659
5 years ago
Stephane Nicoll 7b215e6998 Upgrade to Jakarta Xml Ws 2.3.3
Closes gh-20643
5 years ago
Stephane Nicoll ecb1bdcc45 Upgrade to Jakarta Xml Bind 2.3.3
Closes gh-20642
5 years ago
Stephane Nicoll 5294c46380 Upgrade to Undertow 2.0.30.Final
Closes gh-20641
5 years ago
Stephane Nicoll 0766c2c591 Upgrade to Rxjava2 2.2.19
Closes gh-20640
5 years ago
Stephane Nicoll 3fe6f409b7 Upgrade to Netty Tcnative 2.0.30.Final
Closes gh-20639
5 years ago
Stephane Nicoll 5d1e303c0b Upgrade to Netty 4.1.48.Final
Closes gh-20638
5 years ago
Stephane Nicoll cde39f4676 Upgrade to Micrometer 1.3.6
Closes gh-20637
5 years ago