deprecate swift middleware

deprecate internal swift middleware for middleware in
ceilometermiddleware

Change-Id: I76f45edecc9a4cd08553d373534eba65350d5792
Implements: blueprint ceilometermiddleware
This commit is contained in:
gordon chung 2015-01-30 15:31:13 -05:00
parent d6daf9b98c
commit ea8c2af41e

View File

@ -45,6 +45,7 @@ from oslo_utils import timeutils
import six
import six.moves.urllib.parse as urlparse
from ceilometer.openstack.common import versionutils
from ceilometer import pipeline
from ceilometer import sample
from ceilometer import service
@ -80,6 +81,8 @@ class InputProxy(object):
return line
@versionutils.deprecated(as_of=versionutils.deprecated.KILO,
in_favor_of='ceilometermiddleware.swift:Swift')
class CeilometerMiddleware(object):
"""Ceilometer middleware used for counting requests."""