Julien Vehent
b3089758d1
Filechecker: code cleanup and comments
2013-12-05 11:00:47 -05:00
Julien Vehent
482ee74afd
Build: exit on error
2013-11-01 16:40:20 -04:00
Julien Vehent
1ca6eea91b
Scheduler: Store Actions and Commands in MongoDB
2013-11-01 16:40:20 -04:00
Julien Vehent
8394a70ac3
Scheduler: code prettyness
2013-11-01 16:40:20 -04:00
Julien Vehent
1f82514936
Scheduler: refactor command loading from file in separate function
2013-11-01 16:40:20 -04:00
Julien Vehent
101bba4ccf
Scheduler: use variable for tmpdir, instead of hardcoded
2013-11-01 16:40:20 -04:00
Julien Vehent
7ec52e4bcb
Scheduler: store commands IDs in the action structure
2013-11-01 16:40:20 -04:00
Julien Vehent
f46f9bbdb9
Rename UniqID to ID, and bump size to 64 bits with unix TS for uniqueness
2013-11-01 16:40:20 -04:00
Julien Vehent
4b3c6b4565
code cleanup
2013-10-31 12:04:05 -04:00
Julien Vehent
2fb5c8948e
Check: LOWENCCRED regex update
2013-10-31 12:03:43 -04:00
Julien Vehent
e92728d24d
Refactor KeepAlive/Heartbeat messages
2013-10-31 12:03:25 -04:00
Julien Vehent
99320d2b65
Scheduler: [bug] don't ack manually when autoack is on
2013-10-31 10:32:13 -04:00
Julien Vehent
6421fcc053
Agent: rearrange initialization in agent mode (need further squashing)
2013-10-29 09:29:10 -04:00
Julien Vehent
2af9f5383c
Code prettyness: comments & linewraps
2013-10-29 09:29:10 -04:00
Julien Vehent
2817bca128
Agent: Filechecker module: use flexible JSON syntax in module commands
...
This commit reworks the arguments passed to agent's modules as an
undefined interface{} in JSON format. It will allow complex commands
to be passed to the modules.
2013-10-29 09:29:10 -04:00
Julien Vehent
0b2bab7e7e
Filechecker: rename resultcount into matchcount for clarity
2013-10-24 10:24:52 -04:00
Julien Vehent
34ddfc163f
Scheduler: code prettyness
2013-10-24 10:24:20 -04:00
Julien Vehent
7a4604cf69
Scheduler: autoack amqp and minor messaging tweaks
2013-10-24 10:24:12 -04:00
Julien Vehent
3a1c32f3de
Agent formatting
2013-10-24 10:22:49 -04:00
Julien Vehent
3f8e8b7271
Agent Filechecker: use JSON syntax for input params
2013-10-22 16:22:48 -04:00
Julien Vehent
a3c42612e7
Agent: call Filechecker as a package, not a separate binary
...
Instead of calling ./filechecker, the agent will call itself with ./agent -m=filechecker
2013-10-21 20:05:44 -04:00
Julien Vehent
1eac2945ef
filechecker: de-ioc terminology
2013-10-13 08:56:58 -04:00
Julien Vehent
9eb2a0cd56
Agent: increase heartbeat to 10 minutes
2013-10-02 11:19:52 +02:00
Julien Vehent
88e0833fc8
build: export GO env variables
2013-09-11 20:36:19 -04:00
Julien Vehent
b8499091fc
Scheduler: Add agent pickup at startup, and a bunch of code cleanup
2013-09-11 20:36:02 -04:00
Julien Vehent
012a4142ab
Scheduler: log cleanup
2013-09-11 16:31:49 -04:00
Julien Vehent
7d5f426979
Agent: heartbeat support
2013-09-11 16:31:34 -04:00
Julien Vehent
54f0302502
Scheduler: Add registration authorization check
2013-09-11 10:38:07 -04:00
Julien Vehent
7792a95ee1
Scheduler: bump channels buffer size to some magic prime number value
2013-09-10 18:24:41 -04:00
Julien Vehent
3716983d9a
Added LOWENCCRED test
2013-09-10 18:23:46 -04:00
Julien Vehent
93f3cbd3f9
cleanup old bins
2013-09-09 23:55:02 -04:00
Julien Vehent
9f9d18ac8d
scheduler: launchCommand()
2013-09-09 23:54:27 -04:00
Julien Vehent
be04b30929
LOWSYSCALL compliance check
2013-09-09 20:19:50 -04:00
Julien Vehent
12771bb587
directory watchers in inotify: check, action parsing: check, agent registration stored mongo: check, agent localisation in mongo: check, commands creation: check
2013-09-09 20:18:50 -04:00
Julien Vehent
c9088425eb
Cross platform compilation script
2013-09-09 20:17:15 -04:00
Julien Vehent
b1f3f96094
Registration support & Messaging cleanup
...
Fixed the message types and added a special message for agent registration.
Added support for agent specific queue and routing keys.
And some more code reorganisation.
2013-08-13 14:00:35 -04:00
Julien Vehent
30c9125754
WIP
2013-08-12 13:47:27 -04:00
Julien Vehent
b4bb037c1a
Initial commit
...
lots of cruft to clean up, but filechecker and agent should compile.
2013-08-07 21:45:27 -04:00