Dev/Test Setup
Description:
to locally test (with some simple manual integration tests) we should setup some basic environment that either mocks, or runs the external dependencies.
Components to mock/run
- Storage Service -> mock as nats
- OPA -> mock
- Token Endpoint -> mock
- Issuance Endpoint -> mock
- NATS -> simply run nats.
we will build some sort of mockservice which will handle all the rest/nats mocks. This could then be used and extended with other services. A new repo in the eudiw space should be created. Links from the cred retreival service to our internal repo should be avoided.
Acceptance Criteria:
-
Repo for mockservice is created -
it should be configurable which services the mockservice should mock -
Docker image should be created and made available via CICD -
docker compose file to start the mockservice should be created. -
create config flag to load config.yaml from that path -
add autostart for containers that are defined in the config.yaml
Edited by Nguyen Minh Dang