Implement logs model using Elasticsearch

- Implement logs model using Elasticsearch with tests
- Implement transition model using both elasticsearch and database model
- Add LOGS_MODEL configuration to choose which to use.

Co-authored-by: Sida Chen <sidchen@redhat.com>
Co-authored-by: Kenny Lee Sin Cheong <kenny.lee@redhat.com>
This commit is contained in:
Kenny Lee Sin Cheong 2019-01-21 16:33:32 -05:00 committed by Sida Chen
parent 40c0352dd1
commit 035541c6f2
20 changed files with 1282 additions and 38 deletions

View file

@ -38,6 +38,8 @@ contextlib2==0.5.5
cryptography==2.2.2
debtcollector==1.19.0
decorator==4.3.0
elasticsearch==6.3.1
elasticsearch-dsl==6.3.1
enum34==1.1.6
Flask-Cors==3.0.4
Flask-Login==0.4.1
@ -126,6 +128,7 @@ recaptcha2==0.1
redis==2.10.6
redlock==1.2.0
reportlab==2.7
requests-aws4auth==0.9
requests-oauthlib==0.8.0
requests[security]==2.18.4
rfc3986==1.1.0