If using SQL Server as the metadata database, the eCR Table can now read from it.
Related Issue
Fixes #2946
Acceptance Criteria
[ ] Modify listEcrData service to retrieve the necessary metadata from SQL Server to populate the eCR Library table (from ecr_data, ecr_rr_conditions, ecr_rr_rule_summaries) (the same way it does for Postgres)
[ ] Add logic to select the correct db source (Postgres or SQL Server) based on the env var MEATADATA_DATABASE_TYPE
[ ] Add tests
Additional Information
Anything else the review team should know?
Checklist
[ ] If this code affects the other scrum team, have they been notified? (In Slack, as reviewers, etc.)
PULL REQUEST
Summary
If using SQL Server as the metadata database, the eCR Table can now read from it.
Related Issue
Fixes #2946
Acceptance Criteria
listEcrData
service to retrieve the necessary metadata from SQL Server to populate the eCR Library table (fromecr_data
,ecr_rr_conditions
,ecr_rr_rule_summaries
) (the same way it does for Postgres)MEATADATA_DATABASE_TYPE
Additional Information
Anything else the review team should know?
Checklist