spring-boot/spring-boot-project/spring-boot-testcontainers
Andy Wilkinson bd2fff1fd1 Fix @ServiceConnection in native tests
Using `@ServiceConnection` results in the definition of one or more
connection details beans. These bean definitions use an instance
supplier which is not supported by AOT. This results in a failure during
AOT processing.

This commit introduces a BeanRegistrationExcludeFilter to exclude from
AOT processing the beans created from a `@ServiceConnection`. They are
not needed as the registrar will run again in the native image and
define the beans at which point the use of an instance supplier is
supported again.

Fixes gh-35663
2023-06-06 12:05:00 +01:00
..
src Fix @ServiceConnection in native tests 2023-06-06 12:05:00 +01:00
build.gradle