Errors API

Description

Purpose

Add API endpoints to allow operator to lookup and browse errors encountered during ingest. The API should allow retrieval of the failed record and the error that is caused.

Design

The API should be structured similarly to the records API:

/reservoir/errors[?query=localId=xx and sourceId=yy and sourceVersion=zz]

/reservoir/errors/uuid

For those cases when the entire "collection" of records (either an ingest file or an OAI response) fail we should make an attempt to store context information: snippet of the failure and if the localId cannot be determined, filename or URI and position.

Implementation

Either a new "error" table or store failure directly in the "records" table with an appropriate type.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Details

Assignee

Reporter

Priority

Development Team

Reservoir Dogs

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 6, 2022 at 10:47 AM
Updated December 6, 2022 at 10:47 AM
TestRail: Cases
TestRail: Runs

Flag notifications