-
Notifications
You must be signed in to change notification settings - Fork 3
VED-917: Further Refactoring #1103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This branch is working on a ticket in the NHS England VED JIRA Project. Here's a handy link to the ticket: VED-917 |
dlzhry2nhs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor comments. Changes to the functionality look good. Only major thing is I'm not sure the new util is in the right place within shared.
lambdas/shared/tests/test_common/testing_utils/mock_environment_variables.py
Outdated
Show resolved
Hide resolved
lambdas/shared/tests/test_common/testing_utils/utils_for_ack_file_tests.py
Outdated
Show resolved
Hide resolved
|



Summary
To refactor elements of lambdas into shared/ which we didn't do in VED-807.
Refactor ack file handling from filenameprocessor/recordprocessor (make_and_upload_ack_file)
Make singleton from sqs_client
Make singleton from all other clients (dynamodb, firehose, etc.)
Notes:
fhir_repository/fhir_batch_repository. These contain PK values and should remain in the API and batch projects.importlib.reload(), which would create side-effects in other test modules.Note for Testers:
No change in functionality.
No code changes in the backend.
Code changes in the following lambdas:
Reviews Required
Review Checklist
ℹ️ This section is to be filled in by the reviewer.