Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Script for generating links for testing. 

Public Git repository: folio-links-generator.rar

Script execution

Code Block
languagebash
java -jar folio-links-generator.jar configuration.json authorities.mrc

...

  • okapiUrl - URL that is used for concrete environments
  • tenant - a tenant that has enabled mod-notes module
  • username - username of the user (should have notes creation permissions)
  • password - user's password
  • marcBibs - array of bibs configurations configurations. All bibs will be linked to each authority

Example:

Code Block
titleJson
{
  "okapiUrl": "https://folio-snapshot-okapi.dev.folio.org",
  "tenant": "diku",
  "username": "diku_admin",
  "password": "admin",
  "marcBibs": [
    {
      "totalBibs": 2,
      "linkingFields": [100, 700]
    },
    {
      "totalBibs": 3,
      "linkingFields": [111]
    }
  ]
}

...