Commit Graph

14195 Commits (b9c104a22dbc4125a8be2bf43e1606427d250a15)
 

Author SHA1 Message Date
Brian Clozel 64777204d8 Apply codecs auto-configuration to WebFlux
This commit introduces `CodecCustomizer`, a new callback-based interface
for customizing the codecs configuration for WebFlux server and client.

Instances of those customizers are applied to the `WebClient.Builder`
and to the `WebFluxAutoConfiguration` (which deals with both WebFlux and
WebFlux.fn).

For now, only Jackson codecs are auto-configured, by getting the
`ObjectMapper` instance created by Spring Boot. Other codecs can be
configured as soon as WebFlux supports those.

Closes gh-9166
7 years ago
Brian Clozel 4ce726b1a0 Auto-configure WebClient.Builder
This commit adds a new customizer interface for applying
configuration changes to `WebClient.Builder` beans:
`WebClientCustomizer`.

The new WebClient auto-configuration will make available, as a
prototype scoped bean, `WebClient.Builder` instances.
Once injected, developers can use those to create `WebClient`
instances to be used in their application.

`WebClientCustomizer` beans are sorted according to their
`Order` and then applied to the builder instances.

Closes gh-9522
7 years ago
Andy Wilkinson 89af4a65cf Upgrade to Sqlite Jdbc 3.19.3
Closes gh-9665
7 years ago
Andy Wilkinson 535005da7b Upgrade to Mockito 2.8.47
Closes gh-9664
7 years ago
Andy Wilkinson 3eafd04ebc Upgrade to Influxdb Java 2.7
Closes gh-9663
7 years ago
Andy Wilkinson 58414b793a Upgrade to Elasticsearch 5.4.3
Closes gh-9662
7 years ago
Andy Wilkinson 7080500db9 Upgrade to Commons Lang3 3.6
Closes gh-9661
7 years ago
Andy Wilkinson 73a1bb848d Upgrade to Activemq 5.15.0
Closes gh-9660
7 years ago
Andy Wilkinson cc4e8212dc Upgrade to Rxjava2 2.1.1
Closes gh-9659
7 years ago
Andy Wilkinson 2b24ded1c1 Upgrade to Mssql Jdbc 6.2.0.jre8
Closes gh-9658
7 years ago
Andy Wilkinson 3f69b84c43 Upgrade to Json Path 2.3.0
Closes gh-9657
7 years ago
Andy Wilkinson 154837eae4 Upgrade to Cassandra Driver 3.3.0
Closes gh-9656
7 years ago
Andy Wilkinson 6db4330328 Prevent Elasticsearch from configuring Netty's available processors 7 years ago
Stephane Nicoll c0e06f1b9b Polish 7 years ago
Stephane Nicoll 82860d6a1f Add reference to release notes
Closes gh-9646
7 years ago
Madhura Bhave b19b515549 Add failure analyzer for invalid config property name
Closes gh-9545
7 years ago
Stephane Nicoll c40668ecbd Polish 7 years ago
Stephane Nicoll de2cdd8528 Use lettuce rather than Jedis for actuator tests 7 years ago
Andy Wilkinson 2204dc6f79 Start building against Spring Security OAuth 2.2.0 snapshots
Closes gh-9589
7 years ago
Stephane Nicoll 6e32f49630 Migrate HealthIndicatorAutoConfigurationTests to ContextLoader 7 years ago
Stephane Nicoll 0fcf6a0e51 Allow to specify multiple auto-configs in autoConfigFirst 7 years ago
Stephane Nicoll f2fe2c4dd5 Polish 7 years ago
Stephane Nicoll eb4f59094a Fix typo 7 years ago
Stephane Nicoll 158510f1be Add reference to GraphQL starter
Closes gh-8026
7 years ago
Madhura Bhave 18816c33ab Test case to prove binding to collection calls setter
Closes gh-9290
7 years ago
Brian Clozel 915ad47a0e Merge pull request #9637 from rstoyanchev/bismuth-snapshot
Upgrade to Bismuth snapshots
7 years ago
Rossen Stoyanchev c81532c48a Upgrade to Bismuth snapshots 7 years ago
Madhura Bhave f6b613b0d4 Merge branch '1.5.x' 8 years ago
Madhura Bhave a064a52f0b Document health aggregation strategy and default status mappings
Closes gh-9580
8 years ago
Madhura Bhave 4dc5346a6d Merge branch '1.5.x' 8 years ago
Madhura Bhave 528e334e1c Document @EnableWebSecurity behavior when management security disabled
Closes gh-9270
8 years ago
Stephane Nicoll 5ecdee0e1b Polish 8 years ago
Stephane Nicoll 18ba414000 Add test helper to manipulate the ApplicationContext
This commit adds ContextLoader, a test helper that configures an
ApplicationContext that is meant to simulate a particular
auto-configuration scenario.

The auto-configuration, user configuration and environment can be
customized. The loader invokes a ContextConsumer to assert the context
and automatically close the context once it is done.

Concretely, tests can create a shared field instance of that helper with
the shared configuration to increase its visibility and tune the context
further in each test.

If the context is expected to fail, `loadAndFail` allows to optionally
assert the root exception and consume it for further assertions.

This commit also migrates some tests to illustrate the practical use of
the helper

Closes gh-9634
8 years ago
Andy Wilkinson 216c5c2179 Set executable permission on Gradle-built archives that include launch script
Closes gh-9632
8 years ago
Stephane Nicoll 8bfd6e890c Merge pull request #9633 from ZhijunZhao:starter
* pr/9633:
  Add GitHub link for Azure Spring Boot Starters
8 years ago
Zhijun Zhao 715442601c Add GitHub link for Azure Spring Boot Starters
Closes gh-9633
8 years ago
Stephane Nicoll fd045f0e2f Merge branch '1.5.x' 8 years ago
Stephane Nicoll 7f8a8ba115 Properly handle `null` package
Closes gh-9621
8 years ago
Stephane Nicoll 41e6037173 Merge pull request #9628 from satamas:master
* pr/9628:
  Polish "Narrow the event types ConfigFileApplicationListener supports"
  Narrow the event types ConfigFileApplicationListener supports
8 years ago
Stephane Nicoll 26b27d41e7 Polish "Narrow the event types ConfigFileApplicationListener supports"
Closes gh-9628
8 years ago
satamas d26857289c Narrow the event types ConfigFileApplicationListener supports
See gh-9628
8 years ago
Stephane Nicoll e52a328396 Merge branch '1.5.x' 8 years ago
Stephane Nicoll c75d78a61a Merge pull request #9629 from htynkn:feature/disable-trimStackTrace
* pr/9629:
  Disable trimStackTrace in surefire plugin
8 years ago
Yunkun Huang eb299b95c2 Disable trimStackTrace in surefire plugin
Closes gh-9629
8 years ago
Stephane Nicoll 88553ed6f4 Upgrade to build-helper-maven-plugin 3.0.0
Closes gh-9619
8 years ago
Stephane Nicoll 2892039ccd Better tests for datasource initialization
See gh-9528
8 years ago
Stephane Nicoll 4e19c47e78 Fix wrong assertion 8 years ago
Stephane Nicoll 1ba0df99b2 Polish 8 years ago
Madhura Bhave acaef9c95a Make origin aware system property source
Closes gh-9252
8 years ago
Stephane Nicoll 7275c8795e Merge branch '1.5.x' 8 years ago