Skip to content

Conversation

@PedroSoaresNHS
Copy link
Contributor

@PedroSoaresNHS PedroSoaresNHS commented Nov 17, 2025

Description

Added a verification to bulk_upload_metadata_service to determine if the expedited file had been scanned before
If the file had not been scanned then called the scanner
Refactored code, by removing logic from the handler to the service

Context

It makes it so that every processed file has passed by the virus scanner

Checklist

  • I have followed the code style of the project.
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have considered the cross-team impact when creating this PR and where possible written tests to validate for all affected.
  • I have built a sandbox with code from this PR and ensured the unit tests and end-to-end tests have run successfully.
  • A member of all teams has approved this PR if there is a major code change. (If this is a minor change and you are confident this is not necessary then you may accept the standard approval process of 2 approvals from any teams.)

# Conflicts:
#	lambdas/handlers/bulk_upload_metadata_processor_handler.py
#	lambdas/tests/unit/handlers/test_bulk_upload_metadata_processor_handler.py
SWhyteAnswer
SWhyteAnswer previously approved these changes Nov 21, 2025
# Conflicts:
#	lambdas/services/bulk_upload_metadata_processor_service.py
@sonarqubecloud
Copy link

@PedroSoaresNHS PedroSoaresNHS merged commit f806f20 into main Nov 27, 2025
18 checks passed
@PedroSoaresNHS PedroSoaresNHS deleted the PRMP-541 branch November 27, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants