CDCgov / RecordLinker

The RecordLinker is a service that links records from two datasets based on a set of common attributes. The service is designed to be used in a variety of public health contexts, such as linking patient records from different sources or linking records from different public health surveillance systems.
https://cdcgov.github.io/RecordLinker/
Apache License 2.0
2 stars 0 forks source link

remove hardcoded test settings #19

Closed ericbuckley closed 1 month ago

ericbuckley commented 1 month ago

Description

Simplifying database settings via one environment variable and updating test cases to use that rather than having everything hard-coded.

Additional Notes

pyway is the one exception to where the database parameters require individual values rather than a database URI. This is however deprecated functionality, as we'll be moving away from this and in favor of alembic so we can more easily support different database servers (also pyway doesn't support Microsoft SQL Server, which is what NBS uses).

Checklist

Please review and complete the following checklist before submitting your pull request:

Checklist for Reviewers

Please review and complete the following checklist during the review process: