Stéphane Nicoll
e1f45c50ee
Generate reflection hints for main methods
...
This commit makes sure to register the necessary hints to invoke the
main method of any bean available in the context. This is necessary
for tests that use the UseMainMethod feature.
This generates more hints than strictly necessary as there isn't a
way to contribute hints based on a ContextLoader, see
https://github.com/spring-projects/spring-framework/issues/34513 for
more details.
Closes gh-44461
11 months ago
Moritz Halbritter
c91c8e202a
Fix tests
11 months ago
Dmitry Sulman
7276be825a
Update version of Neo4j test container image
...
See gh-44463
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
11 months ago
Dmitry Sulman
c98f9ac126
Update version of Elasticsearch test container image
...
See gh-44459
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
11 months ago
Dmytro Nosan
be7e952e91
Close InputStream when loading Log4j2 Configuration from a Resource
...
See gh-44467
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
11 months ago
Moritz Halbritter
b2d7a13b9d
Polish "Use Console charset for console logging when available"
...
See gh-44353
11 months ago
Dmytro Nosan
a250bbb7e4
Use Console charset for console logging when available
...
Prior to this commit, LogbackLoggingSystemProperties
doesn't respect Console.charset(). It used Charset.getDefaultCharset()
for logback and UTF-8 for log42j as defaults.
This commit changes the behaviour of LogbackLoggingSystemProperties to use
Console.charset() when available. If no console is present, the default
charset is used instead.
These changes bring consistency across logging implementations.
See gh-43118
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
11 months ago
Andy Wilkinson
93648792b1
Switch to management.opentelemetry.resource-attributes in tests
...
See gh-44468
11 months ago
Andy Wilkinson
51885c9d38
Remove deprecated management.otlp.metrics.export.resource-attributes
...
It was deprecated in 3.2 and should have been removed in 3.4 so its
removal is overdue.
Closes gh-44468
11 months ago
Andy Wilkinson
21a5319362
Revert "Use Framework's default class loader as default in ImportCandidates"
...
This reverts commit 56c955158d .
See gh-44401
11 months ago
Stéphane Nicoll
facda3dca9
Adapt to change in exception hierarchy
...
See gh-44442
11 months ago
Andy Wilkinson
3de189a1df
Minimize test resources and move remainder to appropriate packages
...
Closes gh-44397
11 months ago
Andy Wilkinson
8577718b22
Close InputStream when loading PEM content from a resource
...
Fixes gh-44443
11 months ago
Andy Wilkinson
88745820d3
Close InputStream after reading banner resource
...
Fixes gh-44441
11 months ago
Andy Wilkinson
5be5eaf7f2
Use ClassLoader from ResourceLoader to load PropertySourceLoaders
...
Fixes gh-44427
11 months ago
Andy Wilkinson
56c955158d
Use Framework's default class loader as default in ImportCandidates
...
Closes gh-44401
11 months ago
Andy Wilkinson
3acea583ad
Add support for working with resources in tests
...
Closes gh-44444
11 months ago
Stéphane Nicoll
d04620d5b3
Polish test
...
Include at least a bean declaration to make sure the cglib proxy is
created
11 months ago
Moritz Halbritter
abf320d273
Register reflection hints for SslBundleSslEngineFactory
...
Closes gh-44435
11 months ago
Moritz Halbritter
453002b77b
Add class of SslBundleSslEngineFactory to Kafka config map
...
Closes gh-44414
11 months ago
Tyler Gregory
9199fecae3
Ensure StandardStackTracePrinter respects stacktrace.root configuration property
...
See gh-44398
Signed-off-by: Tyler Gregory <tyler.w.gregory@gmail.com>
11 months ago
Dmytro Nosan
35db02bf48
Add spring.data.mongodb.protocol property
...
This commit allows configuring the MongoDB connection
protocol using the 'spring.data.mongodb.protocol' property.
See gh-44366
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
11 months ago
Moritz Halbritter
3be5e6cc3e
Polish "Improve logging in DockerApi"
...
See gh-44412
11 months ago
Dmytro Nosan
9a940702bc
Improve logging in DockerApi
...
This commit introduces a new constructor in `DockerApi`
that accepts `DockerLogger` as a parameter.
The `DockerLogger` is a pretty simple callback interface used to
provide DockerApi output logging.
See gh-44412
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
11 months ago
Johnny Lim
7baadb5038
Remove NoSuchMethodError guard for Context.setCreateUploadTargets()
...
See gh-44426
Signed-off-by: Johnny Lim <izeye@naver.com>
11 months ago
Stéphane Nicoll
41656bf4ee
Update copyright of changed files
...
See gh-44413
11 months ago
Tran Ngoc Nhan
ae2cfebd93
Fix typo in fold attribute
...
See gh-44413
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
11 months ago
Stéphane Nicoll
bf1dc09c86
Update copyright of changed files
...
See gh-44323
11 months ago
Johnny Lim
332ad7bb70
Polish
...
See gh-44323
Signed-off-by: Johnny Lim <izeye@naver.com>
11 months ago
Tran Ngoc Nhan
d781ce164d
Use Javadoc attributes for Gradle reference guide
...
See gh-44388
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
12 months ago
Stéphane Nicoll
2a94ee1586
Polish contribution
...
See gh-44348
12 months ago
Bernie Schelberg
b9438bef9e
Consider properties on outer class in nested @DataJpaTest tests
...
See gh-44348
Signed-off-by: Bernie Schelberg <bernard.schelberg@invicara.com>
12 months ago
Stéphane Nicoll
56bd551ce9
Update copyright year of changed file
...
See gh-44393
12 months ago
Johnny Lim
133ecab3cf
Replace unconventional Optional usages
...
See gh-44393
Signed-off-by: Johnny Lim <izeye@naver.com>
12 months ago
Stéphane Nicoll
7fd19556b2
Polish contribution
...
See gh-44384
12 months ago
Dmytro Nosan
2f288bf614
Clarify which Mongo properties are ignored when URI property is set
...
See gh-44384
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
12 months ago
Tran Ngoc Nhan
c211b05660
Adapt reference to JooqExceptionTranslator
...
This commit updates the reference guide as JooqExceptionTranslator has
been superseded by ExceptionTranslatorExecuteListener.
See gh-44385
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
12 months ago
Tyler Gregory
6e6d8de8ed
Fixing typos in StandardStackTracePrinter
...
See gh-44396
Signed-off-by: Tyler Gregory <tyler.w.gregory@gmail.com>
12 months ago
Dmytro Nosan
22958097e3
Register Log42J StatusListener
...
Update Log42JLoggingSystem to register Boot's StatusListener
instead of resetting the fallbackListener during initialization.
This fixes an issue when resetting the fallback listener leads to
closing standard streams.
See gh-44380
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
12 months ago
Phillip Webb
c718461450
Protect against NoSuchMethodException on setReadOnly
...
See gh-44331
12 months ago
Andy Wilkinson
b70b61ee08
Upgrade to Testcontainers Redis Module 2.2.4
...
Closes gh-44376
12 months ago
Andy Wilkinson
7a67ffb925
Upgrade to Testcontainers 1.20.5
...
Closes gh-44375
12 months ago
Andy Wilkinson
a09f1c179e
Upgrade to Spring Authorization Server 1.5.0-M1
...
Closes gh-44374
12 months ago
Andy Wilkinson
e9a2831bc2
Upgrade to Lettuce 6.5.4.RELEASE
...
Closes gh-44373
12 months ago
Andy Wilkinson
0f98dd6a89
Upgrade to Flyway 11.3.3
...
Closes gh-44371
12 months ago
Andy Wilkinson
7dc9bf29b8
Upgrade to Testcontainers Redis Module 2.2.4
...
Closes gh-44370
12 months ago
Andy Wilkinson
7d1fc062bf
Upgrade to Testcontainers 1.20.5
...
Closes gh-44369
12 months ago
Andy Wilkinson
d016764b1f
Upgrade to jOOQ 3.19.19
...
Closes gh-44368
12 months ago
Andy Wilkinson
69abb7dda7
Upgrade to Spring Session 3.3.6
...
Closes gh-44114
12 months ago
Andy Wilkinson
ff4babc4d1
Upgrade to jOOQ 3.19.19
...
Closes gh-44367
12 months ago