Bridge
The package bridge contains steps that interact with the Deposition API of docuteam feeder.
Bridge: create SIP from DublinCore Bagit SIP
Creates a SIP based on the Matterhorn profile from a zipped DublinCore Bagit SIP.
java ch.docuteam.actions.bridge.CreateSIPFromDublinCoreBagitSIP \
--bagitZipName=depositionId.zip \
--saTemplate=sa_all-formats-01 \
--dssId=newDssId \
[--levelsFilePath=path/to/levels_bagit-dublincore.xml]
| Parameter | Description |
|---|---|
--bagitZipName=depositionId.zip | name of bagit SIP, with or without extension '.zip' |
--saTemplate=sa_all-formats-01 | submission agreement template |
--dssId=newDssId | ID of dataSubmissionSession in submission agreement |
[--levelsFilePath=path/to/levels_bagit-dublincore.xml] | optional, path to levels file |
Bridge: upload PIDs for deposition
Transfers PIDs from Fedora to the Deposition API and sets the status of the deposition to archived. Assumes that the SIP can be found in actions.workbench.work.
java ch.docuteam.actions.bridge.UploadPIDsForDeposition \
--depositionId=1234.zip
| Parameter | Description |
|---|---|
--depositionId=1234.zip | deposition ID, assuming it is also the name of the SIP |