tempest/releasenotes/notes/plugin-service-client-registration-00b19a2dd4935ba0.yaml
Andrea Frittoli (andreaf) 6d4d85ab70 Service Clients registration interface for plugins
Add a new registration interface to service_clients.
Add a new optional method to the plugin interface, that exposes
the plugin service client registration details.

Tests in plugins can initialise service_clients with parmaters
common to their service clients and other ones they may need.
Parameters specific to their service clients are passed via the
registration interface, and can be overwritten at any time
by passing extra parameters at client init time.

Partially-implements: bp client-manager-refactor
Change-Id: I2d99aaa317b0d21c0968dd25b21c4ba9088136fb
2016-07-26 22:52:33 +01:00

13 lines
542 B
YAML

---
features:
- A new optional interface `TempestPlugin.get_service_clients`
is available to plugins. It allows them to declare
any service client they implement. For now this is used by
tempest only, for auto-registration of service clients
in the new class `ServiceClients`.
- A new singleton class `clients.ClientsRegistry` is
available. It holds the service clients registration data
from all plugins. It is used by `ServiceClients` for
auto-registration of the service clients implemented
in plugins.