Data element content can be overwritten after creation, resulting in the possibility for multiple file scan instances to be requested in parallel, potentially resulting in out of order scanning.
File scan requests with a timestamp that does not match the current value of the LastModified property in Blob Storage should be ignored.
Tasks
[x] Add Timestamp property to FileScanRequest model, value from blob properties.
[x] Add logic to file scan service to check TimeStamp with blob properties and skips scan if mismatch
Acceptance criteria
[x] Automated tests to verify that out of order fileScan requests are handled properly
Description
Data element content can be overwritten after creation, resulting in the possibility for multiple file scan instances to be requested in parallel, potentially resulting in out of order scanning.
File scan requests with a timestamp that does not match the current value of the LastModified property in Blob Storage should be ignored.
Tasks
Timestamp
property to FileScanRequest model, value from blob properties.Acceptance criteria