Commit Graph

3227 Commits (c89910c1b61632ea0200ed7f5e7b1dc0ca7e786a)

Author SHA1 Message Date
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
Brian Clozel bdd95f09a4 Polish WebClient metrics support
This commit improves the for Actuator Metrics in WebClient.

Unlike the server couterpart of WebFlux, using a `retry` operator on a
`WebClient` pipeline does resubscribes to the whole chain.
The previous implementation recorded start time at the time of pipeline
build phase, but outside of it. This doesn't work since retrying the
same pipeline doesn't update the recorded start time and the duration of
sequential calls are cumulative.

This is now fixed using the Reactor `Context`, since we're now recording
the start time at subscription time and record metrics on `onNext` and
`onError` signals.

Closes gh-12228
6 years ago
Andy Wilkinson 337d2d8e9a Merge branch '2.0.x' 6 years ago
Andy Wilkinson 58be01a790 Try to make Jest auto-configuration tests more robust 6 years ago
Andy Wilkinson 913872327c Merge branch '2.0.x' 6 years ago
Andy Wilkinson 468453b66e Upgrade to Kotlin 1.2.51
Closes gh-13705
6 years ago
Andy Wilkinson 0e8206cdf4 Start building against Spring Framework 5.0.8 snapshots
See gh-13704
6 years ago
Andy Wilkinson bc65c4cb2c Update Infinispan dependency management for changes between 9.1 and 9.3
Closes gh-13570
6 years ago
Galder Zamarreño 79155a5313 Upgrade to Infinispan 9.3.0.Final
See gh-13570
6 years ago
Andy Wilkinson ed39d0106d Remove dependency management for groovy-all as it doesn't exist in 2.5
See gh-13670
6 years ago
Andy Wilkinson 4799a539fe Stop using groovy-all as it does not exist in Groovy 2.5 6 years ago
Andy Wilkinson fd624c20cf Upgrade to Hikaricp 3.2.0
Closes gh-13695
6 years ago
Andy Wilkinson 5e6220f040 Upgrade to Versions Maven Plugin 2.5
Closes gh-13694
6 years ago
Andy Wilkinson 27d727b52e Upgrade to Maven Site Plugin 3.7.1
Closes gh-13693
6 years ago
Andy Wilkinson 649511d3c8 Upgrade to Maven Shade Plugin 3.1.1
Closes gh-13692
6 years ago
Andy Wilkinson e219c8793b Upgrade to Maven Resources Plugin 3.1.0
Closes gh-13691
6 years ago
Andy Wilkinson a7351ec734 Upgrade to Maven Jar Plugin 3.1.0
Closes gh-13690
6 years ago
Andy Wilkinson 2c745aab14 Upgrade to Maven Help Plugin 3.1.0
Closes gh-13689
6 years ago
Andy Wilkinson 18904ec291 Upgrade to Mysql 8.0.11
Closes gh-13688
6 years ago
Andy Wilkinson 4cd0b194ab Upgrade to Maven Dependency Plugin 3.1.1
Closes gh-13686
6 years ago
Andy Wilkinson dbef33dd2a Upgrade to Maven Clean Plugin 3.1.0
Closes gh-13685
6 years ago
Andy Wilkinson 6fa24edf3a Upgrade to Snakeyaml 1.21
Closes gh-13684
6 years ago
Andy Wilkinson 099dd0bd93 Upgrade to Xmlunit2 2.6.0
Closes gh-13683
6 years ago
Andy Wilkinson 63cddd1b6d Upgrade to Sqlite Jdbc 3.23.1
Closes gh-13682
6 years ago
Andy Wilkinson a79644f252 Upgrade to Selenium 3.13.0
Closes gh-13681
6 years ago
Andy Wilkinson 366899f10c Upgrade to Selenium Htmlunit 2.31.0
Closes gh-13680
6 years ago
Andy Wilkinson fe2749ee7e Upgrade to Lombok 1.18.0
Closes gh-13679
6 years ago
Andy Wilkinson 373fde9b5d Upgrade to Mongo Driver Reactivestreams 1.9.0
Closes gh-13678
6 years ago
Andy Wilkinson 757c6a9619 Upgrade to Mongodb 3.8.0
Closes gh-13677
6 years ago
Andy Wilkinson d1f441a038 Upgrade to Mockito 2.19.0
Closes gh-13676
6 years ago
Andy Wilkinson 134edf9f2a Upgrade to Jooq 3.11.2
Closes gh-13675
6 years ago
Andy Wilkinson fba7ff293c Upgrade to Jolokia 1.6.0
Closes gh-13674
6 years ago
Andy Wilkinson 9b72a4c1f0 Upgrade to Influxdb Java 2.11
Closes gh-13673
6 years ago
Andy Wilkinson b6b37c91bb Upgrade to Flyway 5.1.3
Closes gh-13672
6 years ago
Andy Wilkinson 2348047450 Upgrade to Elasticsearch 6.3.0
Closes gh-13671
6 years ago
Andy Wilkinson e4869a71be Upgrade to Groovy 2.5.0
Closes gh-13670
6 years ago
Andy Wilkinson 2f303f3e5b Upgrade to Assertj 3.10.0
Closes gh-13669
6 years ago
Andy Wilkinson cbcde741b1 Upgrade to Aspectj 1.9.1
Closes gh-13668
6 years ago
Andy Wilkinson 1d4ec56b08 Upgrade to Solr 7.4.0
Closes gh-13667
6 years ago
Andy Wilkinson 13d53c0a33 Upgrade to Log4j2 2.11.0
Closes gh-13666
6 years ago
Andy Wilkinson d80181c550 Upgrade to Derby 10.14.2.0
Closes gh-13665
6 years ago
Andy Wilkinson 53cb3d8641 Upgrade to Commons Dbcp2 2.4.0
Closes gh-13664
6 years ago
Andy Wilkinson 304598e4bc Upgrade to Artemis 2.6.2
Closes gh-13663
6 years ago
Andy Wilkinson fbcc92dc7d Upgrade to Htmlunit 2.31
Closes gh-13662
6 years ago
Andy Wilkinson 5a85b7dbb7 Upgrade to Byte Buddy 1.8.12
Closes gh-13661
6 years ago
Andy Wilkinson c21a6c59a9 Upgrade to Joda Time 2.10
Closes gh-13660
6 years ago
Andy Wilkinson 7fb62af8bd Upgrade to Javax Transaction 1.3
Closes gh-13659
6 years ago
Andy Wilkinson c94d8b1978 Upgrade to Rest Assured 3.1.0
Closes gh-13658
6 years ago
Andy Wilkinson 706945d2ce Upgrade to Embedded Mongo 2.1.1
Closes gh-13657
6 years ago
Andy Wilkinson 49d9f59f1b Upgrade to Sendgrid 4.2.1
Closes gh-13656
6 years ago
Andy Wilkinson 031ad17ac1 Upgrade to Rabbit Amqp Client 5.3.0
Closes gh-13655
6 years ago
Andy Wilkinson a30f0d9148 Upgrade to Querydsl 4.2.1
Closes gh-13654
6 years ago
Andy Wilkinson 7e020b3170 Upgrade to Mssql Jdbc 6.4.0.jre8
Closes gh-13653
6 years ago
Andy Wilkinson dbf239be81 Upgrade to Hazelcast 3.10.2
Closes gh-13652
6 years ago
Andy Wilkinson 0827d9791a Upgrade to Cassandra Driver 3.5.1
Closes gh-13651
6 years ago
Andy Wilkinson f7aee36fd4 Upgrade to Flatten Maven Plugin 1.0.1
Closes gh-13650
6 years ago
Andy Wilkinson 1615b7d128 Upgrade to Xml Maven Plugin 1.0.2
Closes gh-13649
6 years ago
Andy Wilkinson e94aecc5b6 Upgrade to Maven Resources Plugin 3.0.2
Closes gh-13648
6 years ago
Andy Wilkinson deee5e63a6 Upgrade to Maven Javadoc Plugin 3.0.1
Closes gh-13647
6 years ago
Andy Wilkinson 8014b21ad9 Upgrade to Maven Enforcer Plugin 3.0.0-M2
Closes gh-13646
6 years ago
Andy Wilkinson 0e601c58cc Upgrade to Jooq 3.10.8
Closes gh-13645
6 years ago
Andy Wilkinson 1301e0885b Upgrade to Johnzon Jsonb 1.1.8
Closes gh-13643
6 years ago
Andy Wilkinson 11c635671f Upgrade to Rxjava2 2.1.16
Closes gh-13642
6 years ago
Andy Wilkinson f173429327 Upgrade to Flatten Maven Plugin 1.0.1
Closes gh-13650
6 years ago
Andy Wilkinson 5220a08228 Upgrade to Xml Maven Plugin 1.0.2
Closes gh-13649
6 years ago
Andy Wilkinson 573f736374 Upgrade to Maven Resources Plugin 3.0.2
Closes gh-13648
6 years ago
Andy Wilkinson 83a56bac60 Upgrade to Maven Javadoc Plugin 3.0.1
Closes gh-13647
6 years ago
Andy Wilkinson d3ef9fd2ba Upgrade to Maven Enforcer Plugin 3.0.0-M2
Closes gh-13646
6 years ago
Andy Wilkinson 1c64496470 Upgrade to Jooq 3.10.8
Closes gh-13645
6 years ago
Andy Wilkinson 797efbd259 Upgrade to Solr 6.6.5
Closes gh-13644
6 years ago
Andy Wilkinson c6dae8f305 Upgrade to Johnzon Jsonb 1.1.8
Closes gh-13643
6 years ago
Andy Wilkinson aa5b70c43c Upgrade to Rxjava2 2.1.16
Closes gh-13642
6 years ago
Andy Wilkinson 2859d7e649 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 9120f49721 Merge branch '1.5.x' into 2.0.x 6 years ago
Karl Heinz Marbaise 0d3b49cd95 Upgrade to Maven War Plugin 3.2.2
Closes gh-13629
6 years ago
Karl Heinz Marbaise 205fa2507b Remove maven-eclipse-plugin as it has been retired
Closes gh-13631
6 years ago
dreis2211 d641249ca8 Fix deprecation warning in SpringPhysicalNamingStrategyTests
Closes gh-13623
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 c3641c480b Merge branch '2.0.x' 6 years ago
Andy Wilkinson 06a8c41943 Preserve trailing whitespace in origin-tracked property values
Closes gh-13602
6 years ago
Andy Wilkinson de900e71a3 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 032d5488cd Tolerate non-existent source folders in DevTools
Closes gh-13620
6 years ago
Madhura Bhave 4eff07f6c0 Merge branch '2.0.x' 6 years ago
Madhura Bhave fddc9e9c7e Support multiple paths in DispatcherServletPathProvider
Closes gh-13603
6 years ago
Andy Wilkinson 4cccc9a886 Merge branch '2.0.x' 6 years ago
Andy Wilkinson a5d20ffed7 Avoid NPE when creating method tag for WebFlux req with non-standard method
Previously, a NullPointerException would occur when WebFluxTags
attempted to create a method Tag for a request with a non-standard
method.

This commit updates WebFluxTags to use getMethodValue(), which will
never return null, rather than getMethod(), which may return null,
when determining the tag's value for the given request.

Closes gh-13596
6 years ago
Andy Wilkinson 45fdf2ffa4 Support Tomcat 9 and Undertow 2
Closes gh-11749
Closes gh-12243
6 years ago
Andy Wilkinson b4cd4f4c43 Stop mocking class that is final in latest Framework 5.1 snapshots 6 years ago
Madhura Bhave cde3c21926 Merge branch '2.0.x' 6 years ago
dreis2211 17edf0e2fe Fix typo 6 years ago
Madhura Bhave 598b1f4300 Merge branch '2.0.x' 6 years ago
Madhura Bhave a1491be636 Refine DispatcherServletPathProvider creation
Closes gh-13527
6 years ago
Andy Wilkinson ca0de4385c Upgrade to Hibernate 5.3 and JPA 2.2
Closes gh-11725
6 years ago
Andy Wilkinson 9281e2a410 Avoid creating JsonParser for VCAP_* parsing when running outside CF
Closes gh-13437
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 80ede14510 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 911453d478 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 5c3b4333f8 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 30f0fd1fe4 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 24dec4807f Merge branch '2.0.x' 7 years ago
Andy Wilkinson fd125b4a4a Remove assumption that a file URI can be turned into a File
Closes gh-13493
7 years ago
Stephane Nicoll 4c172eb6cd Merge branch '2.0.x' 7 years ago
Stephane Nicoll f2cc6e2ef2 Fix link of RESTEasy repository
Closes gh-13538
7 years ago
Stephane Nicoll c594768640 Remove wro4j starter reference
This starter does not look maintained anymore and there is an
alternative that we also reference and has support for Spring Boot 2.
7 years ago
Stephane Nicoll 8858c88a4c Remove GraphQL starter reference
This starter does not look maintained anymore and there is a fork of it
that we also reference and has support for Spring Boot 2.
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
Andy Wilkinson eb6898314a Merge branch '2.0.x' 7 years ago
Andy Wilkinson 2624748911 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 9e9e746554 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 3ea7c2e003 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 4fc0a33094 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson c90f589906 Merge branch '2.0.x' 7 years ago
Andy Wilkinson e2d6280d83 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 7571f10ae3 Merge branch '2.0.x' 7 years ago
Andy Wilkinson e730382718 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 20546024d3 Merge branch '2.0.x' 7 years ago
Andy Wilkinson e1774672af Prefer servlet to reactive when Jersey and WebFlux are both available
Closes gh-13521
7 years ago
Stephane Nicoll 8b35d06cf6 Share RetryTemplate infrastructure for Rabbit listener and template
Closes gh-13529
7 years ago
Stephane Nicoll 65cc7c72f4 Harmonize JNDI lookups to enable resourceRef
This commit makes sure that JMS and Mail JNDI lookups behave the same
way as DataSource JNDI lookups by enabling the "resourceRef" flag.

This will make sure to add "java:comp/env" to the lookup if the JNDI
name doesn't already contain it. If that name does not exist, a second
attempt to the original name will be issued automatically.

Closes gh-12803
7 years ago
Andy Wilkinson c12f8298e6 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 814e90805e Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 3fdb2b3c85 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 864a6b3e91 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 9d3ba14686 Fix conditions for CachingConnectionFactory support
Closes gh-12161
7 years ago
Andy Wilkinson 12eafc84b0 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 497902de4e Only bridge JUL into SLF4J when JUL has not be customized
Previously, Slf4jLoggingSystem would install SLF4JBridgeHandler into
JUL but would only remove a single root handler that was a
ConsoleHandler. If there were was than one root handler or the single
root handler was of a different type, they would not be uninstalled.
When deploying an application to Tomcat, this led to duplicate log
messages appearing in Tomcat’s console output and to logging from
other application or Tomcat itself being routed into an
application-specific log file enabled using the logging.file
configuration property.

A secondary, related problem was that LogbackLoggingSystem installs a
LevelChangePropagator so that Logback’s log level configuration is
propagated into JUL. This meant that an individual Boot app with
custom log level configuration could change the log levels of Tomcat
itself and of any other applications that had been deployed to Tomcat
and use JUL.

This commit updates both Slf4jLoggingSystem and LogbackLoggingSystem
so that they only change JUL’s configuration if it hasn’t already been
customized. The configuration is deemed to have not been customised if
there’s a single root handler and its a console handler.

