Commit Graph

2086 Commits (438f0b008a4594d5b8b1d12925af6cac14ad5be9)

Author SHA1 Message Date
hengyunabc b75e58b70f Add enforce-rule to ensure maven version >= 3.5.0
Closes gh-13271
7 years ago
Phillip Webb dba73d76b8 Merge branch '1.5.x' into 2.0.x 7 years ago
Arnaud Heritier b60eadb10b Add missing semicolon in example
Closes gh-13266
7 years ago
Phillip Webb 6f0ccc64a5 Fix checkstyle violations 7 years ago
Phillip Webb 9fd3b9103a Format code 7 years ago
Phillip Webb e544922dd7 Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 9c5f207e22 Fix merge error 7 years ago
Phillip Webb 21d80d87a3 Merge branch '1.5.x' into 2.0.x 7 years ago
Andrea Vacondio aed118c410 Fix documentation error
Closes gh-13260
7 years ago
Madhura Bhave 552878c431 Fix javadoc 7 years ago
Stephane Nicoll a5b53b263e Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 585135a280 Polish 7 years ago
Stephane Nicoll d5abd57a91 Remove deprecated use of spring.main.web-environment
Closes gh-13231
7 years ago
Stephane Nicoll a124379dd9 Remove use of deprecated `web` methods
Closes gh-13231
7 years ago
Phillip Webb 2dc4f1df00 Polish 7 years ago
Phillip Webb 6d8b4710d7 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 300f6bf4d7 Polish contribution
Closes gh-13208
7 years ago
Mihhail Lapushkin d31dbac69e Support custom UriTemplateHandler in LocalHostUriTemplateHandler
See gh-13208
7 years ago
Stephane Nicoll 48cf025093 Polish 7 years ago
Stephane Nicoll 6893be5479 Make sure that RabbitMQ metrics are configured early
The ConnectionFactory can be used early in user configuration to
configure an `Exchange`. Such connection may not hold the proper
MetricCollector and can be cached, leading to missed metrics
information.

This commit moves the configuration of RabbitMQ metrics to a
BeanPostProcessor so that the proper MetricCollector is configured
before any connection is created.

Closes gh-12855
7 years ago
Stephane Nicoll 125b5974c0 Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim 75639aa682 Polish
Closes gh-13192
7 years ago
Stephane Nicoll 1d2edc1d37 Fix wrong reference to WebApplicationType
Closes gh-13195
7 years ago
Stephane Nicoll 7b7e802129 Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim 652bbf4ab2 Polish DefaultErrorWebExceptionHandler.renderErrorView()
Closes gh-13174
7 years ago
Johnny Lim b9aa934d78 Remove @Deprecated on CouchbaseProperties.Endpoints.setKeyValue()
Closes gh-13171
7 years ago
Andy Wilkinson be0b8eb871 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 8b028e30d3 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 73e525a280 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson cddc2b4483 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll a3a6a2b291 Polish "Add CLI manifest for Scoop"
Closes gh-12541
7 years ago
Andrey Saksonov daccdbb18d Add CLI manifest for Scoop
See gh-12541
7 years ago
Stephane Nicoll 2be1c8f527 Polish "Set classloader for JMX endpoints to application classloader"
Closes gh-12209
7 years ago
David Herberth e44c81672f Set classloader for JMX endpoints to application classloader
See gh-12209
7 years ago
Sebastien Deleuze d747d43b23 Update Kotlin refdoc with the new tutorial
Closes gh-13161
7 years ago
Andy Wilkinson 285203d272 Provide dependency management for Hibernate's JPA API module
Closes gh-13154
7 years ago
Stephane Nicoll caa271dcc1 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 8f53c2e2bb Support for custom comment prefix
Some Quartz initialization scripts have comments in a different format.

This commit introduces a `comment-prefix` property that should be set by
the user if their target database has a script that contains those
unusual comments.

Closes gh-13041
7 years ago
Johnny Lim 3dd2f5bb05 Polish
See gh-13148
7 years ago
Johnny Lim aa60d60b8a Polish JpaProperties.determineDdlAuto()
Closes gh-13036
7 years ago
Andy Wilkinson 3992dacdc8 Bind empty string to empty collection or array of rich types
Previously, when an empty String was bound to a collection or
array of rich types it would fail as there was no converter capable
of creating a Collection<RichType> or RichType[] from the String.

This commit updates IndexedElementsBinder to apply special treatment
to empty String values. Now, when such a value is being processed,
an empty Collection or array is the result.

