Add config for testing
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 6 Jun 2014 12:54:58 +0000 (14:54 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 6 Jun 2014 12:54:58 +0000 (14:54 +0200)
src/config.xml [new file with mode: 0644]

diff --git a/src/config.xml b/src/config.xml
new file mode 100644 (file)
index 0000000..c7f0b46
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
+  <dlpath>.</dlpath>
+  <start route="start"/>
+  <filters>
+    <filter id="frontend" type="frontend_net">
+      <port>@:9070</port>
+      <message>FN</message>
+      <stat-req>/fn_stat</stat-req>
+    </filter>
+  </filters>
+  <routes>
+    <route id="start">
+      <filter refid="frontend"/>
+      <filter type="log">
+         <category access="false" line="true" apdu="false" />
+      </filter>
+      <filter type="xquery">
+       <script value="/home/adam/proj/marc2bibframe/xbin/zorba3-0.xqy"/>
+       <filename value="/home/adam/proj/marc2bibframe/xbin/"/>
+       <record value="marcxmluri"/>
+       <setVariable name="serialization" value="rdxml"/>
+       <setVariable name="baseuri" value="http://base/"/>
+      </filter>
+      <filter type="record_transform">
+       <retrievalinfo  xmlns="http://indexdata.com/yaz" version="1.0">
+         <retrieval syntax="usmarc" name="F"/>
+         <retrieval syntax="usmarc" name="B"/>
+         <retrieval syntax="xml" name="marcxml"
+                    identifier="info:srw/schema/1/marcxml-v1.1">
+           <backend syntax="usmarc" name="F">
+             <marc inputformat="marc" outputformat="marcxml"
+                   inputcharset="marc-8" outputcharset="utf-8"/>
+           </backend>
+         </retrieval>
+       </retrievalinfo>
+      </filter>
+      <filter type="backend_test"/>
+      <filter type="bounce"/>
+    </route>
+  </routes>
+</metaproxy>
+