OpenTreeOfLife / otindex

opentree index using postgres and pyramid
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Webhook #60

Closed snacktavish closed 1 year ago

snacktavish commented 1 year ago

This creates a route for a github webhook from phylesystem docstore to update index.

Does not handle taxon amendments yet. Tested mostly manually on devapi/devotindex

snacktavish commented 1 year ago

I deployed it to production :shrug: :grimacing: because it appears to work and the study updates seem important :shipit: Still need to figure out what should happen with amendments, and how to trigger cache clearing on phylesystem-api though.

jimallman commented 1 year ago

I'll add a cache-clearing method that expects a specified type+id(s). So we're still touching all three services. 😬 But hopefully in a more sensible way.