James Muscat
|
ddeca9f00c
|
Add uploader key to header section if we have a salt.
|
2014-12-18 13:04:15 +00:00 |
|
James Muscat
|
1b71ceda27
|
Didn't mean to commit that test value...
|
2014-12-18 13:03:54 +00:00 |
|
James Muscat
|
3e3a13caaa
|
Allow a test message with the same validation as a 'real' commodity
message.
|
2014-12-18 13:03:11 +00:00 |
|
James Muscat
|
d4e51775d3
|
Typo
|
2014-12-17 19:52:25 +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
|
8845cdca80
|
Allow other, undefined properties in the schema; don't require any of
the header properties (but do require the header).
|
2014-12-17 19:50:06 +00:00 |
|
James Muscat
|
7f84091f51
|
Initialise to empty list of validation results when we create a results
object.
|
2014-12-17 18:24:06 +00:00 |
|
James Muscat
|
66bfe98c14
|
Validate against draft Commodity schema.
|
2014-12-17 14:18:58 +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
|
7786d41d67
|
Add http:/example.com as an allow-all JSON schema.
|
2014-12-17 13:48:55 +00:00 |
|
James Muscat
|
8badcc38e5
|
Barf on unknown schemas (without a way to make them known, currently).
|
2014-12-17 13:47:36 +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
|
a1f1019784
|
Let's pretend this works...
|
2014-11-16 11:45:34 +00:00 |
|
James Muscat
|
a70cfebec9
|
This should in fact be localhost (or whatever the gateway/announcer
is)...
|
2014-11-16 11:44:43 +00:00 |
|
James Muscat
|
81f481755e
|
Trivial receiver that just spams to stdout.
|
2014-11-16 00:10:13 +00:00 |
|
James Muscat
|
15c2141493
|
Hacky test script that sends a message every second.
|
2014-11-16 00:07:30 +00:00 |
|
James Muscat
|
fc37bf4744
|
Don't just bind to localhost.
|
2014-11-15 17:30:56 +00:00 |
|
James Muscat
|
bcf8de0e7e
|
Yay, Python versions
|
2014-11-15 17:28:42 +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 |
|
James Muscat
|
bffa6b3a13
|
Heavily borrow EMDR code for a relay.
|
2014-11-15 14:46:31 +00:00 |
|
James Muscat
|
1cf53c4e4d
|
Eclipse cruft and README first sentence.
|
2014-11-15 13:23:05 +00:00 |
|
James Muscat
|
6167430d70
|
Initial commit
|
2014-11-15 11:51:33 +00:00 |
|