changeset 4943:840250040a7d

Aft: Update documentation for target schema
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 31 Jan 2013 18:18:05 +0100
parents 1366277655b9
children 529a3d873809
files flys-aft/README.txt
diffstat 1 files changed, 41 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/flys-aft/README.txt	Thu Jan 31 11:43:28 2013 +0100
+++ b/flys-aft/README.txt	Thu Jan 31 18:18:05 2013 +0100
@@ -54,40 +54,43 @@
 
 Die Konfigurationsdatei hat folgende Struktur:
 
- 1	<?xml version="1.0" encoding="UTF-8"?>
- 2	<sync>
- 3	  <!-- If modified send messages -->
- 4	  <notifications>
- 5	    <notifaction url="http://example.com">
- 6	      <caches>
- 7	        <cache name="my-cache"/>
- 8	      </caches>
- 9	    </notifaction>
-10	  </notifications>
-11	  <!-- The path to the DiPs file -->
-12	  <dips>
-13	    <file>/the/path/to/the/dips/file</file>
-14	    <repair>/the/path/to/the/xslt/to/repair/dips</repair>
-15	  </dips>
-16	  <!-- The FLYS side -->
-17	  <side name="flys">
-18	    <db>
-19	      <driver>oracle.jdbc.OracleDriver</driver>
-20	      <user>flys</user>
-21	      <password>flys</password>
-22	      <url>jdbc:oracle:thin:@//localhost:1521/XE</url>
-23	    </db>
-24	  </side>
-25	  <!-- The AFT side -->
-26	  <side name="aft">
-27	    <db>
-28	      <driver>oracle.jdbc.OracleDriver</driver>
-29	      <user>aft</user>
-30	      <password>aft</password>
-31	      <url>jdbc:oracle:thin:@//localhost:1521/XE</url>
-32	    </db>
-33	  </side>
-34	</sync>
+ 1 <?xml version="1.0" encoding="UTF-8"?>
+ 2 <sync>
+ 3   <!-- If modified send messages -->
+ 4   <notifications>
+ 5     <notifaction url="http://example.com">
+ 6       <caches>
+ 7         <cache name="my-cache"/>
+ 8       </caches>
+ 9     </notifaction>
+10   </notifications>
+11   <!-- The path to the DiPs file -->
+12   <dips>
+13     <file>/the/path/to/the/dips/file</file>
+14     <repair>/the/path/to/the/xslt/to/repair/dips</repair>
+15   </dips>
+16   <!-- The FLYS side -->
+17   <side name="flys">
+18     <db>
+19       <driver>oracle.jdbc.OracleDriver</driver>
+20       <user>flys</user>
+21       <password>flys</password>
+22       <url>jdbc:oracle:thin:@//localhost:1521/XE</url>
+23     </db>
+24   </side>
+25   <!-- The AFT side -->
+26   <side name="aft">
+27     <db>
+28       <driver>oracle.jdbc.OracleDriver</driver>
+29       <user>aft</user>
+30       <password>aft</password>
+31       <url>jdbc:oracle:thin:@//localhost:1521/XE</url>
+32       <execute-login>
+33         <statement>ALTER SESSION SET CURRENT_SCHEMA=AFT</statement>
+34       </execute-login>
+35     </db>
+36   </side>
+37 </sync>
 
 Sie besteht aus vier Bereichen:
 
@@ -105,10 +108,13 @@
     Zeile 29: DB-Nutzername
     Zeile 30: Connection-URL zur AFT-Datenbank
 
+  * Schemata:
+    Zeile 32-34: Schema in welches die Daten geschrieben werden sollen.
+
   * Benachrichtigungen:
     Zeile    5: URL des Web-Service, der benachrichtigt werden soll.
     Zeile 6-18: Die Nachricht, die an den Web-Service verschickt werden soll.
-    
+
 Funktionsweise:
 ---------------
 

http://dive4elements.wald.intevation.org