Commit Graph

785 Commits (d145fab7e5e3828ba9ceb6f5458b07e6738ce2eb)

Author SHA1 Message Date
Johnny Lim 7b72fe0ffa Polish
See gh-13963
6 years ago
Stephane Nicoll 960817a8c6 Merge branch '2.0.x' 6 years ago
Johnny Lim 94468e5865 Polish
See gh-13963
6 years ago
Stephane Nicoll 435c47925e Switch JMS pooling to `pooled-jms`
This commit removes support for `activemq-pool` in benefit of
`pooled-jms`. While the former is not JMS 2 compliant, the latter is and
is independent of the ActiveMQ codebase (so potentially reusable in
custom code).

Closes gh-13927
6 years ago
Stephane Nicoll fbf95b6997 Merge branch '2.0.x' 6 years ago
Stephane Nicoll d31f68380a Deprecate PooledConnectionFactory properties
This commit deprecated the properties of `PooledConnectionFactory` that
are no longer supported by an alternative that is a JMS 2 compliant.

This commit also adds a note to warn users that this pool implementation
is not JMS 2 compliant.

Closes gh-13956
6 years ago
Stephane Nicoll fd85cebfef Polish "Make RabbitTemplate default receive queue configurable"
Closes gh-13930
6 years ago
artsiom d7621261b2 Make RabbitTemplate default receive queue configurable
See gh-13930
6 years ago
Stephane Nicoll f1e2abce2d Merge branch '2.0.x' 6 years ago
Muhammad Hewedy 2f69785c6a Add classpath prefix to the flyway location
Closes gh-13933
6 years ago
Phillip Webb a6c9c92f2e Merge branch '2.0.x' 6 years ago
Phillip Webb 7fc455654a Fix checkstyle ternary issues
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.

See gh-13932
6 years ago
Stephane Nicoll e9a42e27d6 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 2a0d1918f1 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll a2494df596 Merge branch '2.0.x' 6 years ago
Stephane Nicoll e6cf082dbc Fix typo 6 years ago
Stephane Nicoll af0aa11d15 Polish "Add reactive health indicator for Cassandra"
Closes gh-13864
6 years ago
Brian Clozel dd79143d1a Support http/2 configuration with Reactor-Netty
Just like Jetty, Reactor Netty supports ALPN with JDK8 or with a
dependency that delegates TLS to a native library using boringSSL.

Closes gh-13333
6 years ago
Stephane Nicoll 5fb2060566 Polish "Add configuration for Tomcat's cachingAllowed property"
Closes gh-13614
6 years ago
Rob Tompkins 200ac6db30 Add configuration for Tomcat's cachingAllowed property
See gh-13614
6 years ago
Stephane Nicoll dcd230fc00 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 7d2e25f6f8 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 6dc0cb4f67 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ecb8da2536 Polish "Upgrade to Micrometer 1.0.6"
Closes gh-13819
6 years ago
Madhura Bhave 14a0064c53 Merge branch '2.0.x' 6 years ago
Madhura Bhave 660d284f45 Document when and how to use brackets when binding to maps
Closes gh-13506
6 years ago
Stephane Nicoll 5be84dd32b Merge branch '2.0.x' 6 years ago
Stephane Nicoll cdbe6fa122 Document properties migrator usage
Closes gh-13600
6 years ago
Stephane Nicoll 1c0eb8de36 Merge branch '2.0.x' 6 years ago
Stephane Nicoll a1ef3f070a Improve documentation for using a mock environment with @SpringBootTest
Closes gh-13827
6 years ago
Madhura Bhave ceaac98847 Update docs with OIDC provider configuration
See gh-13210
6 years ago
Madhura Bhave ddce819e6f Merge branch '2.0.x' 6 years ago
Madhura Bhave c36804908c Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll c0b9c72d74 Merge branch '2.0.x' 6 years ago
Stephane Nicoll e679690a74 Clarify the WebTestClient requires WebFlux on the classpath
Closes gh-13469
6 years ago
Stephane Nicoll ada699a9f6 Allow to customize the RabbitMQ RetryTemplate
This commit adds the ability to customize the RetryTemplate used in the
RabbitMQ infrastructure. The customizer is slightly unusual and offer
a `Target` enum that define the component that will use the retry
template: `SENDER` for the auto-configured `RabbitTemplate` and
`LISTENER` for a listener container created by a
`RabbitListenerContainerFactoryConfigurer`.

