Skip to content

Commit 17ecaa6

Browse files
Merge pull request datacite#1491 from datacite/enhance-validation-configs-for-enrichment-validation
Enhance validation configs for enrichmentvalidation
2 parents 9ba3560 + 63b01d9 commit 17ecaa6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/jobs/enrichment_batch_process_job.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def perform(lines, filename)
3636
# Ensure we regenerate the metadata XML for validation.
3737
doi.regenerate = true
3838

39+
# Set these to true to test the validity of the doi after enrichment more accurately.
40+
doi.skip_client_domains_validation = true
41+
doi.skip_schema_version_validation = true
42+
3943
enrichment = Enrichment.new(
4044
filename: filename,
4145
doi: uid,

0 commit comments

Comments
 (0)