Commit graph

8 commits

Author SHA1 Message Date
Luna Mendes
e3a3e1b77b
worker: publish new status upon worker crash 2018-07-14 22:30:29 -03:00
Luna Mendes
83b2d88311
change adapter response type to dict
this simplifies a lot of code since tuples are immutable.

 - adapters: add Adapter._construct
 - worker: set status state to False on worker crash
2018-07-14 22:27:06 -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
Luna Mendes
3ec64d5bdd
worker: add basic _dispatch_work logic 2018-07-11 03:42:31 -03:00
Luna Mendes
7e6d9d5402
add channel creation
dynamically create channels by adapter's specs.

 - add cleanup tasks for ServiceManager and ServiceWorker
2018-07-11 02:48:00 -03:00
Luna Mendes
d92c09772e
add public api
- generalize elixire adapter into http adapter
 - fix ping adapter not sending a tuple
 - add ServiceWorker.process_work to insert results into the database
2018-07-09 02:48:44 -03:00
Luna Mendes
359c62efd6 Add proper adapter implementations
also add table making for the db
2018-07-08 00:38:14 -03:00
Luna Mendes
9ed1ec60cf add ServiceManager & ServiceWorker 2018-07-07 20:51:43 -03:00