Moritz Halbritter
bf2950c045
Add support for structured logging
...
Update Logback and Log4j2 integrations to support structured logging.
Support for the ECS and Logstash JSON formats is provided out-of-the-box
and the `StructuredLogFormatter` interface may be used to if further
custom formats need to be supported.
Closes gh-5479
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2 years ago
Phillip Webb
5d4a777d27
Align test with upstream Spring Security change
...
Closes gh-41488
2 years ago
Andy Wilkinson
cddf92e047
Polish "Deprecate @MockBean and @SpyBean"
...
See gh-39864
2 years ago
Jakob Wanger
24763940a0
Deprecate @MockBean and @SpyBean
...
- Deprecate Deprecate @MockBean and @SpyBean in favor of Spring
Framework 6.2's @MockitoBean and @MockitoSpy
- Migrate usages of @MockBean and @SpyBean to @MockitoBean and
@MockitoSpy
Signed-off-by: Jakob Wanger <jakobwanger@gmail.com>
See gh-39864
2 years ago
Phillip Webb
c3ad8b0521
Add `APPLICATION_NAME` and `APPLICATION_GROUP` logging properties
...
Add `APPLICATION_NAME` and `APPLICATION_GROUP` properties that contain
verbatim values rather than formatted strings. Formatting of the values
is now handled by new `EnclosedInSquareBracketsConverter` classes for
both Logback and Log4J2.
The existing `LOGGED_APPLICATION_NAME` variable is now considered
deprecated. The `LOGGED_APPLICATION_GROUP` variable and related
logback converter have been removed since they never made it to a GA
release.
Closes gh-41444
2 years ago
Andy Wilkinson
784c8d2df4
Avoid duplicate junit-platform.properties files caused by Kafka
...
Gradle doesn't support excluding a dependency that's declared with a
classifier. Instead, this commit replaces the test-qualified
kafka-server-common dependency with the plain dependency. The plain
dependency was already present so this is equivalent to excluding
the test-qualified dependency.
Closes gh-41446
2 years ago
Stéphane Nicoll
156237227c
Migrate MockMvc tests to MockMvcTester
...
See gh-41198
2 years ago
Moritz Halbritter
de001f5af1
Polish "Add standardized property to distinguish a group of applications"
...
See gh-39957
2 years ago
Jakob Wanger
8ddb77f628
Add standardized property to distinguish a group of applications
...
This adds a property to provide some indicator that a set of
applications are part of a larger "business application" so that they
can be viewed in metrics, portals, traces and more.
See gh-39957
2 years ago
Andy Wilkinson
654016af7f
Move Docker-related test support into a separate module
...
See gh-41228
2 years ago
Andy Wilkinson
fda6f19c5b
Update spring-boot-smoke-test-session-webflux-redis to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
5e332b8785
Update spring-boot-smoke-test-session-webflux-mongo to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
2890067e3a
Update spring-boot-smoke-test-session-redis to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
b3f3501e2b
Update spring-boot-smoke-test-session-mongo to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
da28e03670
Update spring-boot-smoke-test-pulsar to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
bc57d30a1f
Update spring-boot-smoke-test-kafka to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
957e73044b
Update spring-boot-smoke-test-data-redis to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
9662bec9c7
Update spring-boot-smoke-test-data-r2dbc-liquibase to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
b52023966b
Update spring-boot-smoke-test-data-r2dbc-flyway to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
0d2d3e7d71
Update spring-boot-smoke-test-data-mongo to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
28396b1ff3
Update spring-boot-smoke-test-data-couchbase to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
a9be2e50e3
Update spring-boot-smoke-test-data-cassandra to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
ccb0b2910f
Update spring-boot-smoke-test-cache to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
24e797f8c2
Update spring-boot-smoke-test-amqp to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
0579126c5f
Update spring-boot-smoke-test-activemq to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
7e4d60e07f
Update spring-boot-launch-script-tests to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
6564abb12a
Update spring-boot-loader-classic-tests to use docker-test plugin
...
See gh-41228
2 years ago
Andy Wilkinson
edc582800b
Update spring-boot-loader-tests to use docker-test plugin
...
See gh-41228
2 years ago
Stéphane Nicoll
17ca0421e7
Upgrade to HtmlUnit 4.2.0 and Selenium HtmlUnit 4.20
...
Closes gh-41178
Closes gh-41179
2 years ago
Phillip Webb
2a4582b084
Update copyright year of changed files
2 years ago
Andy Wilkinson
491f34d25c
Improve container test code
...
Replace `DockerImageNames` with a enum and relocate it from the
`testcontainers` to `container` package. The enum now also
becomes a common location that we can use to apply container
configuration such as timeouts.
Closes gh-41164
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2 years ago
Andy Wilkinson
31f967723d
Fix Mongo health indicators when using the strict V1 API
...
Closes gh-41101
2 years ago
Phillip Webb
bcbcafaab2
Polish "Use method references when possible in test code"
...
See gh-40974
2 years ago
Ahmed Ashour
207327d97c
Use method references when possible in test code
...
See gh-40974
2 years ago
Moritz Halbritter
b09f28d04a
Add smoke test for Prometheus
...
See gh-40904
2 years ago
Andy Wilkinson
4517c43cc7
Remove Concourse CI configuration
...
Closes gh-40569
2 years ago
Scott Frederick
e8df704ebb
Extend expiry of SNI integration test certificates
...
See gh-26022 and gh-40589
2 years ago
Moritz Halbritter
516d3b1294
Test ANSI disabled in logging tests instead of integration tests
...
See gh-40172
2 years ago
Moritz Halbritter
713f4f2292
Polish "Fix broken AnsiOutput.detectIfAnsiCapable on JDK22"
...
See gh-40172
2 years ago
facewise
1f9b62b122
Fix broken AnsiOutput.detectIfAnsiCapable on JDK22
...
See gh-40172
2 years ago
Scott Frederick
e471710fe6
Renew trust material for SSL tests
...
Closes gh-40602
2 years ago
Scott Frederick
dcf97325d7
Renew trust material for SSL tests
...
Closes gh-40589
2 years ago
Andy Wilkinson
34e62bb4e2
Reinstate permissive alias check
...
Without the permissive check, unusually named static resources are
inaccessible. The need for this may be due to a Jetty bug. This change
restores the tests to their previous form for now.
See gh-40568
2 years ago
Andy Wilkinson
15913441c4
Remove Concourse CI configuration
...
Closes gh-40566
2 years ago
Andy Wilkinson
83f692237d
Migrate to com.gradle.develocity plugin
...
Closes gh-40153
2 years ago
Moritz Halbritter
7b96941fb9
Update Java in SDKman and CI image to 17.0.11-librca
...
Closes gh-40414
2 years ago
Andy Wilkinson
ebf816f056
Make Tomcat and Undertow starters locally available to SNI test apps
...
See gh-26022
2 years ago
Andy Wilkinson
b705a63c8e
Make WebFlux starter locally available to SNI test apps
...
See gh-26022
2 years ago
Scott Frederick
bc5777d0cc
Upgrade CI images to ubuntu:jammy-20240405
...
Closes gh-40410
2 years ago
Andy Wilkinson
aefe6e8bc0
Make actuator starter locally available to SNI test apps
...
See gh-26022
2 years ago