MicroShed/microshed-testing

Create TomEE adapter module

Open

#105 opened on Nov 11, 2019

 (0 comments) (0 reactions) (0 assignees)Java (25 forks)auto 404
good first issueis:enhancement

Repository metrics

Stars
 (68 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide