You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to detect erroneous records in the harvest runner process, datagov wants to add a check in external_records_to_id_hash which throws an error when duplicate identifiers are found
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
GIVEN a harvest source with duplicate record identifiers
WHEN an identifier is found to already exist in HarvestSource.external_records
THEN an error is thrown
[AND optionally another verifiable outcome]
Background
[Any helpful contextual notes or links to artifacts/evidence, if needed]
The error should be on the record level. The first record with the identifier should be processed, any other records with the same identifier should have a record level error raised.
User Story
In order to detect erroneous records in the harvest runner process, datagov wants to add a check in
external_records_to_id_hash
which throws an error when duplicate identifiers are foundAcceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
WHEN an identifier is found to already exist in
HarvestSource.external_records
THEN an error is thrown
[AND optionally another verifiable outcome]
Background
[Any helpful contextual notes or links to artifacts/evidence, if needed]
Security Considerations (required)
[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]
Sketch
[Notes or a checklist reflecting our understanding of the selected approach]
The text was updated successfully, but these errors were encountered: