Commit Graph

3227 Commits (c89910c1b61632ea0200ed7f5e7b1dc0ca7e786a)

Author SHA1 Message Date
Stephane Nicoll a023bd030a Add configurable timeout for Couchbase health indicator
This commit makes sure to use a configurable timeout to check if the
Couchbase cluster is up, rather than relying on the default that can be
quite long.

Closes gh-13879
6 years ago
Stephane Nicoll 7b191bb9ed Merge branch '2.0.x' 6 years ago
Stephane Nicoll 21691f0b20 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 13d5b00fe7 Merge branch '2.0.x' 6 years ago
Stephane Nicoll fbf3c48bf8 Fix setter detection in `configprops` endpoint
Previously, the setter of a property whose second letter is upper-case (
such as `oAuth2Uri`) was not detected properly. The JavaBean spec states
that, in such a case, the first letter should not be capitalized (i.e.
the setter should be `setoAuth2Uri` rather than `setOAuth2Uri`).

This commit makes sure that Jackson uses standard bean names and fixes
the setter detection algorithm to take this case into account.

Closes gh-13878
6 years ago
Stephane Nicoll a96856c99a Merge branch '2.0.x' 6 years ago
dreis2211 72707b9d58 Polish OnWebApplicationCondition
Closes gh-14015
6 years ago
Stephane Nicoll cc79cbd09f Merge branch '2.0.x' 6 years ago
dreis2211 47ed48625c Fix typo
Closes gh-14013
6 years ago
Madhura Bhave bc6e4e6e55 Add auto-config for reactive OAuth2 Resource Server
Closes gh-13948
6 years ago
Madhura Bhave 319fec4be4 Polish 6 years ago
Stephane Nicoll 5cfe8dbee9 Polish 6 years ago
Stephane Nicoll 7e499590c6 Merge branch '2.0.x' 6 years ago
Stephane Nicoll e68dc2d3c4 Prune 3rd party starters that are not compatible with Spring Boot 2
Those can be re-added at any time there is Spring Boot 2 support

Closes gh-13510
6 years ago
Stephane Nicoll 60d8c7979f Polish 6 years ago
Stephane Nicoll ace242db7a Fix javadoc generation on Java 9/10 6 years ago
Madhura Bhave 5bf9d31d91 Fix checkstyle 6 years ago
Madhura Bhave d6b6a5f81f Add auto-config for spring-security-oauth2-resource-server
Closes gh-13787
6 years ago
Stephane Nicoll 6a2cb883a5 Merge branch '2.0.x' 6 years ago
Stephane Nicoll f731f6aa39 Restore customization of HTTP trace request headers
This commit restore the use of the `postProcessRequestHeaders` method
when overridden in a custom HttpExchangeTracer implementation.

Closes gh-13924
6 years ago
Stephane Nicoll 14a9ec8711 Polish 6 years ago
Stephane Nicoll e6b44189e0 Polish "Add global support for JMX unique names"
This commit ensures that the new "spring.jmx.unique-names" property
deprecates the Endpoint's specific property as they share the same goal.

If both are set with an incompatible value, an exception is thrown
inviting the user to update their configuration.

Closes gh-13990
6 years ago
artsiom 1a3f08d772 Add global support for JMX unique names
See gh-13990
6 years ago
Stephane Nicoll c071f34a4a Add auto-configuration support for TaskExecutor
This commit adds support for providing a default ThreadPoolTaskExecutor
with sensible defaults. A new TaskExecutorBuilder is provided with
defaults from the `spring.task.*` namespace and can be used to create
custom instances.

If no custom `Executor` bean is present, `@EnableAsync` now uses the
auto-configure application task executor. Same goes for the async support
in Spring MVC.

