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
Apply the official OpenStack stylesheets and templates to the Doc build.

Fix bug #1084479

Change-Id: I85a264669f9bd7d504e0db0d8cd502100acd5ca4
Merge "Apply the official OpenStack stylesheets and templates to the Doc build."
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>
Provide the meters unit's in /meters

 * change pollsters and notification handlers to report units
 * modify db storage to store units in counters

Change-Id: Ibd7e52623b84d26ca7bbc9f260c20fdf1d61a4bc
Implements: blueprint provide-meter-units
Merge "policy: fix policy_file finding"
Enhance policy test for init()

As suggested by Doug, let's write real data and see if they were read.

Change-Id: If709b36634b4352ce7e5a3d40b58bfba0f9ae91d
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Provide the meters unit's in /meters"
Merge "Enhance policy test for init()"
Remove leftover useless import

Change-Id: I09b6ba227f3dddfeb64f4af01ee617f19fef1e43
Signed-off-by: Julien Danjou <julien@danjou.info>
Update pep8 to 1.3.3

This is needed to update openstack.common

Change-Id: I8410f978f38b3893b71239f97f785086ca5faffe
Signed-off-by: Julien Danjou <julien@danjou.info>
Peg the version of Ming used in tests

Up until today we have needed to use a git checkout of Ming
to get some changes we pushed upstream but that were not
released. Release 0.3.2 includes all of our changes, so we
can now update our requirements to use it and stop using
the git head.

Change-Id: I4a3c242259c279b1e1be86d280572dd8cd26e84e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fixes a minor documentation typo

bug #1100107

Change-Id: Iaf1bf16abb54e643c65752e25f2a4ce70ccdec84
Add Kwapi pollster (energy monitoring).

Given that my blueprint is not publicly available, I summarize it here.

Kwapi (kilowatt API) contains the following modules:
- Drivers: receive values from wattmeters and forward them on a bus (ZeroMQ).
Wattmeter drivers are specific to each wattmeters (Wattsup, OmegaWatt, etc).
- Plugins: listen the bus and process received data.
Currently, there is two plugins: the ceilometer plugin (REST API) and a visualization plugin (build graphs with RRDtool).

Kwapi is part of the XLcloud project (HPC cloud).
http://www.xlcloud.org

Repository:
https://github.com/stackforge/kwapi

Change-Id: Ieaaa1db9c8c569b6ee9f0815e03879f8b3f3e282
Merge "Add Kwapi pollster (energy monitoring)."
Remove the ImageSizePollster

We can use generator to achieve this purpose simply.

Change-Id: Id05c33fb2aa89fd02035c717417d0181e975c3ec
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>