-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cron job for lobid-organisation labels map #1903
Comments
I've now increased in the webserver config to |
thanks this seems to work now. |
Can you help with the seed script? For the cron job? |
Instead of regex the output it would be comfortable to have a tabulator-separated export in lobid-organisations => depends on hbz/lobid-organisations#500. |
The new mechanism does not need any post processing. Only the following must be done:
|
Also adjust the links for the test here: lobid-resources/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java Lines 128 to 129 in 40f2c43
lobid-resources/src/test/java/org/lobid/resources/AlmaMarc21XmlToLobidJsonMetafixTest.java Lines 72 to 73 in 40f2c43
|
|
src/main/resources/alma/maps/lobidOrganisationsMapping.tsv
Should be fetched via cron job.
https://lobid.org/organisations/search?q=_exists_%3Aisil+OR+type%3ACollection&format=csv:id,isil,sigel,name&size=25000
The process should fetch this and replace:
^"
=> empty"$
=> empty","
=> Tab",,"
=> 2x TabIt seems that the request is forbidden in prod, but it works on test.
The columns are
id
,isil
,sigel
,name
This was asked by Digibib, since the labels shoud be updated regularly.
The text was updated successfully, but these errors were encountered: