artefactual / archivematica-storage-service

Archivematica storage service
http://www.archivematica.org
GNU Affero General Public License v3.0
34 stars 43 forks source link

Problem: callback only works with some aips #225

Open jhsimpson opened 7 years ago

jhsimpson commented 7 years ago

The current implementation of the send_callback/post_store/ api endpoint only works with AIP's that include sha512 checksums.

See https://github.com/artefactual/archivematica-storage-service/blob/stable/0.10.x/storage_service/locations/api/resources.py#L792

Archivematica 1.6.0 and greater have a new feature allowing users to choose a different checksum algorithm. The callback should be updated to support any checksum algorithm supported by the bagit spec.

ross-spencer commented 4 years ago

Related to: https://github.com/archivematica/Issues/issues/947