Remove unused iso8601

AuthProtocol doesn't have an _iso8601, so the test shouldn't set it.

Change-Id: Ia4773be0fe9e17b96700e6aa56f663e706af94a8
BaseAuthTokenMiddlewareTest.setUp call super normally

Python has its own way of calling the super impl. Use it.

Change-Id: I3318c130ca60c6579ee9c3aecb0781a0f0f5fc32
Update oslo-incubator and switch to oslo.{utils,serialization}

Update to commit 9ce1d96fb2e075fcd5b9ddbee728c0ee49d2be56

Change-Id: I27e20f76fb0f4b858230b2c36e6ff960e1ec9d09
Clean up the middleware docs

Used code blocks when possible, and a minimal amount of
highlighting keywords.

Change-Id: Ie1dad50cc44afc6ce841e87f2ee9de3149e72117
Merge "Clean up the middleware docs"
Fix reference to middleware architecture doc

The auth_token docstring was referencing the middleware architecture
doc in keystoneclient. Updated to the new location.

Change-Id: I495bc332230f75e579e03c1b6f8feba49a26e5bf
Remove HTTP_X_STORAGE_TOKEN doc

This header isn't referenced in the code so remove it from the
documentation.

Change-Id: I77c5432d4d7a31422c75f9d675ec0e15f6c1164d
Merge "Remove unused iso8601"
Encode middleware error message as bytes

On py3 the middleware message needs to be passed as bytes instead of
string. Since on py2 str.encode() doesn't do anything it doesn't change
the behavior there.

Change-Id: Ie593e8659be736aa4d85ca2a47ae2a30db446f84
Closes-Bug: 1372484
Replace httpretty with requests-mock

We've had some issue in the past with httpretty breaking compatability
between releases and being a problem to package upstream. requests-mock
is on stackforge and can be tailored to our needs.

Due to issues with py34 and httpretty, this is the preferred fix to
allow middleware to test against py34 (instead of waiting for a fix to
httpretty).

Change-Id: I9fa0f12c732eb187fcb5b0926593cb3624ddc51a
Revert "Support service user and project in non-default domain"

This case can be handled by default/design by using a v3 authentication
plugin. The values also don't make sense for v2 authentication.

Having them here means extra values to support in the default case.

There has not been a release with this patch.

This reverts commit bb00caf15be9336663521a913984795af9bed185.
Related-bug: #1372142

Change-Id: I690f39284010906a0171178511729749ccc566b8
Changing the value type of http_connect_timeout

The value type of http_connect_timeout definition
is changed from Bool to Int value. Python treats
a value more than 1 as True but oslo config defines
Boolean values as 'true, '1', 'yes' and 'on'.
So http_connect_timeout is only configured 1 or None.

Change-Id: I53075cc04d0ccea543f8e657279534208ed03058
Closes-bug: #1368545
Merge "Changing the value type of http_connect_timeout"
Merge "Fix reference to middleware architecture doc"
Merge "Remove HTTP_X_STORAGE_TOKEN doc"
Merge "Revert "Support service user and project in non-default domain""
Updated from global requirements

Change-Id: I99910315496d20da04b1b74a9ef076ef567137a1
Improve help strings

For consistency of help strings, add "." where missing, improve
capitalization in some cases.

Change-Id: I628b331b306ac606dcfdbfb55a743600e611ed7c
Updated from global requirements

Change-Id: I2499457402623cf9a91010ee36aedb84fbe0195b
add context to keystonemiddleware

this pulls in context module from oslo as it's required for
notifications (which will be used in the audit middleware).

syncs context file to: Id66aba0c600896521a4a236e0a97859735419357

Implements: blueprint audit-middleware
Change-Id: Id983775129dcc795ab91d37d3ba7d90cc6f6a7a9