A collection of Archivematica scripts to handle SIP ingests
Archivematica 1.17
Updates a PM Ark erc.where in Greens to the AIP download location.
The following fields must be given in the metadata.csv file found in the SIP transfer package:
| Field | Value |
|---|---|
| dcterms.identifier | PM Ark (ark:/1234/pm4899938) |
Posts the PM Ark to a Digital Object that is attached to the archival object in ArchivesSpace.
The following fields must be given in the metadata.csv file found in the SIP transfer package:
| Field | Value |
|---|---|
| dcterms.identifier | PM Ark (ark:/1234/pm4899938) |
| uhlib.aSpaceUri | ArchivesSpace archival object uri |
Copy updatePmArkErcWhere.py and postPmArkToArchivesSpace.py to /usr/lib/archivematica/MCPClient/clientScripts.
Patch /usr/lib/archivematica/MCPServer/assets/workflow.json with the following command:
patch -b /usr/lib/archivematica/MCPServer/assets/workflow.json workflow.patch
Add the following lines to /usr/lib/archivematica/MCPClient/archivematicaClientModules under [supportedCommands]:
postPmArkToArchivesSpace_v0.0 = postPmArkToArchivesSpace
updatePmArkErcWhere_v0.0 = updatePmArkErcWhere
Add the following configuration options to your MCPClient config /etc/default/archivematica-mcp-client:
# Greens Ark Minter
MINTER_BASE_URL=<Greens Base url>
MINTER_UPDATE_URL=<Greens Ark api update url>
MINTER_API_KEY=<Greens API KEY>
MINTER_ARCHIVEMATICA_URL=<Archivematica base url>
# ArchivesSpace
ASPACE_API_ENDPOINT=<ArchivesSpace API Endpoint>
ASPACE_USERNAME=<ArchivesSpace username>
ASPACE_PASSWORD=<ArchivesSpace password>
Restart Archivematica to accept the changes