Go to file
Victor Sergeyev 71c22e9b2f Handle 300 status code in common HTTPClient
Common HTTPClient uses requests library for http communication, but
this library raise no exception if we get code 300 as response status.
On the other hand, some openstack clients (ceilometerclient,
glanceclient, heatclient, ironiccilent, tuskarclient) handles this
status code and raise a special exception in such case. So we should
provide a special exception for 300 status code in common apiclient.

Added required exception - MultipleChoices.

blueprint common-client-library-2

Change-Id: I991737dd4c2d8bdf8bbb5380f05d4cf2b3bcf953
2014-01-09 16:02:45 +02:00
2013-12-27 15:33:01 -08:00
2013-02-06 16:47:06 +02:00
2013-10-28 10:11:02 +00:00
2013-12-02 11:57:19 +00:00
2013-12-12 12:08:16 +01:00
2013-08-13 18:06:11 +03:00
2013-12-10 07:23:28 -05:00
2013-12-10 20:14:57 +00:00
2013-06-20 20:44:43 -04:00
2013-11-25 12:16:11 +08:00
2013-12-30 13:00:22 +08:00

The Oslo Incubator

The Oslo program produces a set of python libraries containing infrastructure code shared by OpenStack projects. The APIs provided by these libraries should be high quality, stable, consistent and generally useful.

The process of developing a new Oslo API usually begins by taking code which is common to some OpenStack projects and moving it into this repository. Incubation shouldn't be seen as a long term option for any API - it is merely a stepping stone to inclusion into a published Oslo library.

For more information, see our wiki page:

https://wiki.openstack.org/wiki/Oslo

Running Tests

To run tests in virtualenvs (preferred):

sudo pip install tox tox

To run tests in the current environment:

sudo pip install -r requirements.txt nosetests

To run tests using MySQL or PostgreSQL as a DB backend do:

OS_TEST_DBAPI_ADMIN_CONNECTION=mysql://user:password@host/database tox -e py27

Note, that your DB user must have permissions to create and drop databases.

Description
RETIRED, Part of OpenStack's Oslo project. New Oslo APIs go through an incubation phase in this repository before being released as part of a proper Python library.
Readme 34 MiB