microshed-testing icon indicating copy to clipboard operation
microshed-testing copied to clipboard

Create TomEE adapter module

Open aguibert opened this issue 5 years ago • 0 comments

Describe the solution you'd like Currently the OpenLiberty and Payara runtimes have dedicated modules that provide some helpful default configuration like:

  • default ports
  • default dockerfile instructions

It would be nice if TomEE also had a default module so users are not required to have a Dockerfile

Describe alternatives you've considered It is still possible to use MicroShed Testing on a TomEE app without a dedicated TomEE adapter module, but this relies on:

  • Inspecting the docker container for exposed port on each run (adds about a second to the test runtime)
  • the user having a Dockerfile in their repo (if building the app from source)

Additional context Write an adapter involves implementing the org.microshed.testing.testcontainers.spi.ServerAdapter interface in a new module. See the Payara micro adapter for a minimal example

aguibert avatar Nov 11 '19 19:11 aguibert