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
Stephane Nicoll
9643dbeed2
Merge branch '3.0.x'
...
Closes gh-35590
2 years ago
Christoph Dreis
b2b5728995
Remove unnecessary exclude from spring-restdocs-mockmvc
...
See gh-35568
2 years ago
Moritz Halbritter
c00e6ebbdf
Merge branch '3.0.x'
...
Closes gh-35360
2 years ago
Moritz Halbritter
1c87fcb806
Add property to disable DisableObservabilityContextCustomizer
...
Closes gh-35009
2 years ago
Scott Frederick
a474e54cf3
Merge branch '3.0.x'
...
Closes gh-35244
2 years ago
Scott Frederick
cf180fa1cc
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35243
2 years ago
Scott Frederick
5d91c24f63
Update Couchbase image tag used in tests
...
Closes gh-35228
2 years ago
Moritz Halbritter
735c43ce9b
Merge branch '2.7.x' into 3.0.x
2 years ago
Moritz Halbritter
312f0c17ed
Set initial ElasticSearch heap size in integration tests
2 years ago
Moritz Halbritter
944d77491b
Set initial heap size for ElasticSearch integration tests
2 years ago
Moritz Halbritter
1ce88f25b4
Merge branch '3.0.x'
2 years ago
Moritz Halbritter
037cb8c5b0
Merge branch '2.7.x' into 3.0.x
2 years ago
Moritz Halbritter
c1cef099d2
Limit maximum heap of ElasticSearch in tests
2 years ago
Moritz Halbritter
d7a9f87b64
Disable Neo4j tests on aarch64 linux and mac
...
See gh-35228
2 years ago
Moritz Halbritter
9f109fe785
Disable Couchbase integration tests on aarch64 linux and mac
...
See gh-35228
2 years ago
Phillip Webb
81a972af8d
Refactor testcontainers service connections
...
Update restcontainers service connections support so that
technology specific `@ServiceConnector` annotations are not longer
required.
A single `@ServiceConnector` annotation can now be used to create
all `ConnectionDetail` beans.
Closes gh-35017
2 years ago
Phillip Webb
11dac5b5b7
Create dedicated spring-boot-testcontainers module
...
Create a dedicated testcontainers module containing the service
connectors code.
Closes gh-34757
2 years ago
Phillip Webb
2951cc7594
Polish
2 years ago
Andy Wilkinson
d4980ea993
Always define connection details beans
...
Closes gh-34776
2 years ago
Phillip Webb
463701db18
Merge branch '3.0.x'
2 years ago
Phillip Webb
d442bfbeff
Polish
2 years ago
Stephane Nicoll
2a52c47386
Merge branch '3.0.x'
...
Closes gh-34870
2 years ago
Stephane Nicoll
ace8cff1b3
Merge branch '2.7.x' into 3.0.x
...
Closes gh-34869
2 years ago
Christoph Dreis
9107c5cae3
Avoid repeated class lookups in tests
...
See gh-34613
2 years ago
Andy Wilkinson
d8d6cb7323
Improve diagnostics with @ServiceConnection on non-static field
...
Closes gh-34795
2 years ago
Andy Wilkinson
2267430bdb
Find service connections declaring in enclosing classes
...
Fixes gh-34790
2 years ago
Andy Wilkinson
cd17d92eac
Merge branch '3.0.x'
...
Closes gh-34782
2 years ago
Andy Wilkinson
d6dbf300ab
Merge branch '2.7.x' into 3.0.x
...
Closes gh-34781
2 years ago
Andy Wilkinson
5669ea69d0
Consider properties on outer class in nested sliced tests
...
Prior to this commit, properties configured using the properties
attribute of a `@…Test` sliced test annotation would not be considered
when processed a `@Nested` test class. This would lead to the nested
class not reusing its outer class's application context due to the
two having different property configuration.
Fixes gh-33317
2 years ago
Andy Wilkinson
95f45eab1f
Create service connections from Testcontainers-managed containers
...
Building upon the auto-configuration support for service connections,
this commit adds support for deriving connection details from a
Testcontainers-managed container. Several service-specific
annotations have been introduced. These annotations can be used on a
container field to indicate that it is a source of the details for
a service connection.
See gh-34658
Co-Authored-By: Phillip Webb <pwebb@vmware.com>
Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
2 years ago
Phillip Webb
0b15962aca
Merge branch '2.7.x' into 3.0.x
2 years ago
Phillip Webb
58e7cae20f
Merge branch '2.7.x' into 3.0.x
2 years ago
Phillip Webb
737ef61456
Enable and fix GraphQlTestIntegrationTests
2 years ago
Phillip Webb
e04c09ceae
Merge branch '2.7.x' into 3.0.x
2 years ago
Phillip Webb
891ce3bd1b
Disable recently renamed tests
2 years ago
Phillip Webb
01e8c42c16
Merge branch '2.7.x' into 3.0.x
2 years ago
Phillip Webb
3651ba348d
Fix checkstyle test violations
2 years ago
Phillip Webb
c4de86c244
Merge branch '2.7.x' into 3.0.x
2 years ago
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
2 years ago
Johnny Lim
bc7fc90550
Replace Base64Utils with JDK's Base64
...
See gh-33967
2 years ago
Phillip Webb
71efc55bf9
Merge branch '2.7.x'
2 years ago
Phillip Webb
7c508fa324
Update copyright year of changed files
2 years ago
Moritz Halbritter
94f4a4396c
Merge branch '2.7.x'
...
Closes gh-33880
2 years ago
Moritz Halbritter
e8d809fe65
Replace 'via' with 'over' or 'through' in the documentation
...
Closes gh-33878
2 years ago
Phillip Webb
a2ac38e203
Update copyright year of changed files
2 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
2 years ago
Phillip Webb
f588793445
Update copyright year of changed files
2 years ago
Phillip Webb
532fed3147
Increase couchbase connection timeout for tests
2 years ago
Moritz Halbritter
08659baeba
Polish away public modifier on tests
2 years ago