Versions Compared

Key

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

...

...

TimeItemWhoNotes
5WelcomeDale

Welcome and request for someone to take notes (Ingolf volunteers).

10

User data

Tabled

Uschi

What happened to our requirements for user data? https://docs.google.com/spreadsheets/d/1jiMJz-wTBhSkpVrJOFQh2tGmm9-AXATphu2dMcACkws/edit#gid=2094559533

The JSON schema hasn't been updated for a very long while, and none of the desired fields have been added. In addition, there are no custom fields in the foreseeable future. This is a KO criterion for Go live.

45Folio data loaderJon M.

Jon Miller will give us a demonstration of a tool that he wrote to load json files into Folio, both through the APIs, and directly to the Folio data stores.

Meeting Notes

Confusion because Zoom link is not working (Getting the "host has another meeting in progress" message). We continue with WebEx, using Patty's account.

Jon Miller demonstrates the migration tool he wrote. It's on github, https://github.com/jemiller0/Folio . It requires .NET core. This can be installed from here: https://dotnet.microsoft.com/download (the link is also in Jon's README on the github site). One downloads .NET Core SDK, then compiles the source code.

The project is being built like this

Code Block
git clone https://github.com/jemiller0/Folio.git
cd Folio
dotnet build

Jon's application has two configuration files. They are being built automatically with default values if they are not present. The config files are called

Code Block
ConnectionStrings.config
AppSettings.config

In ConnectionStrings.config replace host=localhost by your host. Other config variables are username, password and database.

Jon's application works in two modes: SQL mode and API mode. For SQL mode one needs a local instance to run. The config file AppSettings.config is only needed when one works in API mode. To load and save data using the FOLIO web API, specify the URL, tenant, username, and password in AppSettings.config

Sample calls of the application:

Code Block
dotnet ../FolioConsoleApplication.dll -save -all

This saves (downloads) all data which are in the system to local JSON files. Jon demonstrates that 100,000 user records take 19 seconds to save. The app is fast because it uses postgres copy binary format.

Code Block
dotnet ../FolioConsoleApplication.dll -delete -load -all

This command first deletes all data sets which are already in the system and the uploads all data (in local JSON files) again.

When one deletes users one has to take care not to delete the admin user, otherwise one will block oneself.

Code Block
dotnet ../FolioConsoleApplication.dll -save -all -api

This command does the same as "-save -all" execept that is uses the API instead of SQL statements. Jon finds that this takes 90 seconds for 100,000 user records.

Other options to the application are:

Code Block
-All
-Api
-Delete
-Load
-Save
-Validate
-Verbose

which are self-explanatory. "validate" does nothing but validates the data for correct syntax.

In API mode, the query language is CQL, whereas in SQL mode it is SQL (guess). There are slight differences between CQL and SQL syntax, e.g. NOT EQUAL is '!=' in SQL but '<>' in CQL.

Jon explains some warnings and limitations. For example, the app uses the latest SQL and JSON schemas which may not be the ones of the FOLIO version one is using.

The recording of Jon Miller's presentation is here: https://ebscomeetings.webex.com/ebscomeetings/lsr.php?RCID=f1dacfa3bc9445ef9c41132af4862ec1


Topics for next meetings
Jon will be available for questions in the next meeting.

Link to Acquisitions Interface Fields
Link to  FOLIO Record Data Elements  (contains links to specific spreadsheets, but most of them are not up to date.)

Action Items

Anne L. Highsmith was requested to clarify the situation with the Zoom account.