Validation check micro-service

From Archivematica
Revision as of 04:27, 4 July 2018 by HrafnMalmquist (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the Github pull-request for DSpace REST API there is functionality for connecting and depositing to the DSpace 6.x REST API.

To allow for greater flexibility it is possible to designate the uuids of the destination collections in the transfer metadata.csv/json but if there is any problem with the configuration (collection doesn't exist, insufficient user permissions, wrong password, server down etc.) you wouldn't know about it until at the very end of the process, when the AIP/DIP get's stored.

User story

Before a SIP is created I want to know if the ArchivesSpace and DSpace identifiers that are included in a json file with a transfer are valid. I want to know this early on in the pipeline, before a SIP has been created.

Solution

Create an early Store AIP/DIP validation microservice where all supplied arguments are tested for validity.