Closes gh-1563
6 years ago
Stephane Nicoll 193b2f187b Upgrade to Maven Compiler Plugin 3.8.0
Closes gh-14000
6 years ago
Gary Russell 740d64242f Upgrade to Kafka 2.0.0
Closes gh-13983
6 years ago
Stephane Nicoll 624c1306fd Merge branch '2.0.x' 6 years ago
Stephane Nicoll 737b4a275b Polish 6 years ago
Stephane Nicoll 8fdc9b6403 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 0f095abded Polish 6 years ago
dreis2211 8440443237 Include @ in javadoc links for annotations
Closes gh-13988
6 years ago
Stephane Nicoll a656513cb8 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 20ea16fe9f Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 0e750f982b Merge branch '2.0.x' 6 years ago
Johnny Lim 7b6b91aae7 Return null immediately when sla is null in convertSla()
Closes gh-13991
6 years ago
Johnny Lim d92441e53f Update assertion message in AnnotatedClassFinder.scanPackage()
Closes gh-13989
6 years ago
Madhura Bhave b9fcb6a5e5 Merge branch '2.0.x' 6 years ago
Madhura Bhave 16aff4cd2c Refactor PropertySourcesDeducer
Prior to the changes that fixed #12451,
`FilteredPropertySources` and `CompositePropertySources` were required
by the `PropertySourcesDeducer` to ensure that configuration properties binding
could see changes to the environment even when there was a
PropertySourcesPlaceholderConfigurer in the context. #12451 changed the way
property sources are adapted by `SpringConfigurationPropertySources`, removing the
need for `FilteredPropertySources` and `CompositePropertySources`.

Fixes gh-13738
6 years ago
Madhura Bhave c41199bad1 Merge branch '2.0.x' 6 years ago
Madhura Bhave 7e2494ebdd Set environment active profiles according to processing order
Fixes gh-13965
6 years ago
Stephane Nicoll 65f43505fe Merge branch '2.0.x' 6 years ago
cmakinen 07d96689c6 Add dependency management for micrometer-registry-cloudwatch
Closes gh-13982
6 years ago
Stephane Nicoll a8b9718073 Polish "Make "MaxSwallowSize" more easily configurable"
Closes gh-13966
6 years ago
artsiom 0d40c5aecc Make "MaxSwallowSize" more easily configurable
See gh-13966
6 years ago
Johnny Lim 02e82cd22b Remove unused dependencies
Closes gh-13973
6 years ago
Stephane Nicoll 71d26f9ceb Add missing dependency for Javadoc generation 6 years ago
Stephane Nicoll 76d44ca888 Fix formatting 6 years ago
Stephane Nicoll f7032bd8d3 Polish contribution
Closes gh-13963
6 years ago
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 0c1b229764 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 4e45f36bd1 Clean basePath if necessary
This commit makes sure that ServletEndpointRegistrar does not add a
duplicate `/` if the basePath is suffixed with it already

Close gh-13964
6 years ago
Stephane Nicoll 143e4f026f Merge branch '2.0.x' 6 years ago
dreis2211 66b1742f96 Optimize some StringBuilder.append() calls
Closes gh-13961
6 years ago
Stephane Nicoll 8367c57d96 Avoid double binding of Flyway's locations
Closes gh-4995
6 years ago
Stephane Nicoll 14b413bf08 Remove outdated hint 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
dreis2211 fe4b3e493d Fix deprecation in KafkaAutoConfigurationIntegrationTests
Closes gh-13937
6 years ago
dreis2211 449e1cce9f Avoid annotation attribute lookup in OnBeanCondition
Close gh-13941
6 years ago
Johnny Lim daf3f82006 Polish AutoConfigurationGroup.selectImports()
Closes gh-13943
6 years ago
Stephane Nicoll d12a099a6d Merge branch '2.0.x' 6 years ago
Johnny Lim d4fba783fb Remove ex.printStackTrace() in tests
Closes gh-13952
6 years ago
Andy Wilkinson d67611518f Merge branch '2.0.x' 6 years ago
Andy Wilkinson 06b4007ce4 Avoid installing unwanted ConsoleHandler when cleaning up
Closes gh-13470
6 years ago
Stephane Nicoll e7526a458d Upgrade to Spring Session Bean-M1
Closes gh-13889
6 years ago
Madhura Bhave d3719eed3f Merge branch '2.0.x' 6 years ago
Madhura Bhave 01abb196ef Fix typo 6 years ago
Stephane Nicoll 025142de69 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 1435d83c18 Upgrade to Spring Session Apple-SR4
Closes gh-13888
6 years ago
Phillip Webb 4d86ac4713 Polish copyright date on changed files 6 years ago
Phillip Webb 1b91c0ceb7 Merge branch '2.0.x' 6 years ago
Phillip Webb 0ec22c8bf9 Polish copyright date on changed files 6 years ago
Phillip Webb 80da9cf5eb Merge branch '2.0.x' 6 years ago
Phillip Webb aeb885192e Polish ternary expressions 6 years ago
Stephane Nicoll bb7401a80d Upgrade to Spring Integration 5.1.0.M1
Closes gh-13891
6 years ago
Stephane Nicoll b24bb688b8 Upgrade to Spring Integration 5.0.7.RELEASE
Closes gh-13886
6 years ago
Phillip Webb ce9c053cbf Fix checkstyle issues on master
Fix checkstyle issues following 2.0.x merge and
spring-javaformat upgrade.

