Commit Graph

16 Commits

Author SHA1 Message Date
Chris Meyers
0f99dbe1d2 fixes MONGO_HOST not found error 2016-03-18 10:56:00 -04:00
Matthew Jones
ac37667649 Clean up fact module imports 2015-10-02 16:08:02 -04:00
Matthew Jones
c65d068d55 Add note about wanting to use register_connection
I think this would be the cleaner way to go about things but there are
some unanswered questions about that route.
2015-10-02 16:04:47 -04:00
Matthew Jones
1425718d9e Improve the efficiency of mongo connections
- Remove the connect action in the fact __init__ module
- Monkeypatch mongoengine.Document's _get_db to force a new connection
  or raise an error if we don't have the proper settings.
2015-10-02 15:57:50 -04:00
Chris Meyers
7e6dbd616d Allow fact scanning hosts with same name in two different inventories 2015-06-19 10:29:00 -04:00
Chris Meyers
d5b7be3f4f Merge pull request #276 from chrismeyersfsu/fix-fact_inventory_relationship
associate scan runs with a particular inventory host
2015-06-11 20:55:13 -04:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Chris Meyers
0c7638bdd7 associate scan runs with a particular inventory host 2015-06-11 15:14:00 -04:00
Chris Meyers
a0b6d3f099 index host relationship to speed up fact_versions api endpoint 2015-06-04 15:15:56 -04:00
Matthew Jones
31d0342d41 More copyright headers for api side stuff 2015-05-29 12:10:40 -04:00
Chris Meyers
391a4aa439 fixed single_fact query
Foreach host return only the FIRST fact matching the less than timestamp query.
2015-05-06 14:32:50 -04:00
Matthew Jones
e784595119 Initial implementation of fact api endpoints 2015-05-05 14:47:58 -04:00
Chris Meyers
f3739ec283 single fact now behaves like a match query 2015-05-05 12:59:21 -04:00
Chris Meyers
5b2f3dfd8f fixes Fact serialization/deserialization 2015-05-04 10:35:33 -04:00
Chris Meyers
fc73f1f87a added single fact across multiple hosts query + test cases 2015-04-07 17:50:07 -04:00
Chris Meyers
2a039bb31f moved new fact implementation to fact app 2015-04-07 09:50:35 -04:00