Skip to content

As an archivist, I want to validate that the number of records in a collection's metadata equals number of collection products loaded into registryΒ #142

@jordanpadams

Description

@jordanpadams

Checked for duplicates

Yes - I've already checked

πŸ§‘β€πŸ”¬ User Persona(s)

Archivist

πŸ’ͺ Motivation

...so that I can ensure all my products have been loaded into the registry and are available through the API

πŸ“– Additional Details

No response

Acceptance Criteria

Given a collection of data where all products were successfully loaded into the Registry
When I perform registry-sweeper --member-check <identifier>
Then I expect the tool to complete successfully with a report indicating collection checked, number of records found in metadata, number of members found

Given a collection of data where only a subset of products were successfully loaded into the Registry
When I perform registry-sweeper --member-check <identifier>
Then I expect the tool to fail with a report indicating collection checked, number of records found in metadata, number of members found, and which products are missing

Given a collection of data where only a subset of products were successfully switched archive status to archived
When I perform registry-sweeper --member-check <identifier> --visibility public
Then I expect the tool to fail with a report indicating collection checked, number of records found in metadata, number of members found via API (archive_status == archived), and which products are in a different status and/or missing

βš™οΈ Engineering Details

No response

πŸŽ‰ I&T

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ToDo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions