-
Notifications
You must be signed in to change notification settings - Fork 5
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
Re-locate nudge study index #239
Comments
I am porting this code over to be housed in otindex to receive the webhook directly. Working on branch https://github.com/OpenTreeOfLife/otindex/tree/webhook I'm not sure how to trigger clearing the cache though. @jimallman - any thoughts? phylesystem-api/controllers/search.py Line 126 in dbd2987
|
Damn, I should have caught that. Maybe cache-clearing was the rationale for having the initial webhook handler on phylesystem-api. I assume we don't want to bind these two services to a single machine, so a remote cache-clearing method should do the trick. I can add a (undocumented/utility) method for this to the API. |
Also, I'm planning to move the add-webhook functionality from a shell-script in phylesystem-api, to the Ansible playbook that deploys it. |
Sounds good. I realized there is supposed to be a webhook for the amendments as well... and there needs to a be destination for that one too. Likely in otindex directly as well, I think, unless this caching stuff means that you think we should still route them through phylesystem-api, as they used to be. |
Phylesystem github webhook needs somewhere to go. Maybe recode https://github.com/OpenTreeOfLife/phylesystem-api/blob/before-pyr/controllers/search.py#L57 directly into otindex?
The text was updated successfully, but these errors were encountered: