'Get a list of the service clients for registration
If the plugin implements service clients for one or more APIs, it
may return their details by this method for automatic registration
in any ServiceClients object instantiated by tests.
The default implementation returns an empty list.
:returns: Each element of the list represents the service client for an
API. Each dict must define all parameters required for the invocation
of `service_clients.ServiceClients.register_service_client_module`.
:rtype: list of dictionaries
Example implementation with one service client::
def get_service_clients(self):
# Example implementation with one service client
myservice_config = config.service_client_config(\'myservice\')
params = {
\'name\': \'myservice\',
\'service_version\': \'myservice\',
\'module_path\': \'myservice_tempest_tests.services\',
\'client_names\': [\'API1Client\', \'API2Client\'],
params.update(myservice_config)
return [params]
Example implementation with two service clients::
def get_service_clients(self):
# Example implementation with two service clients
foo1_config = config.service_client_config(\'foo\')
params_foo1 = {
\'name\': \'foo_v1\',
\'service_version\': \'foo.v1\',
\'module_path\': \'bar_tempest_tests.services.foo.v1\',
\'client_names\': [\'API1Client\', \'API2Client\'],
params_foo1.update(foo_config)
foo2_config = config.service_client_config(\'foo\')
params_foo2 = {
\'name\': \'foo_v2\',
\'service_version\': \'foo.v2\',
\'module_path\': \'bar_tempest_tests.services.foo.v2\',
\'client_names\': [\'API1Client\', \'API2Client\'],
params_foo2.update(foo2_config)
return [params_foo1, params_foo2]'

def get_service_clients(self):

    return []
