Skip to content

Commit 2b60c40

Browse files
committed
comments
1 parent 3c60915 commit 2b60c40

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

lambdas/id_sync/src/pds_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
record Processor
2+
Operations related to PDS (Patient Demographic Service)
33
'''
44
import tempfile
55
from common.clients import logger, secrets_manager_client

lambdas/id_sync/tests/test_record_processor.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,18 @@ class TestRecordProcessor(unittest.TestCase):
77

88
def setUp(self):
99
"""Set up test fixtures and mocks"""
10-
# Mock logger
1110
self.logger_patcher = patch('record_processor.logger')
1211
self.mock_logger = self.logger_patcher.start()
1312

14-
# Mock external dependencies
1513
self.pds_get_patient_id_patcher = patch('record_processor.pds_get_patient_id')
1614
self.mock_pds_get_patient_id = self.pds_get_patient_id_patcher.start()
1715

18-
# mock record_processor.ieds_check_exist
1916
self.ieds_check_exist_patcher = patch('record_processor.ieds_check_exist')
2017
self.mock_ieds_check_exist = self.ieds_check_exist_patcher.start()
2118

22-
# mock our ieds_update_patient_id
2319
self.ieds_update_patient_id_patcher = patch('record_processor.ieds_update_patient_id')
2420
self.mock_ieds_update_patient_id = self.ieds_update_patient_id_patcher.start()
2521

26-
# # mock out test_ieds_insert_patient
27-
# self.ieds_test_insert_patcher = patch('record_processor.test_ieds_insert_patient') # TODO TEST code
28-
# self.mock_ieds_test_insert = self.ieds_test_insert_patcher.start()
29-
3022
def tearDown(self):
3123
patch.stopall()
3224

lambdas/shared/src/common/log_decorator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""This module contains the logging decorator for sending the appropriate logs to Cloudwatch and Firehose.
22
The decorator log pattern is shared by filenameprocessor, recordprocessor, ack_backend and id_sync modules.
33
and therefore could be moved to a common module in the future.
4-
TODO: refactor to a common module.
54
TODO: Duplication check has been suppressed in sonar-project.properties. Remove once refactored.
65
"""
76
import json

terraform/sqs_id_sync.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
resource "aws_sqs_queue" "id_sync_queue" {
22
name = "${local.short_prefix}-id-sync-queue"
33
kms_master_key_id = data.aws_kms_key.existing_id_sync_sqs_encryption_key.arn
4-
# TODO: visibility_timeout_seconds must not be less than aws_lambda_function.id_sync_lambda_timeout
54
visibility_timeout_seconds = 360
65
redrive_policy = jsonencode({
76
deadLetterTargetArn = aws_sqs_queue.id_sync_dlq.arn

0 commit comments

Comments
 (0)