See gh-13932
6 years ago
Phillip Webb a6c9c92f2e Merge branch '2.0.x' 6 years ago
Phillip Webb 63b609827e Fix checkstyle method order issues
Fix checkstyle issues with method ordering following the
spring-javaformat upgrade.

See gh-13932
6 years ago
Phillip Webb e6a68b39a3 Fix checkstyle javadoc issues
Fix checkstyle issues in javadoc following the spring-javaformat
upgrade.

See gh-13932
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
Phillip Webb ec1100a896 Upgrade to spring-javaformat 0.0.6
Closes gh-13932
6 years ago
Phillip Webb cddd794a07 Polish 6 years ago
Madhura Bhave f2a9030788 Merge branch '2.0.x' 6 years ago
Madhura Bhave e753b530fa EndpointRequest should match links with trailing slash
Fixes gh-13921
6 years ago
Stephane Nicoll f7b90a73a0 Upgrade to Spring Kafka 2.1.8.RELEASE
Closes gh-13887
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 659535d1ec Upgrade to Spring Data Kay SR9
Closes gh-13890
6 years ago
Stephane Nicoll 3d43bf7797 Upgrade to Spring Security 5.1.0.M2
Closes gh-13899
6 years ago
Stephane Nicoll dea1e29683 Merge branch '2.0.x' 6 years ago
Johnny Lim 8a9224b78c Polish NoSuchBeanDefinitionFailureAnalyzer
Closes gh-13923
6 years ago
Stephane Nicoll 4139e1b9ab Upgrade to Spring Kafka 2.2.0.M1
Closes gh-13023
6 years ago
Stephane Nicoll 73fe8d482e Merge branch '2.0.x' 6 years ago
Stephane Nicoll 54a6ee7a06 Upgrade to Spring HATEOAS 0.25.0.RELEASE
Closes gh-13742
6 years ago
Stephane Nicoll d8192d7e04 Upgrade to Spring Amqp 2.1.0.M1
Closes gh-13885
6 years ago
Stephane Nicoll 8603fdddb1 Upgrade to Spring Amqp 2.0.5.RELEASE
Closes gh-3884
6 years ago
Stephane Nicoll d98b23bdd9 Upgrade to Spring Framework 5.0.8
Closes gh-13704
6 years ago
Stephane Nicoll ec2e3c4c0e Merge branch '2.0.x' 6 years ago
dreis2211 bfbf57b0eb Fix typo
Closes gh-13919
6 years ago
Stephane Nicoll 0f15b72fab Upgrade to Spring Security 5.0.7.RELEASE
Closes gh-13898
6 years ago
Stephane Nicoll 4b3c40ff10 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 85cffd1ab5 Upgrade to Spring Web Services 3.0.3.RELEASE
Closes gh-13912
6 years ago
Stephane Nicoll 37f1146c31 Fix formatting 6 years ago
Madhura Bhave db1d3fa282 Merge branch '2.0.x' 6 years ago
Madhura Bhave c775ff8f60 Fix import 6 years ago
Madhura Bhave 6fe366bd64 Merge branch '2.0.x' 6 years ago
Madhura Bhave 6bd438a737 Document `@ConditionalOnProperty` limitation with collections
Closes gh-7483
6 years ago
Madhura Bhave 78cb802f98 Merge branch '2.0.x' 6 years ago
Madhura Bhave 57515dfa78 Fix typo 6 years ago
Stephane Nicoll f780179777 Polish contribution
Closes gh-13904
6 years ago
artsiom df6feb3e2a Make SpringBootConfigurationFinder public and usable with other annotations
See gh-13904
6 years ago
dreis2211 4bb78d5a48 Fix unchecked assignment in AutoConfigurationImportSelector
Closes gh-13908
6 years ago
Phillip Webb b5b60c2053 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 276f978261 Upgrade to Spring Data Lovelace RC1
Closes gh-13740
6 years ago
Phillip Webb 9a9111af21 Support path discovery for main dispatcher servlet
Add an `DispatcherServletPath` interface which provides a much more
consistent way to discover the path of the main dispatcher servet.

Prior to this commit, auto-configurations would often make use of the
`ServerProperties` class to discover the dispatcher servlet path. This
mechanism isn't very explicit and also makes it hard for us to relocate
that property in Spring Boot 2.1.