Closes gh-12965
7 years ago
Andy Wilkinson 45f4e8795e Merge branch '1.5.x' into 2.0.x 7 years ago
Vedran Pavic a08fa27c39 Add .gitignore for Gradle Plugin module
Closes gh-13137
7 years ago
dreis2211 e6a23fa3ff Remove unnecessary semicolons
Closes gh-13144
7 years ago
Andy Wilkinson 972d952716 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 7913d9b599 Add methods to BootJar for adding content to BOOT-INF
Closes gh-13000
7 years ago
Andy Wilkinson d9d7499ae6 Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim 75e591e76e Polish
Closes gh-13130
7 years ago
Stephane Nicoll 4683940423 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 4bec3b7cd9 Polish
See gh-13123
7 years ago
Madhura Bhave 05cf8229d9 Fix tests 7 years ago
Madhura Bhave c937bb68a0 ServletEndpoints should take servletPath into account
Fixes gh-13106
7 years ago
Andy Wilkinson fbf974478a Merge branch '1.5.x' into 2.0.x 7 years ago
Madhura Bhave 4ec87956f9 Fix EndpointRequest include/exclude for ServletEndpoints
Fixes gh-13089
7 years ago
Andy Wilkinson e14a2e33ab Deprecate queue size property for StatsD metrics export
Closes gh-13108
7 years ago
Andy Wilkinson c826310fd1 Polish 7 years ago
Jon Schneider c6860cb431 Upgrade to Micrometer 1.0.4
Closes gh-13108
7 years ago
Andy Wilkinson 33861b3608 Upgrade to Spring Integration 5.0.5.RELEASE
Closes gh-13016
7 years ago
Andy Wilkinson e407ed5f92 Upgrade to Spring Session Apple-SR2
Closes gh-13103
7 years ago
Andy Wilkinson 8ce4110966 Allow Jersey-based Actuator to be used with separate management port
Previously, when the Jersey-based Actuator was configure with a
separate management port, the resulting child context would fail to
start due to their being no ResourceConfigCustomizer beans available.

This commit updates the configuration so that the customizer's are
injected using an ObjectProvider and an empty list is used in the
event of their being no customizer beans. This aligns the child
context configuration class with JerseyAutoConfiguration which
already used this approach.

Closes gh-12975
7 years ago
Andy Wilkinson e45384bdfa Upgrade to Spring Kafka 2.1.6.RELEASE
Closes gh-13018
7 years ago
Andy Wilkinson 7a53623e1c Polish "Clarify deployment of Spring Boot apps to App Engine Standard"
See gh-13090
7 years ago
ifigotin 676b013998 Clarify deployment of Spring Boot apps to App Engine Standard
Closes gh-13090
7 years ago
Andy Wilkinson 5168766ebb Upgrade to Spring Security 5.0.5.RELEASE
Closes gh-13029
7 years ago
Andy Wilkinson bca2756b46 Upgrade to Jaybird 3.0.4
Closes gh-13100
7 years ago
Andy Wilkinson 47c45539d9 Upgrade to Lettuce 5.0.4.RELEASE
Closes gh-13099
7 years ago
Stephane Nicoll f9134c9325 Upgrade to Spring Data Kay SR7
Closes gh-13017
7 years ago
Stephane Nicoll 6577513464 Upgrade to Spring Framework 5.0.6.RELEASE
Closes gh-13021
7 years ago
Andy Wilkinson 874650cb33 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 9dccf5b895 Polish
See gh-13078
7 years ago
dreis2211 15d67d6b12 Remove MockServletWebServer.emptyEnumeration()
Closes gh-13084
7 years ago
dreis2211 e3862d9bdf Fix deprecation warning in OriginTrackedYamlLoader
Closes gh-13085
7 years ago
Brian Clozel 925269eacc Upgrade to Reactor Bismuth SR9
Closes gh-12848
7 years ago
Stephane Nicoll c22e9a5514 Make sure that JpaProperties does not have Hibernate imports
This commit removes Hibernate imports from JpaProperties so that it can
be used with another JPA provider.

This commit is a breaking change for an internal, yet public class used
to transmit customizations provided by the user. It does not change the
external functionality though: naming strategies defined as bean are
still taken into account and a customizer has a chance to override it
regardless.

Closes gh-13043
7 years ago
Phillip Webb 6556bb2e89 Fix checkstyle violations 7 years ago
Phillip Webb 975e986fef Polish 7 years ago
Phillip Webb f9750248ef Migrate KafkaProperties to use PropertyMapper 7 years ago
Madhura Bhave 469372c5ef Account for servlet path "/" in EndpointRequest
See gh-12934
7 years ago
Madhura Bhave f5f3af7f9c Point to gradle plugin's doc for custom dependency versions
Fixes gh-12807
7 years ago
Phillip Webb 6de479fe6a Polish 7 years ago
Phillip Webb 93046d058d Polish 7 years ago
Madhura Bhave 6855c5556d EndpointRequest should consider server.servlet.path
Fixes gh-12934
7 years ago
Phillip Webb 5b3cb8a698 Update copyright header year for changed files 7 years ago
Phillip Webb 57bfbfb3ad Fix checkstyle errors 7 years ago
Phillip Webb 6e09e497f2 Formatting 7 years ago
Andy Wilkinson fefe9e4e49 Upgrade to Junit Jupiter 5.1.1
Closes gh-13075
7 years ago
Andy Wilkinson c74292c222 Upgrade to Jooq 3.10.7
Closes gh-13074
7 years ago
Andy Wilkinson ee587130b2 Upgrade to Narayana 5.8.1.Final
Closes gh-13073
7 years ago
Andy Wilkinson 36880ad25b Upgrade to Hibernate 5.2.17.Final
Closes gh-13072
7 years ago
Andy Wilkinson 578dd8611c Upgrade to Elasticsearch 5.6.9
Closes gh-13071
7 years ago
Andy Wilkinson 205449cca1 Upgrade to Javax Money 1.0.3
Closes gh-13070
7 years ago
Andy Wilkinson 9ec27d1f97 Upgrade to Rxjava2 2.1.13
Closes gh-13069
7 years ago
Andy Wilkinson ff915b3450 Upgrade to Hazelcast 3.9.4
Closes gh-13068
7 years ago
Andy Wilkinson 5c2d4980de Upgrade to Couchbase Client 2.5.8
Closes gh-13067
7 years ago
Andy Wilkinson c16f99f782 Revert "Upgrade to Ehcache 2.10.5" in 2.0 as well
See gh-13056
7 years ago
Stephane Nicoll 18b1e8da60 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 959c569199 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 126f928f36 Polish "Improve Spring Session docs"
Closes gh-13061
7 years ago
Vedran Pavic 370160720d Improve Spring Session docs
See gh-13061
7 years ago
Andy Wilkinson 2bcf29913d Skip building the Gradle plugin on Java 9 as well as 10
Upgrading the JDK 9-based build to use JDK 9.0.4 has revealed that
Gradle 4.0.x doesn't work with it as it fails to parse the 9.0.4
version number.

This commit disables building the Gradle plugin on Java 9 (as we
had already done for Java 10) until we decide what to do
(see gh-12333).
7 years ago
Andy Wilkinson a1f3e7970c Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 2d70a7ae5e Polish caught exception names
Prefer `ex` over `e`.
7 years ago
Phillip Webb 41efea51a7 Polish ternary expressions
Consistently format ternary expressions and always favor `!=` as the
the check.
7 years ago
Phillip Webb bbf94c22da Polish 7 years ago
Phillip Webb e125085993 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 700ec6b840 Polish "Complete SSL configuration for Kafka"
Closes gh-13031
7 years ago
Toshiaki Maki d208641c59 Complete SSL configuration for Kafka
See gh-13031
7 years ago
Andy Wilkinson f5fabbc1b9 Remove the use of internal API from Gradle Plugin's BootJar
Closes gh-13037
7 years ago
Stephane Nicoll 69ab956e8b Stop assuming datasource creation failure originates from auto-config
There are documented way to reuse bits of the infrastructure in user
config to offer similar datasource configuration. If that fails, the
regular failure there will kick in.

This commit improves `DataSourceBeanCreationFailureAnalyzer` to not
misguide users that the auto-configuration has failed. Rather, it
describes what has failed in a more generic way.

Closes gh-12947
7 years ago
Stephane Nicoll b3ad902902 Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim e7d2f22911 Polish IgnoreTopLevelConverterNotFoundBindHandlerTests
Closes gh-13022
7 years ago
Johnny Lim 12cdc8b0e0 Fix @since for IgnoreTopLevelConverterNotFoundBindHandler
Closes gh-13019
7 years ago
Stephane Nicoll 7cca56e15b Upgrade to HikariCP 2.7.9
Closes gh-12783
7 years ago
Stephane Nicoll d6244889f5 Add default value for "spring.flyway.locations"
See gh-12193
7 years ago
Stephane Nicoll 79c222da78 Allow to provide manual metadata for keys that are not unique
Closes gh-12193
7 years ago
Stephane Nicoll 782d8c63da Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson f019d5c85b Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 0a9d950a44 Start building against Spring Kafka 2.1.6 snapshots
See gh-13018
7 years ago
Andy Wilkinson 2a8eb2c113 Start building against Spring Integration 5.0.5 snapshots
See gh-13016
7 years ago
Andy Wilkinson c50687758e Start building against Spring Data Kay SR7 snapshots
See gh-13017
7 years ago
Andy Wilkinson 0d67ca1e81 Starting building against Spring Framework 5.0.6 snapshots
See gh-13021
7 years ago
Andy Wilkinson 49089546f8 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll fbf8f57773 Merge branch '1.5.x' into 2.0.x 7 years ago
Madhura Bhave aad279208e Throw exception if RandomAccessData tries to read beyond EOF
Fixes gh-12986
7 years ago
Madhura Bhave d268b2102f Fix typo 7 years ago
Stephane Nicoll 9f7be62687 Backport polish commit "22b99a90" 7 years ago
Andy Wilkinson d5841982d9 Upgrade to Testcontainers 1.7.2
See gh-12821
7 years ago
Johnny Lim d8700522d3 Rename nested *AutoConfiguration classes to *Configuration
Closes gh-12989
7 years ago
Johnny Lim a723ac95a9 Polish
Closes gh-12999
7 years ago
Yaman Jain 50ca33ecd2 Fix typo
Closes gh-12996
7 years ago
Sebastien Deleuze 933f0bbca8 Upgrade to Kotlin 1.2.41
Includes KT-23973 critical regression fix.
7 years ago
Madhura Bhave 0385bd4131 Use spring.session.timeout for Spring Session timeout
Fallback to server.servlet.session.timeout for backwards compatibility.

Fixes gh-12906
7 years ago
Stephane Nicoll 36fb078935 Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim b941c5f1a6 Polish
Closes gh-12981
7 years ago
Madhura Bhave f2d8ca8b3a Fix failing NettyReactiveWebServerFactoryTests
NettyReactiveWebServerFactoryTests.portInUseExceptionIsThrownWhenPortIsAlreadyInUse
started failing on CI following this change in reactor netty:
e6634c27f6
Instead of a `BindException`, a `NativeIoException` is thrown. Since that Exception
is for internal use only, we throw a generic `WebServerException`
instead of the `PortInUseException`.
7 years ago
Madhura Bhave 24ce3ecb43 Fix typo in docs 7 years ago
Madhura Bhave 228c85fe67 Improve List and Map binding documentation
Closes gh-12444
7 years ago
Stephane Nicoll fbe88c483e Prevent rabbitmq starter to bring webflux on the classpath
This commit excludes `com.rabbitmq:http-client` from `spring-rabbit` as
the former brings spring webflux for an optional feature. This also
prevents Spring Boot to consider that a web server should be started as
all the necessary pieces are unexpectedly present.

Closes gh-12853
7 years ago
Stephane Nicoll 9cf8080a17 Polish "Document Kotlin custom metadata generation"
Closes gh-12960
7 years ago
sdeleuze c24e7a5930 Document Kotlin custom metadata generation
See gh-12960
7 years ago
Andy Wilkinson a358f3f0e8 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 11ad9bfebf Upgrade version of gradle-git-properties in doc
Closes gh-12955
7 years ago
Stephane Nicoll 55ef9e6dc9 Deprecate excludeArtifactIds
While being able to exclude all artifacts of a given group is a handy
feature, excluding all artifacts with a given artifactId does not make
much sense as it should refer to a single artifact anyway. Also the
general "exclude" mechanism is meant to do the exact same thing.

Closes gh-12885
7 years ago
Andy Wilkinson c9f04c3977 Avoid race between container starting and getting mapped port 7 years ago
Andy Wilkinson f6cc1cbd76 Make Testcontainer wait strategies final 7 years ago
Andy Wilkinson f39cea0428 Try to stabilize build by giving Cassandra longer to start 7 years ago
Andy Wilkinson 6c504a5098 Fix deprecation warnings in Testcontainers wait strategies
See gh-12821
7 years ago
Johnny Lim a15319ee30 Remove ManagementServerProperties.addApplicationContextHeader
Closes gh-12926
7 years ago
Madhura Bhave 877c4f702e Use empty key-store-password if storeprovider present
For tomcat, if an SslStoreProvider is configured,
`SslStoreProviderUrlStreamHandlerFactory` stores the keyStore with an
empty password. Previously, if a password was supplied using the
ssl.key-store-password property, that would be the password used to
load the keystore and the connector would fail with a
"Password verification failed" exception.

Fixes gh-11391
7 years ago
Andy Wilkinson a5f3f36b58 Test the Gradle plugin against Gradle 4.7
Closes gh-12952
7 years ago