Uploaded image for project: 'mod-source-record-storage'
  1. mod-source-record-storage
  2. MODSOURCE-68

Create endpoint and CLI process to remove all records from SRS

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 23
    • 5
    • Folijet

    Description

      Problem: Libraries testing migration and populating records into SRS sometimes want to wipe them out and start over. Because the records are parsed and stored in multiple tables (e.g. srs.marc_records, srs,records, srs.raw_records, srs.snapshots), it would be helpful to have a single endpoint that deletes everything created in SRS. This would be a complete wipe of the SRS records, but would not affect any Inventory records created from the SRS records. In the future, refine this into a more complex rollback feature that allows for 1) removal of individual files' worth of records instead of all SRS, and 2) cleans out related records created/updated in other apps as a result of the SRS load. (additional stories under UXPROD-1383)

      Requirements:

      • An endpoint that would
        • Allow for completely removing all records from SRS
        • Would not affect any instances or any other non-SRS records that may have been created during loading (assume they are deleted via some other method).

      Acceptance criteria:

      • A working endpoint
      • Documentation (wiki page and/or readme file) to help the librarians understand how to work with the endpoint and what it causes to happen)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Kateryna Senchenko Kateryna Senchenko
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases