Phillip Webb
e5a0b164ac
Configure MeterBinders after beans have been created
...
Update `MeterRegistryPostProcessor` to configure `MeterRegistry` beans
in two distinct sweeps. The first sweep applies customizers and filters
as the `MeterRegistry` bean is initialized, the second sweep applies
`MeterBinder` beans once all singletons have been instantiated.
Prior to this commit, it was not possible for a `MeterBinder` bean to
directly or indirectly use a `MeterRegistry`. It was also possible for
bound meters to cause a deadlock during refresh processing if those
meters could be updated on a thread other than main, such as GC
notifications.
Fixes gh-30636
Fixes gh-33070
2022-11-10 11:39:12 +00:00
Moritz Halbritter
85fd475821
Add noop tracer bean if tracing is disabled
...
The new functionality doesn't expose any public API
and works the same as WebTestClientContextCustomizer
does.
Closes gh-32907
2022-11-02 15:45:39 +01:00
Phillip Webb
73a34b6c0a
Fix checkstyle issues
...
See gh-32582
2022-10-20 00:09:07 -07:00
Andy Wilkinson
1d78100ba8
Fix Checkstyle suppressions on Windows
2022-10-18 21:37:59 +01:00
Andy Wilkinson
4a76fbf93c
Support logback.xml in a native image
...
Closes gh-32756
2022-10-18 21:37:28 +01:00
Bertolt Meier
647a2905c8
Add checkstyle rule for List.of() / Set.of() / Map.of()
...
This commits adds a checkstyle rule to not use List.of(), Set.of()
and Map.of(), preferring Collections.emptyList(), emptySet(), and
emptyMap() respectively.
It replaces usages of these methods across the codebase.
See gh-32655
2022-10-12 18:15:48 +01:00
Andy Wilkinson
3eb3d79104
Log condition evaluation report during AOT processing
...
Closes gh-32109
2022-10-07 18:08:18 +01:00
Andy Wilkinson
8e35f2ae92
Separate report logging from context initialization and events
...
See gh-32109
2022-10-07 18:08:18 +01:00
Andy Wilkinson
98dbabda08
Require since attribute when marking API as deprecated
...
Closes gh-32612
2022-10-06 11:12:42 +01:00
Andy Wilkinson
0bfa9cd704
Upgrade to Logback 1.4 and SLF4J 2.0
...
Closes gh-12649
2022-09-28 21:14:08 +01:00
Andy Wilkinson
0857cae943
Merge branch '2.7.x'
...
Closes gh-31952
2022-08-01 21:10:36 +01:00
Andy Wilkinson
0dde4278db
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31951
2022-08-01 21:09:37 +01:00
Marc Wrobel
3e0665e791
Fix links in documentations
...
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter .
This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.
See gh-31887
2022-08-01 21:07:36 +01:00
Andy Wilkinson
a6333f5e67
Merge branch '2.7.x'
...
Closes gh-31817
2022-07-20 19:50:34 +01:00
Andy Wilkinson
13431745e0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31816
2022-07-20 19:50:23 +01:00
Andy Wilkinson
5afa04f3cd
Remove redundant Checkstyle suppression
...
Closes gh-30131
2022-07-20 19:49:53 +01:00
Andy Wilkinson
003f747e77
Merge branch '2.7.x'
...
Closes gh-31170
2022-05-26 13:52:41 +01:00
Andy Wilkinson
e617035dba
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31167
2022-05-26 13:45:52 +01:00
Andy Wilkinson
3e7bd582a3
Upgrade to Spring Java Format 0.0.33
...
Closes gh-31166
2022-05-26 13:22:23 +01:00
Andy Wilkinson
770cb840c3
Use more flexible SpringFactoriesLoader
...
Closes gh-30235
Co-authored-by: Madhura Bhave <bhavem@vmware.com>
Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
2022-05-09 14:13:04 +01:00
Scott Frederick
7e089a6b81
Remove support for embedded MongoDB
...
This commit removes auto-configuration and dependency management
for Flapdoodle embedded MongoDB in favor of the Spring Boot support
provided by Flapdoodle.
Closes gh-30863
2022-05-06 17:05:36 -05:00
Andy Wilkinson
4a030343d3
Merge branch '2.7.x'
2022-05-06 11:40:11 +01:00
Andy Wilkinson
c61cd7761e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30883
2022-05-06 11:37:30 +01:00
Andy Wilkinson
5258cd2814
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30882
2022-05-06 11:29:22 +01:00
Andy Wilkinson
0e7c3547dd
Prohibit usage of Micrometer nullability annotations
...
Closes gh-30881
2022-05-06 11:29:08 +01:00
Andy Wilkinson
fac2430dff
Merge branch 'gh-30358'
2022-04-07 19:17:27 +01:00
Guirong Hu
dfafccaba5
Add failure analyzer for missing web factory bean
...
See gh-30358
2022-04-07 18:50:50 +01:00
Andy Wilkinson
3de024594f
Merge branch '2.7.x'
2022-03-25 12:06:16 +00:00
Andy Wilkinson
64888b0deb
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30433
2022-03-25 12:03:24 +00:00
Andy Wilkinson
35d8f1dcdd
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30431
2022-03-25 11:44:24 +00:00
Andy Wilkinson
c087d609a0
Polish "Prevent imports of null-safety annotations"
...
See gh-30406
2022-03-25 11:43:57 +00:00
Yanming Zhou
0e99c57f8e
Prevent imports of null-safety annotations
...
See gh-30406
2022-03-25 11:22:36 +00:00
Moritz Halbritter
44beceffaf
Merge branch '2.7.x'
2022-02-10 13:39:22 +01:00
Moritz Halbritter
96ce8d842e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29729
2022-02-10 13:38:50 +01:00
Moritz Halbritter
44ff29c4d4
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29728
2022-02-10 13:28:15 +01:00
Moritz Halbritter
096ba72a39
Add documentation for WebMvc.fn
...
See gh-29683
2022-02-10 13:14:34 +01:00
Stephane Nicoll
41fb9cf562
Merge branch '2.7.x'
2022-02-01 11:15:49 +01:00
Stephane Nicoll
f812b33cbd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29613
2022-02-01 11:07:31 +01:00
Stephane Nicoll
136b5959c3
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29612
2022-02-01 10:59:08 +01:00
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
2022-02-01 09:37:15 +01:00
Phillip Webb
1b7db2750d
Merge branch '2.7.x'
...
Closes gh-29373
2022-01-12 14:08:04 -08:00
Phillip Webb
e1c84e2972
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29372
2022-01-12 14:07:48 -08:00
Phillip Webb
72696cdb0f
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29371
2022-01-12 14:07:31 -08:00
Phillip Webb
7c16668bf3
Log Docker output to aid debugging
...
Add an SLF4J logger so that we can see real time output of the
Docker container.
See gh-29370
2022-01-12 14:03:27 -08:00
Stephane Nicoll
fed89f98aa
Merge branch '2.7.x'
2022-01-05 09:36:07 +01:00
Stephane Nicoll
ce7a3d0ef2
Upgrade to Flyway 8.3.0
...
Closes gh-29249
2022-01-05 09:18:23 +01:00
Andy Wilkinson
fe7b13ec46
Upgrade to Spring Framework 6 and Jakarta EE 9
...
Closes gh-28619
Closes gh-28620
Closes gh-28621
Closes gh-28622
Closes gh-28623
Closes gh-28624
Closes gh-28625
Closes gh-28626
Closes gh-28627
Closes gh-28628
Closes gh-28629
Closes gh-28630
Closes gh-28631
Closes gh-28632
Closes gh-28633
Closes gh-28634
Closes gh-28635
Closes gh-28636
Closes gh-28638
Closes gh-28639
Closes gh-28640
Closes gh-28644
Closes gh-28645
Closes gh-28650
Closes gh-28711
Closes gh-28866
Closes gh-28867
Closes gh-28868
Closes gh-28872
See gh-28641
See gh-28642
See gh-28643
See gh-28646
See gh-28647
See gh-28648
See gh-28649
See gh-28721
See gh-28869
See gh-28871
2021-11-30 20:32:16 +00:00
Andy Wilkinson
89b40e1e00
Add support for Log4j2's composite configuration
...
Closes gh-27110
2021-10-19 10:01:30 +01:00
Stephane Nicoll
d6aab2fe84
Merge branch '2.5.x'
2021-10-19 10:51:36 +02:00
Stephane Nicoll
0f5bd90539
Add checkstyle ignore for unusual test structure
2021-10-19 10:50:21 +02:00