...
knowledge-repository.type
may be one of the three following values:STORE
SIMPLE_FILE
CLASSPATH
knowledge-repository.path
is the absolute or relative path to the configuration, depending upon which type is chosen (above).- Example configurations for SIMPLE_FILE may include:
/var/lib/opencds/resources_v1.1/
/home/opencds/config/resources_v1.1/
$HOME/.opencds/config/resources_v1.1/
- etc.
- The path for the
CLASSPATH
type is relative to the classpath of the running JVM (e.g., Tomcat).resources_v1.1/
- Example configurations for SIMPLE_FILE may include:
config.security
is the location of the security configuration for the REST services. (TBD: reference a description)- For an example configuration, see: REST Security
log4j.logfile
is the location used by OpenCDS to write the logs. This line is optional. Typical values may include:/var/log/opencds/opencds.log
$HOME/.opencds/logs/opencds.log
km.threads
is the number of threads per knowledge module.- This can increase throughput of the system, depending upon the number of rules being run for each request.
- Best practice shows that the number of
km.threads
should be kept to the same number of CPUs (or CPU cores).