9163d8bcbc
Callback plugins were transferred from validations-common repository to validations-libs. Necessary adjustments were made to the module structure, requierements, as well as installation and documentation generator config. Associated tests were moved as well, with removal of superfluous inheritance and imports included. Demonstration http server module for communication with `http_json` callback was moved with directory structure preserved. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I31768375430a2f29da71aae8f3db3882c373ced5
14 lines
637 B
Python
14 lines
637 B
Python
"""
|
|
This module contains various callbacks developed to facilitate functions
|
|
of the Validation Framework.
|
|
|
|
Somewhat unorthodox naming of the callback classes is a direct result of how
|
|
ansible handles loading plugins.
|
|
The ansible determines the purpose of each plugin by looking at its class name.
|
|
As you can see in the 'https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/loader.py'
|
|
from the ansible repo, the loader uses the class names to categorize plugins.
|
|
This means that every callback plugin has to have the same class name,
|
|
and the unfortunate coder has to discern their purpose by checking
|
|
their module names.
|
|
"""
|