Emulator
This docker image provides a light weight in memory emulator for the API which can be easily ran locally for development or part of your CICD pipeline for integration tests.
- Use in your integration tests
- Use for local development
- Not suitable for production use
docker run -p 8085:8080 aptacode/epochflow:latest
Emulator web ui: http://localhost:8085
Emulator Swagger docs: http://localhost:8085/swagger
A few notes on the emulator.
-
Certain features behave in a way which makes testing easier, as such validation, authentication, authorization, timings and a few other properties may differ to the real API.
-
All data is stored in memory which makes the emulator quick and easy to run, as a result all data will be wiped each restart.
-
The CLI tool works with the emulator if the '--emulator true' flag is provided, which provides a simple way to seed data whilst testing your application.
-
The Emulator comes with a fully working instance of the web ui http://localhost:8085