Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Miss the deploying #31

Open
torsten-liermann opened this issue Aug 31, 2024 · 4 comments
Open

Q: Miss the deploying #31

torsten-liermann opened this issue Aug 31, 2024 · 4 comments

Comments

@torsten-liermann
Copy link

torsten-liermann commented Aug 31, 2024

Hi,

How are the deployments defined in the test deployed, or how does Arquillian receive the corresponding metadata? Or is there still a gap in the implementation here?

I don't know much about it yet, but it seems that the logic for deploying an archive into the test container still needs to be implemented.

Thx.

@jasondlee
Copy link
Collaborator

The goal, thus far, is not necessarily starting a container to which tests will be deployed, but to start containers that are needed for testing. For example, for WildFly, we're using this to start containers for the OpenTelemetry Collector and Jaeger so that we can test our OpenTelemetry and Micrometer support, which was our primary/initial goal for the library. Being able to deploy tests to these managed containers, then, isn't what we were aiming for, but I don't see why it couldn't be done. It would, though, require some more integration work, probably much like (probably augmenting or even replacing) the container-specific extensions.

@torsten-liermann
Copy link
Author

Thanks for the hint. I'm currently looking at the trunk of WildFly. So far, I'm still lacking the knowledge of Arquillian to implement "deploy" and "undeploy." If I get the motivation, I will probably gather some initial ideas from the Arquillian implementations.

@jamezp
Copy link
Collaborator

jamezp commented Sep 3, 2024

I don't think we want to use this to deploy applications. Arquillian itself already does that. The WildFly Arquillian container will handle the deploying/undeploying of applications.

@torsten-liermann
Copy link
Author

That works for me. I initially categorized the discussions on the topic of Testcontainers the way I use them in the context of Spring Boot and didn’t think much further about it. The application of this implementation by WildFly 34.0.0 is enlightening. Thanks so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants