Remove useless gettext call in sql engine

This fixes bug #1091675

Change-Id: I0bdb07ecbe43e6f6c04626a73cb16bdf580a6a35
Signed-off-by: Julien Danjou <julien@danjou.info>
Fixed erroneous source filter in SQLAlchemy.

Also added test cases for source filter. This fixed bug 1093580.

Change-Id: Ie3d99e7f27064f88196d6b0a7139fba36251b3c0
Merge "Fixed erroneous source filter in SQLAlchemy."
Merge "Remove useless gettext call in sql engine"
policy: fix policy_file finding

Currently, the policy.json file is only looked inside current directory.
Let's use cfg.config_dir via the find_file method to find the policy file.

Also add some unit test to catch theses errors.

This fixes bug #1098206

Change-Id: I896108f1bd66d3be6ec32b50d9dddc6c368f3709
Signed-off-by: Julien Danjou <julien@danjou.info>
Fix keystoneclient auth_token middleware changes

Things changed, and the configuration wasn't read anymore. This patch fixes
that. It also remove duplicated code in acl.py, so the problem is fixed only
in one place. Finally, it uses prepare_service() to find the right
configuration file for ceilometer.

This fixes bug #1098204

Change-Id: I0d6c30ad443a4d0db201e60d12b275625a4bee6e
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "policy: fix policy_file finding"