326 Commits

Author SHA1 Message Date
AnthorNet
b1c4090e9b Really fix settings this time
Stranged it works on windows BTW !
2015-05-05 13:55:33 +02:00
AnthorNet
227c7a98ae Fix settings 2015-05-05 13:48:39 +02:00
AnthorNet
189a4ab8f5 Remove loggin from Monitor 2015-05-05 13:26:12 +02:00
AnthorNet
47c035e24f Forget to commit new settings ! 2015-05-05 12:55:32 +02:00
AnthorNet
c7187e90bd Added topic in Gateway/Relay to allow filtering 2015-05-05 12:37:57 +02:00
AnthorNet
e2bcca0c72 Added uploaderID monitor 2015-05-05 10:06:41 +02:00
AnthorNet
6a1800baf1 Added monitor setting and first monitoring 2015-05-05 09:47:41 +02:00
AnthorNet
863d5937c7 Remove unnecessary comment 2015-05-04 13:33:58 +02:00
AnthorNet
c8e21abea5 Added monitor first draft 2015-05-04 13:29:10 +02:00
AnthorNet
76954751c0 Fix missing _Core in relay 2015-05-04 13:26:33 +02:00
AnthorNet
e25ac62154 Moved _version to _Conf/Version.py 2015-05-04 13:23:23 +02:00
AnthorNet
6639b3a13e Moved core functions to _Core 2015-05-04 13:21:58 +02:00
AnthorNet
d091464e2c Fix missing schemas in setup.py 2015-05-04 12:58:42 +02:00
AnthorNet
915aee107c Fix missing schemas in setup 2015-05-04 12:57:40 +02:00
AnthorNet
a80994ae4a Change conf directory name 2015-05-04 11:41:15 +02:00
James Muscat
c8bba2b880 Tally software+version. 2015-05-01 12:45:08 +01:00
James Muscat
592084973f Tally each type of message we see, so we can track use of new schemas as
they get deployed.
2015-04-28 12:13:33 +01:00
James Muscat
cc7a92770e Bump version number. 2015-04-23 18:04:10 +01:00
James Muscat
976454c358 Extra stats: uptime and EDDN version. 2015-04-23 09:57:51 +01:00
AnthorNet
67163c8bed Add test to commodity schema v2 2015-04-22 15:36:04 +02:00
AnthorNet
5b2b2138a4 Moved Client.py to examples 2015-04-16 10:01:43 +02:00
James Muscat
1d270c112f Merge remote-tracking branch 'origin/master' 2015-04-15 15:02:37 +01:00
James Muscat
72cacba69d Bump version number. 2015-04-15 15:02:00 +01:00
James Muscat
3fc16cbb0a Set CORS header to allow status page to read these values. 2015-04-15 15:00:39 +01:00
James Muscat
5bd5b001d8 Draft v2.0 schema provided by AnthorNet. 2015-04-14 23:54:46 +01:00
James Muscat
4c314a9b9b Keep track of how many messages fail gateway validation. 2015-04-14 17:06:26 +01:00
James Muscat
02f1ebc307 Unused import. 2015-04-14 16:39:09 +01:00
James Muscat
ddd81574ed Allow configuration of gateway HTTP port rather than hardcoding. 2015-04-14 16:38:56 +01:00
James Muscat
46292e3c30 Don't corrupt the commandline unless we're asked to.
The hacky approach caused problems with anything else trying to use
argparse (e.g. nosetests). This approach only tries to parse the
commandline if we need to e.g. within Relay/Gateway's main() function.
2015-04-14 14:30:26 +01:00
James Muscat
43ff4cda3a Move version number out of init file to its own file (consistent with
other projects).
2015-04-14 13:58:33 +01:00
James Muscat
1f3de2474c First pass at getting test framework up and running. 2015-04-14 13:36:23 +01:00
James Muscat
ec3987ad17 Correctly figure out enough of Python's internals for this to work. 2015-04-14 01:03:07 +01:00
James Muscat
d71469c10f This is slightly horrid, but parse the commandline in Settings to
determine if we need to override our configuration.
2015-04-14 00:55:31 +01:00
James Muscat
f178fec08d Allow overriding settings with config file. 2015-04-14 00:37:11 +01:00
James Muscat
da426c1d89 Encapsulate settings as a class. Make a singleton available. 2015-04-14 00:30:22 +01:00
James Muscat
074f24bc52 Whoops, accidentally changed this. 2015-04-13 18:33:19 +01:00
James Muscat
7d7f977cea Rip out the old method of collecting stats in favour of the generic way. 2015-04-13 18:32:32 +01:00
James Muscat
384a4f40fe ...except that tally should require the lock. 2015-04-13 18:28:50 +01:00
James Muscat
4bab5e3606 Let the StatsCollector collect arbitrary stats. 2015-04-13 18:28:04 +01:00
James Muscat
bd0afbc0c8 Actually count the right numbers, in the right order, and limit range
properly.
2015-04-13 18:14:39 +01:00
James Muscat
7c146a14c4 Factor out common code into StatsCollector. 2015-04-13 18:04:33 +01:00
James Muscat
95e83333d7 Add a StatsCollector to the Relay too. 2015-04-13 18:00:24 +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
5d3551d705 These were just prototypes; no need to keep them around. 2015-04-04 01:10:45 +01:00
James Muscat
639703f8c9 Avoid deprecated access to BaseException.message. 2015-04-04 01:02:18 +01:00
James Muscat
a0337cccdf Bump version number. 2015-04-04 00:45:33 +01:00
James Muscat
c2109d2866 pep8 fix. 2015-04-04 00:38:11 +01:00
James Muscat
4f4ee10a98 Kill off dead code. 2015-04-04 00:33:56 +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
2bddaec99b Expose version in settings. 2015-04-04 00:13:59 +01:00