-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
verify derivatives for importer batches #3032
Comments
For QA (and covers #3030 and #3053) |
QA Pass. irb(main):001:0> pids = ['9c67wm855', 'bn999674d']
=> ["9c67wm855", "bn999674d"]
irb(main):002:0> bws = OregonDigital::BatchVerificationService.new(pids)
=> #<OregonDigital::BatchVerificationService:0x00007f208357f4b8 @pids=["9c67wm855", "bn999674d"], @options={}>
irb(main):003:0> bws.verify
I, [2024-04-16T08:49:20.249982 #231545] INFO -- : [ActiveJob] Enqueued OregonDigital::VerifyWorkJob (Job ID: c6539e6d-744b-407a-a33f-05c06356a353) to Sidekiq(default) with arguments: {:pid=>"9c67wm855"}
I, [2024-04-16T08:49:20.251518 #231545] INFO -- : [ActiveJob] Enqueued OregonDigital::VerifyWorkJob (Job ID: 7c3c7f4c-a19e-4d07-8fbb-2ba22694d1c0) to Sidekiq(default) with arguments: {:pid=>"bn999674d"}
=> ["9c67wm855", "bn999674d"]
irb(main):004:0> item = ActiveFedora::Base.find(pids[0])
I, [2024-04-16T08:49:48.452104 #231545] INFO -- : Attempted to init base path `prod`, but it already exists
D, [2024-04-16T08:49:48.500048 #231545] DEBUG -- : Load LDP (40.3ms) http://fcrepo.od2-test.svc.cluster.local.:8080/fcrepo/rest/prod/9c/67/wm/85/9c67wm855 Service: 598560
=> #<Image id: "9c67wm855", head: [#<ActiveTriples::Resource:0x92680 ID:<http://fcrepo.od2-test.svc.cluster.local.:8080/fcrepo/rest/prod/9c/67/wm/85/9c67wm855/list_source#g55712680>>], tail: [#<A...
irb(main):005:0> item.all_errors
=> {:derivatives=>["no file set"]}
irb(main):006:0> item2 = ActiveFedora::Base.find(pids[1])
D, [2024-04-16T08:50:13.310061 #231545] DEBUG -- : Load LDP (32.9ms) http://fcrepo.od2-test.svc.cluster.local.:8080/fcrepo/rest/prod/bn/99/96/74/bn999674d Service: 598560
=> #<Image id: "bn999674d", head: [#<ActiveTriples::Resource:0x92b6c ID:<http://fcrepo.od2-test.svc.cluster.local.:8080/fcrepo/rest/prod/bn/99/96/74/bn999674d/list_source#g55712520>>], tail: [#<A...
irb(main):007:0> item2.all_errors
=> {} |
Descriptive summary
This will be a reworking of the verify derivatives service used by the migrator.
Very few changes expected.
Expected behavior
Related work
Link to related tickets or prior related work here.
Accessibility Concerns
Add any information here to indicate any known or suspected accessibility issues for this ticket
The text was updated successfully, but these errors were encountered: