mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 06:53:09 +00:00
52 lines
2.7 KiB
XML
52 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
DSpace Configuration Definition
|
|
This Apache Commons Configuration definition file defines the ordering of configuration files loaded by DSpace.
|
|
Optionally, you may choose to add additional configuration files/locations.
|
|
|
|
For more information and examples of valid configuration definition files, see:
|
|
https://commons.apache.org/proper/commons-configuration/userguide/howto_combinedbuilder.html
|
|
-->
|
|
<configuration>
|
|
<header>
|
|
<providers>
|
|
<provider
|
|
config-tag="dspaceenv"
|
|
config-class="org.dspace.servicemanager.config.DSpaceEnvironmentConfigurationBuilderProvider" />
|
|
</providers>
|
|
</header>
|
|
<!-- Configurations in this section override one another.
|
|
Earlier values take precedence, and override any values in later config files -->
|
|
<override>
|
|
<!-- By default, we load all System Properties and Environment variables, in case any override default settings
|
|
(e.g. "-Ddspace.dir" will override "dspace.dir"). Optionally, you could choose to disable this setting, but
|
|
still load individual settings from System or Env using variable interpolation,
|
|
e.g. ${sys:dspace.dir} or ${env:DSPACE_HOME}
|
|
For more info see:
|
|
https://commons.apache.org/proper/commons-configuration/userguide/howto_basicfeatures.html#Variable_Interpolation -->
|
|
<!-- Load Java System properties (does not automatically reload) -->
|
|
<system/>
|
|
<!-- Load Environment variables (does not automatically reload) -->
|
|
<env/>
|
|
<!--
|
|
Load Environment variables that contain two underlines in their names.
|
|
Some DSpace configurations use special characters in their key (e.g. periods and dashes)
|
|
which are not supported in Bash. This provider translates "___P___" to periods and "___D___"
|
|
to dashes in environment variables.
|
|
-->
|
|
<dspaceenv/>
|
|
|
|
<!-- Allow user to override any configs in a local.cfg -->
|
|
<!-- Any properties in this config will override defaults in dspace.cfg (or any included *.cfg file) -->
|
|
<!-- Check for reload every 5 seconds (5,000ms) -->
|
|
<properties fileName="local.cfg" throwExceptionOnMissing="false" config-name="local" config-optional="true"
|
|
encoding="UTF-8" config-reload="true" reloadingRefreshDelay="5000"/>
|
|
|
|
<!-- Load our dspace.cfg (which in turn loads all module configs via "include=" statements) -->
|
|
<!-- Check for reload every 5 seconds (5,000ms) -->
|
|
<properties fileName="dspace.cfg" throwExceptionOnMissing="true" encoding="UTF-8" config-reload="true"
|
|
reloadingRefreshDelay="5000"/>
|
|
</override>
|
|
|
|
</configuration>
|