Commit Graph

7806 Commits (5ba0a9120e4d95336d476569888344b2d0333784)

Author SHA1 Message Date
Dmytro Nosan 25838b4794 Support nested requests in MetricsClientHttpRequestInterceptor
Prior to this commit, requests made by `HttpRequestInterceptor`
instances configured on `RestTemplate` would not be recorded
properly.

This commit ensures that nested requests are recorded separately.

See gh-19381
5 years ago
Andy Wilkinson b23b69fea3 Upgrade to Reactor Californium-SR15
Closes gh-19640
5 years ago
Andy Wilkinson c66d2e8039 Relax the Gradle plugin's Kotlin version constraint
Enforcing the spring-boot-dependencies platform makes for too strong
an opinion about the version of Kotlin that should be on the build
script's classpath. It clashes with the version of Kotlin that's
embedded in Gradle and used with Gradle's Kotlin DSL.

This commit switches to a normal platform (rather than an enforced
platform) which allows it to express an opinion about the version of
Kotlin without making it a strict requirement.

Closes gh-19609
5 years ago
Andy Wilkinson c8236a74d8 Upgrade to Spring Security 5.3.0.M1
Closes gh-19654
5 years ago
Andy Wilkinson 39d9e486dd Build against Reactor Dysprosium-SR3 snapshots
See gh-19653
5 years ago
Andy Wilkinson 16fe64ded4 Build against Micrometer 1.3.3 snapshots 5 years ago
Andy Wilkinson 3a2f25c6ff Build against Spring AMQP 2.2.3 snapshots
See gh-19651
5 years ago
Andy Wilkinson 7595336184 Build against Spring Integration 5.3.0.M1 snapshots
See gh-19650
5 years ago
Brian Clozel 18ccbf031a Remove validation starter from web starters
This commit removes the validation starter from the web and
webflux starters - we've reconsidered that choice since many were
not using this feature as part of their default web experience.

Thit commit also changes the default EL implementation for the
Jakarta implementation, aligning all servers on it and simplifying
dependency management (especially exclusions that were required
previously).

Closes gh-19550
5 years ago
Andy Wilkinson 6d16c7d860 Build against Spring Data Moore-SR4 snapshots
See gh-19648
5 years ago
Andy Wilkinson 3faf023da4 Build against Spring Integration 5.2.3 snapshots
See gh-19647
5 years ago
Andy Wilkinson 0509248bf7 Build against Spring AMQP 2.2.3 snapshots
See gh-19646
5 years ago
Andy Wilkinson 803a24d6f4 Build against Micrometer 1.3.3 snapshots
See gh-19645
5 years ago
Andy Wilkinson cedcbaccdb Build against Spring HATEOAS 1.0.3 snapshots
See gh-19644
5 years ago
Andy Wilkinson fbc958e4dd Build against Reactor Dysprosium-SR3 snapshots
See gh-19643
5 years ago
Andy Wilkinson 5e14e33c94 Start building against Micrometer 1.1.10 snapshots
See gh-19639
5 years ago
Andy Wilkinson 2d995e740a Start building against Spring Data Lovelace-SR15 snapshots
See gh-19642
5 years ago
Andy Wilkinson bcaae99fa9 Start building against Spring AMQP 2.1.13 snapshots
See gh-19641
5 years ago
Andy Wilkinson d75a58d789 Start building against Reactor Californium-SR15 snapshots
See gh-19640
5 years ago
Andy Wilkinson 7fda317f0d Merge branch '2.1.x' into 2.2.x
Closes gh-19657
5 years ago
Andy Wilkinson 617ebaf3c0 Isolate Gradle Plugin build from other Gradle configuration
Closes gh-19656
5 years ago
Stephane Nicoll b97b0c1d7b Merge branch '2.2.x'
Closes gh-19635
5 years ago
dreis2211 9fe114ebad Update copyright in legal doc section
See gh-19621
5 years ago
Brian Clozel e0171a5da8 Polish 5 years ago
Madhura Bhave 94ab996597 Merge branch '2.2.x' 5 years ago
Madhura Bhave 1fa83757ce Fix tests
See gh-19599
5 years ago
Brian Clozel 0f567c879d Auto-configure HTTP client builders as Lazy
Prior to this commit, HTTP client builders auto-configured by Spring
Boot would be eagerly instantiating resources, even if those were not
used by the application.

This commit makes the `RestTemplateBuilder` bean as Lazy.
`WebClient.Builder` was already a prototype bean, but some of its
dependencies could consume resources, like the `HttpClientConnector` and
the related infrastructure. This commit makes those pieces lazy.

Note that since those components are meant to help instantiate actual
HTTP clients for application components, making them lazy won't make any
difference at runtime since they'll be used during context refresh, or
they won't be used at all.

