Commit Graph

19492 Commits

Author SHA1 Message Date
lishangbu f5d0171fcc Avoid NPE when @SpringBootConfiguration not found in test
See gh-33371
2022-12-01 11:19:59 +01:00
Phillip Webb 93f8dc76ab Fix Neo4jReactiveHealthIndicator NoSuchElementException
Update `Neo4jReactiveHealthIndicator` to ensure that `result.records()`
is called before `result.consume()`. Prior to this commit, the indicator
used `zipWith` to merge records with a summary. This worked with the
previous RxJava based driver, but fails with the Reactor based driver
due to a `NoSuchElementException: Source was empty` error.

Fixes gh-33428
2022-11-30 21:03:49 -08:00
Phillip Webb 8849f72ac5 Merge branch '2.7.x' 2022-11-30 21:01:25 -08:00
Phillip Webb 06c6dafee2 Add Neo4jReactiveHealthIndicatorIntegrationTests
Add a full integration test for `Neo4jReactiveHealthIndicator`
to ensure that it works against a real server.

See gh-33428
2022-11-30 21:01:12 -08:00
Phillip Webb 8481004420 Polish 2022-11-30 21:01:12 -08:00
Scott Frederick 9ed8b25e6b Make AOT goals release option mutually exclusive with source and target
Fixes gh-33382
2022-11-30 17:18:02 -06:00
Moritz Halbritter 351084ea06 Document that native-maven-plugin is required for native images
Closes gh-33422
2022-11-30 15:03:10 +01:00
Moritz Halbritter c6536c54d8 Write native-image argfile only if there are excludes
Refactors duplicate logic in BootZipCopyAction and Packager into
separate classes.

Closes gh-33363

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2022-11-30 14:29:35 +01:00
Andy Wilkinson 276b288891 Prevent repeat configuration of DB init bean dependencies
Fixes gh-33374
2022-11-30 12:36:24 +00:00
Phillip Webb e1efdadfe3 Merge branch '2.7.x'
Closes gh-33416
2022-11-29 14:09:57 -08:00
Phillip Webb 711e2528fb Polish 'Improve test coverage for OutputCaptureRule'
See gh-33405
2022-11-29 14:09:26 -08:00
nowjin af7a03b4c9 Improve test coverage for OutputCaptureRule
See gh-33405
2022-11-29 14:09:05 -08:00
Moritz Halbritter 8626bdc05b Merge branch '2.7.x' 2022-11-29 16:27:45 +01:00
Moritz Halbritter e755f5107e Fix formatting 2022-11-29 16:27:26 +01:00
Moritz Halbritter 41f6d54020 Merge branch '2.7.x'
Closes gh-33410
2022-11-29 16:22:57 +01:00
Moritz Halbritter 20d51a128b Clarify that shutdown endpoint only works in jar packaging
Closes gh-17398
2022-11-29 16:21:24 +01:00
Brian Clozel d48ab37505 Reinstate GraphQL testing documentation
Closes gh-33407
2022-11-29 14:15:36 +01:00
Moritz Halbritter cfaade95df Add test to verify ZipkinRestTemplateBuilderCustomizer
See gh-33399
2022-11-29 11:55:27 +01:00
Moritz Halbritter b3878e84ae Fix bug where using a YAML with anchors couldn't be loaded
Closes gh-33404
2022-11-29 11:21:24 +01:00
Moritz Halbritter 2ceee789ce Fix bug where ZipkinRestTemplateBuilderCustomizer had no effect
Closes gh-33399
2022-11-29 10:39:19 +01:00
Andy Wilkinson d88f968d22 Merge branch '2.7.x'
Closes gh-33403
2022-11-28 20:20:24 +00:00
Andy Wilkinson 2da8bc1f3b Reduce Gradle versions used for compatibility testing
Closes gh-33401
2022-11-28 19:14:41 +00:00
Andy Wilkinson 92415c996a Fix formatting of NEVER's description
Closes gh-33398
2022-11-28 14:17:03 +00:00
Andy Wilkinson c1dab0f9e6 Fix AOT processing of add method with array parameter in Logback model
Fixes gh-33387
2022-11-28 14:09:01 +00:00
Moritz Halbritter 012e13527a Fix typo in documentation 2022-11-28 13:39:24 +01:00
Stephane Nicoll e922650877 Upgrade to Spring Framework 6.0.2
Closes gh-33286
2022-11-24 15:40:46 +01:00
Stephane Nicoll 14ba9b18df Start building against Spring Framework 6.0.2 snapshots
See gh-33286
2022-11-24 13:19:23 +01:00
Andy Wilkinson abcbac92ef Merge branch '2.6.x' into 2.7.x
Closes gh-33343
2022-11-24 11:29:24 +00:00
Andy Wilkinson ebfbf4a412 Stop testing Gradle plugin against Gradle 7.6 RCs
Closes gh-33342
2022-11-24 11:23:45 +00:00
Stephane Nicoll 2b3a236f88 Upgrade to Postgresql 42.5.1
Closes gh-33340
2022-11-24 10:05:57 +01:00
Stephane Nicoll 2bbc475469 Upgrade to Caffeine 3.1.2
Closes gh-33339
2022-11-24 10:05:54 +01:00
Stephane Nicoll 76de7a8024 Upgrade to Postgresql 42.3.8
Closes gh-33338
2022-11-24 10:03:18 +01:00
Stephane Nicoll f68e8ce3b4 Upgrade to Postgresql 42.3.8
Closes gh-33337
2022-11-24 10:01:14 +01:00
Stephane Nicoll 4d735de591 Upgrade to Spring Batch 5.0.0
Closes gh-33148
2022-11-24 09:57:08 +01:00
Moritz Halbritter 39aaab082b Polish "Document observation for R2DBC"
See gh-33335
2022-11-24 09:19:36 +01:00
Tadaya Tsuyukubo 9ddad34f42 Document observation for R2DBC
Adds a link to the R2DBC observation repo in documentation.

See gh-33335
2022-11-24 09:17:32 +01:00
Andy Wilkinson e1a407ca9d Upgrade to Micrometer 1.10.2
Closes gh-33334
2022-11-23 18:59:46 +00:00
Moritz Halbritter 26db0c7120 Merge branch '2.7.x' 2022-11-23 17:25:07 +01:00
Moritz Halbritter 2170941cf6 Update Kotlin example for Tomcat connector customization
See gh-33331
2022-11-23 17:10:36 +01:00
Moritz Halbritter 9af2a5712c Merge branch '2.6.x' into 2.7.x
Closes gh-33331
2022-11-23 17:01:19 +01:00
Moritz Halbritter b00f4f926a Create a HTTP connector in the custom tomcat connector example
Closes gh-28707
2022-11-23 17:00:08 +01:00
Moritz Halbritter d430779f00 Merge branch '2.6.x' into 2.7.x
Closes gh-33328
2022-11-23 16:32:19 +01:00
Moritz Halbritter 2f6edecedb Improve JavaDoc on ConditionalOnClass
Closes gh-27846
2022-11-23 16:26:43 +01:00
Moritz Halbritter d9aea476b4 Merge branch '2.7.x'
Closes gh-33327
2022-11-23 14:23:24 +01:00
Moritz Halbritter 1da3a9d636 Merge branch '2.6.x' into 2.7.x
Closes gh-33326
2022-11-23 14:23:08 +01:00
Moritz Halbritter ae8ec86486 Clarify startup probe in actuator documentation
Closes gh-28432
2022-11-23 14:21:51 +01:00
Stephane Nicoll 656f109296 Upgrade to Spring Framework 6.0.1
Closes gh-33286
2022-11-23 11:52:10 +01:00
Stephane Nicoll b39f4d7d85 Upgrade to HttpClient5 5.1.4
Closes gh-33323
2022-11-23 06:12:51 +01:00
Stephane Nicoll ccd85b7eae Upgrade to Ehcache3 3.10.8
Closes gh-33322
2022-11-23 06:12:47 +01:00
Stephane Nicoll 4a792d14c5 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33321
2022-11-23 06:12:43 +01:00
Stephane Nicoll 92ed0dc61e Upgrade to HttpClient5 5.1.4
Closes gh-33320
2022-11-23 06:08:49 +01:00
Stephane Nicoll 928d210665 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33319
2022-11-23 06:08:46 +01:00
Brian Clozel 762fb53c21 Upgrade to Spring Session 3.0.0
Closes gh-33147
2022-11-22 21:13:43 +01:00
Brian Clozel 07766c436c Apply user-provided ObservationConventions in auto-configurations
Prior to this commit, we would advise developers, as migration path from
Spring Boot 2.0-x metrics, to create `GlobalObservationConvention` beans
for the observations they want to customize (observation name or key
values).

`GlobalObservationConvention` are currently applied **in addition** to
the chosen convention in some cases, so this does not work well with
this migration path.

Instead, instrumentations always provide a default convention but also a
way to configure a custom convention for their observations. Spring Boot
should inject custom convention beans in the relevant
auto-configurations.

Fixes gh-33285
2022-11-22 20:44:05 +01:00
Stephane Nicoll f6ac891cc1 Upgrade to Thymeleaf Extras SpringSecurity 3.1.0.RELEASE
Closes gh-33314
2022-11-22 18:00:28 +01:00
Stephane Nicoll 47ca1dfe8d Upgrade to Thymeleaf 3.1.0.RELEASE
Closes gh-33313
2022-11-22 18:00:28 +01:00
Stephane Nicoll 1c9f336156 Upgrade to SQLite JDBC 3.39.4.1
Closes gh-33312
2022-11-22 18:00:27 +01:00
Stephane Nicoll 1f95480e48 Upgrade to SLF4J 2.0.4
Closes gh-33311
2022-11-22 18:00:27 +01:00
Stephane Nicoll 272133ce84 Upgrade to REST Assured 5.2.1
Closes gh-33310
2022-11-22 18:00:27 +01:00
Stephane Nicoll 72bc70593d Upgrade to R2DBC Proxy 1.0.1.RELEASE
Closes gh-33309
2022-11-22 18:00:27 +01:00
Stephane Nicoll 1aa80f0a6c Upgrade to Logback 1.4.5
Closes gh-33308
2022-11-22 18:00:26 +01:00
Stephane Nicoll be5099a9ce Upgrade to Janino 3.1.9
Closes gh-33307
2022-11-22 18:00:26 +01:00
Stephane Nicoll e3d7f718b0 Upgrade to HttpClient5 5.1.4
Closes gh-33306
2022-11-22 18:00:26 +01:00
Stephane Nicoll 493e3cb2ab Upgrade to Glassfish JSTL 3.0.1
Closes gh-33305
2022-11-22 18:00:26 +01:00
Stephane Nicoll 0ba83f0827 Upgrade to Ehcache3 3.10.8
Closes gh-33304
2022-11-22 18:00:26 +01:00
Stephane Nicoll db2906bff0 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33303
2022-11-22 18:00:25 +01:00
Stephane Nicoll 0fd1babf19 Upgrade to Byte Buddy 1.12.19
Closes gh-33302
2022-11-22 18:00:25 +01:00
Andy Wilkinson 20397ad782 Upgrade to Spring Integration 6.0.0
Closes gh-33146
2022-11-22 15:28:18 +00:00
Andy Wilkinson 98113c975b Revert "Start building against Spring Batch 4.3.8 snapshots"
This reverts commit 41914ab15b.

4.3.8 has been postponed

See gh-33135
2022-11-22 15:09:18 +00:00
Andy Wilkinson c4151bb629 Revert "Start building against Spring Batch 4.3.8 snapshots"
This reverts commit 2b4ceb35a2.

The 4.3.8 release has been postponed.

See gh-33128
2022-11-22 15:05:58 +00:00
Stephane Nicoll 232f3cd070 Upgrade to Spring GraphQL 1.0.3
Closes gh-33150
2022-11-22 14:46:33 +01:00
Moritz Halbritter 369424853b Update links to GraalVM page on wiki 2022-11-22 14:39:57 +01:00
Jonatan Ivanov 2d40d07773 Remove Brave and OTel HTTP support in favor of instrumentation
See gh-33287
2022-11-22 13:22:14 +00:00
Brian Clozel aeccf7673b Upgrade to Spring for GraphQL 1.1.0
Closes gh-33145
2022-11-22 14:17:01 +01:00
Brian Clozel cbc19abb61 Upgrade to Jackson 2.14.1
Closes gh-33289
2022-11-22 14:09:21 +01:00
Moritz Halbritter fad610ef72 Add factory for NoopTracer instead of using instance supplier
Closes gh-33298
2022-11-22 14:02:57 +01:00
Stephane Nicoll 75b74637f6 Make sure the 'native' profile can be used in a multi-modules project
This commit updates the 'native' profile so that it provides plugin
management for the plugins involved in building a native image, rather
than forcing their executions.

