CDCgov / phdi

https://cdcgov.github.io/dibbs-site/
Creative Commons Zero v1.0 Universal
35 stars 14 forks source link

Set up HAPI server with docker compose and dummy data for testing #1583

Closed DanPaseltiner closed 4 months ago

DanPaseltiner commented 7 months ago

In order to prepare for writing integration and end to end tests that do not depend on external FHIR APIs let's set ourselves up with some standard test patients (maybe extracted from the existing sandboxes) and an easy way to load this data into a containerized instance the HAPI server.

Acceptance Criteria GIVEN some synethic FHIR data WHEN a docker compose file is used THEN an instance of HAPI seeded with the synthetic data and the TEFCA Viewer are spun up

This should create a local development environment complement with access to synthetic data via a FHIR API for dev and testing.

DanPaseltiner commented 4 months ago

It may make sense to do this with a script added to package.json so that the TEFCA Viewer can be run directly on the host outside of docker for easier access to server logs and features like hot reload.