Closes gh-13470
7 years ago
Brian Clozel cc894ce4f2 Fix Micrometer tag providers after HttpStatus changes
Since SPR-16898, `HttpStatus.toString()` has changed and we should
instead rely on `HttpStatus.value()` to get the HTTP status number.
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
Brian Clozel 28c1bc9986 Fix DefaultErrorViewResolver after HttpStatus changes
Since SPR-16898, `HttpStatus.toString()` has changed and we should
instead rely on `HttpStatus.value()` to get the HTTP status number.
7 years ago
Stephane Nicoll 6970f19ce3 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 7ae82b070b Stop calling Charset.availableCharsets() early
This is no longer required as Spring Framework has been updated to
invoke this method lazily as well.

Closes gh-13423
7 years ago
Stephane Nicoll ae12d515ee Merge branch '2.0.x' 7 years ago
Johnny Lim 1e7ed2ffdb Add log level guards in ConfigFileApplicationListener
Closes gh-13512
7 years ago
Stephane Nicoll f682c77691 Polish "Add reference to dozer-spring-boot-starter"
Closes gh-13501
7 years ago
Kazuki Shimizu 9308904af7 Add reference to dozer-spring-boot-starter
See gh-13501
7 years ago
Johnny Lim fb834898ab Use final keywords for Map fields in JacksonProperties
Closes gh-13517
7 years ago
Madhura Bhave 3a01914b63 Merge branch '2.0.x' 7 years ago
Madhura Bhave 87680b4ee5 Fix profile precedence when active and include provided
Before 2.0.2, if profiles were activated via the environment using the
active and include profile property, profiles specified via the active
property would take precedence. This commit restores that behavior.

Fixes gh-13513
7 years ago
Stephane Nicoll 165d993e5d Merge branch '2.0.x' 7 years ago
Stephane Nicoll 62c93a4b9a Add missing `@ConditionalOnClass` check on RedisCacheConfiguration
Closes gh-13508
7 years ago
Stephane Nicoll defa171a32 Merge branch '2.0.x' 7 years ago
Johnny Lim dd3bfdbe42 Use @ManagementContextConfiguration consistently 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
Stephane Nicoll fa7da40640 Upgrade to JUnit 5.2.0
Closes gh-13118
7 years ago
Andy Wilkinson f3f573a774 Merge branch '2.0.x' 7 years ago
Andy Wilkinson b3927cfd10 Start building against Spring REST Docs 2.0.2 snapshots
See gh-13505
7 years ago
Stephane Nicoll 3b0c1354cb Upgrade to Maven Surefire/Failsafe Plugin 2.22.0
Closes gh-13500
7 years ago
Johnny Lim 403f8927c3 Polish CachesEndpoint
Closes gh-13487
7 years ago
Johnny Lim ec845c93f2 Polish HibernateProperties and its test
Closes gh-13484
7 years ago
Stephane Nicoll 60b109cf0c Merge branch '2.0.x' 7 years ago
Johnny Lim f34fb5f1ee Reduce object creation in findMatchingItemMetadata()
Closes gh-13473
7 years ago
Andy Wilkinson b96f9d635f Upgrade to Elasticsearch 5.6.10
Closes gh-13479
7 years ago
Stephane Nicoll 5654fb049f Merge branch '2.0.x' 7 years ago
Stephane Nicoll 438f0b008a Upgrade to Spring Amqp 2.0.4
Closes gh-13477
7 years ago
Stephane Nicoll 2483ed3e4e Upgrade to Spring Kafka 2.1.7
Closes gh-13476
7 years ago
Stephane Nicoll f217aa40f0 Merge branch '2.0.x' 7 years ago
Stephane Nicoll d47d84ff7a Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll de6ce79d5f Upgrade to Spring Session Apple-SR3
Closes gh-13461
7 years ago
Stephane Nicoll 40ba15047b Upgrade to Spring Integration 5.0.6
Closes gh-13457
7 years ago
Brian Clozel 6e9fee35a7 Upgrade to Spring Data Kay SR8
Closes gh-13455
7 years ago
Brian Clozel cb6c8f76e2 Configure X-Forwarded-* support with Reactor Netty
This commit configures the new X-Forwarded-* / Forwarded HTTP headers
support with Reactor Netty in its 0.8.0 version.

