Commit Graph

3 Commits

Author SHA1 Message Date
Luna Mendes ecf6234cfe elstat.adapters: add latency to db spec
Since this is a change to the table schema for all services using the
ping adapter, you will have to delete the tables relating to them.

 - elstat.blueprints: add incidents blueprint (WIP)
 - elstat.blueprints: add decorators.py
 - elstat.blueprints: add errors.py
 - elstat.manager: add incidents & incident_stages tables
 - run: add handler for ApiError
2018-07-13 23:20:09 -03:00
Luna Mendes 31a0f2b989
Add streaming API documentation
- streaming: add sub/unsub OP codes, changing from the old behavior of
    just giving a channels array.
 - streaming: properly check payloads against their data and send
    proper errors.

 - manager: add unsubscribe()
2018-07-11 18:23:47 -03:00
Luna Mendes 3fa27f5de6
move blueprints inside elstat folder
- add OP.DATA
 - manager: add _websockets map
 - manager: add basic publish logic
 - worker: add timestamps to published messages
2018-07-11 17:00:39 -03:00