testcontainers-port-updater
testcontainers-port-updater copied to clipboard
Add support of testcontainers-spring-boot
Hello. Thanks for your effort. Very nice plugin. Please add support of testcontainers-spring-boot from the box.
Describe the solution you'd like Connect to the dbs started via testcontainers-spring-boot. May be parsed by properties in context.
Describe alternatives you've considered testcontainers-spring-boot supports many types of DBs.
Additional context
Example of logs
Started mariadb server. Connection details: {embedded.mariadb.port=50454, embedded.mariadb.host=localhost, embedded.mariadb.schema=test, embedded.mariadb.user=test, embedded.mariadb.password=test, embedded.mariadb.networkAlias=mariadb.testcontainer.docker, embedded.mariadb.internalPort=3306}, JDBC connection url: jdbc:mysql://localhost:50454/test
Hello @ijusti 👋🏼
Many thanks for your interest in the plugin and raising a ticket to improve it.
Could you please send me an example project that I can use to reproduce your use case?
Greetings, Yusuf Ugur
Thanks for your response. You can try any of the tests in the project. for example https://github.com/PlaytikaOSS/testcontainers-spring-boot/blob/develop/embedded-postgresql/src/test/java/com/playtika/testcontainer/postgresql/EmbeddedPostgreSQLBootstrapConfigurationTest.java At the same time latest IDEA versions provide such functionality from the box for spring projects.
Thanks for the info @ijusti 🙏🏼 I no longer have access to a personal IntelliJ IDEA Ultimate license. Therefore, it will take time to find a solution to your request. Please be patient, and thanks in advance for your understanding.