Remove Manila V1 API client
The Manila V1 API has been deprecated since 2016 and tests
stopped using it in change Id90044bca44387864aee8984bc2366c089c87cfc.
Complete this removal by:
1. Making SharesV2Client inherit directly from RestClient
instead of the V1 SharesClient
2. Add microversion support added to all methods
3. Removing V1 client registration from plugin.py
Change-Id: I7be74fc22594d3a59932b8bc469f9209cf985fe6
Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
diff --git a/manila_tempest_tests/plugin.py b/manila_tempest_tests/plugin.py
index 148a368..a90e09d 100644
--- a/manila_tempest_tests/plugin.py
+++ b/manila_tempest_tests/plugin.py
@@ -61,18 +61,11 @@
def get_service_clients(self):
shares_config = config.service_client_config('share')
- v1_params = {
- 'name': 'share_v1',
- 'service_version': 'share.v1',
- 'module_path': 'manila_tempest_tests.services.share.json',
- 'client_names': ['SharesClient'],
- }
v2_params = {
'name': 'share_v2',
'service_version': 'share.v2',
'module_path': 'manila_tempest_tests.services.share.v2',
'client_names': ['SharesV2Client'],
}
- v1_params.update(shares_config)
v2_params.update(shares_config)
- return [v1_params, v2_params]
+ return [v2_params]