CDCgov / RecordLinker

Apache License 2.0
1 stars 0 forks source link

Update API with Algorithm configuration changes #15

Open ericbuckley opened 1 week ago

ericbuckley commented 1 week ago

Summary

Update the API link-record endpoint to only accept one argument for specifying the algorithm, and create a new endpoint to list the available algorithms.

Acceptance Criteria

Details / Tasks

Dependencies

13 we'll need to be able to query the new Algorithm database table first.

Testing Considerations

Consider using the built-in FastAPI test client for stubbing out new test cases for the API changes. Don't worry about integration tests at this time, unit tests are the priority. We can mock out any calls to the link_record_against_mpi and add_person_resource functions.