Closes gh-10900
7 years ago
Andy Wilkinson f8eefa80df Merge branch '2.0.x' 7 years ago
Andy Wilkinson 42c307b744 Upgrade to Solr 6.6.4
Closes gh-13468
7 years ago
Andy Wilkinson bbcbc2d113 Upgrade to Reactor Bom Bismuth-SR10
Closes gh-13467
7 years ago
Andy Wilkinson ed3f43fd25 Upgrade to Jackson 2.9.6
Closes gh-13466
7 years ago
Andy Wilkinson 0e867aec97 Upgrade to Couchbase Client 2.5.9
Closes gh-13465
7 years ago
Andy Wilkinson 71b8b2d242 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson a79c8918ff Upgrade to Spring Security 5.0.6.RELEASE
Closes gh-13459
7 years ago
Stephane Nicoll c738b73c6f Merge branch '2.0.x' 7 years ago
Johnny Lim 870d7fe16a Use @SpringBootTest.properties in tests and samples
Closes gh-13453
7 years ago
Stephane Nicoll f8eedb04cc Merge branch '2.0.x' 7 years ago
Jon Schneider 96a6d2923c Upgrade to Micrometer 1.0.5
Closes gh-13454
7 years ago
Stephane Nicoll d24647b07c Upgrade to Spring Framework 5.0.7.RELEASE
Closes gh-13353
7 years ago
Johnny Lim de3c3cd755 Add CLIENT_NAME_NONE to WebClientExchangeTags 7 years ago
Johnny Lim c908445bff Use a precompiled pattern in WebClientExchangeTags.extractPath() 7 years ago
Andy Wilkinson 5bd9a445ae Merge branch '2.0.x' 7 years ago
Andy Wilkinson 6f2171c282 Improve error message when BootJar or BootWar has no known main class
Closes gh-12712
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
Madhura Bhave 87506248b0 Merge branch '2.0.x' 7 years ago
Madhura Bhave 4194baad91 Don't log p/w when AuthenticationManagerBuilder configured
Fixes gh-12872
7 years ago
Madhura Bhave f7ff8dd165 Make generated password output consistent 7 years ago
Madhura Bhave ed734d7e43 Trace filter ignores invalid requests
Fixes gh-12987
7 years ago
Brian Clozel 751a2b438e Upgrade duplicate finder maven plugin to 1.3.0
Closes gh-13411
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 34167dc163 Polish 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
Phillip Webb a0b6547aca Don't fail build on duplicate module-info classes
Update the duplicate-finder-maven-plugin configuration to ignore
module-info classes.

Closes gh-13403
7 years ago
Madhura Bhave cb621024e4 Include error stacktrace by default when devtools is in use
Fixes gh-828
7 years ago
Phillip Webb 375769ed5a Merge branch '2.0.x' 7 years ago
Phillip Webb dc1c459cde Polish "Fix caching issues with map property sources"
Refine the property source cache key fix so that a copy of the
key is only taken when the values change. This allows us to
retain the previous performance optimization of not creating
unnecessary string arrays.

Closes gh-13344
7 years ago
Fahim Farook c556d2b58f Fix caching issues with map property sources
Update `SpringIterableConfigurationPropertySource` so that the cache
key from a `MapPropertySource` is invalidated when the map contents
changes.

Prior to this commit, the actual keys of the map were used as the key.
This meant that if the underlying map changed, they key wouldn't be
invalidated because it ultimately pointed to the same object instance.

See gh-13344
7 years ago
Madhura Bhave 9570cd4172 Add saaj and jax-ws to webservices starter
Closes gh-13360
7 years ago
Madhura Bhave 6eaae608b5 Merge branch '2.0.x' 7 years ago
Madhura Bhave 461202bc25 EndpointRequest uses empty servlet path if not available
Fixes gh-13399
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
Brian Clozel fe3de2816c Merge branch '2.0.x' 7 years ago
Brian Clozel 7cbbd95fc9 Ignore invalid Accept headers in WebFlux error handling
Prior to this commit, the `DefaultErrorWebExceptionHandler` would parse
the HTTP "Accept" headers when routing the request to the error handler;
if an error occured during parsing, an `InvalidMediaTypeException` would
be thrown and break the error handling for this request.

This commit ignores those exceptions and makes sure that the error
handling function does not override the response status or the error
itself with those exceptions.

