Alternative route to backend_test
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 17 Jan 2006 13:31:09 +0000 (13:31 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 17 Jan 2006 13:31:09 +0000 (13:31 +0000)
etc/config1.xml
etc/config2.xml
etc/config3.xml

index e1430fb..9ec8b3e 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: config1.xml,v 1.9 2006-01-13 16:27:14 mike Exp $ -->
+<!-- $Id: config1.xml,v 1.10 2006-01-17 13:31:09 adam Exp $ -->
 <yp2 xmlns="http://indexdata.dk/yp2/config/1">
   <start route="start"/>
   <filters>
     <route id="start">
       <filter refid="frontend"/>
       <filter type="log">
-        <message>F</message>
-      </filter>
-      <filter type="virt_db">
-        <virtual>
-          <database>loc</database>
-          <target>z3950.loc.gov:7090/voyager</target>
-        </virtual>
-        <virtual>
-          <database>idgils</database>
-          <target>indexdata.dk/gils</target>
-        </virtual>
-        <virtual>
-          <database>Default</database>
-          <target>localhost:9999</target>
-        </virtual>
-      </filter>
-      <filter type="log">
         <message>B</message>
       </filter>
       <filter refid="backend"/>
index 0a24c7d..a4fd7bd 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: config2.xml,v 1.4 2006-01-16 16:30:06 mike Exp $ -->
+<!-- $Id: config2.xml,v 1.5 2006-01-17 13:31:09 adam Exp $ -->
 <yp2 xmlns="http://indexdata.dk/yp2/config/1">
   <start route="start"/>
   <filters>
           <database>idgils</database>
           <target>indexdata.dk/gils</target>
         </virtual>
+        <virtual>
+          <database>Default</database>
+          <target>localhost:9999/Default</target>
+        </virtual>
         <virtual route="test">
-          <database>test</database>
-          <target>localhost:9999</target>
+          <database>dummy</database>
+          <target>something_for_backend_test_to_know</target>
         </virtual>
       </filter>
       <filter type="log">
index 01633be..d1d1ea7 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: config3.xml,v 1.2 2006-01-16 17:03:26 adam Exp $ -->
+<!-- $Id: config3.xml,v 1.3 2006-01-17 13:31:09 adam Exp $ -->
 <yp2 xmlns="http://indexdata.dk/yp2/config/1">
   <start route="start"/>
   <filters>
       </filter>
       <filter type="virt_db">
         <virtual>
-          <database>Default</database>
-          <target>localhost:9900/Default</target>
+          <database>db1</database>
+          <target>localhost:9999/Default</target>
         </virtual>
         <virtual>
           <database>db2</database>
-          <target>localhost:9901/Default</target>
+          <target>localhost:9998/Slow</target>
         </virtual>
         <virtual>
           <database>all</database>
-          <target>localhost:9900/Default</target>
-          <target>localhost:9901/Default</target>
+          <target>localhost:9999/Default</target>
+          <target>localhost:9998/Slow</target>
           <target>z3950.loc.gov:7090/voyager</target>
         </virtual>
       </filter>