Remove unused object client

Change-Id: I82a205ee75fb2bb6916c79a9a67269f0ba0fc97d
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami committed 2026-05-11 01:10:43 +09:00
1 parent 991412f187
commit 186184c75a
3 files changed
-16

No files matched your search

-1
View File
@@ -205,7 +205,6 @@ class HeatIntegrationTest(test.BaseTestCase, testscenarios.WithScenarios):
self.compute_client = self.manager.compute_client
self.network_client = self.manager.network_client
self.volume_client = self.manager.volume_client
self.object_client = self.manager.object_client
self.metric_client = self.manager.metric_client
self.client = self.orchestration_client
-14
View File
@@ -19,7 +19,6 @@ from keystoneauth1.identity.generic import password
from keystoneauth1 import session
from neutronclient.v2_0 import client as neutron_client
from novaclient import client as nova_client
from swiftclient import client as swift_client
class KeystoneWrapperClient(object):
@@ -80,7 +79,6 @@ class ClientManager(object):
self.compute_client = self._get_compute_client()
self.network_client = self._get_network_client()
self.volume_client = self._get_volume_client()
self.object_client = self._get_object_client()
self.metric_client = self._get_metric_client()
def _username(self):
@@ -165,18 +163,6 @@ class ClientManager(object):
region_name=self.conf.region,
http_log_debug=True)
def _get_object_client(self):
args = {
'auth_version': self.KEYSTONE_API_VERSION,
'session': self.identity_client.session,
'cacert': self.ca_file,
'insecure': self.insecure,
'os_options': {'endpoint_type': self.conf.endpoint_type,
'region_name': self.conf.region,
'service_type': 'object-store'},
}
return swift_client.Connection(**args)
def _get_metric_client(self):
adapter_options = {'interface': self.conf.endpoint_type,
-1
View File
@@ -13,7 +13,6 @@ gnocchiclient>=3.3.1 # Apache-2.0
python-heatclient>=1.10.0 # Apache-2.0
python-neutronclient>=6.7.0 # Apache-2.0
python-novaclient>=9.1.0 # Apache-2.0
python-swiftclient>=3.2.0 # Apache-2.0
python-zaqarclient>=1.0.0 # Apache-2.0
testtools>=2.2.0 # MIT
testscenarios>=0.4 # Apache-2.0/BSD