Commit Graph

5592 Commits (6d70c3867e0068b7cef52875c837b0cf94142d32)

Author SHA1 Message Date
Stephane Nicoll 6c8f0a0082 Upgrade to Hibernate 5.3.17.Final
Closes gh-21330
5 years ago
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
5 years ago
Stephane Nicoll 5292b3a693 Upgrade to Spring Integration 5.1.10
Closes gh-20941
5 years ago
Stephane Nicoll 3e6b62b043 Upgrade to Spring Kafka 2.2.13
Closes gh-20988
5 years ago
Stephane Nicoll 524d316500 Upgrade to Spring AMQP 2.1.14
Closes gh-20939
5 years ago
Stephane Nicoll 9e88af9703 Upgrade to Spring Data Lovelace-SR17
Closes gh-20940
5 years ago
Stephane Nicoll 5dc82eda53 Upgrade to Spring Framework 5.1.15
Closes gh-20938
5 years ago
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
5 years ago
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
5 years ago
Stephane Nicoll 16005c608f Upgrade to Reactor Bom Californium-SR18
Clsoes gh-20937
5 years ago
Stephane Nicoll 3ea0b4198b Upgrade to Maven Dependency Plugin 3.1.2
Closes gh-21167
5 years ago
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 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
Stephane Nicoll 291165f060 Order additional metadata according to lexicographic order
Closes gh-21095
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
Phillip Webb 3e3587e0fb Polish 5 years ago
Phillip Webb b3d33754a5 Remove outdated FIXMEs from tests
Closes gh-19782
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 6011470ba6 Auto-configure cors on WelcomePageHandlerMapping
Update `WebMvcAutoConfiguration` to automatically apply cors
configuration to the `WelcomePageHandlerMapping`.

