Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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


  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.