Closes gh-13793
6 years ago
Stephane Nicoll fd6023fe49 Polish contribution
Closes gh-13790
6 years ago
Johnny Lim 58df752af4 Polish
See gh-13790
6 years ago
Stephane Nicoll 3c67edafcd Expose more Quartz properties
Closes gh-13782
6 years ago
Stephane Nicoll 66cb4ce3c7 Polish "Allow to configure Quartz's "overwriteExistingJobs" property"
Closes gh-13582
6 years ago
Taras Danylchuk 910e6dc4cc Allow to configure Quartz's "overwriteExistingJobs" property
See gh-13582
6 years ago
Brian Clozel 0654dd4de2 Add JUnit Jupiter API to spring-boot-docs build
This is required for the docs module to inspect Spring Boot
annotations for meta-annotations.

See gh-13739
6 years ago
Johnny Lim 1ae420670a Polish
Closes gh-13776
6 years ago
Andy Wilkinson ac1f2a5817 Polish 6 years ago
Madhura Bhave c0574c8437 Update docs to reflect new health & info security
See gh-13722
6 years ago
Stephane Nicoll 42bba4e1c5 Document Liquibase default values
Closes gh-13765
6 years ago
Miguel Gomes b5cb074219 Upgrade to Liquibase 3.6.2
See gh-13625
6 years ago
Stephane Nicoll 8fc1e0ed4e Merge branch '2.0.x' 6 years ago
dreis2211 ac8eebfbad Fix typos
Closes gh-13762
6 years ago
Stephane Nicoll 04bca3f37f Merge branch '2.0.x' 6 years ago
Stephane Nicoll 19709f7dea Polish 6 years ago
Andy Wilkinson 6a48a440b2 Annotate our test annotations with @ExtendWith(SpringExtension.class)
Closes gh-13739
6 years ago
Stephane Nicoll 611f2332e6 Polish Flyway keys 6 years ago
Stephane Nicoll 42f4f2ded8 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 331775d6c0 Document latest version of gradle-git-properties plugin
Closes gh-13747
6 years ago
Andy Wilkinson c1a81cfca0 Prohibit bean overriding by default and analyze override failures
Closes gh-13609
6 years ago
Madhura Bhave 63ae682a95 Merge branch '2.0.x' 6 years ago
Madhura Bhave 4e7719f1c7 Fix typo 6 years ago
Andy Wilkinson 063e8e4dc6 Revert "Prohibit bean overriding by default and analyze override failures"
This reverts commit 710cdbab92.
6 years ago
Andy Wilkinson 710cdbab92 Prohibit bean overriding by default and analyze override failures
Closes gh-13609
6 years ago
Stephane Nicoll 60457f1d9a Merge branch '2.0.x' 6 years ago
Stephane Nicoll 44b9aa168e Polish "Improve description of Endpoint exclude"
Closes gh-13619
6 years ago
Andy Wilkinson fde534c877 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 809e30506f Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 4799a539fe Stop using groovy-all as it does not exist in Groovy 2.5 6 years ago
Andy Wilkinson b6b37c91bb Upgrade to Flyway 5.1.3
Closes gh-13672
6 years ago
Madhura Bhave 149c7a85c3 Merge branch '2.0.x' 6 years ago
Madhura Bhave 673a08d228 Support microseconds in Duration conversions
Closes gh-13624
6 years ago
Andy Wilkinson 45fdf2ffa4 Support Tomcat 9 and Undertow 2
Closes gh-11749
Closes gh-12243
6 years ago
Andy Wilkinson 8dbeb68afa Merge branch '2.0.x' 6 years ago
Andy Wilkinson 04119585e8 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson a097f923c1 Provide sensible defaults for launch script properties when using Gradle
Closes gh-4458
7 years ago
Andy Wilkinson a612ba1b11 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 48c5e70ac8 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 56a7aa552f Polish 7 years ago
Johnny Lim bb60edaca6 Polish
Closes gh-13534
7 years ago
Stephane Nicoll d4d169277d Merge branch '2.0.x' 7 years ago
Johnny Lim b9ea0fd5a7 Polish
See gh-13534
7 years ago
Stephane Nicoll 8365d53554 Add support for JMS session caching
This commit adds support for CachingConnectionFactory for both Artemis
and ActiveMQ. If connection pooling is not enabled explicitly, sessions,
producers and consumers are cached. The factory can be further
customized, including reverting to the raw ConnectionFactory, using the
`spring.jms.*` namespace.

Closes gh-12161
7 years ago
Stephane Nicoll 0ef54a79b1 Add support for connection pooling with Artemis
This commit expands ActiveMQ's connection pooling to artemis. The same
pooling features are now shared by the two brokers and a
PooledConnectionFactory can be auto-configured when the necessary jar is
present.

Closes gh-13523
7 years ago
Stephane Nicoll b4584e6a28 Support profile expression in Logback's <springProfile>
Closes gh-13496
7 years ago
Stephane Nicoll a89b2ae46e Support profile expression in yml profile matching
Closes gh-12469
7 years ago
Stephane Nicoll 0c4176f596 Drop JsonSimpleJsonParser and JSON simple dependency
Closes gh-13471
7 years ago
Andy Wilkinson db7789ad87 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 7b3be82cfa Merge branch '1.5.x' into 2.0.x 7 years ago
Brian Clozel 59746de63b Backport web server configuration doc changes
Closes gh-13401
7 years ago
Rossen Stoyanchev a4ee33bf56 Follow-up dates for web server config documentation
See gh-13315
7 years ago
Stephane Nicoll a9e56aa089 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 5c96943e59 Merge branch '1.5.x' into 2.0.x 7 years ago
Brian Clozel 0004550f7b Document Reactor Netty server configuration
This commit regroups the documentation on how to configure a web server
in Spring Boot. The same concepts apply, whether the server is
Tomcat/Netty/Jetty/Undertow, or if it's deployed for a Servlet or
Reactive web application.

Closes gh-13315
7 years ago
Stephane Nicoll 42c2059dd8 Merge branch '2.0.x' 7 years ago
Stephane Nicoll f6c99361a4 Merge branch '1.5.x' into 2.0.x 7 years ago
Madhura Bhave 26b826e017 Merge branch '2.0.x' 7 years ago
Madhura Bhave d0a2a8e929 Document ConfigurableServletWebServerFactory variants
Closes gh-13083
7 years ago
Brian Clozel 56ab0da287 Support EncodedResourceResolver in resource chain
As of https://jira.spring.io/browse/SPR-16381, Spring Framework now
supports both gzip and Brotli as compression formats for static
resources resolved by the resource chain.

The `GzipResourceResolver` has been deprecated and replaced by the
`EncodedResourceResolver`. This commit uses this new resolver and adapts
the configuration key to reflect those changes.

Note that this resolver is now configured ahead of the
`VersionResourceResolver`.

Closes gh-13242
7 years ago
Stephane Nicoll 51cf4e5d74 Polish "Add support to set visibility via JacksonProperties"
Closes gh-13214
7 years ago
Eddú Meléndez ca3659059a Add support to set visibility via JacksonProperties
This commit allows to configure properties visibility.

See gh-13214
7 years ago
Stephane Nicoll 3248400665 Merge branch '2.0.x' 7 years ago
Stephane Nicoll b4f8361989 Make JMX metrics domain configurable
Closes gh-13356
7 years ago
Brian Clozel bd8106d77f Upgrade to Spring Framework 5.1
As of Spring Framework 5.1, we're depending on the Reactor Californium
release train.
Reactor Netty is now at version 0.8 and changed its artifact
coordinates, package names and broke several APIs. Spring Framework is
now up-to-date with those changes and this commit does the same for
Spring Boot.

Note that in that process, the `NettyServerCustomizer` has been changed
since the former `HttpServerOptions.Builder` API is now gone from
Reactor Netty, and we're now relying on immutable server instances
instead of a stateful builder pattern.

See gh-13321
7 years ago
Stephane Nicoll 93396aef51 Polish 7 years ago
Stephane Nicoll ee158df993 Merge branch '2.0.x' 7 years ago
Dmytro Nosan 20003489be Auto-configure jOOQ with TransactionListenerProvider
Closes gh-13331
7 years ago
Stephane Nicoll 8bcea0d8cc Polish "Add auto-configuration for WebServiceTemplate"
Closes gh-1270
7 years ago
dnosan c9df1c551a Add auto-configuration for WebServiceTemplate
See gh-12707
7 years ago
Stephane Nicoll bc47bf44a9 Merge branch '2.0.x' 7 years ago
Johnny Lim 6b0ce46491 Polish
Closes gh-13320
7 years ago
Stephane Nicoll 74379da726 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 32aa5b9bae Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 55d70d5691 Merge branch '2.0.x' 7 years ago
James McShane d74c768cdd Remove outdated reference to @EnableReactor
Closes gh-13308
7 years ago
Madhura Bhave 9f4a5c13a5 Add auto-config for WebFlux OAuth2 Login
Closes gh-13142
7 years ago
Stephane Nicoll bb69339a82 Merge branch '2.0.x' 7 years ago
Stephane Nicoll b47a72731f Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 3f001899b4 Harmonize ssl properties for Kafka
Closes gh-13239
7 years ago
Stephane Nicoll 56dd53bfba Merge branch '2.0.x' 7 years ago
Stephane Nicoll 7849d73828 Polish
See gh-13031
7 years ago
Andy Wilkinson 32a9addb57 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 1ce22aa50a Polish 7 years ago
Stephane Nicoll ec65cb1753 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 15ba50ab3e Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim de01e7aad4 Polish
See gh-13243
7 years ago
Stephane Nicoll 1bb53ff44c Merge branch '2.0.x' 7 years ago
Arnaud Heritier b60eadb10b Add missing semicolon in example
Closes gh-13266
7 years ago
Stephane Nicoll 75c10e615e Merge branch '2.0.x' 7 years ago
Andrea Vacondio aed118c410 Fix documentation error
Closes gh-13260
7 years ago
Stephane Nicoll 699b6ce6dc Remove reference to Jersey 1
Closes gh-12582
7 years ago
Stephane Nicoll 8364d121b1 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 125b5974c0 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll afe6abb20d Merge branch '2.0.x' 7 years ago
Johnny Lim 75639aa682 Polish
Closes gh-13192
7 years ago
Stephane Nicoll beafba4487 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 1d2edc1d37 Fix wrong reference to WebApplicationType
Closes gh-13195
7 years ago
Stephane Nicoll 2c176a3770 Add support for ReactiveHealthIndicatorRegistry
This commit updates the initial proposal to add support for reactive
use cases as well. A reactive application can use
ReactiveHealthIndicatorRegistry as an alternative to
HealthIndicatorRegistry.

Closes gh-4965
7 years ago
Stephane Nicoll 95b251590e Polish "Introduce HealthIndicatorRegistry"
See gh-4965

Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io>
7 years ago
Vedran Pavic d829d522be Introduce HealthIndicatorRegistry
This commit introduces HealthIndicatorRegistry which handles
registration of HealthIndicator instances. Registering new
HealthIndicator instances is now possible in runtime.

See gh-4965
7 years ago
Andy Wilkinson 08a12e7964 Merge branch '2.0.x' 7 years ago
Andy Wilkinson be0b8eb871 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 72b45584eb Merge branch '2.0.x' 7 years ago
Andy Wilkinson 8b028e30d3 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 497aebe010 Merge branch '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 c7eec5c45e Polish "Add liquibase test rollback on update property"
Closes gh-13159
7 years ago
Stephane Nicoll b839c98de9 Merge branch '2.0.x' 7 years ago
Sebastien Deleuze d747d43b23 Update Kotlin refdoc with the new tutorial
Closes gh-13161
7 years ago
Stephane Nicoll c8dc885cc5 Add missing note
See gh-12933
7 years ago
Stephane Nicoll 602f52fffc Add support for configuring common tags declaratively
Closes gh-12933
7 years ago
Stephane Nicoll 93c45cb6ec Move server.servlet.path to spring.mvc.servlet.path
Closes gh-12971
7 years ago
Stephane Nicoll 9b379b43ae Merge branch '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
Stephane Nicoll b17c58b114 Merge branch '2.0.x' 7 years ago
Johnny Lim 3dd2f5bb05 Polish
See gh-13148
7 years ago
Stephane Nicoll 8e9a873787 Polish "Improve LDAP auto-configuration conditions"
Closes gh-13143
7 years ago
Stephane Nicoll 00a43d8f4d Merge branch '2.0.x' 7 years ago
Johnny Lim 75e591e76e Polish
Closes gh-13130
7 years ago
Stephane Nicoll a11acbc829 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 4bec3b7cd9 Polish
See gh-13123
7 years ago
Andy Wilkinson 5dbba99aed Merge branch '2.0.x' 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 e4bdf4e513 Polish 7 years ago
Andy Wilkinson a1bea69555 Make Elasticsearch dependency available to javadoc generation
See gh-12600
7 years ago
Brian Clozel 84c9a65e9d Auto-configure Elasticsearch REST clients
This commit adds auto-configuration support for both `RestClient` and
`RestHighLevelClient` which are provided by `elasticsearch-rest-client`
and `elasticsearch-rest-high-level-client` dependencies respectively.

