11 Commits

Author SHA1 Message Date
Chris Meyers
fbca7e70f1 optimize transformation 2016-05-12 14:16:39 -04:00
Chris Meyers
d56dc25314 do not require mongo to be on 2016-03-04 10:52:12 -05:00
Chris Meyers
667d8a2667 fix the connection check fix
* Multiple exceptions in except should be a tuple. Otherwise, the second
parameter will be the error object. Apposed to the intent, for it to be
another exception in a list of exceptions.
2015-12-07 13:48:19 -05:00
Chris Meyers
78ac2ccb55 more robust check added to mongo db connection
Calling mongoengine (or pymongo) connect() after already calling
connect() resulting in getting the first connection (connection
pooling). This is bad if we are relying on connect() to determine if
mongo is up. Added executing a ping/pong command after the connect()
command to ensure mongo is still/really up.
2015-12-04 13:25:57 -05:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones
3c2f3f323a Fix some flake8 2015-06-09 16:07:06 -04:00
Matthew Jones
ab5c4b5f20 Check connection for scan jobs before actually running the job, fail
early if the system tracking database isn't available
2015-06-09 15:31:23 -04:00
Matthew Jones
31d0342d41 More copyright headers for api side stuff 2015-05-29 12:10:40 -04:00
Matthew Jones
b3da3b34a3 Changing some legal headers for python source files 2015-05-29 12:10:39 -04:00
Chris Meyers
d8c3481300 fixes Fact serialization/deserialization 2015-05-03 18:24:55 -04:00
Chris Meyers
2a039bb31f moved new fact implementation to fact app 2015-04-07 09:50:35 -04:00