Archivematica integration

From AtoM wiki
Revision as of 00:41, 10 January 2019 by Kgoetz (talk | contribs) (add links to another stop gap approach for existing data)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Development > Development/Archivematica_integration

Access to Memory (AtoM) and Archivematica have a strong connection - they’re developed by the same vendor and Archivematica uses AtoM as its display frontend. Despite that communication is not currently bidirectional and when an AtoM site has data loaded there is currently no mechanism to synchronise the two platforms.

This page attempts to summarise any discoveries from the discussion started on AtoM-users and will, in time, start to form a description of what integration might look like.

There is also a similar project for integrating EPrints with Archivematica who’s standards document includes useful information including layout and other legwork required for an export like this.

Integration should cover

  • An AtoM instance that contains records to which Archivematica is added as a backend
  • An AtoM instance which is installed parallel to Archivematica but which is uploaded to directly

This will mean a variety of factors need to be considered (and questions asked) including

  • Data uploaded to AtoM should be exportable to Archivematica for ingest and when the processed data is returned to AtoM no duplicate entries should be recorded.
  • Optional support for Metadata only updates
  • Should thumbnails generated by AtoM be exported and preserved?
  • Does AtoM store revision history? Should we Archive revisions if it does?
  • How will metadata only updates be handled
  • What to do with external digital objects. ensure they are skipped with warning by export process? Export the thumbnails/metadata? Detection code is available in the repository

Options for integration

Option one: Data exported to directory

Export required data+metadata into a single directory which Archivematica imports ; AtoM then imports the export package (DIP) created by Archivematica

Export stage

Data which we can export (if Archivematica transfer can use it) which would help populate fields in Archivematica and can then be used to re-match with AtoM after processing.

  • Transfer type (File type of item)
  • Transfer name (current items name or description)
  • Accession number (Accession number of item being exported)
  • Access system ID (AtoM install performing export)
  • Approve automatically (make this optional ; some may want it and some not)

Export structure is important, as with EPrints with Archivematica integration I suggest this project supplies various bits of data (metadata/ , checksums, documentation, etc) as described on Archivematicas transfer page.

Working draft of filesystem layout

  • object_slug-unique_identifer directory (object slug is the slug stored in DB, unique identifier is however AtoM identifies the object internally)
    • Metadata directory, files in here are formatted per Archivematica metadata import documentation and should be populated with data from AtoM
      • metadata.csv (mandatory)
      • rights.csv (mandatory if rights are specified)
      • checksum.md5, checksum.sha1, or checksum.sha256 TBC: check which format/s AtoM uses and restrict output to that/those format/s
      • All other available metadata: optional; if supplied by AtoM and configured to export
    • Objects directory, where actual files will go
      • Structure TODO

AtoM uses getAssetPath to access its objects so we can lean on that to find files we want

Reimport

Import is currently managed by AtoM already, but will need to be augmented to deal with new issues.

  • AtoM will have the original format files and the normalised format following the conversion. A way to remove the original files will need to be included
  • AtoM will need to ensure it doesn’t enter a loop of: export files -> import from AM -> update files with those from AM -> trigger export of newly imported files.
  • Duplicates in AtoM. Archivematica's DIP upload creates new stub information objects when it deposits the DIP objects - it won't replace existing objects. How manageable this problem is will depend on how much identifying metadata we can feed through Archivematica

Things which might make this easier:

Atom may be extended to use the MDTYPE=OTHER metadata available in the DIP METS file, this would help with the roundtrip and (if it works) might solve all the identification problems.

Atom includes a tool for importing data from a DIP via CSV file. this tool or its backing library might be usable in this context. https://github.com/artefactual/atom/blob/qa/2.5.x/lib/task/import/importDipObjectsTask.class.php

Option two: Data exported to SIP/bag

Export packages (SIPs, bagit, or similar) which can be imported to Archivematica; AtoM then imports the export package (DIP) created by Archivematica.

This is the same as option one, but includes a packaging step at the end.

Option three: Bidirectional communication

Atom and Archivematica currently use SWORD1 (a unidirectional protocol) to push data from Archivematica to AtoM. Under this option they would use an existing protocol with bi directional support (eg SWORD2 or the work in progress SWORD3, see http://swordapp.org/).

  • Both applications need changes in this instance
    • Archivematica doesn't support plugins so its not as easy as a plugin at each end to add support.
  • TBD: what would they communicate and how - would a SIP/bag be sent over SWORD or would individual files and associated data be sent and Archivematica packages it up?

See also

  • Archivematica's Format Policy Registry (currently in the process of becoming its own project to be used by multiple digital preservation systems; now known as the Preservation Action Registry) to manage derivatives creation in a more intelligent way.
https://wiki.accesstomemory.org/index.php?title=Development/Archivematica_integration&oldid=2285
wiki.accesstomemory.org
crawl=CC-MAIN-2019-43
28048
application/http; msgtype=response
sha1:LHYCIMLUM4UHILC6A5J5YR4JWMMHAN27
<urn:uuid:5f9db9b5-d77c-4524-a06c-6e64f8217cd1>
2019-10-22T04:07:02Z
158.69.65.232
text/html
sha1:P3TKZAVDK7PZXM7L2TYWXQE7RVC6623R
<urn:uuid:7baac67a-2f41-450b-8210-effa8968dabe>
https://wiki.accesstomemory.org/index.php?title=Development/Archivematica_integration&oldid=2285
response
<urn:uuid:a92deb84-6890-474c-891f-6a2bfc088655>
isPartOf: CC-MAIN-2019-43
publisher: Common Crawl
description: Wide crawl of the web for October 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-179.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/