<?xml version="1.0" encoding="UTF-8"?>
<silverpeas-settings product="Silverpeas">

  <!-- CONFIGURATION PARAMETERS TEST -->
  <test>
    <parameter key="SILVERPEAS_ADMIN_EMAIL"/>
    <parameter key="SILVERPEAS_SENDER_NAME"/>
    <parameter key="SILVERPEAS_SENDER_EMAIL"/>
  </test>

  <!-- PROPERTIES CONFIGURATION -->
  <fileset root="${SILVERPEAS_HOME}/properties/org/silverpeas">

    <!-- Silverpeas Core properties configuration -->

    <configfile name="systemSettings.properties">
      <parameter key="SILVERPEAS_DATA_HOME">${SILVERPEAS_DATA_HOME}</parameter>
      <parameter key="SILVERPEAS_DATA_WEB">${SILVERPEAS_DATA_WEB}</parameter>
      <parameter key="SILVERPEAS_TEMP">${SILVERPEAS_TEMP}</parameter>
      <parameter key="SILVERPEAS_LOG">${SILVERPEAS_LOG}</parameter>
      <parameter key="jcr.home">${JCR_HOME}</parameter>
      <parameter key="jcr.conf">${JCR_HOME}/silverpeas-oak.properties</parameter>
      <parameter key="http.proxyHost">${PROXY_HOST}</parameter>
      <parameter key="http.proxyPort">${PROXY_PORT}</parameter>
      <parameter key="http.nonProxyHosts">${NONPROXY_HOST}</parameter>
      <parameter key="ftp.proxyHost">${PROXY_HOST}</parameter>
      <parameter key="ftp.proxyPort">${PROXY_PORT}</parameter>
      <parameter key="ftp.nonProxyHosts">${NONPROXY_HOST}</parameter>
    </configfile>

    <configfile name="general.properties">
      <parameter key="httpServerBase">${URL_BASE}</parameter>
      <parameter key="securityPath">${HIDDEN_SILVERPEAS_DIR}</parameter>
    </configfile>

    <configfile name="util/i18n.properties">
      <parameter key="languages">${SILVERPEAS_CONTENT_LANGUAGES}</parameter>
    </configfile>

    <configfile name="personalization/settings/personalizationPeasSettings.properties">
      <parameter key="DefaultLanguage">${SILVERPEAS_USER_LANGUAGE}</parameter>
    </configfile>

    <configfile name="util/logging/silverpeasLogging.properties">
      <parameter key="level">${SILVERPEAS_LOGGING_LEVEL}</parameter>
    </configfile>

    <configfile name="peasCore/SessionManager.properties">
      <parameter key="scheduledSessionManagementTimeStamp">2</parameter>
      <parameter key="userSessionTimeout">10</parameter>
    </configfile>

    <configfile name="admin/admin.properties">
      <parameter key="DefaultDataSourceJNDIName">${DB_DATASOURCE_JNDI}</parameter>
      <parameter key="SenderName">${SILVERPEAS_SENDER_NAME}</parameter>
      <parameter key="SenderEmail">${SILVERPEAS_SENDER_EMAIL}</parameter>
    </configfile>

    <configfile name="domains/domainSP.properties">
      <parameter key="database.SQLDataSourceJNDIName">${DB_DATASOURCE_JNDI}</parameter>
    </configfile>

    <configfile name="domains/domainSQL.properties">
      <parameter key="database.SQLDataSourceJNDIName">${DB_DATASOURCE_JNDI}</parameter>
    </configfile>

    <configfile name="authentication/domains.properties">
      <parameter key="SQLDomainDataSourceJNDIName">${DB_DATASOURCE_JNDI}</parameter>
    </configfile>

    <configfile name="authentication/autDomainSP.properties">
      <parameter key="autServer0.SQLDataSourceJNDIName">${DB_DATASOURCE_JNDI}</parameter>
      <parameter key="autServer1.SQLDataSourceJNDIName">${DB_DATASOURCE_JNDI}</parameter>
    </configfile>

    <configfile name="authentication/autDomainSQL.properties">
      <parameter key="autServer0.SQLDataSourceJNDIName">${DB_DATASOURCE_JNDI}</parameter>
    </configfile>

    <configfile name="notificationserver/channel/smtp/smtpSettings.properties">
      <parameter key="SMTPServer">${SMTP_SERVER}</parameter>
      <parameter key="SMTPAuthentication">${SMTP_AUTHENTICATION}</parameter>
      <parameter key="SMTPDebug">${SMTP_DEBUG}</parameter>
      <parameter key="SMTPPort">${SMTP_PORT}</parameter>
      <parameter key="SMTPUser">${SMTP_USER}</parameter>
      <parameter key="SMTPPwd">${SMTP_PASSWORD}</parameter>
      <parameter key="SMTPSecure">${SMTP_SECURE}</parameter>
    </configfile>

    <configfile name="jobManagerPeas/settings/jobManagerPeasSettings.properties">
      <parameter key="IsKMVisible">true</parameter>
      <parameter key="IsToolsVisible">true</parameter>
    </configfile>

    <config name="jobDomainPeas/settings/jobDomainPeasSettings.properties">
      <parameter key="admin.profile.rights.copyReplace.activated">true</parameter>
    </config>

    <configfile name="workflow/engine/settings.properties">
      <parameter key="ProcessModelDir">${SILVERPEAS_DATA_HOME}/workflowRepository/</parameter>
    </configfile>

    <configfile name="workflow/engine/schedulerSettings.properties">
      <parameter key="timeoutSchedule">0 * * * *</parameter>
    </configfile>

  </fileset>

</silverpeas-settings>
