Uploaded image for project: 'mod-oai-pmh'
  1. mod-oai-pmh
  2. MODOAIPMH-151

Reflect sets list modifications in OAI-PMH API

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Open (View Workflow)
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Template:
    • Sprint:
      Q4 scope
    • Development Team:
      Gulfstream

      Description

      Overview:
      All modifications with OAI-PMH set (creation/update/deletion) should be reflected in OAI-PMH requests and responses.

      Acceptance criteria:

      • All existing (not deleted) sets are listed with the verb ListSets
      • All existing (not deleted) sets can be specified in "set" parameter of OAI-PMH request for selective harvesting
      • Deleted or not existed set isn't listed with the word “ListSets”
      • Deleted or not existed set specified in "set" parameter of OAI-PMH request causes "badArgument" error
      • Set "all" is default for each FOLIO tenant,
        • it can't be deleted or modified
        • it should be visible in ListSets response
        • it should be available for selective harvesting

      Scenarios:

      1. Scenario – retrieve OAI-PMH sets structure
      • Given the list of existing (not deleted) sets stored in FOLIO tenant
      • When verb=ListSets
      • Then all these sets are included in response as per ListSets
      • And default set “all” is present in response
      2. Scenario – retrieve modified set
      • Given set name and/or setSpec and/or set description was modified
      • When verb=ListSets
      • Then new (updated) values of set name, setSpec and set description are returned in response
      3. Scenario – retrieve deleted set
      • Given set was deleted
      • When verb=ListSets
      • Then set isn’t present in response
      4. Scenario – specify set in parameter
      • Given the list of existing (not deleted) sets stored in FOLIO tenant
      • When verb=ListRecords or ListIdentifiers
      • And set parameter equals setSpec of one of the existing sets or equals “all”
      • And all other request parameters and headers are correct
      • Then the request is successful
      5. Scenario – specify modified set in parameter
      • Given setSpec was modified
      • When verb=ListRecords or ListIdentifiers
      • And set parameter equals new (updated) setSpec value
      • And all other request parameters and headers are correct
      • Then the request is successful
      6. Scenario – specify deleted set in parameter
      • Given set was deleted
      • When verb=ListRecords or ListIdentifiers
      • And set parameter equals setSpec of the deleted set
      • Then OAI-PMH "badArgument" error is thrown

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                Anastasiia Zakharova Anastasiia Zakharova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases