Split sample PKI token generation

Splits the file that generates the sample data into two.
One part is the set of individual functions.  The second
is a script that calls each of the functions in turn.  By
splitting them, it becomes easier to regenerate just a subset
of the sample data.  The use-case that prompted this change
was the need to regenerate the signed tokens based on a different
algorithm.  Without this change, all of thecertificates would
need to be regenerated, and that has nothing to do with the
actual change required.

Change-Id: I53b6cfde98a52f0a59b06ad8abbe0d2f1251f796
Use AccessInfo in auth_token middleware

auth_token middleware parses the token and extracts the data manually.
We have this parsing ability in AccessInfo now so we should use that
instead.

Change-Id: I23c6e33d327c3d3669fb977d9623b788324c4785
Reference docstring for auth_token fields

The documented variables that the auth_token middleware sets for
the request was out of date with the code. Rather than maintain
the documentation for the fields in 2 places we'll now link to the
auth_token module docs.

Change-Id: Id4ca1843f749c1ed0b515c8860764add3ec4a3da
use v3 api to get certificates

Let Token signing and ca certificates can be accessible at
/v3/OS-SIMPLE-CERT/{ca,certificates}.

Change-Id: I6c82d1f78ba1ff2ab110474623982542610b4d2d
Closes-Bug: #1206345
Sync config fixture object from oslo.incubator

Specify the config file directly otherwise we end up with a lot of new
dependencies.

Change-Id: Id39f5c039d5d0d68ab6e4008a1212868396eda3e
Remove releases.rst from keystone docs

The most recent update to releases.rst was made back in 2012,
but it's references in the docs page. It is providing false
(or at least, inaccurate) information. Suggest removing it
since the server side doesn't have a release related file either.

Change-Id: If2a71b55117c450afdade3cad697eba5a626263f
Replace auth fragements with identity_uri

The need for individual auth_host, auth_port etc variables for
auth_token middleware made some sense when we were using httplib however
as we have long moved on to requests they are no longer required and are
a pain for configuration.

DocImpact: auth_schema, auth_host, auth_port, auth_admin_prefix are all
deprecated in favour of specifying the full url in the identity_uri
property.

Blueprint: identity-uri
Change-Id: I1f8f5064ea8028af60f167df9b97e215cdadba44
Tests should use identity_uri by default

auth_token middleware tests should use the identity_uri variable by
default now that we have deprecated the auth fragments.

Blueprint: identity-uri
Change-Id: I897939498b411086d06b3ed16060cbc0e482e519
Rename request_uri to identity_uri

This makes it more consistent with the CONF options.

Blueprint: identity-uri
Change-Id: If4e32d232413e539b4c29035b253e9368b3fbd06
Merge "Use AccessInfo in auth_token middleware"
Merge "Remove releases.rst from keystone docs"
Updated from global requirements

Change-Id: I865b2e2fbffa2335e58e98b027b09d49f30bd00b
Merge "use v3 api to get certificates"
Merge "Updated from global requirements"
Merge "Reference docstring for auth_token fields"
Reuse module `exceptions` from Oslo

The exception module in oslo common code and in keystoneclient are similar.
In case of unification openstack clients, we should use modules from Oslo.

Changes of this patch:
- imported exceptions from common code instead of `apiclient.exception`
- added aliases for exceptions which was renamed
(reason: backwards compatibility)
- moved exceptions `EmptyCatalog` from `apiclient.exception` to `exceptions`
- cleaned `apiclient.exception` from duplicated exceptions
- `apiclient.__init__` and `apiclient.exceptions` are kept and labeled as
'deprecated'(reason: backwards compatibility)

bp common-client-library-2

Change-Id: Iedf4e5d753d4278d81751ba0f55fdef3566b56de
Merge "Replace auth fragements with identity_uri"
Merge "Rename request_uri to identity_uri"
Merge "Sync config fixture object from oslo.incubator"
Merge "Tests should use identity_uri by default"