forked from oamg/leapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configs: implement actor configuration support
This commit introduces multiple improvements and fixes for actor configuration management in LEAPP, including configuration schema support, API updates, validation improvements, and compatibility fixes. - Actor Configuration: - Add actor configuration support - Introduce configuration schema attributes for LEAPP actors. - Create an API to load and validate actor configs against the schemas stored in actors. - Provide a function to retrieve actor-specified configurations. - Enable config directories at both repository-wide and actor-wide levels. - Add configs to `leapp.db`. - Configuration Schema Support: - Add `_is_config_sequence()` to validate sequences (lists, tuples) of configuration fields. - Add support for `StringMap` field types in `config_schemas`. - Testing and Linting: - Separate linting and unittests for better CI control. - Dependency Management: - Add `pyyaml` to requirements in `requirements.txt`, `setup.py`, and spec files. Some unit tests were also updated as they rely on `os.chdir` which is problematic as the patch tries to correctly reverse any os.chdir that is executed. Therefore, we mock `os.chdir` in the appropriate unit tests. JIRA: OAMG-8803
- Loading branch information
Showing
31 changed files
with
876 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.