Describe the solution you'd like
The yaml compiler has access to the site-level-config-file at its input.
After implementing #42 , the compiler would also have access to the schema for the site-level-config-file. The compiler needs to augment the schema with the config-schema.yaml files of lightweight components specified in the site-level-config-file.
This functionality can be implemented in a new compiler phase.
Is your feature request related to a problem? Please describe. The schema files at present include a from_component_repository() validator in the config field for a lightweight_component. For instance, https://github.com/WLCG-Lightweight-Sites/simple_grid_site_repo/issues/4
Describe the solution you'd like The yaml compiler has access to the site-level-config-file at its input. After implementing #42 , the compiler would also have access to the schema for the site-level-config-file. The compiler needs to augment the schema with the config-schema.yaml files of lightweight components specified in the site-level-config-file.
This functionality can be implemented in a new compiler phase.
This augmented schema file must be saved as "{output}_schema.yaml".format( output = https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/blob/master/simple_grid_yaml_compiler.py#L120) Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. Additional context Add any other context or screenshots about the feature request here.