Commit Graph

43504 Commits (b655523ef9a79fd8976f086bf8a9a81d54dc84a1)
 

Author SHA1 Message Date
Sébastien Deleuze db8dee5aac Refine SpringApplication.Augmented.with Kotlin extension
This commit allows to specify multiple Kotlin classes.

See gh-35784
1 year ago
Moritz Halbritter 27add2bbe3 Rework @AutoConfigureObservability and tracing auto-configurations
@ConditionalOnEnabledTracing is now applied to the minimal amount of
beans. The beans which are annotated with it are beans that will lead
to span sending to backends.

This leaves the majority of the Micrometer Tracing, Brave and
OpenTelemetry infrastructure untouched in tests.

Closes gh-35354
1 year ago
Andy Wilkinson fb4b26a842 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 1652c27b3c Apply additional sources once when using SpringApplication.from()
Previously, when using SpringApplication.from() any additional
sources configured using with() would be applied to every
SpringApplication that was created within the scope of the call to
run(). This caused problems with Spring Cloud's bootstrap context
where the additional sources would be applied to both the user's
application and to the boostrap context's application.

This commit updates the hook that's used to apply the additional
sources so that it's only applied once. This results in the
additional sources only being added to the first SpringApplication
that is run.

Closes gh-35873
1 year ago
Andy Wilkinson 4a34015c54 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 0cfc14ef6c Merge branch '3.0.x' into 3.1.x
Closes gh-35925
1 year ago
Andy Wilkinson 845c97fae0 Merge branch '2.7.x' into 3.0.x
Closes gh-35924
1 year ago
Andy Wilkinson c46bef1858 Protect against unconstrained dependencies in starters
Closes gh-19775
1 year ago
Moritz Halbritter c25b084391 Polish 1 year ago
Moritz Halbritter 929283f4dc Support overriding OTel SpanExporters
See gh-35596
1 year ago
Moritz Halbritter d51559956f Support overriding default OTel SpanProcessor
Also makes it easier to set the MeterProvider used in the default
SpanProcessor.

Closes gh-35560
1 year ago
Phillip Webb 0439b630d1 Merge branch '3.1.x'
Closes gh-35923
1 year ago
Phillip Webb c192fb85b2 Merge branch '3.0.x' into 3.1.x
Closes gh-35922
1 year ago
Phillip Webb 4c8b93b37d Merge branch '2.7.x' into 3.0.x
Closes gh-35920
1 year ago
Phillip Webb 137f4ee451 Support reporting of custom Log4J2 log levels from the LoggersEndpoint
Support custom Log4J2 log levels by changing `LoggerConfiguration` so
that it can now report levels using a `LevelConfiguration` object
rather than the limited `LogLevel` enum.

The `Log4J2LoggingSystem` class now uses `LevelConfiguration.ofCustom`
for custom logging levels, rather than throwing an exception.

The `LoggersEndpoint` has also been updated so that it can return the
custom logger name.

Fixes gh-35227
1 year ago
Andy Wilkinson c033484815 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 3d9a308053 Merge branch '3.0.x' into 3.1.x
Closes gh-35913
1 year ago
Andy Wilkinson eeea065595 Merge branch '2.7.x' into 3.0.x
Closes gh-35912
1 year ago
Andy Wilkinson e779fb0bc4 Validate constructor bound config props that implement Validator
Closes gh-33669
1 year ago
Stephane Nicoll 2b57ac2903 Merge branch '3.1.x' 1 year ago
Stephane Nicoll d35a2024b5 Merge branch '3.0.x' into 3.1.x 1 year ago
Stephane Nicoll 19b3ce9f49 Merge branch '2.7.x' into 3.0.x 1 year ago
Stephane Nicoll 88a58a0933 Upgrade to Spring Framework 6.0.10
Closes gh-35751
1 year ago
Stephane Nicoll f20c0424ee Upgrade to Spring Framework 6.0.10
Closes gh-35739
1 year ago
Stephane Nicoll 836d88c9c8 Upgrade to Spring Framework 5.3.28
Closes gh-35729
1 year ago
Andy Wilkinson 91fdae45b6 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 61752184f2 Merge branch '3.0.x' into 3.1.x
Closes gh-35911
1 year ago
Andy Wilkinson 7bb3caf914 Merge branch '2.7.x' into 3.0.x
Closes gh-35910
1 year ago
Andy Wilkinson ee606db34a Update Data REST starter description to mention Spring MVC
Closes gh-35678
1 year ago
Andy Wilkinson 740815da03 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 251b5f2d0f Merge branch '3.0.x' into 3.1.x
Closes gh-35909
1 year ago
Andy Wilkinson a5981a4dac Merge branch '2.7.x' into 3.0.x
Closes gh-35908
1 year ago
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
1 year ago
Moritz Halbritter 6e86f5c444 Register uncategorized ObservationHandlers after categorized ones
Closes gh-34399
1 year ago
Moritz Halbritter 5bad242bfb Merge branch '3.1.x' 1 year ago
Moritz Halbritter be471c58fe Merge branch '3.0.x' into 3.1.x
Closes gh-35907
1 year ago
Moritz Halbritter b1f2bde9d9 Merge pull request #35611 from mhalbritter
* mh/35096-add-support-for-multiple-context-propagation-types-for-tracing:
  Add support for multiple tracing propagation formats

Closes gh-35611
1 year ago
Moritz Halbritter 8cd8d21720 Add support for multiple tracing propagation formats
See gh-35611
1 year ago
Andy Wilkinson 2c06f274dc Merge branch '3.1.x' 1 year ago
Andy Wilkinson cb36df47c8 Merge branch '3.0.x' into 3.1.x
Closes gh-35905
1 year ago
Andy Wilkinson 6def7252d6 Merge branch '2.7.x' into 3.0.x
Closes gh-35904
1 year ago
Andy Wilkinson 088006ff60 Use ephemeral port for Hazelcast
When Hazelcast is started on a fixed port and that port is already in
use, it does not fail to start which makes the problem hard to
detect. A symptom of the problem is that clients will not be able to
connect and will either retry indefinitely or will timeout depending
on their configuration.

This commit updates the Hazelcast client tests to start the Hazelcast
instance on an ephemeral port and to customize the client
configuration with the instance's address before use. This should
allow the client tests to work reliably in an environment where
Hazelcast's default port is already in use.

Closes gh-35903
1 year ago
Moritz Halbritter efcc65bc5b Apply filter order to ServerHttpObservationFilter
Closes gh-35067
1 year ago
Moritz Halbritter 140c37ceba Enable virtual threads on Jetty
Closes gh-35703
1 year ago
Moritz Halbritter 23979e6ccf Enable LoaderIntegrationTests on Java 21 1 year ago
Moritz Halbritter 3e4a9f5204 Add property to limit maximum connections for Jetty
Closes gh-35899
1 year ago
Moritz Halbritter f81787e65d Enable virtual threads on Tomcat
Closes gh-35704
1 year ago
Moritz Halbritter 6e604ad65c Implement @ConditionalOnVirtualThreads
Closes gh-35892
1 year ago
Moritz Halbritter fb64f6744e Add 21 to JavaVersion
See gh-35892
1 year ago
Phillip Webb 0a607b3edf Merge branch '3.1.x' 1 year ago