Fixes gh-21048
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
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 359b508077 Document devtool property file profile restrictions
Closes gh-19972
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
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
Madhura Bhave c98fe51914 Make it more obvious that Jolokia does not work with a WebFlux app
Closes gh-20623
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 88b7b78344 Make sure that cassandra health check reports version
Closes gh-20719
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 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 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 9a5ffb7e0c Upgrade to Reactor Californium SR17
Closes gh-20624
5 years ago
Stephane Nicoll bcce6f9f07 Document that Jackson is a required dependency of the Actuator
Closes gh-19564
5 years ago
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
5 years ago
Jordan Simpson 0d9d0f8532 Link to correct factory in TomcatReactiveWebServerFactory's javadoc
See gh-20583
5 years ago
Andy Wilkinson b51c7386aa Fix detection of application home for paths containing spaces
Fixes gh-20531
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
Stephane Nicoll 0c5973f688 Upgrade to Neo4j Ogm 3.1.17
Closes gh-20322
5 years ago
Stephane Nicoll eb33be8849 Upgrade to Rxjava2 2.2.18
Closes gh-20321
5 years ago
Stephane Nicoll 5db92e3d30 Upgrade to Jackson 2.9.10.20200223
Closes gh-20320
5 years ago
Stephane Nicoll de3f72f25b Upgrade to Spring Data Lovelace-SR16
Closes gh-20198
5 years ago
Stephane Nicoll eaafe50880 Upgrade to Spring Framework 5.1.14
Closes gh-20197
5 years ago
Andy Wilkinson cb2e3bd076 Upgrade to Reactor Californium-SR16
Closes gh-20196
5 years ago
Madhura Bhave 88ee50601d Update copyright of changed files 5 years ago
Madhura Bhave 0957168626 Binding to collection of custom objects should not fail with unbound error
Fixes gh-20134
5 years ago
Stephane Nicoll fb97f075b9 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20260
5 years ago
Stephane Nicoll 29d7714a2b Upgrade to Spring Session Bom Bean-SR9
Closes gh-20259
5 years ago
Stephane Nicoll eecd8e1669 Upgrade to Spring Security 5.1.8.RELEASE
Closes gh-20258
5 years ago
Stephane Nicoll 3f538c2b4a Upgrade to Lombok 1.18.12
Closes gh-20257
5 years ago
Stephane Nicoll 32fdc42ce1 Upgrade to Postgresql 42.2.10
Closes gh-20256
5 years ago
Stephane Nicoll 1e5b548501 Upgrade to Infinispan 9.4.18.Final
Closes gh-20255
5 years ago
Stephane Nicoll 7b8d3c284d Upgrade to Jetty 9.4.26.v20200117
Closes gh-20254
5 years ago
Stephane Nicoll ac41bcbb66 Upgrade to Tomcat 9.0.31
Closes gh-20253
5 years ago
Stephane Nicoll 2b033c532b Upgrade to Httpclient 4.5.11
Closes gh-20252
5 years ago
Stephane Nicoll b3b7d80374 Upgrade to Dependency Management Plugin 1.0.9.RELEASE
Closes gh-20251
5 years ago
Stephane Nicoll b5a20492bd Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20250
5 years ago
Stephane Nicoll cd99b838f7 Upgrade to Hazelcast 3.11.7
Closes gh-20249
5 years ago
Stephane Nicoll 4b9070d9b5 Upgrade to Appengine Sdk 1.9.78
Closes gh-20248
5 years ago
Stephane Nicoll f4a3d7ff3a Upgrade to Couchbase Client 2.7.12
Closes gh-20247
5 years ago
Stephane Nicoll 5750b8d826 Start building against Reactor Californium-SR16 snapshots
See gh-20196
5 years ago
Stephane Nicoll 6aeff91f50 Polish 5 years ago
Andy Wilkinson 29bc5d848e Start building against Spring Data Lovelace-SR16 snapshots
See gh-20198
5 years ago
Andy Wilkinson 5ae66d4c08 Start building against Spring Framework 5.1.14 snapshots
See gh-20197
5 years ago
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
5 years ago
Andy Wilkinson c8907d46b4 Fix up-to-date checking of build info properties
Closes gh-20135
5 years ago
Stephane Nicoll 32c1dd45a9 Revert "Merge pull request #19926 from xak2000"
Closes gh-19926
5 years ago
Madhura Bhave 97ac6c9de7 Polish 5 years ago
Madhura Bhave ac91f14f05 Polish "Verify ssl key alias on server startup"
See gh-19202
5 years ago
cbono e351605962 Verify ssl key alias on server startup
See gh-19202
5 years ago
Madhura Bhave 747eab020d Update copyright of changed files 5 years ago
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
5 years ago
Hans Schulz 6828a15d31 Handle JSON keys containing a dot from CF environment as a single path segment
See gh-18915
5 years ago
Stephane Nicoll b0aba9ed67 Document how to register a blocking health contributor with reactive
Closes gh-19707
5 years ago
Ruslan Stelmachenko 5f7e1ac4f2 Remove unnecessary leading slash in changelog locations
See gh-19926
5 years ago
Andy Wilkinson b6a408ae77 Upgrade to Spring Asciidoctor Extensions 0.4.0.RELEASE
Closes gh-20041
5 years ago
Stephane Nicoll 12b644d73c Polish contribution
See gh-19901
5 years ago
Dmytro Nosan aead3a7c44 Handle message of @ResponseStatus-annotated exception with WebFlux
See gh-19901
5 years ago
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
5 years ago
dreis2211 db2bacc62a Fix Gradle plugin documentation links
See gh-19961
5 years ago
Pascal Verdage 930ec51968 Fix typo
See gh-19956
5 years ago
Stephane Nicoll 7fd8cce465 Polish "Close TomcatMetrics on shutdown for cleanup"
See gh-19880
5 years ago
Johnny Lim 51dfd528bd Close TomcatMetrics on shutdown for cleanup
See micrometer-metrics/micrometer#1424
See gh-19880
5 years ago
Stephane Nicoll c3d0b9c43a Upgrade to Micrometer 1.1.10
Closes gh-19639
5 years ago
Stephane Nicoll 650e55c242 Polish "Encourage use of SpringBootApplication"
See gh-19855
5 years ago
protyay 3131616c5a Encourage use of SpringBootApplication
See gh-19855
5 years ago
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
5 years ago
Andy Wilkinson c85f19b75b Revert "Add profiles directly to the application environment for tests"
This reverts commit 487b9cbf96.

Fixes gh-19788
5 years ago
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.
5 years ago
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
5 years ago
Andy Wilkinson b982bbec37 Upgrade to Spring Kafka 2.2.12.RELEASE
Closes gh-19761
5 years ago
Andy Wilkinson 5c7bd33fed Upgrade to Spring AMQP 2.1.13
Closes gh-19641
5 years ago
Andy Wilkinson 589c58a21e Upgrade to Spring Retry 1.2.5.RELEASE
Closes gh-19734
5 years ago
Andy Wilkinson be11ddd4f9 Upgrade to Slf4j 1.7.30
Closes gh-19733
5 years ago
Andy Wilkinson 9989e14b0d Upgrade to Postgresql 42.2.9
Closes gh-19732
5 years ago
Andy Wilkinson 22c127878f Upgrade to Neo4j Ogm 3.1.16
Closes gh-19731
5 years ago
Andy Wilkinson b63f63ff9d Upgrade to Infinispan 9.4.17.Final
Closes gh-19730
5 years ago
Andy Wilkinson c52f2828a8 Upgrade to Hibernate 5.3.15.Final
Closes gh-19729
5 years ago
Andy Wilkinson 501f98c25c Upgrade to Jetty 9.4.25.v20191220
Closes gh-19728
5 years ago
Andy Wilkinson f2e93774e4 Upgrade to Groovy 2.5.9
Closes gh-19727
5 years ago
Andy Wilkinson 8ec2c77b83 Upgrade to Httpcore 4.4.13
Closes gh-19726
5 years ago
Andy Wilkinson 9f979cb03f Upgrade to Mysql 8.0.19
Closes gh-19725
5 years ago
Andy Wilkinson 3f45874245 Upgrade to Undertow 2.0.29.Final
Closes gh-19724
5 years ago
Andy Wilkinson 159be1a78d Upgrade to Rxjava2 2.2.17
Closes gh-19723
5 years ago
Andy Wilkinson f73c4a837c Upgrade to Netty 4.1.45.Final
Closes gh-19722
5 years ago
Andy Wilkinson 64df377600 Upgrade to Unboundid Ldapsdk 4.0.14
Closes gh-19721
5 years ago
Andy Wilkinson 1e6cc4c308 Upgrade to Hazelcast 3.11.6
Closes gh-19720
5 years ago
Andy Wilkinson 727b4d164e Upgrade to Jackson 2.9.10.20200103
Closes gh-19719
5 years ago
Andy Wilkinson 5bcd185ce1 Upgrade to Spring Data Lovelace-SR15
Closes gh-19642
5 years ago
Madhura Bhave f375277026 Merge pull request #19595 from nosan
* pr/19595:
  Polish "Limit ChronoField values to their range"
  Limit ChronoField values to their range

Closes gh-19595
5 years ago
Madhura Bhave 91e459a5d4 Polish "Limit ChronoField values to their range"
See gh-19595
5 years ago
Dmytro Nosan 9bc68b9877 Limit ChronoField values to their range
See gh-19595
5 years ago
Stephane Nicoll 717439d3a0 Upgrade to Spring Framework 5.1.13
Closes gh-19530
5 years ago
Phillip Webb 9bd49562fe Update copyright year of changed files 5 years ago
Stephane Nicoll 8b8a4ee65e Polish "Make equality checks defensive to null reference"
See gh-19540
5 years ago
liuhuan 6d8b849361 Make equality checks defensive to null reference
See gh-19540
5 years ago