view flys-aft/doc/conf.xml @ 4488:5041105d2edd

Check if response code from GGInA is 200 OK Only parse the GGInA response if the status code is 200 OK. This improves the error message if GGInA is not available and shows the real reason instead of a JDOM error while parsing the response.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 10:36:21 +0100
parents b20b710aa86f
children f0b3ad10f67f
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>
    </db>
  </side>
</sync>

http://dive4elements.wald.intevation.org