Open maany opened 5 years ago
@arsenal-2004 The file contains several functions. For this task, you can focus just on get_final_config_values_for_component. This function implements the truth table described on Pg13 of the specification document: https://docs.google.com/document/d/1yp_96UXcwNO49cktnHtT61iNmTO0RgrSQukuNYqACpM Essentially the users of the framework are not required to specify the entire configuration of the various WLCG components they wish to install at their data centers in their site_level_config_file.yaml. The framework, through default-data.yaml files in the component repositories,provides a lot of sensible default values for most of the configuration parameters. To decide which of the parameters can use default values and which of the parameters must absolutely be specified by a site admin in their site-level-configuration-file, a config-schema.yaml file is created by the developer of these component repositories. The config-schema.yaml provides meta-info about the configuration parameters that helps the compiler implement the above-mentioned truth table. The input parameters are as follows (which can be inferred from here as well: https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/blob/master/simple_grid_yaml_compiler.py#L74 and https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/blob/master/compiler/processor_config_schemas.py#L92 )
Let me know if further explanation is required.
@maany Thanks for your help.
Hey @maany Can you provide a description for this issue?