From: Heikki Levanto Date: Thu, 16 Jul 2015 11:40:52 +0000 (+0200) Subject: First settings that actually get to the gw, and get records and facets back. X-Git-Url: http://git.indexdata.com/cgi-bin?a=commitdiff_plain;h=c0ef6d5f2c961c3cf9c2bc204b54bdaaf3082aec;p=pazpar2-moved-to-github.git First settings that actually get to the gw, and get records and facets back. --- diff --git a/doc/common b/doc/common index 790930a..f6a5ec8 160000 --- a/doc/common +++ b/doc/common @@ -1 +1 @@ -Subproject commit 790930ae30e7d12e02a512a109fc40c82675df20 +Subproject commit f6a5ec8c243e2a6829a2917cb30c849612d6fd01 diff --git a/test/paz_1009.cfg b/test/paz_1009.cfg new file mode 100644 index 0000000..5eea2e5 --- /dev/null +++ b/test/paz_1009.cfg @@ -0,0 +1,40 @@ + + + + + + + + + [[:WhiteSpace:][,.!;]]* } [$] > ; + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/paz_1009.sh b/test/paz_1009.sh new file mode 100755 index 0000000..dd96029 --- /dev/null +++ b/test/paz_1009.sh @@ -0,0 +1,46 @@ +#!/bin/sh +# Test script for PAZ-1009 / AUT-258 + +# Start the aggw +AGDIR=../../ag-integration/gateway +AGGW=$AGDIR/aggw.pl + +if [ ! -x $AGGW ] +then + echo "AG Gateway $AGGW not found. Skipping test" + exit 0 +fi + +rm -f aggw.log aggw.pid apdu.log.* # -f to shut up if not there +LOG="-l aggw.log -a apdu.log" # uncomment to get the gw log in a file +AGPORT="@:9998" + +$AGGW $LOG -p aggw.pid $AGPORT & + +sleep 1 # let the listener start up +if [ ! -f aggw.pid ] +then + echo "Could not start the AG gateway " + exit 1 +fi +echo "Started the AG Gateway on $AGPORT. PID=" `cat aggw.pid` + +TEST=`basename $0 .sh` +# srcdir might be set by make +srcdir=${srcdir:-"."} + +#exec ${srcdir}/run_pazpar2.sh --icu $TEST +${srcdir}/run_pazpar2.sh --icu $TEST + + +# Kill the aggw +echo "Killing the aggw, pid " `cat aggw.pid` +kill `cat aggw.pid` +rm -f aggw.pid + + +# Local Variables: +# mode:shell-script +# sh-indentation: 2 +# sh-basic-offset: 4 +# End: diff --git a/test/paz_1009.urls b/test/paz_1009.urls new file mode 100644 index 0000000..18e58dc --- /dev/null +++ b/test/paz_1009.urls @@ -0,0 +1,6 @@ +http://localhost:9763/search.pz2?command=init&clear=1 +paz_1009_settings.xml http://localhost:9763/search.pz2?session=1&command=settings +http://localhost:9763/search.pz2?session=1&command=search&query=water +w http://localhost:9763/search.pz2?session=1&command=show&block=1 +http://localhost:9763/search.pz2?session=1&command=bytarget +http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Csubject%2Cauthor%2Cdate%2Cmedium diff --git a/test/paz_1009.xsl b/test/paz_1009.xsl new file mode 100644 index 0000000..6ffdf42 --- /dev/null +++ b/test/paz_1009.xsl @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Notated music + + + Manuscript notated music + + + Cartographic material + + + Manuscript cartographic material + + + Projected medium + + + Nonmusical sound recording + + + Musical sound recording + + + Two-dimensional nonprojectable graphic + + + Computer file + + + Kit + + + Mixed materials + + + Visual materials + + + Serial + + + + Book + + + + + xml records + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/paz_1009_settings.xml b/test/paz_1009_settings.xml new file mode 100644 index 0000000..6748070 --- /dev/null +++ b/test/paz_1009_settings.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + +