Rename run_tests.sh to wrap_nosetests.sh

run_tests.sh has a different purpose in CM than
run_tests.sh in Nova, which causes confusion. Renamed the file
to better reflect its true intent.

Change-Id: I206fdeab8b052f85e1485164f019979ebbff4fbb
Fixed the TemplateNotFound error in v1 api.

Fixed the bug #1109217.

Change-Id: Ic4019d2bc91701127ee2b2fb555897a14bd0f299
Merge "Fixed the TemplateNotFound error in v1 api."
Merge "Rename run_tests.sh to wrap_nosetests.sh"
Remove setuptools_git from setup_requires.

This is a mistake for the case where someone is using setup.py from a tarball.
We need it installed for sdist making only, which is why it's in test-requires.

Change-Id: Ib79cbe3e638c0772325872d4bb30be26c7b91391
Multiple publisher pipeline framework

With multiple publisher support, a meter data can be sent to multiple
conduit, like message bus, CW API etc.

Pipeline framework transfers the data from pollster and notification
handler to the publisher, through multiple pipelines.
Each pipeline is composed of 1 or more transformers and one or more
publishers. The transformer transforms the data, like summary, drop,
delta etc.

For bp: multi-publisher

Change-Id: Iff8b85d724eb6358d147b8a8431837934d913c88
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Fix formatting issue with v1 API parameters

Properly format the parameter declarations
for metadata query arguments.

Change-Id: Iaf2b02c69879b12f9eeee3272865146962eecfc9
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
setup: fix typo in package data

Change-Id: Ib0ffd6062e422eaf3685682fe69fbcbe382ec440
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Fix formatting issue with v1 API parameters"
Merge "setup: fix typo in package data"
Added hacking.py support to pep8 portion of tox

Usage: tox hacking
Once we have the source compliant we can merge this with the pep8 task.

There is a known problem with stevedore's dynamic module loading.

Change-Id: Ibfff87d85ecc81b1ce6dd994a135ab30b75d4d1e
Update V2 API documentation

This changeset adds a Sphinx extension for auto-generating
much of the documentation for a Pecan/WSME API from the
comments and docstrings in the source code. It also updates
the V2 API to include more documentation for API endpoints
and the data types used in the API, as well as sample data
for generating the JSON and XML examples in the output
documentation.

Change-Id: I1bde7805550aa86e9b64495b5c6034ec328479e5
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update pollsters to return counter list

Have pollsters to return the counter list that will be potentially returned.

For bp publisher-counters-frequency

Change-Id: I103f8ed6ad314080d479d4a2053e0df4312c60a3
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Mock more conductor API methods to unblock tests

We don't have a conductor to report back to about
action events, so mock out those methods.

Change-Id: If30d913d49bd6b7d08f25385c3a44afb275d0d04
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "Update V2 API documentation"
More robust mocking of nova conductor

Update the nova notifier test to use the fake RPC implementation
to avoid hangs more completely.

Also update the test to mock out the entire conductor API object
in the manager created by the test, instead of mocking individual
methods.

Change-Id: I741a609bd3ddfeb302d39b1c61a4b6896de2bf47
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
pipeline: fix format error in logging

Change-Id: I6f5f7524a7cc34d116b40c2f1bba0c2b8417706d
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Update pollsters to return counter list"
Merge "More robust mocking of nova conductor"
Use the same Keystone client instance for pollster

This provides a Keystone client instance for all pollsters running on the
central agent.

Blueprint: pollster-global-keystone-auth

Change-Id: I83d8157683410d2eaa093c35d4071f7ed0e22ebd
Signed-off-by: Julien Danjou <julien@danjou.info>