Integrate FTP server container #29270
-
I'm going to integrate an FTP server based on
Luca. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
are you doing that in a extension or are you trying to do it in a Quarkus application? |
Beta Was this translation helpful? Give feedback.
-
up |
Beta Was this translation helpful? Give feedback.
-
up |
Beta Was this translation helpful? Give feedback.
-
up |
Beta Was this translation helpful? Give feedback.
-
The problem with your approach is that you will have the Testcontainers dependency in your runtime classpath. It might not be a problem for you though. Creating an extension would allow you to have the dependency only in the deployment classpath (but you wouldn't be able to start the container outside of dev or test mode). If you decide to go for the extension (a simple extension is relatively simple to create), you have examples in the codebase on how to start the dev service in dev/test modes. So, there's no one size fits all, it really depends on what you want to achieve. |
Beta Was this translation helpful? Give feedback.
The problem with your approach is that you will have the Testcontainers dependency in your runtime classpath. It might not be a problem for you though.
Creating an extension would allow you to have the dependency only in the deployment classpath (but you wouldn't be able to start the container outside of dev or test mode).
If you decide to go for the extension (a simple extension is relatively simple to create), you have examples in the codebase on how to start the dev service in dev/test modes.
So, there's no one size fits all, it really depends on what you want to achieve.