blob: 0f4ba4c1a83e52286d05ac2ef4d939e56784123a [file] [log] [blame]
Andrea Frittoli (andreaf)e07579c2016-08-05 07:27:02 +01001.. _clients:
2
3Service Clients Usage
4=====================
5
6Tests make requests against APIs using service clients. Service clients are
7specializations of the ``RestClient`` class. The service clients that cover the
8APIs exposed by a service should be grouped in a service clients module.
9A service clients module is python module where all service clients are
10defined. If major API versions are available, submodules should be defined,
11one for each version.
12
13The ``ClientsFactory`` class helps initializing all clients of a specific
14service client module from a set of shared parameters.
15
16The ``ServiceClients`` class provides a convenient way to get access to all
17available service clients initialized with a provided set of credentials.
18
Ken'ichi Ohmichiaca816d2017-01-27 15:12:17 -080019-----------------------------
20The clients management module
21-----------------------------
Andrea Frittoli (andreaf)e07579c2016-08-05 07:27:02 +010022
23.. automodule:: tempest.lib.services.clients
24 :members:
Ken'ichi Ohmichiaca816d2017-01-27 15:12:17 -080025
26------------------------------
27Compute service client modules
28------------------------------
29
30.. toctree::
31 :maxdepth: 2
32
33 service_clients/compute_clients