Skip to end of banner
Go to start of banner

Links Generator instructions

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Overview

Script for generating links for testing. 

Public Git repository: Folio Links Generator

Script execution

java -jar folio-links-generator.jar configuration.json authorities.mrc

Script executable: folio-links-generator.jar

Configuration File:

  • 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. All bibs will be linked to each authority

Example:

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


  • No labels