rubick/rubick
Maxim Kulkin 5d9a7d3b04 Better config schema collector
Current schema collector implementation has issues. When it extracts
option information from source files, it imports them into python
runtime. If imported module has third-party dependencies, they are
also imported thus making it a requirement to have third-party
libraries installed on the system where schema collection is
executed. Also, there are situations when option group guessing
is inaccurate.
New schema collector uses code analysis and rewriting techniques
to extract just enough code to collect configuration option data.
Then it evals it, causing configuration options to be added to
vanilla oslo.config subsystem. Then this information gets dumped.
Implementation uses various heuristics but is more accurate than
existing one. Was tested on 'nova' and 'cinder' projects.

Change-Id: I0bd2e93288478e7a3db273055597b7bedfbf0625
2013-11-21 18:00:27 +04:00
..
config_formats Discovery API improvements, PEP8 issues clean up 2013-11-20 18:22:31 +04:00
inspections Discovery API improvements, PEP8 issues clean up 2013-11-20 18:22:31 +04:00
schemas Better config schema collector 2013-11-21 18:00:27 +04:00
templates Renamed all references to ostack_validator 2013-10-22 19:11:45 +04:00
__init__.py Renamed all references to ostack_validator 2013-10-22 19:11:45 +04:00
celery.py Multiple fixes for PEP8 and unittests 2013-11-15 17:54:05 +00:00
cli.py Multiple fixes for PEP8 and unittests 2013-11-15 17:54:05 +00:00
common.py Discovery API improvements, PEP8 issues clean up 2013-11-20 18:22:31 +04:00
config_model.py Implemented type args in config schema 2013-11-18 17:44:40 +04:00
database.py Multiple fixes for PEP8 and unittests 2013-11-15 17:54:05 +00:00
discovery.py Discovery API improvements, PEP8 issues clean up 2013-11-20 18:22:31 +04:00
exceptions.py Updated schema code & schema generator 2013-10-25 16:30:06 +04:00
json.py Added component versions into JSON; some webui/celery refactoring; cluster data discovery task 2013-10-28 18:45:02 +04:00
main.py Renamed all references to ostack_validator 2013-10-22 19:11:45 +04:00
model.py Discovery API improvements, PEP8 issues clean up 2013-11-20 18:22:31 +04:00
schema.py Implemented type args in config schema 2013-11-18 17:44:40 +04:00
test_config_schema_registry.py Fix for py33 unittest running 2013-11-18 18:02:41 +04:00
test_configuration.py Fixed handling of unknown params in Configuration 2013-11-07 17:52:36 +04:00
test_mark.py Renamed all references to ostack_validator 2013-10-22 19:11:45 +04:00
test_type_validators.py Implemented type args in config schema 2013-11-18 17:44:40 +04:00
test_version.py Fix for py33 unittest running 2013-11-18 18:02:41 +04:00
utils.py Renamed all references to ostack_validator 2013-10-22 19:11:45 +04:00