Closes gh-19549
5 years ago
Madhura Bhave d510a7bd80 Merge branch '2.2.x'
Closes gh-19622
5 years ago
Madhura Bhave 139995469a Short circuit validation in bind handler if previous exception present
Closes gh-19599
5 years ago
Andy Wilkinson b5ae8b0af5 Disable tests that use Docker when Docker is unavailable
Closes gh-19616
5 years ago
Andy Wilkinson f6e9869156 Use version property to set Boot's version in dependencies bom
See gh-19608
See gh-19609
5 years ago
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
5 years ago
Madhura Bhave abe95fa8a7 Merge branch '2.2.x'
Closes gh-19600
5 years ago
Madhura Bhave 7f0573df49 Fallback on underlying server default when determining outcome tag
This commit also changed the default outcome to SUCCESS

Fixes gh-19367
5 years ago
Madhura Bhave ed4261a61c Merge branch '2.2.x'
Closes gh-19598
5 years ago
Madhura Bhave a017b8905a Adapt field name in ValidationBindHandler to a valid ConfigurationPropertyName
Fixes gh-19580
5 years ago
Andy Wilkinson c584334f5e Merge branch '2.2.x'
Closes gh-19592
5 years ago
Andy Wilkinson ccf4e1ad44 Merge branch '2.1.x' into 2.2.x
Closes gh-19591
5 years ago
dreis2211 2b06f17c69 Fix links to external types in javadoc
See gh-19581
5 years ago
Stephane Nicoll 7d6f4a6666 Merge branch '2.2.x'
Closes gh-19590
5 years ago
Stephane Nicoll 99c64b7cdf Merge branch '2.1.x' into 2.2.x
Closes gh-19589
5 years ago
Matthias Stock adfbbcc0f6 Simplify validation pattern of EndpointId
See gh-19584
5 years ago
Madhura Bhave 6d0b4351f4 Merge branch '2.2.x'
Closes gh-19582
5 years ago
Madhura Bhave 437941cc51 Improve diagnostics when using `@ConstructorBinding` on a Kotlin class
Closes gh-19312
5 years ago
dreis2211 34419eda38 Add micrometer-registry-stackdriver dependency for javadoc generation
See gh-19578
5 years ago
Stephane Nicoll 79da3b6e2c Remove support for Jetty 9.4.21 and earlier
Closes gh-18692
5 years ago
Andy Wilkinson 4efd8ba587 Merge branch '2.2.x'
Closes gh-19574
5 years ago
Andy Wilkinson 02965e9744 Fix javadoc warnings
Fixes gh-19572
5 years ago
Stephane Nicoll e5c1f3133a Harmonize cassandra tests 5 years ago
Stephane Nicoll 6ced89490c Polish 5 years ago
Stephane Nicoll bc066d279b Polish cassandra tests
See gh-18019
5 years ago
Stephane Nicoll 462442e7d2 Polish "Add Stackdriver metrics export support"
See gh-19528
5 years ago
Johannes Graf d42256d856 Add Stackdriver metrics export support
See gh-19528
5 years ago
Andy Wilkinson 10ba17c390 Merge branch '2.2.x'
Closes gh-19571
5 years ago
Andy Wilkinson 6d8f07d899 Merge branch '2.1.x' into 2.2.x
Closes gh-19570
5 years ago
Andy Wilkinson bdffa860d9 Increase startup timeout for Docker containers
Closes gh-19569
5 years ago
Andy Wilkinson cbacb6116b Merge branch '2.2.x'
Closes gh-19568
5 years ago
Andy Wilkinson e04055650c Merge branch '2.1.x' into 2.2.x
Closes gh-19567
5 years ago
Andy Wilkinson 3fb1bb74ba Configure WebTestClient to be able to consume large responses
Closes gh-19566
5 years ago
Madhura Bhave c9ad3564d9 Merge branch '2.2.x'
Closes gh-19562
5 years ago
Madhura Bhave 82dc7bcc90 HypermediaAutoConfiguration should back off when Spring MVC absent
Fixes gh-19392
5 years ago
Madhura Bhave 87dd11502a Refactor HypermediaAutoConfigurationTests 5 years ago
Madhura Bhave 6944e52052 Merge branch '2.2.x' 5 years ago
Madhura Bhave ac10ebba33 Fix checkstyle 5 years ago
Madhura Bhave c82d728c93 Merge branch '2.2.x'
Closes gh-19561
5 years ago
Madhura Bhave 67fab60fbd Merge branch '2.1.x' into 2.2.x
Closes gh-19560
5 years ago
Scott Frederick 487b9cbf96 Add profiles directly to the application environment for tests
Prior to this commit, active profiles were being added to the Spring Boot
application environment by setting the `spring.profiles.active` property.
This could result in profiles getting parsed differently than other uses of `@ActiveProfiles`.
Setting the profiles directly in the `Environment` prevents this parsing.

See gh-19556
5 years ago
Andy Wilkinson 30c124f549 Merge branch '2.2.x'
Closes gh-19554
5 years ago
Andy Wilkinson c57359ea3b Merge branch '2.1.x' into 2.2.x
Closes gh-19553
5 years ago
Andy Wilkinson d46406fcb9 Remove loading of non-existent properties file from antlib
Fixes gh-19552
5 years ago
Brian Clozel 2f78c72f92 Avoid 406 Not Acceptable for error pages
Prior to this commit, the `ErrorController` would override the original
error response status if the error map cannot be written due to content
negotiation with the HTTP client. In that case, the error handling
infrastructure returns a `406 Not Acceptable` response.

This commit improves the `ErrorController` so that
`HttpMediaTypeNotAcceptableException` instances thrown by that
controller are not returned as is but instead we write the error
response with an empty body and the original HTTP error status.

Fixes gh-19545
See gh-19522
5 years ago
Stephane Nicoll ee7555750e Add ComponentScan#nameGenerator alias on @SpringBootApplication
This commit allows to customize the default BeanNameGenerator for
scanned components using @SpringBootApplication.

Closes gh-19346
5 years ago
Stephane Nicoll a0a4cbce3a Merge branch '2.2.x'
Closes gh-19542
5 years ago
dreis2211 6ffe47cd06 Remove deprecated usage of WebTestClientBuilderCustomizer
See gh-19536
5 years ago
Stephane Nicoll fc60301fc7 Polish "Add Java 14 to JavaVersion enumeration"
See gh-19511
5 years ago
Dmytro Nosan a5a3a020b6 Add Java 14 to JavaVersion enumeration
See gh-19511
5 years ago
Stephane Nicoll 47481464ff Merge branch '2.2.x'
Closes gh-19535
5 years ago
Rossen Stoyanchev f6947648c9 Improve Spring MVC auto-configuration section
See gh-19521
5 years ago
Madhura Bhave bb55bad170 Merge branch '2.2.x'
Closes gh-19529
5 years ago
Madhura Bhave c12a3f4172 Support explicitly setting forward headers strategy to NONE
Prior to this commit, there was no distinction between explicitly setting
forward headers strategy to a value of NONE and not setting it at all.
This meant that in a cloud environment, a cloud provider was always checked
to see if it was active and using forward headers and there was no way to
prevent that.

This commit changes the default value of the property to null so that there
is a way to determine if the property was explicitly set to NONE.

Fixes gh-19333
5 years ago
Madhura Bhave f94c6d7458 Merge branch '2.2.x' 5 years ago
Madhura Bhave 8e285a4387 Fix checkstyle 5 years ago
Madhura Bhave 743cf3b2a7 Merge branch '2.2.x'
Closes gh-19527
5 years ago
Madhura Bhave ac46f5971f Merge branch '2.1.x' into 2.2.x
Closes gh-19526
5 years ago
Madhura Bhave 24dd416f4b Add a test case for binding to map with wildcard types
This commit also changes the spring framework version
to use snapshots.

Closes gh-18767
5 years ago
Brian Clozel cc154bbefb Avoid 406 Not Acceptable for error pages
Prior to this commit, the `ErrorController` would override the original
error response status if the error map cannot be written due to content
negotiation with the HTTP client. In that case, the error handling
infrastructure returns a `406 Not Acceptable` response.

This commit improves the `ErrorController` so that
`HttpMediaTypeNotAcceptableException` instances thrown by that
controller are not returned as is but instead we write the error
response with an empty body and the original HTTP error status.

Fixes gh-19522
5 years ago
Brian Clozel c2f8741e2e Merge branch '2.2.x'
Closes gh-19517
5 years ago
Brian Clozel 1320c44a25 Use RBAC credentials for Couchbase cluster info
Prior to this commit, the Couchbase auto-configuration would use the
bucket credentials when RBAC is configured. This commit ensures that
RBAC is used in that case.

This commit also adds new configuration properties to customize the
bootstrap ports for Couchbase:

* `spring.couchbase.env.bootstrap.http-direct-port`
* `spring.couchbase.env.bootstrap.http-ssl-port`

Fixes gh-19393
5 years ago
Stephane Nicoll 76a48885f8 Merge branch '2.2.x'
Closes gh-19516
5 years ago
Stephane Nicoll fd4829c2ea Merge branch '2.1.x' into 2.2.x
Closes gh-19515
5 years ago
dreis2211 9cbf5902dc Update some copyrights to 2020
See gh-19510
5 years ago
Stephane Nicoll 679e88af47 Merge branch '2.2.x'
Closes gh-19509
5 years ago
Geoffrey De Smet 493762a416 Add reference to OptaPlanner starter
See gh-19508
5 years ago
Stephane Nicoll c3ab4b875a Merge branch '2.2.x'
Closes gh-19504
5 years ago
Stephane Nicoll 7d36599343 Polish "Fix outdated reference in ArtemisConfigurationCustomizer javadoc"
See gh-19503
5 years ago
Ochieng Olanga c6f7d12270 Fix outdated reference in ArtemisConfigurationCustomizer javadoc
See gh-19503
5 years ago
Stephane Nicoll 6fc52b0563 Polish 5 years ago
Stephane Nicoll a9b0b78cb2 Upgrade to Flyway 6.1.3
Closes gh-19266
5 years ago
Stephane Nicoll 5d1c844f21 Merge branch '2.2.x'
Closes gh-19499
5 years ago
Stephane Nicoll a684ab8726 Merge branch '2.1.x' into 2.2.x
Closes gh-19498
5 years ago