commit | f9d9a9dda40ff78381a1c477fa8971a05b8dbe76 | [log] [tgz] |
---|---|---|
author | Andrea Frittoli (andreaf) <andrea.frittoli@hpe.com> | Thu Jun 30 17:35:38 2016 +0100 |
committer | Andrea Frittoli (andreaf) <andrea.frittoli@hpe.com> | Tue Aug 02 09:51:37 2016 +0100 |
tree | ee50f130e0f3bd85842165da4abf4eb6c6f7eca8 | |
parent | 554cc8a3b3f30e08c2abc802bab0b4f13ed9a008 [diff] |
Optional setting service client on factory Add the ability to store a copy of an initialised service client on the service client factory, accessible via an attribute named as a specified alias. This allows to stop initialising all clients at __init__ time, while preserving the ability to initialise them only once, for instance in the setup_clients phase of tests. Change-Id: I8b2a907f68214dd1fce1d057408d3ddd1e4bdc0a Partially-implements: bp client-manager-refactor