Closes: gh-13372
7 years ago
Stephane Nicoll ab19db19a3 Move Hibernate settings to a dedicated class
Closes gh-1327
7 years ago
Andy Wilkinson cf8c0acdc5 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 47615154de Upgrade to Mongodb 3.6.4
Closes gh-13397
7 years ago
Andy Wilkinson fd56e79f7a Upgrade to Mariadb 2.2.5
Closes gh-13396
7 years ago
Andy Wilkinson 6d0d66cb28 Upgrade to Narayana 5.8.2.Final
Closes gh-13395
7 years ago
Andy Wilkinson a4a6f482c6 Upgrade to Hsqldb 2.4.1
Closes gh-13394
7 years ago
Andy Wilkinson ecd8760514 Upgrade to Hibernate Validator 6.0.10.Final
Closes gh-13393
7 years ago
Andy Wilkinson 50f3f50ebb Upgrade to Activemq 5.15.4
Closes gh-13392
7 years ago
Andy Wilkinson 2b4d51e763 Upgrade to Rxjava2 2.1.14
Closes gh-13391
7 years ago
Andy Wilkinson d79f2401be Upgrade to Netty 4.1.25.Final
Closes gh-13390
7 years ago
Andy Wilkinson 2d4f1bb043 Upgrade to Unboundid Ldapsdk 4.0.6
Closes gh-13389
7 years ago
Andy Wilkinson 27b5fdd1e1 Merge branch '1.5.x' into 2.0.x 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
Stephane Nicoll 0d63e7f592 Merge branch '2.0.x' 7 years ago
dreis2211 ba8a32fa4e Replace commons-codec Base64 usage
See gh-13378
7 years ago
Phillip Webb e0ae805924 Update copyright header 7 years ago
Phillip Webb 66be6c3396 Polish 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
Dmytro Nosan 5b159a6bd0 Use Duration in HttpWebServiceMessageSenderBuilder
Closes gh-13364
7 years ago
Stephane Nicoll 909722f143 Polish 7 years ago
Stephane Nicoll e9c3df4ad2 Polish "Add duration support for setConnectTimeout and setReadTimeout"
Closes gh-13355
7 years ago
Dmytro Nosan 36f3c1b883 Add duration support for setConnectTimeout and setReadTimeout
See gh-13355
7 years ago
Stephane Nicoll 8691d01aaf Polish "Add duration support for setConnectTimout and setReadTimeout"
See gh-13355
7 years ago
Stephane Nicoll 83f7df920b Merge branch '2.0.x' 7 years ago
Stephane Nicoll bf56ec496d Polish 7 years ago
Stephane Nicoll 47634f5587 Polish 7 years ago
Stephane Nicoll 1901008d6f Merge branch '2.0.x' 7 years ago
Stephane Nicoll fff06822dc Polish 7 years ago
Stephane Nicoll d84e2b90d7 Fix wrong usage of ManagementContextConfiguration
Closes gh-13366
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
Stephane Nicoll c612ed2695 Polish "RestTemplateCustomizers should be applied at the end"
Closes gh-13358
7 years ago
Dmytro Nosan ce3420748f RestTemplateCustomizers should be applied at the end
See gh-13358
7 years ago
Phillip Webb ade1397ea2 Merge branch '2.0.x' 7 years ago
Phillip Webb 571c50e43f Switch to functional web code to use static imports
Update the samples and tests to use the more idiomatic static import
style.
7 years ago
Phillip Webb 2274ac5214 Move spring-javaformat plugins to root POM
Relocate spring-javaformat plugins to the root of the project.

Closes gh-13306
7 years ago
Phillip Webb d47e7ebb5b Merge branch '2.0.x' 7 years ago
Phillip Webb e1d21e52d5 Allow multi-value spring.profiles properties
Update `ConfigFileApplicationListener` to correctly load properties
that have `spring.profiles` values containing a list.

Prior to this commit the loaded would attempt to add the same document
twice resulting in a "property source cannot be added relative to
itself" error.

Closes gh-13362
7 years ago
Phillip Webb a12baed5de Merge branch '2.0.x' 7 years ago
Phillip Webb c1ab3eab69 Polish 7 years ago
Phillip Webb 67b548dafb Protect against infinite property include loop
Update `ConfigFileApplicationListener` to ensure that a
`spring.profiles.include` property that refers to an already processed
profile doesn't cause an infinite loop.

Closes gh-13361
7 years ago
Madhura Bhave 378c4c9535 Stop included profiles overriding active profiles
Update `ConfigFileApplicationListener` so that `spring.profiles.include`
properties do not override higher priority active profiles.

This commit also changes when profiles get added to the environment.
Profiles are now added to the environment at the time of profile
processing so that they get logged in the order that they are processed.

Closes gh-13151
7 years ago
Brian Clozel 87af880446 Reactor BOM is now declaring reactor-netty 0.8
See gh-13321
7 years ago
Madhura Bhave 360d392eb1 Merge branch '2.0.x' 7 years ago
Madhura Bhave 60a4d67b13 Handle special characters in TraceableHttpServletRequest
Fixes gh-13273
7 years ago
Phillip Webb ef5301d079 Add saaj and jax-ws dependencies for Java 9 build
Add test dependencies for saaj-impl and jax-ws since Java 9+ no longer
includes them.

See gh-1270
7 years ago
Andy Wilkinson ebb99d1c20 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 1a0dfa06ab Add log4j-jul to Log4j 2 starter
Closes gh-12659
7 years ago
Phillip Webb 1d35b629bb Merge branch '2.0.x' 7 years ago
Phillip Webb abe92eba2e Protect Inet test against "helpful" DNS resolvers
Update `InetAddressFormatterTests` to ensure that DNS resolvers that
return a "help" page for missing domains don't cause the build to fail.

Closes gh-11897
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
Andy Wilkinson 0f321abe66 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 70c0d6a005 Test the Gradle plugin against Gradle 4.8
Closes gh-13359
7 years ago
Andy Wilkinson 00449bef6a Use app…DefaultJvmArgs as convention for start script's defaultJvmOpts
Closes gh-12631
7 years ago
Andy Wilkinson aee6aecfc2 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 624946a779 Upgrade to Maven Invoker Plugin 3.1.0
Closes gh-12687
7 years ago
Stephane Nicoll 93396aef51 Polish 7 years ago
Andy Wilkinson b38f60a631 Merge branch '2.0.x' 7 years ago
Andy Wilkinson d54072e0a8 More accurately document buildInfo's effect on up-to-date checking
Closes gh-13152
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
Andy Wilkinson d0ce919d8c Merge branch '2.0.x' 7 years ago
Andy Wilkinson 0df37b917b Ignore unresolvable placeholders during property binding
Closes gh-13122
7 years ago
Andy Wilkinson 9c8d2c8016 Improve analysis of bind failures caused by a conversion failure
Closes gh-13357
7 years ago
Andy Wilkinson 92629ac5af Merge branch '2.0.x' 7 years ago
Andy Wilkinson ea51cfabca Avoid uri tag explosion when use of path variable is undetected
Previously, WebMvcTags would fall back to using the request’s path
info if Spring MVC’s best matching path pattern attribute was not
available. For non-Spring MVC web frameworks that support path
variables, such as Jersey, this led to an explosion of URI tags that
could exhaust the heap.

