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

Include set membership information in response

    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:
      Header of each record in ListIdentifiers, ListRecords and GetRecord responce should include the most comprehensive, but not redundant list of sets which it belongs to.
      Each setSpec should be formed in separate <setSpec> tag within <header>.
      Acceptance criteria:

      • Record’s header in response shows the list of setSpec elements in ListIdentifiers, ListRecords and GetRecord responses
      • The list of setSpec elements includes only the minimum number of setSpec elements required to specify the set membership.
      • Set "all" is to be included in header only if the record isn't a member of any other set

      Scenarios:

      1. Scenario – include all possible sets in header
      • Given record fits set “video”, “main_library”, “will_lend_policy” setSpecs
      • When ListIdentifiers or ListRecords or GetRecord request
      • And record is to be included in response
      • Then all these sets are added to record header
      2. Scenario – include only one set in header
      • Given record fits set “video”, “main_library”, “will_lend_policy” and “main_library:video:will_lend_policy” setSpecs
      • When ListIdentifiers or ListRecords or GetRecord request
      • And record is to be included in response
      • Then only “main_library:video:will_lend_policy” set is added to record header
      3. Scenario – include some of all possible sets in header
      • Given record fits set “video”, “main_library”, “will_lend_policy” and “main_library:video” setSpecs
      • When ListIdentifiers or ListRecords or GetRecord request
      • And record is to be included in response
      • Then “will_lend_policy” and “main_library:video” sets are added to record header
      4. Scenario – include default set “all” in header
      • Given record doesn’t fit any set
      • When ListIdentifiers or ListRecords or GetRecord request
      • And record is to be included in response
      • Then default set “all” is added to record header

        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