Ensure the statistics are sorted

Sort the statistics by the period start date before
returning them, and restore the test that verifies
this behavior.

bug 1151345

Change-Id: I4f05ea049b7609cea9dab947738b7aabf3f062ef
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Use a non-standard port for the test server

Start the test API server on a non-standard port to avoid
conflicting with a server already running due to devstack.

Change-Id: I010c76376048e3433301ccc64ce35db11e69a3e7
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Add a tox target for building documentation

Change-Id: I04cc4d3f5cf4c9d92144fef2a0ed3e3ac248679a
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Add sample configuration files for mod_wsgi

These files really only work for a devstack setup,
but the demonstrate what one would need to do in
a real deployment behind mod_wsgi.

Change-Id: If60ce2aa0b89c055ccc0411aece28042b14ab633
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix a pep/hacking error in a swift import

Change-Id: If27d1cbefea8b68d1579ccc53cf20c78939f0020
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Fixed the blocking unittest issues.

1. Fixed the bug #1153921 introduced by the nova changeset
https://github.com/openstack/nova/commit/bd5a9b87.

2. Adapted to the latest keystoneclient middleware change introduced by
https://github.com/openstack/python-keystoneclient/commit/d782a998.

We must explicit set auth_version to prevent the middleware to
automatically detect its api version from remote keystone server in
unittest.

Change-Id: I439a74a7f9a8a62369ae50dc1d5e50e20f4d3574
Raise stevedore requirement to 0.7

Nova already requires 0.7, so we can easily consolidate on
a newer release.

Change-Id: If983ea0c987eb00d66a602459e37805d8ef0bfe4
Add deprecation warnings for V1 API

Add warnings to the documentation for users and to the
source for developers.

Change-Id: Ic4695a8d1e4d2bc2d53b0bb69806c933f1b672aa
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "Fix a pep/hacking error in a swift import"
Switch to final 1.1.0 oslo.config release

Fixes bug #1128256

oslo.config has now been released to PyPI in time for Grizzly RC1 so
we can switch to using it directly.

Change-Id: I655f831718ae5f4e25e941ee206fe195214a9a91
Merge "Raise stevedore requirement to 0.7"
Merge "Use a non-standard port for the test server"
Merge "Add deprecation warnings for V1 API"
Merge "Ensure the statistics are sorted"
Merge "Add a tox target for building documentation"
Merge "Switch to final 1.1.0 oslo.config release"
Merge "Add sample configuration files for mod_wsgi"
Set the default_log_levels to include keystoneclient

This creates a loggger for keystoneclient so we don't get:
"
No handlers could be found for logger "keystoneclient.middleware.auth_token"
"

bug 1152584
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>

Change-Id: I72d4de37799956b33371826aae50d8ac1ee333b1
remove unused dependencies

* tools/pip-requires: Remove lockfile and netaddr.
* doc/requirements.txt: Likewise.

Change-Id: Id1dd406bd998ca6516364ee8f068222464781084
Update openstack.common

The main motivation for this update is to fix
the way logging is configured so that all
libraries are able to log at the default level.
The other changes come in because there's no
clean way to update the common libs piecemeal.

bug 1152584

Change-Id: I22563f7c0aa7c48edc81cb85328c3ae3ec8c2f11
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>