coralproject / pillar

Deprecated: Service layer for the Coral ecosystem
Other
4 stars 1 forks source link

Create Event based api push mechanism #89

Closed jde closed 8 years ago

jde commented 8 years ago

We need a generic mechanism that:

1) when an event is triggered (or, we call a function) 2) we hit an api endpoint 3) with data

The first usage will be to hit WaPo's add/remove tag api when users are give live tags.

samshub commented 8 years ago

This is completed. As part of integration, I've now code for WaPo named wake. This code is designed to listen to PIllar events and react to them. So far, it reacts to two events:

On Asset imported/created/updated => goes out and fetches the details for an Asset, updates it through Pillar again. On Tag added/removed to User => Talks to reverb and updates the user's markers there.

This code is internal to WaPo.