Closed ekansa closed 1 year ago
Need to merge this so we can get it deployed out to henry for testing purposes
We're about 20,000 records in to the reindex, and things appear to be progressing smoothly. Going to merge this since it seems to be working.
This update is in response to issue: https://github.com/isamplesorg/isamples_inabox/issues/295
This change includes: (1) Updated the Open Context API URL following updates to Open Context's API (2) I added a global
OPENCONTEXT_PAGE_SIZE
set to 250 to pull more records from Open Context per request (3) I made a few modifications to the lists configuring mappings between Open Context "item categories" and iSamples materials and categories (4) I added a function / method (_get_oc_str_or_dict_item_label
) for reading either a string value or the 'label' key from a dictionary to get the value for certain attributes. I'm not sure how this should work with the existing Transformer_transform_key_to_label
method