Use console scripts for ceilometer-api

Blueprint: setuptools-console-scripts

Change-Id: Ia64319ba2ea5fdd2778c7faea76478272bb237a6
Signed-off-by: Julien Danjou <julien@danjou.info>
service: run common initialization stuff

Change-Id: I6f6f2e1f6885533b5d8ee8bf652f7f605c78bcdd
Signed-off-by: Julien Danjou <julien@danjou.info>
Remove useless imports, reenable F401 checks

Change-Id: I990ce3c4468326e038f8dead0958358f1a927842
Signed-off-by: Julien Danjou <julien@danjou.info>
fix session connection

previous session flushing fix caused conflict between database_connection
and [database]connection values. correct the behaviour in this fix.

also, remove empty return statement at end of record_metering_data function.

Change-Id: I3b2525cec05f5ee2ee8277bfbdca52b9a768974b
Add instance_scheduled in entry points

Fixes: bug #1188468

Change-Id: I629dd01f6f716d2b47b62a011e3c626c85062347
Signed-off-by: Julien Danjou <julien@danjou.info>
Fix some typo in documentation

Thanks Gordon.

Change-Id: I72e562a616028b743f519f19c24dc5124fe08cf1
Signed-off-by: Julien Danjou <julien@danjou.info>
Corrected path for test requirements in docs

Fixes: bug #1188797

Change-Id: Icb3ec7fe90489cc08b4cf8e7b938240c167604e1
Fix requirements

Change-Id: Ic84f951279697577463951b278879163f01e0504
Signed-off-by: Julien Danjou <julien@danjou.info>
Improve Python 3.x compatibility

Per (proposed) Hacking H203 check, use the
non-deprecated except x as y: construct, which
works with any Python version >= 2.6

Change-Id: I42935ada01ea7487d76040832578e06ac8ad87dd
Use Python 3.x compatible octal literals

Python 3.x deprecated octal literals in the form 0755.
Use the Python 2.x compatible version 0o755 instead.

Change-Id: I64ca97e87ab29764c3cbcb42cefc313635cc178d
Merge "Use console scripts for ceilometer-api"
Merge "service: run common initialization stuff"
Merge "Remove useless imports, reenable F401 checks"
Merge "fix session connection"
Merge "Corrected path for test requirements in docs"
Merge "Fix some typo in documentation"
Remove explicit distribute depend.

Causes issues with the recent re-merge with setuptools. Advice from
upstream is to stop doing explicit depends.

Change-Id: I2ea9b54c3b745ad60d62cf26e2f53f40242d2848
Merge "Add instance_scheduled in entry points"
pipeline: switch publisher loading model to driver

This change modify the loading of the publisher so it's driver based, like
our current storage model. That will allow to use the same publisher
multiple times with different parameters in the future.

This change also adds a new publisher called 'test' that comes from a
factorisation of some of the testing code.

Blueprint: pipeline-publisher-url

Change-Id: Ie26beac213383fff2db759e2df216ba1f454ef9c
Signed-off-by: Julien Danjou <julien@danjou.info>
Fix nova notifier tests

A recent in nova broke it.

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