Validate that releases received matches the sequence of releases expected
Opened this issue · 0 comments
theferrit32 commented
Read the release sequence produced by the clinvar-ftp-watcher and use that sequence to validate releases on the broad-dsp-clinvar stream before producing the clinvar-raw
stream.
Maybe do in the process drop function, or right before it. When the message is read off the stream the release date should be validated and then halt and don't do any further processing if it doesn't match what is expected.
clinvar-streams/src/clinvar_raw/stream.clj
Lines 288 to 303 in 86896a6
clinvar-streams/src/clinvar_raw/stream.clj
Lines 381 to 383 in 86896a6