Open K8Sewell opened 1 year ago
I have started to work on this but I am having issues with the changed package not ingesting into Preservica. So need to keep working on a fix for this before I can test in DCS UAT
@motropuk was the issue you mentioned above resolved, or should we test again in Preservica prior to pulling this ticket into sprint?
@sshetenhelm no this was not resolved, so this will need to be tested again
Next steps:
Summary
Add a batch process that takes an existing parent object and replaces it’s child object’s images with images from Preservica.
Acceptance Criteria
[ ] Test current feature work in UAT
[ ] Discuss and finalize acceptance criteria of this ticket
[ ] CSV will contain parent object oid,digital object source, preservica uri, and preservica representation type
[ ] will update parent object with new preservica information
[ ] will maintain the child object’s original oid, caption, and label
[ ] will persist the child object’s order from Preservica and overwrite original order
[ ] will persist the child object’s checksum from Preservica and overwrite original checksum
[ ] will remove existing child objects if they do not have preservica information
Engineering Notes
Like the sync process this may require a subsequent ‘Recreate Child Ptiffs’ batch process to occur to see the change take effect in Blacklight.
Draft PR - https://github.com/yalelibrary/yul-dc-management/pull/1205
Original Acceptance Outline from ticket #2168
a DCS parent OID and its new Preservica URI
optionally, this contains a list of DCS child OIDs and the new checksum to match against in Preservica
replace the existing file in the pair tree with the new version of the file, downloaded from Preservica
set the height and width of the child as null to force regeneration of the PTIFFs