horizon/openstack_auth/tests
Adrian Turjak 88fb018840 Rework DEFAULT_SERVICE_REGIONS
DEFAULT_SERVICE_REGIONS is cumbersome when you have
more than one keystone endpoint and all you want to do
is set a global default service region.

This adds '*' as an optional fallback key to mean global default.
If an endpoint matches it will take precedence over the '*' value.

This also fixes the precedence order for DEFAULT_SERVICE_REGIONS
so that a user controlled cookie is used instead when that cookie
is valid for the given catalog. This changes the way the setting
works, but retains the intended result the setting was originally
intended for.

Change-Id: Ieefbd642d853fcfcf22a17d9edcc7daae72790a4
blueprint: global-default-service-region
Closes-Bug: #1772345
Related-Bugs: #1359774 #1703390
2018-07-17 13:58:24 +12:00
..
conf Replace all mentions of get_identity_providers with get_identity_provider 2018-04-25 11:37:05 +02:00
templates/auth Add Django OpenStack Auth to Horizon 2017-09-27 12:06:57 +01:00
unit Rework DEFAULT_SERVICE_REGIONS 2018-07-17 13:58:24 +12:00
__init__.py Add Django OpenStack Auth to Horizon 2017-09-27 12:06:57 +01:00
data_v2.py Add Django OpenStack Auth to Horizon 2017-09-27 12:06:57 +01:00
data_v3.py Add Django OpenStack Auth to Horizon 2017-09-27 12:06:57 +01:00
settings.py Suppress unnecessary logging output in UTs 2018-03-03 07:33:23 +09:00
urls.py Add Django OpenStack Auth to Horizon 2017-09-27 12:06:57 +01:00