rally/tests/unit/common/plugin/__init__.py
Boris Pavlovic 31e43bc112 Further improvment of plugin base
*) Introduce meta class that allows to bind meta data to class
   Like we have for context order and hidden, for scenarios validation
   types and so on.

   In near future all plugin will use meta stuff for storing
   infomration required for: validation, types, rally-info stuff

*) Make base Plugin class subclass of MetaMixin

*) Rename plugin -> configure decorator

*) Make configure() and deprecated() work for all objects
  (not only subclasses of Plugin)

*) Add from_func decorator that makes functional look like plugin

*) Add support of plugins namespace

Change-Id: I160a0021bc0e2da9aa43e26286c4e0491340fa51
2015-06-09 16:54:13 +03:00

0 lines
Python