Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement resource for record metadata #18

Open
natlibfi-arlehiko opened this issue Sep 11, 2019 · 0 comments
Open

Implement resource for record metadata #18

natlibfi-arlehiko opened this issue Sep 11, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@natlibfi-arlehiko
Copy link
Contributor

natlibfi-arlehiko commented Sep 11, 2019

Definition

Currently the record metadata is stored a single document in the database. This will cause problems with blobs producing a large amount or records (Host-component records bundles in Melinda).

Changes

  • Records metadata should be stored within another collection
    • Metadata should include successfully transformed records and failed records as well
  • Blob metadata should have a the following new properties for:
    • Number of successfully processed records
    • Number of failed records
    • Total number of processed records
  • There should be resource to retrieve records metadata, e.g. GET /blobs/:id/results
    • The payload should be streamed to clients (See readContent)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant