Commit Graph

12065 Commits (7f18b3d87932b10c9253f673e7d0d2dc1ffead8e)
 

Author SHA1 Message Date
Andy Wilkinson 7f18b3d879 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 232e05c0c4 Merge pull request #9239 from Artem Bilan
* gh-9239:
  Upgrade to Spring Integration Java DSL 1.2.2
8 years ago
Artem Bilan d82a23a201 Upgrade to Spring Integration Java DSL 1.2.2
Closes gh-9239
8 years ago
Andy Wilkinson 2c315d3d6f Merge branch '1.5.x' 8 years ago
Andy Wilkinson fd2ab2fee0 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 198093c6a8 Fix violation reported by Checkstyle 8 years ago
Andy Wilkinson c9c014cde7 Drop IgnoreNestedPropertiesBindHandler and its tests
This should have been done as part of abdc239.

Closes gh-8657
8 years ago
Andy Wilkinson 8afaba0b9f Merge branch '1.5.x' 8 years ago
Andy Wilkinson 5693acf558 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson a6f8351dd6 Close Liquibase-specific DataSource once database has been migrated
Previously, when the liquibase.url, .username, and .password
properties were used to configure a DataSource specifically for
Liquibase that DataSource would never be explicitly closed. As it is
created by DataSourceBuilder with no explicitly configured type it
will use whichever connection pool is available and, therefore, will
create and keep open the pool's minimum number of connections. This
is an unnecessary use of resources both in the application and in the
database.

This commit updates LiquibaseAutoConfiguration so that if it uses
DataSourceBuilder to create a DataSource then it will also close that
DataSource once the database has been migrated.

Closes gh-9218
8 years ago
Andy Wilkinson 2c96bce5cd Address some warnings that are output during javadoc generation 8 years ago
Andy Wilkinson 634e70fb25 Update docs on using Spock following release of Spock 1.1 8 years ago
Stephane Nicoll 2e94fd4434 Remove support for Spring Loaded
Closes gh-7978
8 years ago
Stephane Nicoll 1a84d41f80 Merge branch '1.5.x' 8 years ago
Stephane Nicoll cdf5f6e0ee Add support for deprecation level in manual metadata
This commit allows to specify a deprecation level to a manual metadata
entry. The purpose of that new attribute is to distinguish cases where
the property is still bound (default) from cases where the property no
longer exists and won't be bound.

This gives the opportunity to IDEs to still show the property as an
error and offer documentation and an action to rename it if a
replacement exists.

Closes gh-9074
8 years ago
Stephane Nicoll 800ec29f70 Fix datasource example 8 years ago
Stephane Nicoll 0e7b037750 Fix build failure 8 years ago
Stephane Nicoll d20b00a0c4 Merge pull request #9151 from garyrussell:kafkaKerberos
* pr/9151:
  Polish "Add Kafka Kerberos Configuration Properties"
  Add Kafka Kerberos Configuration Properties
8 years ago
Stephane Nicoll 1480f0717f Polish "Add Kafka Kerberos Configuration Properties"
Closes gh-9151
8 years ago
Gary Russell c4cfc4dd0c Add Kafka Kerberos Configuration Properties
See gh-9151
8 years ago
Stephane Nicoll f79b4e0df4 Upgrade to Spring Kafka
Closes gh-9225
8 years ago
Stephane Nicoll b2e3c5dd61 Fix order of connection pools in DataSourceBuilder
Closes gh-6013
8 years ago
Andy Wilkinson bbc37d1e71 Upgrade to Spring REST Docs 1.2.1.RELEASE
Closes gh-9071
8 years ago
Madhura Bhave dc7b3f6d6e Update samples to use new generator mappings
Closes gh-7612
8 years ago
Madhura Bhave f15cf4b991 Remove redundant uses of @NestedConfigurationProperty
Closes gh-9216
8 years ago
Andy Wilkinson fa126c5c82 Merge pull request #9217 from Gary Russell
* gh-9217:
  Upgrade to Spring Integration 5.0.0.M4
