External Database Configuration

On application startup, the configuration files are downloaded from the database. Configuration files location is maintained in the configDBrepo.properties file. However, this location information can be configured externally using the following environment variables:

  • CONFIGURATOR_DB_DRIVER
  • CONFIGURATOR_DB_JDBCURL
  • CONFIGURATOR_DB_USERNAME
  • CONFIGURATOR_DB_PASSWORD
  • CONFIGURATOR_DB_FILESLIST
For example:
CONFIGURATOR_DB_DRIVER=oracle.jdbc.driver.OracleDriver
CONFIGURATOR_DB_JDBCURL=jdbc:oracle:thin:@//<machine_name>:<port>/<service_name>
CONFIGURATOR_DB_USERNAME=admin_username
CONFIGURATOR_DB_PASSWORD=admin_password
Note: The information added through these environmental variables takes precedence over the information present in the configDBrepo.properties file.

These environment variables can be added to the application using one of the following options:

  • Application yaml Configuration
  • OpenShift oc Command Line Interface (CLI)
  • OpenShift UI