Mark the keystoneclient s3_token middleware deprecated

The s3_token middleware in python-keystoneclient is deprecated in
favor of keystonemiddleware.s3_token.

Change-Id: I30930f16425f1825373184371f3cba995833bc22
This commit is contained in:
Morgan Fainberg
2014-08-04 15:03:32 -07:00
parent b7f4b1054d
commit 492bd35947

View File

@@ -103,6 +103,10 @@ class S3Token(object):
self.app = app
self.logger = logging.getLogger(conf.get('log_name', __name__))
self.logger.debug('Starting the %s component', PROTOCOL_NAME)
self.logger.warning(
'This middleware module is deprecated as of v0.11.0 in favor of '
'keystonemiddleware.s3_token - please update your WSGI pipeline '
'to reference the new middleware package.')
self.reseller_prefix = conf.get('reseller_prefix', 'AUTH_')
# where to find the auth service (we use this to validate tokens)