span-folio

command
v0.1.361 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

WIP: span-folio talks to FOLIO API to fetch ISIL, collections and other information relevant to attachments. Docs: https://s3.amazonaws.com/foliodocs/api/mod-finc-config/p/fincConfigMetadataCollections.html

Get metadata collections per ISIL, each "fincConfigMetadataCollections", "FilterToCollections", "Filter".

Tenant specific filter. Whitelist, blacklist filter. EZB holdings is a whitelist. Blacklist predatory journals.

Every filter on each collection. Workflow field (testing, approved).

Detour: Regular expressions in RM.

Previously: Technical collection identifier to ISIL (tcid => ISIL).

1 ShardLabel 2 ISIL 3 SourceID 4 TechnicalCollectionID 5 MegaCollection 6 HoldingsFileURI 7 HoldingsFileLabel 8 LinkToHoldingsFile 9 EvaluateHoldingsFileForLibrary 10 ContentFileURI 11 ContentFileLabel 12 LinkToContentFile 13 ExternalLinkToContentFile 14 ProductISIL 15 DokumentURI 16 DokumentLabel

Notes:

{
  "errors": [
    {
      "message": "Error verifying user existence:
                     Error looking up user at url http://okapi-app-service-erm-staging:9130/users?query=username==user
                     Expected status code 200, got 400 :function count_estimate(unknown) does not exist",
      "type": "error",
      "code": "username.incorrect",
      "parameters": [
        {
          "key": "username",
          "value": "user"
        }
      ]
    }
  ]
}

Current AMSL db schema.

CREATE TABLE amsl (

        shard text not null,
        isil text not null,
        sid text not null,
        tcid text not null,
        mc text not null,
        hfuri text,
        hflabel text,
        hflink text,
        hfeval text,
        cfuri text,
        cflabel text,
        cflink text,
        cfelink text,
        pisil text,
        docuri text,
        doclabel text
);

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL