Configuration Initializer Overview
Configuration Initializer
Overview
Brief description of the feature.
Allows the setting and changing of basic OpenELIS-Global configuration options at startup via property files.
Goals
What are the primary goals of this feature?
Expedite new installations that need the same configuration values
Ensure common settings are used for equivalent installations
Allow a method for an installation to export a configuration without taking a database dump
Key Functionality
List the main functions and capabilities of the feature.
Set configuration values in the database from a Java Properties file
View the full configuration options in the Java Properties file
Provide a “change file” to change individual setting without editing the full list of options and retain a copy of the change file.
Documentation
Links to related documentation or resources.
Developer Documentation - Developer Documentation: Configuration Initializer
Administrator Documentation - Administrator Documentation: Configuration Initializer
List of supported configuration options - TODO
Future Considerations
Notes on potential improvements or future iterations.
Centralize all configuration options to allow them to be set via a single file
common.properties
andextra.properties
values should be moved to use these properties files by creatingConfigurationProperties.Property
options that correspond to themLook through the code and find
@Value
annotations and migrate these to the centralized configuration optionsIdentify tables in the database outside of
site_information
that should be migrated into the configuration options
Expand upon the file formats that are usable (yaml, json)
Integrate environment variables to also be used
Provide a web endpoint that allows viewing of the endpoint rather than looking directly at the filesystem