James Muscat
|
7c146a14c4
|
Factor out common code into StatsCollector.
|
2015-04-13 18:04:33 +01:00 |
|
James Muscat
|
fce10cdaa6
|
Simple stat collector, to better monitor gateway throughput and health.
|
2015-04-09 00:35:27 +01:00 |
|
James Muscat
|
639703f8c9
|
Avoid deprecated access to BaseException.message.
|
2015-04-04 01:02:18 +01:00 |
|
James Muscat
|
608ff49723
|
Build an egg, and create an eddn-gateway script.
Currently can only be run from a directory where ../schemas exists
and is populated...
|
2015-04-04 00:31:17 +01:00 |
|
James Muscat
|
a20da1d04e
|
Default to listening on all network interfaces.
|
2015-04-04 00:00:23 +01:00 |
|
James Muscat
|
e8a2e8dc63
|
Always use UTC for the GatewayTimestamp.
|
2015-01-12 13:15:20 +00:00 |
|
James Muscat
|
ddeca9f00c
|
Add uploader key to header section if we have a salt.
|
2014-12-18 13:04:15 +00:00 |
|
James Muscat
|
56853854ca
|
Add a gateway timestamp to the message (e.g. time of receipt by EDDN,
not time of generation of market data).
|
2014-12-17 19:50:37 +00:00 |
|
James Muscat
|
cceb77d7a1
|
We don't actually want to return the original JSON.
|
2014-12-17 14:11:24 +00:00 |
|
James Muscat
|
a7925923cf
|
Configure Validator with our schema (don't do the validation yet).
|
2014-12-17 14:06:53 +00:00 |
|
James Muscat
|
351b00aed2
|
Return HTTP 400 rather than 200 on error.
|
2014-12-17 13:40:41 +00:00 |
|
James Muscat
|
fdeea2f7c2
|
Make Validator its own class, because it's going to want state soon.
|
2014-12-17 13:38:06 +00:00 |
|
James Muscat
|
2d406f9e25
|
Create a framework for JSON validation at the gateway.
|
2014-12-17 13:30:09 +00:00 |
|
James Muscat
|
43a9931e38
|
Mercilessly crib EMDR's wsgi app for the Gateway. Currently just passes
any valid JSON through.
|
2014-11-16 12:48:48 +00:00 |
|
James Muscat
|
445c92c1b2
|
Skeletal but functional system.
Gateway just pumps messages into zmq to a Relay, Client parses them as
JSON and spits them out.
|
2014-11-15 17:12:23 +00:00 |
|