+++ /dev/null
-<settings target="*">
-
- <!-- Simple test against a local SRU server (could be yaz-ztest) -->
- <set target="kb.dadsthirdnode.cvt.dk/sru-proxy" name="pz:name" value="DADS SRU-proxy"/>
- <!-- field-specific mappings -->
- <set name="pz:cclmap:au" value="u=1003 s=al"/>
- <set name="pz:cclmap:ti" value="u=4 s=al"/>
- <set name="pz:cclmap:su" value="u=1016"/>
- <set name="pz:cclmap:jt" value="u=1016"/>
- <set name="pz:cclmap:isbn" value="u=7"/>
- <set name="pz:cclmap:issn" value="u=8"/>
- <set name="pz:cclmap:date" value="u=30 r=r"/>
-
- <set name="pz:sru" value="get"/> <!-- must be get, post or soap -->
- <set name="pz:sru_version" value="1.1"/>
- <set name="pz:name" value="sru-proxy"/>
-
- <set name="pz:maxrecs" value="50"/>
-
- <!-- mapping for unqualified search -->
-
- <set name="pz:extra_args" value="&x-facet_def=dtic_test&x-noxsl=1" />
- <set name="pz:query_syntax" value="pqf" />
- <set name="pz:option_recordfilter" value="remote"/>
-
- <!-- Result normalization settings -->
-
- <set name="pz:nativesyntax" value="txml"/>
- <set name="pz:xslt" value="dads-pz2.xsl"/>
-
-</settings>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
- <!-- Used by test_dads.sh -->
- <server>
- <listen port="9763"/>
- <proxy host="localhost"/>
-
- <service>
- <include src="gbv-sru-marc.xml"/>
- <metadata name="url" merge="unique"/>
- <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
- <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
- <metadata name="isbn"/>
- <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
- termlist="yes"/>
- <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
- <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
- <metadata name="id"/>
- <metadata name="lccn" merge="unique"/>
- <metadata name="description" brief="yes" merge="longest" rank="3"/>
-
- <metadata name="test-usersetting" brief="yes" setting="postproc"/>
- <metadata name="test" setting="parameter"/>
- <metadata name="test-usersetting-2" brief="yes"/>
- </service>
-
- <include src="*_service.xml"/>
- <include src="no_such_service.xml"/>
-
- </server>
-
-
-</pazpar2>
-<!-- Keep this comment at the end of the file
- Local variables:
- mode: nxml
- End:
--->
+++ /dev/null
-#!/bin/sh
-
-# srcdir might be set by make
-srcdir=${srcdir:-"."}
-
-#TODO set up solr target. For now use donut
-#F=../solr/client.sh
-#
-#rm -f solr.pid
-#$F -l solr.log -p ztest.pid -D @:9999
-#sleep 1
-#if test ! -f ztest.pid; then
-# echo "yaz-ztest could not be started"
-# exit 0
-#fi
-
-${srcdir}/run_pazpar2.sh test_dads
-E=$?
-
-#kill `cat ztest.pid`
-#rm ztest.pid
-exit $E
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation: 2
-# sh-basic-offset: 4
-# End:
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
- <!-- Used by test_sru-proxy.sh -->
- <server>
- <listen port="9763"/>
- <proxy host="localhost"/>
-
- <service id="sru-proxy">
- <include src="dtic-dads-sru-proxy.xml"/>
- <metadata name="url" merge="unique"/>
- <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
- <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
-
- <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
- termlist="yes"/>
- <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
- <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
- <metadata name="id"/>
- <metadata name="doi" brief="yes"/>
- <metadata name="lccn" merge="unique"/>
- <metadata name="description" brief="yes" merge="longest" rank="3" />
-
- <metadata name="journal-title" brief="yes" termlist="yes" merge="all"/>
-
- <metadata name="test-usersetting" brief="yes" setting="postproc"/>
- <metadata name="test" setting="parameter"/>
- <metadata name="test-usersetting-2" brief="yes"/>
- </service>
-
-<!--
- <include src="*_service.xml"/>
- <include src="no_such_service.xml"/>
--->
- </server>
-
-
-</pazpar2>
-<!-- Keep this comment at the end of the file
- Local variables:
- mode: nxml
- End:
--->
+++ /dev/null
-#!/bin/sh
-
-# srcdir might be set by make
-srcdir=${srcdir:-"."}
-
-#TODO set up solr target. For now use donut
-#F=../solr/client.sh
-
-${srcdir}/run_pazpar2.sh test_sru-proxy
-E=$?
-
-#kill `cat ztest.pid`
-#rm ztest.pid
-exit $E
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation: 2
-# sh-basic-offset: 4
-# End: