simple-framework / simple_grid_yaml_compiler

Generates the extended YAML output for an input site_level_configuration_file
Apache License 2.0
0 stars 9 forks source link

rename vars to 'global_variables', add schema section #42

Closed maany closed 5 years ago

maany commented 5 years ago

Describe the bug Since the new 'global_variables' section has been added (in order to allow runtime variables to use user-defined variables, https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/commit/dd39bfee59cc82196437ce5f7a81c419fb59ae55) we must modify the input data appropriately. Essentially, we must rename https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/blob/master/tests/resources/complete_config.yaml#L2 to global_variables.

Also, we must indicate the schema that a site level config file abides by on the top of the site level config file.

schema: url_of_schema
global_variables:
 ...

Expected behavior Compiler must execute without errors

Desktop (please complete the following information):