tempest/releasenotes/notes
Andrea Frittoli (andreaf) 3e82af7f6c Introduce scope in the auth API
Adding the ability to select the scope of the authentication.
When using identity v3, this makes it possible to use either
project scope or domain scope regardless of whether a project
is included or not in the Credentials object.

The interface to auth for most tests is the AuthProvider.
The scope is defined in the constructor of the AuthProvider,
and it can also be changed at a later time via 'set_scope'.

In most cases a set of credentials will use the same scope.
Test credentials will use project scope. Admin test credentials
may use domain scope on identity API alls, or project scope on
other APIs. Since clients are initialised with an auth provider
by the client manager, we extend the client manager interface to
include the scope. Tests and Tempest parts that require a domain
scoped token will instanciate the relevant client manager with
scope == 'domain', or set the scope to domain on the 'auth_provider'.

The default scope in the v3 auth provider is 'projet;, which me must
do for backward compatibility reasons (besides it's what most tests
expects. We also filter the list of attributes based on scope, so
that tests or service clients may request a different scope.

The original behaviour of the token client is unchanged:
all fields passed to it towards the API server. This
maintains backward compatibility, and leaves full control
for test that want to define what is sent in the token
request.

Closes-bug: #1475359
Change-Id: I6fad6dd48a4d306f69da27c6793de687bbf72add
2016-05-24 14:11:14 +00:00
..
.placeholder Add reno to tempest 2016-02-24 11:31:32 -05:00
10.0-supported-openstack-releases-b88db468695348f6.yaml Add release notes for upcoming release 2016-03-01 11:33:05 -05:00
11.0.0-supported-openstack-releases-1e5d7295d939d439.yaml Add release notes for tempest release 11.0.0 2016-03-24 15:41:26 -04:00
12.0.0-supported-openstack-releases-f10aac381d933dd1.yaml Add release notes for kilo EOL release 2016-05-10 09:53:36 -04:00
Tempest-library-interface-0eb680b810139a50.yaml Add release notes for upcoming release 2016-03-01 11:33:05 -05:00
add-scope-to-auth-b5a82493ea89f41e.yaml Introduce scope in the auth API 2016-05-24 14:11:14 +00:00
api-microversion-testing-support-2ceddd2255670932.yaml Migrated microversion testing framework to tempest/lib 2016-03-11 08:17:15 +00:00
compute-microversion-support-e0b23f960f894b9b.yaml Add support of microversion in all compute service clients 2016-03-16 00:20:33 +00:00
remove-legacy-credential-providers-3d653ac3ba1ada2b.yaml Remove deprecated legacy credentials provider 2016-05-20 18:32:15 -04:00
start-using-reno-ed9518126fd0e1a3.yaml Add reno to tempest 2016-02-24 11:31:32 -05:00