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
This commit is contained in:
Moritz Halbritter
2022-11-02 12:07:01 +01:00
parent 7aff82009f
commit 85fd475821
4 changed files with 179 additions and 18 deletions

View File

@@ -80,6 +80,14 @@
<disallow pkg="org.springframework.boot.context" />
</subpackage>
<subpackage name="test">
<subpackage name="autoconfigure">
<subpackage name="actuate">
<allow pkg="io.micrometer" />
</subpackage>
</subpackage>
</subpackage>
<!-- Web related concerns -->
<subpackage name="web">