Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-2093

Populate provider specific IDs from GOKb

    XMLWordPrintable

Details

    • ERM Sprint 144, ERM Sprint 145, ERM Sprint 146, ERM Sprint 147, ERM Sprint 148
    • Bienenvolk
    • Nolana (R3 2022)
    • TBD

    Description

      From the package identifiers in the GOKb OAI-PMH XML (path: /record/metadata/gokb/package/identifiers/identifier) where the "type" attribute is specified and has the value "ttl_prv" in OAI-PMH, or the type attribute is empty, add the identifier to the package

      • The value of the identifier should be taken from the 'value' attribute
      • The namespace of the identifier should be constructed as follows:
        • gokb_ttl_prv_<<namespace>> (using the value of the namespace attribute, not including the '<<' or '>>')

       

      There are currently examples of packages with identifiers in publisher specific namespaces in this XML:

      https://gokbt.gbv.de/gokb/oai/index/packages?verb=listRecords&metadataPrefix=gokb&resumptionToken=%7C%7C72%7Cgokb

      Example 1

      OAI URL: https://gokb.org/gokb/oai/packages?verb=ListRecords&metadataPrefix=gokb&resumptionToken=||27|gokb

      Package name: Neues Handbuch Hochschullehre
      package id="878126" uuid="bad9dfdc-90f9-4b50-9d86-8708450dd044"
       

      <identifiers>
        <identifier namespace="duz" namespaceName="" value="HHL" type="ttl_prv"/>
      </identifiers>

      Example 2

      OAI URL: https://gokb.org/gokb/oai/packages?verb=ListRecords&metadataPrefix=gokb&resumptionToken=||39|gokb

      Package name: Engineering eJournal Collection
      package id="888912" uuid="2b242d17-2362-4f16-9f0e-8d794287610f"
       

      <identifiers>
        <identifier namespace="emerald" namespaceName="" value="EENG" type="ttl_prv"/>
        <identifier namespace="isil" namespaceName="ISIL" value="ZDB-55-EJC" type=""/>
      </identifiers>

       

       

       Dev task breakdown

      Add a block similar to this:
      https://github.com/folio-org/mod-agreements/blob/master/service/src/main/groovy/org/olf/kb/adapters/GOKbOAIAdapter.groovy#L323:L330

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases