Open Steve973 opened 6 months ago
Hello @Steve973 , I'll look into it and will back with update
Thanks for looking into this. I could also help if you would want. Another thing you might consider is making the arango container class not have a parameter since you can't do anything with it anyway. The way that most of the other implementations work, they don't expose that self-parameter to the user.
Please add
@ServiceConnection
support for Spring Boot 3.X. You can read more, and see an example here: https://spring.io/blog/2023/06/23/improved-testcontainers-support-in-spring-boot-3-1Currently, I can add a
@DynamicPropertySource
method that accepts theDynamicPropertyRegistry
instance, where we can add the connection details properties like this:It works, but the newer and cleaner way is to be able to annotate the container instance with
@ServiceConnection
, like this:With this method, we no longer need to use
@DynamicPropertySource
.