Commit Graph

2948 Commits (e41519b6b10b9e086906006de20a1990f77f7ea2)

Author SHA1 Message Date
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