MicroShed / MicroShed/microshed-testing
Create TomEE adapter module
- Dominant language
- Java
- Stars
- 68
- Forks
- 25
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 6
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](https://github.com/MicroShed/microshed-testing/tree/master/modules/payara-micro) adapter for a minimal example
Contributor guide
Research direction
Start by reading the minimal example in modules/payara-micro and the org.microshed.testing.testcontainers.spi.ServerAdapter interface. Create a new TomEE adapter module that supplies default ports and Dockerfile instructions, so users no longer need a Dockerfile or container-port inspection for TomEE apps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100