manila/manila/tests
Goutham Pacha Ravi 4b0c953f7f Fix API version inferred w/ un-versioned URLs
With [1], we fixed the issue with v1 API URLs when
configuring manila with a reverse proxy, like uwsgi.
However, the version discovery can be made against a
"unversioned" URL, i.e, the "/" endpoint.

Example version discovery target when there's no reverse
proxy:

   curl -i -X GET www.openstack-overcloud.com:8786/

Example version discovery target when manila is configured
with a web proxy:

   curl -i -X GET www.openstack-overcloud.com/shared-file-system/

Currently, the API assumes that a v2 endpoint is requested
and hence sets a default API version in the request, which
results in the wrong headers communicated to the client.

Fix this issue. The release note added with [1] should
suffice for this fix.

[1] I0363d7174f3d7ddefa8ced59b182faed665e9c36
Change-Id: I50d1024ee8485b8290c24fa850e60755b518fff3
Closes-Bug: #1818081
2019-03-13 17:42:07 -07:00
..
api Fix API version inferred w/ un-versioned URLs 2019-03-13 17:42:07 -07:00
cmd Drop param2id() from cmd/manage.py 2019-01-03 14:10:01 +01:00
common [pylint] Fix/ignore pylint errors in test modules 2019-02-28 08:36:11 -08:00
compute Deprecate old keystone session config opts 2018-12-20 17:29:40 -08:00
data Fix Host-assisted Share Migration with IPv4+IPv6 2018-02-06 17:23:16 -05:00
db Bump timeout on sqlalchemy migration test 2019-03-12 08:21:42 -07:00
integrated Update auth_uri option to www_authenticate_uri 2018-04-19 14:09:21 +00:00
message Removes use of timeutils.set_time_override 2017-09-15 23:31:33 +08:00
monkey_patch_example Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
network Merge "Add manage/unmanage of shares in DHSS=True" 2019-03-06 01:12:31 +00:00
scheduler [pylint] Fix/ignore pylint errors in test modules 2019-02-28 08:36:11 -08:00
share Merge "NetApp cDOT store port IDs and addresses at share server backend details" 2019-03-08 21:39:42 +00:00
share_group Allow configuring availability_zones in share types 2019-02-13 17:39:48 +00:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Deprecate old keystone session config opts 2018-12-20 17:29:40 -08:00
wsgi Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
xenapi Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
conf_fixture.py Manila share driver for Inspur AS13000 series. 2018-07-03 18:35:55 +08:00
db_utils.py Merge "Fix grammatical mistake, Changed character from "a" to "an"" 2017-07-19 03:05:44 +00:00
declare_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_client_exception_class.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
fake_compute.py [pylint] Fix/ignore pylint errors in test modules 2019-02-28 08:36:11 -08:00
fake_driver.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
fake_network.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
fake_notifier.py Disable notifications 2017-07-17 12:45:11 -03:00
fake_service_instance.py Fix tap device disappear after node restart 2018-03-13 09:57:04 +08:00
fake_share.py Merge "Add manage/unmanage of shares in DHSS=True" 2019-03-06 01:12:31 +00:00
fake_utils.py Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
fake_volume.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
fake_zfssa.py Add share manage/unmanage of Oracle ZFSSA driver 2016-07-05 15:58:18 -04:00
policy.json [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
runtime_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_api.py Fix imports for py34 compatibility 2015-08-05 17:32:13 +03:00
test_conf.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_context.py Remove unit test that is not relevant anymore 2017-01-28 12:02:24 +02:00
test_coordination.py coordination: use tooz builtin heartbeat feature 2017-05-17 10:38:53 +02:00
test_exception.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
test_hacking.py Fix the duplicate hacking check M312 and H203 2017-08-13 08:01:42 +08:00
test_manager.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_misc.py Don't translate LOG messages in testsuite 2014-10-28 19:46:09 +01:00
test_network.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
test_policy.py [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
test_quota.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_rpc.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_service.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_test.py Fix test_rpc_consumer_isolation for oslo.messaging 5.31.0 2017-09-08 16:22:45 -04:00
test_test_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_utils.py Fix sshpool.remove 2019-02-18 14:31:18 -08:00
utils.py NetApp cDOT: Add Intra-Vserver migration support 2017-01-21 13:06:30 -05:00