8 years ago
Gary Russell f5d9f6f035 Upgrade to Spring Integration 5.0.0.M4
Closes gh-9217
8 years ago
Andy Wilkinson a3f3740725 Remove Tomcat 8.0-based SSL sample
We now require Tomcat 8.5
8 years ago
Andy Wilkinson 61d89ef207 Remove misleading use of legacy from simple container's description
Closes gh-9173
8 years ago
Madhura Bhave 53493fdd86 Make detection of nested config more lenient
Closes gh-3454
8 years ago
Andy Wilkinson 2a4ba89f8e Remove logic accommodating Tomcat 8.0.x from TomcatServletWebServerFactory
We now require Tomcat 8.5.
8 years ago
Andy Wilkinson 445344211d Remove use of deprecated API in TomcatServletWebServerFactory 8 years ago
Stephane Nicoll e007f20725 Merge branch '1.5.x' 8 years ago
Stephane Nicoll a22b3d9515 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 4056542bd4 Merge pull request #9212 from sslavic:patch-1
* pr/9212:
  Fix typo in javadoc
8 years ago
Stevo Slavić 6e1d99aa10 Fix typo in javadoc
Closes gh-9212
8 years ago
Stephane Nicoll cf88508e1d Avoid exposing `spring.resources.favicon-locations` as a property
Closes gh-9214
8 years ago
Brian Clozel d7ba7ecc48 Allow RouterFunction parameterized with different types
This commit allows *any* type of `RouterFunction` to be injected in the
WebFlux.fn auto-configuration; previously the `RouterFunction<T>` would
restrict injected beans to a single parameterized type.

Doing requires using the `RouterFunction.andOther` method to collect
them.

Fixes gh-9181
8 years ago
Brian Clozel c84204bc81 Remove Netty4 auto-configuration in RestTemplate
This commit removes the automatic configuration of the Netty  request
factory in RestTemplateBuilder, for the following reasons:

* as of Spring 5, `Netty4ClientHttpRequestFactory` is now deprecated
* there are quite a few issues logged in Spring Framework (duplicate
headers, such as SPR-15446 and SPR-15476)
* by default, the `Netty4ClientHttpRequestFactory` is adding a
"Connection: close" request header to all outgoing requests, which
means that the underlying HTTP connection won't be reused between
requests (which is a performance problem)

In that case, using any other request factory is a better choice for
Spring Boot 2.0+.

Note that the `RestTemplateBuilder` still allows to provide it manually
with the request factory to use. Developers can still choose this option
and will be aware of its deprecation status.

Fixes gh-9150
8 years ago
Brian Clozel 4a47c1eff8 Keep default Thymeleaf media types in reactive support
This commit removes the default configuration value previously set
for `spring.thymeleaf.reactive.media-types` since this value overrides
the defaults provided by Thymeleaf.

This value does not drive the default media type used by views, but
rather all media types that the templating engine should support.

Fixes gh-9134
8 years ago
Brian Clozel 89c284cb13 Add reactive websocket auto-configuration for Tomcat
This commit adds a `TomcatWebSocketReactiveWebServerCustomizer`
that customizes the Tomcat context to accept WebSockets connections.
Since reactive servers don't use the JSR 356 for that support,
only Tomcat customization is required for now.

This commit also reorders the server auto-configuration
so that undertow has a chance to be auto-configured before
reactor-netty, which should be a popular dependency thanks to
its HTTP client library.

The existing WebSocket infrastructure for Serlvet based containers
has been moved to a dedicated package and renamed accordingly.

Fixes gh-9113
8 years ago
Stephane Nicoll 1835dd7b94 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 643dea18ee Accommodate with Lombok generation ordering
Previously, if lombok was running before the configuration metadata
annotation processor, duplicated keys were created as both the
getter/setter and the special lombok handling applied.

This commit makes sure to be lenient by removing duplicate metadata
entries. This commit also makes sure to identify the getter of a
nested group if present. That way, the sourceMethod is set consistently
and avoid the creation of a duplicate group.

Closes gh-8886
8 years ago
Andy Wilkinson 69864b9e69 Remove accidental deprecaton of EnableConfigurationPropertiesImportSelector
Closes gh-9111
8 years ago
Andy Wilkinson 4104566ca2 Remove restartWithKeepAlive as it appears to be testing the container
The restartWithKeepAlive test really appears to be testing
functionality in the container, rather than our configuration of
the container. It's also not clear what role, if any, keep-alive is
playing as it's not explicitly configured in the test.
8 years ago
Andy Wilkinson 9f55deeb95 Merge branch '1.5.x' 8 years ago
Andy Wilkinson a2e749940e Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson a3f5cbc4a2 Polishing 8 years ago
Andy Wilkinson e4f80e68fc Do not run Gradle plugin's tests when built with -DskipTests
Closes gh-9169
8 years ago
Andy Wilkinson 47807b8925 Upgrade to SendGrid 3.2.0
Closes gh-9211
8 years ago