add postgres Fact model, update views, tests

* awx.main.models Fact added
* view host fact and timeline updated to use new Postgres Fact model instead of Mongo
* Removed license set start Mongo logic
* added View tests
* added Model tests
* Removed mongo fact unit tests
* point at modified jsonbfield that supports sqlite storage driver
* postgresify fact cache receiver
* test OPTIONS endpoint
* Note: single fact view not implemented yet.
This commit is contained in:
Chris Meyers
2016-02-15 16:59:21 -05:00
parent 56b0da30f1
commit 7ffe46fc74
29 changed files with 5025 additions and 710 deletions

View File

@@ -49,7 +49,7 @@ importlib==1.0.3
ipaddress==1.0.14
iso8601==0.1.10
isodate==0.5.1
git+https://github.com/chrismeyersfsu/django-jsonbfield@master#egg=django-jsonbfield
git+https://github.com/chrismeyersfsu/django-jsonbfield@fix-sqlite_serialization#egg=django-jsonbfield
jsonpatch==1.11
jsonpointer==1.9
jsonschema==2.5.1

View File

@@ -7,3 +7,4 @@ pytest
pytest-cov
pytest-django
pytest-pythonpath
pytest-mock

View File

@@ -13,3 +13,4 @@ pytest
pytest-cov
pytest-django
pytest-pythonpath
pytest-mock