Closes gh-12447
7 years ago
Stephane Nicoll 4a6102091e Merge branch '2.0.x' 7 years ago
Stephane Nicoll bc59434bcc Start building against Spring Framework 5.0.7 snapshots
See gh-13353
7 years ago
Stephane Nicoll 99f0270fce Merge branch '2.0.x' 7 years ago
Stephane Nicoll a9b2826c26 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 8bcea0d8cc Polish "Add auto-configuration for WebServiceTemplate"
Closes gh-1270
7 years ago
Stephane Nicoll ef9c1a8e35 Extract ClientHttpRequestFactory detection to its own class
See gh-12707
7 years ago
dnosan c9df1c551a Add auto-configuration for WebServiceTemplate
See gh-12707
7 years ago
Stephane Nicoll 283ceaa071 Merge branch '2.0.x' 7 years ago
dreis2211 8bb7b8af51 Remove usage of deprecated Matchers class
Closes gh-13345
7 years ago
Stephane Nicoll d924c89525 Merge branch '2.0.x' 7 years ago
dreis2211 29605bacd2 Polish stream creation in some PropertySources
Closes gh-13343
7 years ago
Madhura Bhave 37a7457f36 Polish 7 years ago
Madhura Bhave 458d574d1f Merge branch '2.0.x' 7 years ago
Madhura Bhave 95174a0773 Don't fail if aggregate merge can't get existing value
Fixes gh-13303
7 years ago
Madhura Bhave 8ce13c765b Support binding to immutable maps
Closes gh-13323
7 years ago
Andy Wilkinson 78b1a37d7d Merge branch '2.0.x' 7 years ago
Andy Wilkinson 68cd27c47b Do not require DataSourcePoolMetrics to auto-configure Hikari meters
Closes gh-13330
7 years ago
Andy Wilkinson e306aad28c Merge branch '2.0.x' 7 years ago
Andy Wilkinson 27267a7090 Ensure that condition evaluator uses runner’s class loader
Closes gh-13319
7 years ago
Vedran Pavic 205b1c1327 Upgrade to Hazelcast 3.10.1
Closes gh-13322
7 years ago
Johnny Lim 5d5a14e4f7 Make MetricsProperties fields final if possible
Closes gh-13324
7 years ago
Stephane Nicoll 77dcbdb1e5 Polish
See gh-13320
7 years ago
Stephane Nicoll bc47bf44a9 Merge branch '2.0.x' 7 years ago
Johnny Lim 6b0ce46491 Polish
Closes gh-13320
7 years ago
Madhura Bhave 817c228906 Merge branch '2.0.x' 7 years ago
Madhura Bhave 0afd947350 BindFailureAnalyzer should show original failure message
Fixes gh-13122
7 years ago
Stephane Nicoll 58d634f498 Merge branch '2.0.x' 7 years ago
Stephane Nicoll fa21333e4d Upgrade to Spring Cloud Connectors 2.0.2.RELEASE
Closes gh-13318
7 years ago
Stephane Nicoll 5790a26bcb Merge branch '2.0.x' 7 years ago
Stephane Nicoll 20e349c332 Polish 7 years ago
Stephane Nicoll fec75c42fa Move unused property in code to metadata 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
Andy Wilkinson cff5c1ec72 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 0d7d95d8a9 Align RestTemplateBuilder with Framework's removal of OkHttp 2 support
Closes gh-13314
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
Phillip Webb 92b9b234f1 Merge branch '2.0.x' 7 years ago
Phillip Webb 3751968ecd Add missing ExpectedException rule
Add ExpectedException rule which was missed from the 1.5.x merge.
7 years ago
Phillip Webb 840948c6c9 Polish 7 years ago
Phillip Webb 3fb79194a0 Merge branch '2.0.x' 7 years ago
Phillip Webb f8ec2e6176 Polish 7 years ago
Phillip Webb cf27917e86 Merge branch '2.0.x' 7 years ago
Phillip Webb bdd541b2cc Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 5ae061f491 Merge branch '1.5.x' into 2.0.x 7 years ago
Madhura Bhave 9f4a5c13a5 Add auto-config for WebFlux OAuth2 Login
Closes gh-13142
7 years ago
Phillip Webb 792f0b190d Merge branch '2.0.x' 7 years ago
Phillip Webb 2c6465abdc Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 353560278b Merge branch '2.0.x' 7 years ago
Phillip Webb 401fcbeaa4 Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 40800355c7 Merge branch '2.0.x' 7 years ago
Phillip Webb 587df6a07a Port call setHttpOnly property on Tomcat context
Port "setHttpOnly on the TomcatContext" fix from commit 4d84933ee4 to
2.0.x. Since `Session` details are now configured on the
`WebServerFactory` we can directly configure the context.

