-
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
Index Alma data triggered by webhook: daily updates and basedump #1159
Comments
There are two possible webhooks (per type of run):
Both URLs may contain the following optional placeholders:
For Jenkins, our URL would currently look like:
|
- copy lobid-resources ETL morph resources to play resources See #1159.
- copy lobid-resources ETL morph resources to play resources - configure routes - use Global configs See #1159.
- increase minor version number See #1159.
- increase minor version number See #1159.
- increase minor version number See #1159.
- increase minor version number - add github local repository to build.sbt See #1159.
- increase minor version number - make github install jar into local repository to make it accessible in build.sbt See #1159.
- increase minor version number See #1159.
Don't catch a possible exception, so that a caller can treat the exception, e.g. the Webhook. See #1159.
Webhook listener deployed, called like: |
Uh, wait: we should stick to SSL because of the secret token. Will assign @blackwinter again if the https URIs are properly configured. |
The webhook endpoint should only enqueue an indexing job, not run it immediately (at least not synchronously). We're not going to wait for the indexing process to finish. If you can't/won't adjust your webhook listener, we'd need to change the trigger to avoid waiting for a response. |
Ah, yes I see, I did that wrong. Will fix this so that the endpoint is going to immediately ack when triggered. |
Ups, hadn't deployed. Shouldn't do something quickly before lunch .... Please try again. |
(the multiple started processes seem to be in connection with |
Hm, something is strange and I cannot see the logs ETL program. Have to check. |
Let me know if/when I shall give it another try. It's configured now and will be included when publishing starts again next week. |
Got logging to work (had to copy the log4j.xml to web/conf). Give it another try. |
LGTM. |
Thx for reviewing and configuring! Closing. |
Don't create the index name when starting the app but when starting the ETl of basedump. See #1159.
Don't create the index name when starting the app but when starting the ETl of basedump. See #1159.
Uh. There was a bug in the creation of the index name, resulting in an overwriting of the existing production index. This happened 2 hours ago with the Webhook listener triggered from the BGFZ creation after NZ publishing. |
Using two logging systems on one file is not working when this file is rolled: one of the logging systems looses the rolled file. Solution is to to use two log files when using two logging configurations. See #1159.
ETLed the basedump of today and made it productive. Closing. |
Complements #1112 .
Fundamental to solve #1162.
@blackwinter has implemented a webhook which would call a (to be implemented) webhook listener to inform it about when the updates/basedump files are ready.
put webhook listener into(as it is part of lobid's web app it is already monitored)monit
to ensure its livingDeletions are atm not important but would complement this issue.
The text was updated successfully, but these errors were encountered: