Register client and add first test
Add first API test and register the client with
the new tempest.lib client interface.
Change-Id: I27f15375c46faa48cd56c8d52ecfd585fb325239
Implements: bp tempest-plugin
diff --git a/barbican_tempest_plugin/plugin.py b/barbican_tempest_plugin/plugin.py
index 6cde8ea..6c01ced 100644
--- a/barbican_tempest_plugin/plugin.py
+++ b/barbican_tempest_plugin/plugin.py
@@ -35,3 +35,12 @@
def get_opt_lists(self):
return [('service_available', [project_config.service_option])]
+
+ def get_service_clients(self):
+ v1_params = {
+ 'name': 'secret_v1',
+ 'service_version': 'secret.v1',
+ 'module_path': 'barbican_tempest_plugin.services.key_manager.json',
+ 'client_names': ['SecretClient'],
+ }
+ return [v1_params]