`RestClient` is associated with configuration properties in the
`spring.elasticsearch.rest.*` namespace, since this is the component
taking care of HTTP communication with the actual Elasticsearch node.

`RestHighLevelClient` wraps the first one and naturally inherits that
configuration.

Closes gh-12600
7 years ago
Johnny Lim 96ce71ddc4 Polish
Closes gh-13078
7 years ago
Stephane Nicoll 3ad8f3fcbf Merge branch '2.0.x' 7 years ago
Stephane Nicoll 9dccf5b895 Polish
See gh-13078
7 years ago
Phillip Webb a323a85e3b Merge branch '2.0.x' 7 years ago
Phillip Webb 975e986fef Polish 7 years ago
Madhura Bhave e02954a25b Merge branch '2.0.x' 7 years ago
Madhura Bhave f5f3af7f9c Point to gradle plugin's doc for custom dependency versions
Fixes gh-12807
7 years ago
Phillip Webb 42c053cf1b Merge branch '2.0.x' 7 years ago
Phillip Webb 6e09e497f2 Formatting 7 years ago
Stephane Nicoll 303b479b90 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 959c569199 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 15936a1fe8 Merge branch '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
Phillip Webb 8c0c0ee55a Merge branch '2.0.x' 7 years ago
Phillip Webb e125085993 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 36a377764f Merge branch '2.0.x' 7 years ago
Toshiaki Maki d208641c59 Complete SSL configuration for Kafka
See gh-13031
7 years ago
Stephane Nicoll ca1b637728 Merge branch '2.0.x' 7 years ago
Stephane Nicoll b3ad902902 Merge branch '1.5.x' into 2.0.x 7 years ago
Madhura Bhave ef0cfc43fe Merge branch '2.0.x' 7 years ago
Madhura Bhave d268b2102f Fix typo 7 years ago
Stephane Nicoll 9f7be62687 Backport polish commit "22b99a90" 7 years ago
Stephane Nicoll 284fe969e0 Merge branch '2.0.x' 7 years ago
Yaman Jain 50ca33ecd2 Fix typo
Closes gh-12996
7 years ago
Stephane Nicoll fb8a5a9864 Polish "Add cache actuator endpoint"
This commit improves the initial proposal by providing a by name read
operation that returns the detail of a particular cache. It also adds
more tests and complete API documentation for the feature.

Closes gh-12216
7 years ago
Stephane Nicoll 22b99a90de Polish
See gh-12906
7 years ago
Madhura Bhave acc1793e96 Merge branch '2.0.x' 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
Brian Clozel 1ef0098ab5 Add WebClient metrics support
This commit adds support for Actuator Metrics for WebClient.
This support mirrors the current behavior for `RestTemplate`, reusing
the same metric name `"http.client.requests"` and tags.

`WebClient` is instrumented by a `MetricsWebClientFilterFunction` which
is applied by a `WebClientCustomizer`. This instrumentation happens
automatically only if you create an instance of `WebClient` using an
auto-configured `WebClient.Builder` bean.

This infrastructure is reusing de facto the `MeterFilter` that has been
added for `RestTemplate` in order to limit the "uri" tag cardinality.

Closes gh-12228
7 years ago
Stephane Nicoll 621874708d Merge branch '2.0.x' 7 years ago
Stephane Nicoll 36fb078935 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll c8843947fe Polish 7 years ago
Stephane Nicoll 1a41ff941a Polish 7 years ago
Stephane Nicoll 4d0fe5bbe6 Merge branch '2.0.x' 7 years ago
Johnny Lim b941c5f1a6 Polish
Closes gh-12981
7 years ago