This commit also reverts most of fddc9e9c7e since it is now clear that
the supporting multiple dispatcher servlet paths will be much more
involved that we originally anticipated.

Closes gh-13834
6 years ago
Phillip Webb d37e717500 Polish 6 years ago
Stephane Nicoll 406d848406 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 12f8ef1b6e Upgrade to Spring Web Services 3.0.2.RELEASE
Closes gh-13912
6 years ago
Stephane Nicoll 787927ba81 Upgrade to Spring Framework 5.1.0.RC1
Closes gh-13911
6 years ago
Stephane Nicoll 1e7aa7c4bc Fix Spring Integration imports 6 years ago
Stephane Nicoll 37f5e69173 Start building against Spring Security 5.0.7 snapshots
See gh-13898
6 years ago
Stephane Nicoll bdf028a2e6 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 99f33d5070 Start building against Spring Data Kay snapshots
See gh-13890
6 years ago
Andy Wilkinson 1ab98ca33f Start building against Spring HATEOAS 0.25.0 snapshots
See gh-13742
6 years ago
Stephane Nicoll 56542ef809 Start building against Spring Integration 2.1.0 snapshots
See gh-13891
6 years ago
Stephane Nicoll 9e34938ce0 Start building against Spring Amqp 2.1.0 snapshots
See gh-13885
6 years ago
Stephane Nicoll 21160da9f5 Use SNAPSHOTs for upcoming releases 6 years ago
Stephane Nicoll a2494df596 Merge branch '2.0.x' 6 years ago
Stephane Nicoll e6cf082dbc Fix typo 6 years ago
dreis2211 2399092f16 Fix deprecation in UndertowServletWebServerFactory
Closes gh-13873
6 years ago
Stephane Nicoll af0aa11d15 Polish "Add reactive health indicator for Cassandra"
Closes gh-13864
6 years ago
artsiom 61c41555c8 Add reactive health indicator for Cassandra
See gh-13864
6 years ago
Stephane Nicoll 0c41384e50 Merge branch '2.0.x' 6 years ago
Stephane Nicoll a25b6bd473 Restore support for TransactionAwareCacheDecorator
This commit makes sure to unwrap any transaction aware cache before
collecting metrics for them.

Closes gh-13861
6 years ago
Madhura Bhave e524adb2fc Merge branch '2.0.x' 6 years ago
Madhura Bhave 1831f3be16 Fix NPE when Collection contains unbound children
Fixes gh-13636
6 years ago
Madhura Bhave eefa0ada9f Allow property overrides for OIDC Configuration Provider
Closes gh-13869
6 years ago
Madhura Bhave 5011bc6451 Merge branch '2.0.x' 6 years ago
Madhura Bhave 6032b454b0 Polish 6 years ago
Madhura Bhave f5617601aa Polish "Register OAuth2AuthorizedClientRepository bean"
Closes gh-13870
6 years ago
artsiom 2dcf19938d Register OAuth2AuthorizedClientRepository bean 6 years ago
Stephane Nicoll b163120ece Upgrade to Reactor Californium-M1
Closes gh-12849
6 years ago
Brian Clozel 57dbea0db3 Finalize upgrade to Reactor Netty 0.8
This commit fixes the last issue for the upgrade to Reactor Netty 0.8.

Closes: gh-13321
6 years ago
Brian Clozel e15ca514c8 Update HttpResources cleaning for Reactor Netty
This commit updates the workaround for issue gh-9146
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 c98bb40136 Adapt NoSuchBeanDefinitionFailureAnalyzer to framework change
This commit adapts to a Spring Framework change based on SPR-11419 and
SPR-15338. Rather than throwing an exception when injecting a List or
Map of a candidate bean that is not present, an empty collection/map is
injected.
6 years ago
Stephane Nicoll f3ef7caf09 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 829ac3fbef Prevent headers to be mutated
This commit rework 1189ccc to prevent a mutate call on the original
headers map.

