Class ConfigLoader
- java.lang.Object
-
- org.linuxforhealth.fhir.term.graph.loader.util.ConfigLoader
-
public class ConfigLoader extends java.lang.Object
This class will load a Configuration from a property file, then override parameters based on environment variables.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INDEX_SEARCH_HOSTNAME
static java.lang.String
INDEX_SEARCH_HOSTNAME_ENV
static java.lang.String
INDEX_SEARCH_PORT
static java.lang.String
INDEX_SEARCH_PORT_ENV
static java.lang.String
STORAGE_DATACENTER
static java.lang.String
STORAGE_DATACENTER_ENV
static java.lang.String
STORAGE_HOSTNAME
static java.lang.String
STORAGE_HOSTNAME_ENV
static java.lang.String
STORAGE_PASSWORD
static java.lang.String
STORAGE_PASSWORD_ENV
static java.lang.String
STORAGE_PORT
static java.lang.String
STORAGE_PORT_ENV
static java.lang.String
STORAGE_USERNAME
static java.lang.String
STORAGE_USERNAME_ENV
-
Constructor Summary
Constructors Constructor Description ConfigLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.configuration2.Configuration
load(java.lang.String propFileName)
-
-
-
Field Detail
-
STORAGE_DATACENTER
public static final java.lang.String STORAGE_DATACENTER
- See Also:
- Constant Field Values
-
STORAGE_HOSTNAME
public static final java.lang.String STORAGE_HOSTNAME
- See Also:
- Constant Field Values
-
STORAGE_PORT
public static final java.lang.String STORAGE_PORT
- See Also:
- Constant Field Values
-
STORAGE_USERNAME
public static final java.lang.String STORAGE_USERNAME
- See Also:
- Constant Field Values
-
STORAGE_PASSWORD
public static final java.lang.String STORAGE_PASSWORD
- See Also:
- Constant Field Values
-
INDEX_SEARCH_HOSTNAME
public static final java.lang.String INDEX_SEARCH_HOSTNAME
- See Also:
- Constant Field Values
-
INDEX_SEARCH_PORT
public static final java.lang.String INDEX_SEARCH_PORT
- See Also:
- Constant Field Values
-
STORAGE_DATACENTER_ENV
public static final java.lang.String STORAGE_DATACENTER_ENV
- See Also:
- Constant Field Values
-
STORAGE_HOSTNAME_ENV
public static final java.lang.String STORAGE_HOSTNAME_ENV
-
STORAGE_PORT_ENV
public static final java.lang.String STORAGE_PORT_ENV
-
STORAGE_USERNAME_ENV
public static final java.lang.String STORAGE_USERNAME_ENV
-
STORAGE_PASSWORD_ENV
public static final java.lang.String STORAGE_PASSWORD_ENV
-
INDEX_SEARCH_HOSTNAME_ENV
public static final java.lang.String INDEX_SEARCH_HOSTNAME_ENV
-
INDEX_SEARCH_PORT_ENV
public static final java.lang.String INDEX_SEARCH_PORT_ENV
-
-