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

Download base-schema, base-defaults etc. #40

Closed maany closed 5 years ago

maany commented 5 years ago

Is your feature request related to a problem? Please describe. Given that a file called simple-base-schema.yaml will exist after implementation of https://github.com/WLCG-Lightweight-Sites/simple_grid_site_repo/issues/4 , we should modify the compiler to use this as the default schema. Basically, the required and use_default fields are of interest from the point of view of the yaml compiler.

Describe the solution you'd like The input site level configuration file (https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/blob/master/tests/resources/complete_config.yaml) must satisfy the simple-base-schema.yaml in terms of the required and default values. p.s. rename the vars section to global_variables.

To achieve this, we must first download simple-base-schema.yaml, simple-base-defaults and simple-base-meta-info yaml files in the compiler's temp folder. (similar to how we handle the config-schema, default-data and meta-info yaml files for component repositories) That's the goal of this issue.

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.