This commit also update the Maven Plugin reference guide to describe
what the native profile does, and how it can be used in various
scenarios.

Closes gh-33184
2022-11-22 12:33:52 +01:00
Stephane Nicoll 29ee5d2d9a Polish 2022-11-22 10:45:03 +01:00
Stephane Nicoll a7f57091a6 Add support for building an image without forking the Maven lifecycle
This commit adds a new "build-image-no-fork" goal that behaves exactly
as "build-image", except it does not fork the lifecycle. This is a
common pattern in maven plugins where a goal can be invoked on the
command-line and conveniently make sure that a certain phase has run
prior to its execution.

The new goal is suitable for binding the goal in a phase, typically
package, and rely on it rather than invoking the goal. This makes sure
that the lifecycle is forked, which would run everything again.

Closes gh-26455
2022-11-22 10:42:26 +01:00
Stephane Nicoll efa8d8b877 Upgrade to Spring WS 4.0.0
Closes gh-33139
2022-11-22 08:53:11 +01:00
Brian Clozel e8c3157db5 Start building against Spring Framework 6.0.1 SNAPSHOTs
See gh-33286
2022-11-21 20:53:37 +01:00
Phillip Webb 12b4578e98 Further refine WavefrontProperties
See gh-33244
2022-11-21 11:43:10 -08:00
Andy Wilkinson 2d4ef90954 Upgrade to Spring Kafka 3.0.0
Closes gh-33142
2022-11-21 17:49:13 +00:00
Andy Wilkinson 2848593caa Merge branch '2.6.x' into 2.7.x
Closes gh-33133
2022-11-21 17:47:40 +00:00
Andy Wilkinson b960609995 Upgrade to Spring Kafka 2.8.11
Closes gh-33126
2022-11-21 17:46:24 +00:00
Stephane Nicoll a9375afb06 Upgrade to Spring Security 6.0.0
Closes gh-33144
2022-11-21 17:41:18 +01:00
Stephane Nicoll a6de2e88ed Upgrade to Spring AMQP 3.0.0
Closes gh-33141
2022-11-21 17:40:47 +01:00
Stephane Nicoll bed7df63a9 Upgrade to Spring AMQP 2.4.8
Closes gh-33223
2022-11-21 17:39:58 +01:00
Stephane Nicoll 5035f638a5 Upgrade to Spring AMQP 2.4.8
Closes gh-33222
2022-11-21 17:39:22 +01:00
Stephane Nicoll d89861e056 Merge branch '2.7.x'
Closes gh-33284
2022-11-21 16:23:11 +01:00
Stephane Nicoll 78d8bfdc52 Merge branch '2.6.x' into 2.7.x
Closes gh-33283
2022-11-21 16:22:54 +01:00
Henning Poettker 330848d339 Make `ScheduledBeanLazyInitializationExcludeFilter` conditional
See gh-33276
2022-11-21 16:11:07 +01:00
Andy Wilkinson cb14089d24 Align reference docs with @Timed changes
Closes gh-33282
2022-11-21 14:14:28 +00:00
Andy Wilkinson 4100561b3d Align docs with tags provider and contributor changes
Closes gh-33281
2022-11-21 13:58:27 +00:00
Andy Wilkinson 810efdb53d Upgrade to Spring REST Docs 3.0.0
Closes gh-33143
2022-11-21 12:27:28 +00:00
Andy Wilkinson 3d2e0f38a7 Merge branch '2.6.x' into 2.7.x
Closes gh-33134
2022-11-21 12:00:54 +00:00
Andy Wilkinson a23c7df2df Upgrade to Spring REST Docs 2.0.7.RELEASE
Closes gh-33127
2022-11-21 11:57:57 +00:00
Phillip Webb c93e248c46 Refine WavefrontProperties
Remove naming properties under `management.wavefront.application`.

Closes gh-33244
2022-11-18 16:36:37 -08:00
Stephane Nicoll f841cafbc9 Upgrade to Janino 3.1.9
Closes gh-33274
2022-11-18 22:23:23 +01:00
Stephane Nicoll 87444abccb Upgrade to Ehcache3 3.10.6
Closes gh-33273
2022-11-18 22:23:20 +01:00