Implemented fact scan storage logic.

* added mongo connection logic
* added mongo dbtransform logic to allow keys with . and $
* altered tower fact scanner CacheModule to emit a message for each fact module facts (including ansible facts). Previously, seperate facts module facts were getting concatenated to each subsequent emi
* tower fact scanner CacheModule timeout set as to not hang for forever
* broke apart commands.py test
* added unit test for run_fact_cache_receiver, facts, and dbtransform
This commit is contained in:
Chris Meyers
2015-04-03 09:58:38 -04:00
parent a5452fa432
commit c03cef022d
19 changed files with 698 additions and 71 deletions

View File

@@ -14,6 +14,8 @@ from split_settings.tools import optional, include
# Load default settings.
from defaults import *
MONGO_DB = 'system_tracking_dev'
# Disable capturing all SQL queries when running celeryd in development.
if 'celeryd' in sys.argv:
SQL_DEBUG = False