view etl/doc/conf.xml @ 6061:e9a76ffa0f9a

Use maxOverlap to get the correct gauge for the MainValues Previously just the first matching gauge was taken even if it's range ended with the minimum value. This code is clearly intended to get one gauge for one range so the best match should be taken.
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 22 May 2013 18:10:48 +0200
parents 5aa05a7a34b7
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<sync>
  <!-- If modified send messages -->
  <notifications>
    <notifaction url="http://example.com">
      <caches>
        <cache name="my-cache"/>
      </caches>
    </notifaction>
  </notifications>
  <!-- The path to the DiPs file -->
  <dips>
    <file>/the/path/to/the/dips/file</file>
    <repair>/the/path/to/the/xslt/to/repair/dips</repair>
  </dips>
  <!-- The FLYS side -->
  <side name="flys">
    <db>
      <driver>org.postgresql.Driver</driver>
      <user>flys</user>
      <password>flys</password>
      <url>jdbc:postgresql://localhost:5432/flys</url>
    </db>
  </side>
  <!-- The AFT side -->
  <side name="aft">
    <db>
      <driver>org.sqlite.JDBC</driver>
      <user/>
      <password/>
      <url>jdbc:sqlite:/path/to/aft.db</url>
      <!--
      <execute-login>
        <statement>ALTER SESSION SET CURRENT_SCHEMA=AFT</statement>
      </execute-login>
      -->
    </db>
  </side>
</sync>

http://dive4elements.wald.intevation.org