/
Configuration Initializer Overview

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.


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 and extra.properties values should be moved to use these properties files by creating ConfigurationProperties.Property options that correspond to them

    • Look through the code and find @Value annotations and migrate these to the centralized configuration options

    • Identify 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


Related content

Developer Documentation: Configuration Initializer
Developer Documentation: Configuration Initializer
More like this
Configure the property files to connect to the Consolidated Server
Configure the property files to connect to the Consolidated Server
More like this
Administrator Documentation: Configuration Initializer
Administrator Documentation: Configuration Initializer
More like this
Database Profile Mass Facility and Test Catalog Updates
Database Profile Mass Facility and Test Catalog Updates
More like this
OpenELIS Global
OpenELIS Global
More like this
PART 1: INTRODUCTION
PART 1: INTRODUCTION
More like this