openstack-health/test
Matthew Treinish 1b1b3af054
Add elastic-recheck data querying
This commit is the start of adding support for elastic-recheck data
to openstack-health. This will get the bug numbers for the recent
failed runs it's looking at. To actually use this feature it requires
having elastic-recheck installed and a new api config option for the
location on disk of the query files. This does add some install time
complexity especially as eleastic-recheck is only available via git.
The elastic recheck support is optional and will only be activated if
it is present at import time and the config flag telling the api
server where the queries are located on disk is set.

In order to make the response times reasonable when elastic-recheck
support is enabled dogpile caching is used to keep a cached copy
of the recent results list and limit the amount we're querying
elastic search. By default this is configured to use a dbm file
and refresh the cache every 30mins.

Depends-On: Icf203668690419c38f6d6be6b6fe4af8462845f3
Change-Id: Iccd9ec6d62e2249ec7c09d42ec02ea27c71144cc
2016-05-20 10:25:16 -04:00
..
e2e Apply quotes rule for js files 2016-01-27 17:04:58 +09:00
unit Add elastic-recheck data querying 2016-05-20 10:25:16 -04:00
karma.conf.js Disable Protractor tests and enable strictDi 2016-04-02 14:27:08 -06:00
protractor.conf.js Run unit tests in Chrome instead of PhantomJS 2016-03-15 15:29:26 -06:00