deb-ceilometer/ceilometer/dispatcher
Mehdi Abaakouk aa67c96b68 gnocchi: retry with a new token on 401
The gnocchi dispatcher just bail out on any unexpected Gnocchi HTTP code.

This change moves all Gnocchi API and HTTP stuffs in the gnocchi_client
module.
And improves the handling of 401 error code to retry requests when the
authentication fail, usualy because the token have expired.

Change-Id: I9d7e29337de2cb480c64af03032dcf9fa2a3829c
2015-08-03 17:07:23 +02:00
..
__init__.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
database.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
file.py rebuild event model only for database writes 2015-05-07 14:51:00 +00:00
gnocchi_client.py gnocchi: retry with a new token on 401 2015-08-03 17:07:23 +02:00
gnocchi.py gnocchi: retry with a new token on 401 2015-08-03 17:07:23 +02:00
http.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00