See gh-12580
7 years ago
Phillip Webb e38d5f910b Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 09fa1e7e11 Polish 7 years ago
Stephane Nicoll 463e11ab2b Merge branch '2.0.x' 7 years ago
Johnny Lim 4eb070767c Remove an unnecessary @QuartzDataSource
Closes gh-13302
7 years ago
Stephane Nicoll f06627c408 Allow CompositeHealthIndicator to be created with a Map as before
See gh-4965
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 bd9299dbf9 Add missing metadata for renamed SSL properties
Closes gh-13239
7 years ago
Andy Wilkinson 35c48bb9bd Polish 7 years ago
Andy Wilkinson 48a6abe217 Polish 7 years ago
Madhura Bhave ed08e4592f Merge branch '2.0.x' 7 years ago
Madhura Bhave ad1283195a Fix test in "Truststore password if SSLstoreprovider present"
See gh-13088
7 years ago
Ian Chan e75d45ca45 Use empty trust-store password if SSL store provider present
For Tomcat, if an SslStoreProvider is configured,
`SslStoreProviderUrlStreamHandlerFactory` stores the trust-store with an
empty password. Previously, if a password was supplied using the
ssl.trust-store-password property, that would be the password used to
load the trust-store and the connector would warn with "Password
verification failed" message.

Fixes gh-12688
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
Stephane Nicoll c8f57acca6 Merge branch '2.0.x' 7 years ago
Stephane Nicoll faa9910e46 Enable cache when a SecurityContext parameter is used
This commit restores caching for the main read operation when the
SecurityContext does not expose a principal (i.e. guest access).

Closes gh-13238
7 years ago
Andy Wilkinson 32a9addb57 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 1ce22aa50a Polish 7 years ago
Stephane Nicoll 39861bf819 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 4259817572 Fix extension discovery when endpoint instance is sub-classed
This commit fixes endpoint extension discovery when the related endpoint
is sub-classed. Previously, a strict by type check was applied against
the `endpoint` attribute of `EndpointExtension`.

Rather than using a `Class` check, this commit extracts the id of an
endpoint and uses it to match its extension, if any.

Closes gh-13082
7 years ago
Stephane Nicoll 52b80c77d8 Merge branch '2.0.x' 7 years ago
nkjackzhang 17bcd1c359 Fix wrong reference in cast operation
Closes gh-13288
7 years ago
Stephane Nicoll 3bbdeee70b Merge branch '2.0.x' 7 years ago
Johnny Lim bd2053aa17 Use more Tag constants
Closes gh-13286
7 years ago
Stephane Nicoll 188ba14c17 Merge branch '2.0.x' 7 years ago
Johnny Lim 9de2a8786d Fix a wrong issue reference
Closes gh-13284
7 years ago
Stephane Nicoll e2c14c590a Merge branch '2.0.x' 7 years ago
dreis2211 3ed31d60dc Add assertion in IntegrationAutoConfigurationTests
Closes gh-13280
7 years ago
Stephane Nicoll 6814b7f240 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 8a9d0bd22a Merge branch '1.5.x' into 2.0.x 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 f91b53747a Merge branch '2.0.x' 7 years ago
Johnny Lim f385a1cb11 Polish
Closes gh-13243
7 years ago
Stephane Nicoll 7462401291 Merge branch '2.0.x' 7 years ago
Eddú Meléndez 065eebfb4b Fix javadoc
Closes gh-13274
7 years ago
Stephane Nicoll be9a0ef65d Merge branch '2.0.x' 7 years ago
hengyunabc b75e58b70f Add enforce-rule to ensure maven version >= 3.5.0
Closes gh-13271
7 years ago
Phillip Webb 3739699d79 Merge branch '2.0.x' 7 years ago
Phillip Webb dba73d76b8 Merge branch '1.5.x' into 2.0.x 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
Phillip Webb 68ffbafbae Fix checkstyle violations 7 years ago
Phillip Webb 3702da4573 Formatting 7 years ago
Phillip Webb 2215709165 Merge branch '2.0.x' 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 5626b7a50d Merge branch '2.0.x' 7 years ago
Phillip Webb 9c5f207e22 Fix merge error 7 years ago
Phillip Webb d8157c94f3 Merge branch '2.0.x' 7 years ago
Phillip Webb 21d80d87a3 Merge branch '1.5.x' into 2.0.x 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
Madhura Bhave 940c3d1b75 Merge branch '2.0.x' 7 years ago
Madhura Bhave 552878c431 Fix javadoc 7 years ago
Stephane Nicoll 79967a482a Merge branch '2.0.x' 7 years ago
Stephane Nicoll a5b53b263e Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 4464a5f5bd Remove code deprecated in 2.0
Closes gh-12962
7 years ago
Stephane Nicoll 1ea3e95ff6 Merge branch '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 12bbb18844 Merge branch '2.0.x' 7 years ago
Stephane Nicoll a124379dd9 Remove use of deprecated `web` methods
Closes gh-13231
7 years ago