Details
-
Story
-
Status: Open (View Workflow)
-
TBD
-
Resolution: Unresolved
-
None
-
None
-
-
Prokopovych - Sprint 134
-
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
- defines
-
UXPROD-2439 Form OAI-PMH response using filtering conditions in set
-
- Draft
-