1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00
Commit graph

19 commits

Author SHA1 Message Date
Simo Kinnunen
3a9b193f68 Rename "roles" to "units". Put units in their own folders. 2014-08-26 14:34:34 +09:00
Simo Kinnunen
bebb3af42a Send heartbeats from the provider. This keeps unauthorized and offline devices present as well, which is what we want. This also greatly reduces the number of queries to rethinkdb. 2014-06-02 14:52:46 +09:00
Simo Kinnunen
98ecf57d49 Fix browser plugin not updating in real time. 2014-05-01 20:13:29 +09:00
Simo Kinnunen
a915aea9ea Update with new service features. 2014-05-01 17:05:21 +09:00
Simo Kinnunen
71bf2fd131 Don't freak out if trying to close a socket that was already closed. 2014-04-21 18:56:40 +09:00
Simo Kinnunen
8da5b61289 Logcat works now, but still kind of wondering how the messages should arrive. 2014-04-17 18:27:35 +09:00
Simo Kinnunen
bd2b43901d Make graceful shutdown more graceful by actually waiting for sockets (and others) to close. Ongoing effort. 2014-04-12 16:16:03 +09:00
Simo Kinnunen
4896ca406e Reap dead devices using timeouts. Previously, if a provider died without being able to clean up properly, the device would stay as a ghost. 2014-02-25 20:45:29 +09:00
Simo Kinnunen
8769b8040c Initial version of transactions. Shell command implemented as an example. Still needs channel cleanup on app side, handling a device dying in the middle of a transaction, and getting device list back to normal. 2014-02-21 15:55:23 +09:00
Simo Kinnunen
91097dc569 Don't rely on lucky timings when sending messages from the provider. 2014-02-05 15:37:28 +09:00
Simo Kinnunen
37303c5d92 Add owners to groups. 2014-02-04 20:33:53 +09:00
Simo Kinnunen
eb332ff36a Merge DeviceIdentityMessage on the app side. 2014-02-03 19:56:01 +09:00
Simo Kinnunen
2086d7d439 Better device present/absent handling by separating it from the status event. 2014-02-03 19:42:20 +09:00
Simo Kinnunen
b84968c08c Ensure that device is saved before probing it. 2014-02-03 11:09:40 +09:00
Simo Kinnunen
5c1c9fd344 Further simplify message handling by abstracting message mapping to library code. 2014-02-02 20:37:48 +09:00
Simo Kinnunen
b9ca8b04e1 Make wireutil a bit more normal. It now requires wire on its own. 2014-02-02 20:00:29 +09:00
Simo Kinnunen
48d5648b9d Get rid of switch statements in favor of an EventEmitter-based router for message handling. 2014-02-02 19:55:44 +09:00
Simo Kinnunen
4cf3d242a5 Add HipChat notifier role. 2014-01-30 00:21:34 +09:00
Simo Kinnunen
c859ff0530 Rename coordinator -> processor. 2014-01-29 21:05:28 +09:00
Renamed from lib/roles/coordinator.js (Browse further)