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 4 Next »

Polaris library codes are numeric and will need to be entered into the mappings tables.

Example mappings rows for Polaris are:

STLOUIS

Location

61

DCB

AGENCY

6slou

STLOUIS

Location

62

DCB

AGENCY

6slou

STLOUIS

Location

63

DCB

AGENCY

6slou

STLOUIS

Location

64

DCB

AGENCY

6slou

STLOUIS

Location

65

DCB

AGENCY

6slou

These can be loaded via the /admin/cfg endpoint. For example, if the above mappings are in a Google sheet

curl -X POST $TARGET/admin/cfg -H "Accept-Language: en" -H "Content-Type: application/json"  -H "Authorization: Bearer $TOKEN" -d '{
  "profile":"referenceValueMappingImport",
  "url":"https://docs.google.com/spreadsheets/d/e/2PACX-1vTbJ3CgU6WYT4t5njNZPYHS8xjhjD8mevHVJK2oUWe5Zqwuwm_fbvv58hypPgDjXKlbr9G-8gVJz4zt/pub?gid=480381709&single=true&output=tsv "
}'

here is a sample HostLMS configuration for POLARIS.

Important things to note:

  • ill-location-id needs to be set to the locations which will be used as the home for any virtual items created. This location MUST

    • be able to supply all the pickup locations in your network

    • be select-able as a pickup location in order for the supplying flow to indicate to staff that DCB loans should be placed in transit.

curl -X POST $TARGET/hostlmss -H "Content-Type: application/json"  -H "Authorization: Bearer $TOKEN" -d '{ 
  "id":"'`uuidgen --sha1 -n $HOSTLMS_NS_UUID --name YOURCODE`'", 
  "code":"YOURCODE", 
  "name":"your name", 
  "lmsClientClass": "org.olf.dcb.core.interaction.polaris.PolarisLmsClient", 
  "clientConfig": { 
    "logon-branch-id": "LOGON-BRANCH-ID",
    "logon-user-id": "LOGON-USER-ID",
    "ingest": "true",
    "base-url": "your-base-url",
    "page-size":100,
    "staff-username": "STAFF-USERNAME",
    "staff-password": "STAFF-PASSWORD",
    "domain-id": "DOMAIN",
    "access-id": "DCB",
    "access-key": "YOUR-ACCESS-KEY",
    "contextHierarchy": [ "YOURCODE", "MOBIUS", "GLOBAL" ],
    "papi": {
      "papi-version": "v1",
      "lang-id": "1033",
      "app-id": "100",
      "org-id": "1"
    },
    "services": {
       "patron-barcode-prefix": "OpenRs-",
       "default-patron-home-location-code": "1",
       "services-version": "v1",
       "language": "eng",
       "product-id": "20",
       "site-domain": "polaris",
       "organisation-id": "ORG-ID",
       "workstation-id": "1"
    },
    "item": {
      "renewal-limit": "0",
      "fine-code-id": "1",
      "history-action-id": "6",
      "loan-period-code-id": "9",
      "shelving-scheme-id": "3",
      "barcode-prefix": "",
      "ill-location-id": "VIRTUAL-ITEM-LOCATION-ID"
    }
  } 
}'
  • No labels