Closes gh-13871
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
dreis2211 d0918f87b2 Fix OAuth2WebSecurityConfigurationTests
Closes gh-13872
6 years ago
Stephane Nicoll 2ad548485c Merge branch '2.0.x' 6 years ago
Stephane Nicoll 1a0afc6bbe Polish "Use Collection.removeIf() where possible"
Closes gh-13871
6 years ago
dreis2211 1189ccc936 Use Collection.removeIf() where possible
See gh-13871
6 years ago
Stephane Nicoll 6dc0cb4f67 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 7176c54f5e Polish "Add metric description and base unit to metrics endpoint"
Closes gh-13813
6 years ago
Johannes Edmeier ab1f8cf77b Add metric description and base unit to metrics endpoint
See gh-13813
6 years ago
Stephane Nicoll ecb8da2536 Polish "Upgrade to Micrometer 1.0.6"
Closes gh-13819
6 years ago
Jon Schneider f478911c54 Upgrade to Micrometer 1.0.6
See gh-13819
6 years ago
Stephane Nicoll ccabf83815 Merge branch '2.0.x' 6 years ago
Stephane Nicoll dcb68d4c64 Deprecate unused property
Closes gh-13836
6 years ago
Andy Wilkinson 70dbcba7b6 Merge branch '2.0.x' 6 years ago
Andy Wilkinson daad992c96 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson c7f6fb8660 Upgrade to Mockito 2.19.1
Closes gh-13859
6 years ago
Andy Wilkinson f8c8c47351 Upgrade to Jooq 3.11.3
Closes gh-13858
6 years ago
Andy Wilkinson 0ea85800c4 Upgrade to Infinispan 9.3.1.Final
Closes gh-13857
6 years ago
Andy Wilkinson 2d340fcae1 Upgrade to Hibernate 5.3.3.Final
Closes gh-13856
6 years ago
Andy Wilkinson 3b79802c19 Upgrade to Flyway 5.1.4
Closes gh-13855
6 years ago
Andy Wilkinson 98f19fcc81 Upgrade to Elasticsearch 6.3.1
Closes gh-13854
6 years ago
Andy Wilkinson e9d1abf2ce Upgrade to Groovy 2.5.1
Closes gh-13853
6 years ago
Andy Wilkinson 921d883559 Upgrade to Kafka 1.1.1
Closes gh-13852
6 years ago
Andy Wilkinson 7a706b1581 Upgrade to Commons Pool2 2.6.0
Closes gh-13851
6 years ago
Andy Wilkinson f28ae9e4c5 Upgrade to Commons Dbcp2 2.5.0
Closes gh-13850
6 years ago
Andy Wilkinson 1df725fddc Upgrade to Byte Buddy 1.8.13
Closes gh-13849
6 years ago
Andy Wilkinson a19d340b60 Upgrade to Undertow 2.0.11.Final
Closes gh-13848
6 years ago
Andy Wilkinson 9d72838796 Upgrade to Hazelcast 3.10.3
Closes gh-13847
6 years ago
Andy Wilkinson 5e58a50311 Upgrade to Couchbase Client 2.6.0
Closes gh-13846
6 years ago
Andy Wilkinson 13337c648c Merge branch '2.0.x' 6 years ago
Andy Wilkinson 136be5916c Upgrade to Postgresql 42.2.4
Closes gh-13845
6 years ago
Andy Wilkinson 8f2a8576a6 Upgrade to Mariadb 2.2.6
Closes gh-13844
6 years ago
Andy Wilkinson e5a4cfabc3 Upgrade to Hibernate Validator 6.0.11.Final
Closes gh-13843
6 years ago
Andy Wilkinson 1c6e75ff10 Upgrade to Kafka 1.0.2
Closes gh-13842
6 years ago
Andy Wilkinson 4003c3c6e5 Upgrade to Jna 4.5.2
Closes gh-13841
6 years ago
Andy Wilkinson 3fd6f00155 Upgrade to Netty 4.1.27.Final
Closes gh-13840
6 years ago
Andy Wilkinson 478181eb2c Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 0f0fc9ec62 Adapt assertion to logging change in Spring Framework 6 years ago
Stephane Nicoll 11d9a7c30d Merge branch '2.0.x' 6 years ago
Stephane Nicoll fc0a687ee0 Migrate test to ApplicationContextRunner 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
Madhura Bhave d958e83799 Merge branch '2.0.x' 6 years ago
Madhura Bhave 56235187d0 Fix typo 6 years ago
Andy Wilkinson a33dd8b9cb Merge branch '2.0.x' 6 years ago
Andy Wilkinson 10b91602e9 Increase connect and read timeouts when testing against Cassandra 6 years ago
Andy Wilkinson 1852ecc444 Merge branch '2.0.x' 6 years ago
Andy Wilkinson de7899fba4 Improve reliability by give Cassandra more time and attempts to start 6 years ago
Andy Wilkinson d11ee29fa1 Merge branch '2.0.x' 6 years ago
Andy Wilkinson bfc4cad692 Upgrade to Spring REST Docs 2.0.2.RELEASE
Closes gh-13505
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
Andy Wilkinson 13835c5dc7 Upgrade to Spring Batch 4.1.0.M2
Closes gh-13820
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
Stephane Nicoll 237f2fb494 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 592754d806 Polish "Make sure exception tag values are not empty in web metrics"
Closes gh-13187
6 years ago
Jon Schneider ee37dc1c31 Make sure exception tag values are not empty in web metrics
See gh-13187
6 years ago
Stephane Nicoll bc7db86c8c Consistently apply exclude on auto-configuration
Previously, exclude of an import selector was applied only locally. In
other words, if one import selector imports `AcmeAutoConfiguration` and
another one exclude it, it would still be imported because exclude were
applied separately

This commit collects the outcome of all auto-configuration import
selectors and then apply exclusions in a single pass.

Closes gh-12586
6 years ago
Stephane Nicoll 184cd0c708 Avoid CGLIB requirement in MessageSourceAutoConfiguration
Closes gh-13824
6 years ago
Madhura Bhave ceaac98847 Update docs with OIDC provider configuration
See gh-13210
6 years ago
Madhura Bhave 6333edbe16 Merge branch '2.0.x' 6 years ago
Madhura Bhave 66156cc24f Polish 6 years ago
Andy Wilkinson b58314f214 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 681717d07a Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 147a08eb4c Merge branch '2.0.x' 6 years ago
Andy Wilkinson b9ad0d9992 Test the Gradle plugin against Gradle 4.8.1 instead of 4.8
Closes gh-13809
6 years ago
Andy Wilkinson 8deea933b9 Test the Gradle plugin against Gradle 4.9
Closes gh-13808
6 years ago
Andy Wilkinson 93daac7ba8 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 53400b1d81 Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave dcb172fe2a Merge branch '2.0.x' 6 years ago
Madhura Bhave e907ae605d Fix tests
See gh-13783
6 years ago
Madhura Bhave 9bd723ddad Fix exception message
Fixes gh-13783
6 years ago
Madhura Bhave 9b6a069903 Merge branch '2.0.x' 6 years ago
Johnny Lim 86ccb26c58 Polish EndpointRequest.RequestMatcherFactory.antPath()
Closes gh-13775
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
Madhura Bhave f88ebc06ff Add support for OIDC Configuration Provider
Closes gh-13210
6 years ago
Madhura Bhave 4fee54cf24 Expose a TestDispatcherServlet bean in the MockMvcAutoConfiguration
This commit also contains changes to `ServletContextInitializerBeans`.
`ServletContextInitializerBeans` can now be configured to only look
for specific ServletContextInitializer subclasses, defaulting to
ServletContextIntializer.class. `SpringBootMockMvcBuilderCustomizer`
only cares about filters so it was unnecessary to look for all
`ServletContextInitializer`s. Additionally, adapting `Servlet` beans
caused a cycle once the `DispatcherServlet` bean was added and the
customizer only needs to adapt `Filter` beans.

Closes gh-13241
6 years ago
Andy Wilkinson 6a189cee06 Merge branch '2.0.x' 6 years ago
Andy Wilkinson a57d0f0853 Reinstate order of WebMvcMetricsFilter
Closes gh-13781
6 years ago
Stephane Nicoll a98b020ee4 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 944ed767ac Add dependency management for elasticsearch integration tests distro
Closes gh-13547
6 years ago
Stephane Nicoll 526b50645e Merge branch '2.0.x' 6 years ago
dreis2211 e9a8d4c949 Remove unused AbstractCouchbaseAutoConfigurationTests
Closes gh-13797
6 years ago
Stephane Nicoll 8bf22db9c3 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 6e749ef276 Improve NoSuchBeanDefinitionFailureAnalyzer to handle null beans
Previously, if a user defines a `@Bean` with a method that returns
`null`, injection by type will ignore that definition but the report
doesn't mention that candidate.

This commit improves the failure analyzer to look for user-defined beans
as well, detecting beans that are `null` matching the requested type
and including them in the report.

Closes gh-13531
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 070c26d6c3 Merge branch '2.0.x' 6 years ago
Stephane Nicoll d6c7eff8f7 Add check for empty values for lookup
Closes gh-13419
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 43091150d8 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 8095ee4a5b Polish contribution
See gh-13790
6 years ago
Johnny Lim f363fe7dd1 Polish
See gh-13790
6 years ago
Stephane Nicoll ac01409332 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ec2ebf52de Merge branch '1.5.x' into 2.0.x 6 years ago
Brian Clozel 624cbe08d5 Merge branch '2.0.x' 6 years ago
Brian Clozel 58e886fddf Remove @Lazy injection for HttpMessageConverters
This commit turns a lazy injection point for `HttpMessageConverters`
into an `ObjectProvider`-backed injection.

This allows to lazily rely on that bean without creating for it; in some
environments, such proxy creation can lead to issues like SPR-16990.

See gh-13785
6 years ago
Stephane Nicoll b7274966c4 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ffe994335e Merge branch '1.5.x' into 2.0.x 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
Stephane Nicoll 9c0ce3d20a Merge branch '2.0.x' 6 years ago
Johnny Lim f2cef87878 Fix since on JdbcOperationsDependsOnPostProcessor
Closes gh-13778
6 years ago
Brian Clozel 9b60eef0e2 Fix build after SPR-17034 in Spring Framework
Since SPR-17034, the core container now behaves a bit differently when
dealing with `null` beans.

Given a `null` `HandlerMapping` bean named "resourceHandlerMapping":

* `context.getBean("resourceHandlerMapping", HandlerMapping.class)`
still returns a `NullBean`
* `ListableBeanFactory.getBeansOfType` will return a Map of all existing
beans, not including the `null` ones as values of the map.

Closes gh-13760
6 years ago
Johnny Lim 1ae420670a Polish
Closes gh-13776
6 years ago
Stephane Nicoll 48962718d1 Merge branch '2.0.x' 6 years ago
Johnny Lim 068e22d60b Polish
See gh-13776
6 years ago
Stephane Nicoll 635986299c Merge branch '2.0.x' 6 years ago
Johnny Lim 4314dc2972 Remove a List creation in CompositePropertySources.iterator()
Closes gh-13774
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
Madhura Bhave d1b8558430 Make /health and /info insecure by default
Closes gh-13722
6 years ago
Stephane Nicoll 42bba4e1c5 Document Liquibase default values
Closes gh-13765
6 years ago
Andy Wilkinson c59f31218a Revert "Ignore Data Elasticsearch test that fails due to DATAES-470"
Closes gh-13744
6 years ago
Stephane Nicoll 4c7c328972 Polish "Upgrade to Liquibase 3.6.2"
Closes gh-13625
6 years ago
Miguel Gomes b5cb074219 Upgrade to Liquibase 3.6.2
See gh-13625
6 years ago
Stephane Nicoll fa171671b1 Merge branch '2.0.x' 6 years ago
Stephane Nicoll e6ea28dec5 Polish 6 years ago
Johnny Lim 13202eb278 Prevent duplicate RequestMatcher in RequestMatcherFactory.antPath()
Closes gh-13706
6 years ago
Stephane Nicoll d17d6374f0 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 174cc2bc4e Merge branch '1.5.x' into 2.0.x 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
Johnny Lim 1b3fa3ff0d Remove @since tag from getServlet()
Closes gh-13757
6 years ago
Brian Clozel 2e5f0c2873 Fix WebMvc auto-conf tests after Framework change
This commit adapts to a recent Spring Framework change (a40d25a) that
turns no-op Spring MVC beans (infrastructure components that, given
their configuration, won't contribute anything to the application) into
`NullBean` instances.
6 years ago
Madhura Bhave dba0e1b778 Merge branch '2.0.x' 6 years ago
Madhura Bhave d7822ba135 Update copyright header for modified files 6 years ago
Madhura Bhave 34ebf1a97c Merge branch '2.0.x' 6 years ago
Madhura Bhave c8c32cfa33 Migrate tests to ApplicationContextRunner 6 years ago
Madhura Bhave 6d9fabf5bc Harmonize mongo auto-configuration
Provides a way to easily exclude `MongoAutoConfiguration` or
`MongoReactiveAutoConfiguration` so that multiple mongo clients
are not present.

Fixes gh-12407
6 years ago
Andy Wilkinson 1ea91ece23 Merge branch '2.0.x' 6 years ago
Andy Wilkinson cced3514a7 Polish 6 years ago
Andy Wilkinson 6a48a440b2 Annotate our test annotations with @ExtendWith(SpringExtension.class)
Closes gh-13739
6 years ago
Andy Wilkinson 889f1bce3f Merge branch '2.0.x' 6 years ago
Andy Wilkinson c489c6c5f6 Polish test following forward merge 6 years ago
Andy Wilkinson f32ab6eade Merge branch '2.0.x' 6 years ago
Andy Wilkinson 67dfa0a720 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 7b4096ab50 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 44273ee093 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 611f2332e6 Polish Flyway keys 6 years ago
Stephane Nicoll 29fcb10f8d Polish 6 years ago
Stephane Nicoll 59749d53b8 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 48819253eb Fix dependency order between JdbcTemplate and database migration tools
This commit makes sure that Flyway/Liquibase migrates the schema if
necessary before a `JdbcTemplate` is made available as an injection
point.

This commit also adds a test that validates simple datasource
initialization (spring.datasource.*) happens before a `JdbcTemplate`
bean can be used.

Closes gh-13155
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 8cc0d5577e Avoid unwanted bean overrides in spring-boot-test-autoconfigure
See gh-13609
6 years ago
Johnny Lim f94ce495d8 Fix parameter order for RequestMatcherAssert.doesNotMatch()
Closes gh-13707
6 years ago
Stephane Nicoll 8194dc4aea Merge branch '2.0.x' 6 years ago
Stephane Nicoll 177c54d441 Migrate JdbcTemplateAutoConfiguration tests to context runner 6 years ago
Andy Wilkinson 87b72cc981 Polish DevTools auto-configuration tests to avoid bean overrides
See gh-13609
6 years ago
Stephane Nicoll 5fcf45c4d0 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 3423c5dddb Detect DispatcherServlets registered via ServletRegistrationBean
Previously, when a DispatcherServlet was registered via a
ServletRegistrationBean, the mappings endpoint did not expose any
information about it as it wasn't detected.

This commit fixes the detection of available DispatcherServlets in the
context so that the mappings endpoint include them all.

Closes gh-13186
6 years ago
Andy Wilkinson a5b3d549b9 Ignore Data Elasticsearch test that fails due to DATAES-470 6 years ago
Andy Wilkinson 43e2df105c Align with latest changes in Spring Data REST 6 years ago
Andy Wilkinson cf3b1f6653 Start building against Spring HATEOAS 0.25.0 snapshots
See gh-13742
6 years ago
Stephane Nicoll 8426e3c2c9 Merge branch '2.0.x' 6 years ago
Johnny Lim 46e6aa5963 Fix query string encoding in TraceableHttpServletRequest
Closes gh-13545
6 years ago
dreis2211 be837ccb4b Use PropertySources.stream() where possible
Closes gh-13724
6 years ago
Stephane Nicoll 8c691273e3 Merge branch '2.0.x' 6 years ago
Johnny Lim 0de8317979 Separate logging from getUrlMappings()
Closes gh-13710
6 years ago
Andy Wilkinson c1a81cfca0 Prohibit bean overriding by default and analyze override failures
Closes gh-13609
6 years ago
Andy Wilkinson cdd9c92ba2 Start building against snapshots for Spring Data Lovelace RC1
See gh-13740
6 years ago
Andy Wilkinson 19a494a94d Merge branch '2.0.x' 6 years ago
Andy Wilkinson 57e2bb9c6a Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim b87b23a44f Fix parameter order for RequestMatcherAssert.doesNotMatch()
Closes gh-13707
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
Andy Wilkinson 918191664a Merge branch '2.0.x' 6 years ago
Andy Wilkinson 9eb5c9bd18 Merge branch '1.5.x' into 2.0.x 6 years ago
dreis2211 d1acf9a24d Fix API adaptation changes for Reactor Netty 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
Miguel Gomes 838e6cdbbb Improve description of Endpoint exclude
See gh-13619
6 years ago
Stephane Nicoll 0b48e223f3 Merge branch '2.0.x' 6 years ago
Johnny Lim ab6adc8265 Polish
Closes gh-13616
6 years ago
dreis2211 5fcba490d2 Polish conditional expressions
Closes gh-13583
6 years ago
dreis2211 ba46e77169 Optimize checks for java classes in Binder
Closes gh-13567
6 years ago
Stephane Nicoll 3e24df1794 Polish "Add reference to structurizr starter"
Closes gh-13540
6 years ago
Klaus Lehner 94517b9811 Add reference to structurizr starter
See gh-13540
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
Brian Clozel 68a3c234be Adapt to API changes in Reactor Netty
The following issue changed the SSL configuration API for both client
and server: https://github.com/reactor/reactor-netty/issues/370
6 years ago