RETIRED, further work has moved to Debian project infrastructure
Go to file
Chris Dent 9e07e7d971 Correct thread handling in TranslationHook
TranslationHook was using a threading.local() to store an error
message however the threading.local() was being created in __init__
of the Hook. Hooks are not per request, so this wasn't really
working as planned.

Now, instead of using threading.local() at all, we just modify the
environ held by pecan (and later used by the
ParsableErrorMiddleware). environ is request-local.

This change feels a bit crufty because it is but because of the way
Exceptions are managed in the app there's not really any good way to do
it. We could consider changing the way Exceptions related to error
messages, but that would be a very large change.

Change-Id: I463059df28f291cea0644b1a9908a907f146ba1f
Closes-Bug: #1481244
2015-08-10 17:12:46 +00:00
aodh Correct thread handling in TranslationHook 2015-08-10 17:12:46 +00:00
devstack Add basic gate functional testing jobs for aodh 2015-07-24 16:38:43 +00:00
doc Add alembic support for aodh 2015-08-02 22:08:27 +08:00
etc Change the default api server port 2015-07-03 12:41:17 +08:00
rally-jobs Rename to aodh 2015-06-25 14:46:39 +02:00
tools storage: always use get_connection_from_config() 2015-07-28 12:34:59 +02:00
.coveragerc Rename to aodh 2015-06-25 14:46:39 +02:00
.gitignore doc: use pbr autodoc feature to build api doc 2015-07-09 17:59:03 +02:00
.gitreview Rename to aodh 2015-06-25 14:46:39 +02:00
.mailmap add mailmap to avoid dup of authors 2014-10-09 10:31:23 +03:00
.testr.conf Rename to aodh 2015-06-25 14:46:39 +02:00
babel.cfg Ground work for transifex-ify ceilometer. 2012-12-18 10:14:03 +08:00
CONTRIBUTING.rst Rename to aodh 2015-06-25 14:46:39 +02:00
functions.sh Rename to aodh 2015-06-25 14:46:39 +02:00
HACKING.rst Rename to aodh 2015-06-25 14:46:39 +02:00
LICENSE include a copy of the ASL 2.0 2013-03-15 14:25:48 +00:00
MAINTAINERS Rename to aodh 2015-06-25 14:46:39 +02:00
pylintrc Typo in pylintrc 2015-03-25 11:18:56 +01:00
README.rst Rename to aodh 2015-06-25 14:46:39 +02:00
ReleaseNotes Rename to aodh 2015-06-25 14:46:39 +02:00
requirements.txt Add alembic support for aodh 2015-08-02 22:08:27 +08:00
run-functional-tests.sh Add basic gate functional testing jobs for aodh 2015-07-24 16:38:43 +00:00
setup-test-env-mongodb.sh Remove remnants of ceilometer from mongodb data file 2015-07-23 13:46:55 +00:00
setup-test-env-mysql.sh storage: always use get_connection_from_config() 2015-07-28 12:34:59 +02:00
setup-test-env-postgresql.sh Close and dispose test database setup connections 2015-07-23 15:41:01 +00:00
setup.cfg Add 'event' type and 'event_rule' to alarm API 2015-08-06 02:07:24 +09:00
setup.py Update the requirements 2015-07-07 11:42:13 +08:00
test-requirements.txt Update the requirements 2015-07-07 11:42:13 +08:00
tox.ini Merge "tests: ensure gabbi live test fail" 2015-08-01 16:45:25 +00:00

aodh

See the ReleaseNotes document and the project home for more info.

http://launchpad.net/aodh