Switch to using JSON for configuration settings #243
Labels
curation
Pertains to aspects of curation, including workflow management
enhancement
New feature or request
management
Milestone
Summary
In the past, we used a config INI file and
configparser
to parse the configuration. This was identical to how we did it withReQUIAM
. Over time, the complexity of configuration forLD-Cool-P
grew. For example, handling multiple Deposit Agreement survey required a string version of a list that was interpreted viaast.literal
.To simplify this, I recommend moving toward using a config.json file following a JSON schema. This will allow for long-term support of more complex configuration settings. It will also be easy to load the configuration using the built-in
json
library.Objectives
A simplification of the configuration. While this is a change to the config file, we should ensure that it's backwards compatible. Namely that both .ini and .json files can be imported.
Proposal
Testing notes
See above todo action.
Additional notes
Implemented in: TBD
The text was updated successfully, but these errors were encountered: