metaproxy-moved-to-github.git
17 years agochanged back to z38.50 client backend
Marc Cromme [Thu, 4 Jan 2007 13:22:16 +0000 (13:22 +0000)]
changed back to z38.50 client backend

17 years agocounting dead connections correctly
Marc Cromme [Thu, 4 Jan 2007 13:03:17 +0000 (13:03 +0000)]
counting dead connections correctly

17 years agocounting dead backends correctly
Marc Cromme [Wed, 3 Jan 2007 16:25:24 +0000 (16:25 +0000)]
counting dead backends correctly
still never decreasing count on dead backends, which means they will be
less and less accessed over time.

17 years agoadded documentation on new filter load_balance
Marc Cromme [Wed, 3 Jan 2007 15:34:50 +0000 (15:34 +0000)]
added documentation on new filter load_balance

17 years agofirst working version of load balancing filter
Marc Cromme [Wed, 3 Jan 2007 15:03:55 +0000 (15:03 +0000)]
first working version of load balancing filter
still needs testing for race conditions and wrong mutex locks
there seems to be a slight error in the counting of dead connections, needs improvement
also removing of debug output is needed

17 years agoadded first shot on load balance filter which removes all but one vhost from Z39...
Marc Cromme [Tue, 2 Jan 2007 15:35:36 +0000 (15:35 +0000)]
added first shot on load balance filter which removes all but one vhost from Z39.50 init package based on nice load balancing algorithm.
Missing is still the gathering of workload data and the implementatin of the nice algorithm, but the framework is up and running

17 years agoadded a sketch of some unified config stuff for yaz-frontend, zebra, metaproxy, retri...
Marc Cromme [Sat, 30 Dec 2006 23:41:16 +0000 (23:41 +0000)]
added a sketch of some unified config stuff for yaz-frontend, zebra, metaproxy, retrievalinfo, etc .. very experimental yet ..

17 years agoadded zeerex-explain filter part
Marc Cromme [Fri, 29 Dec 2006 15:11:20 +0000 (15:11 +0000)]
added zeerex-explain filter part

17 years agoadded first version of ZeeRex Explain filter for SRU explain
Marc Cromme [Thu, 28 Dec 2006 14:59:43 +0000 (14:59 +0000)]
added first version of ZeeRex Explain filter for SRU explain
need much more configuration work to be done

17 years agomoved common SRU functionality from SRU_to_Z3950 class methods to sru_util.hpp and...
Marc Cromme [Thu, 28 Dec 2006 13:26:06 +0000 (13:26 +0000)]
moved common SRU functionality from SRU_to_Z3950 class methods to sru_util.hpp and sru_util.cpp general functions

17 years agoremoved debug output print statements
Marc Cromme [Thu, 28 Dec 2006 12:18:01 +0000 (12:18 +0000)]
removed debug output print statements

17 years agodefault database port 9999
Marc Cromme [Thu, 28 Dec 2006 12:17:43 +0000 (12:17 +0000)]
default database port 9999

17 years agorecord retrieval test updated to reflect new <retrievalinfo> element syntax
Marc Cromme [Tue, 12 Dec 2006 14:48:13 +0000 (14:48 +0000)]
record retrieval test updated to reflect new <retrievalinfo> element syntax

17 years agoupdated XML config files to use Xinclude, and to conform to new <retrievalinfo>...
Marc Cromme [Tue, 12 Dec 2006 11:01:40 +0000 (11:01 +0000)]
updated XML config files to  use Xinclude, and to conform to new <retrievalinfo> format
updated recordtransform filter to accept new format
updated master schemas to reflect changes

17 years agochanged filter query rewrite config syntax from <xslt>pqf2pqf.xsl</xslt>
Marc Cromme [Fri, 1 Dec 2006 12:37:26 +0000 (12:37 +0000)]
changed  filter query rewrite config syntax from <xslt>pqf2pqf.xsl</xslt>
to  <xslt stylesheet="etc/pqf2pqf.xsl"/> to make it equal to YAZ retrievalinfo syntax.
changed config files path from 'pqf2pqf.xsl' to 'etc/pqf2pqf.xsl' to make metaproxy run when started from metaproxy cvs root dir

17 years agofixing relaxng-to-xmlschema translation error by new namespace for retirevalinfo
Marc Cromme [Thu, 30 Nov 2006 23:10:26 +0000 (23:10 +0000)]
fixing relaxng-to-xmlschema translation error by new namespace for retirevalinfo
and by choice between root elements metaproxy and retrievalinfo

17 years agoadded Xinclude restricted to localhost for partitioning of XML config files
Marc Cromme [Wed, 29 Nov 2006 22:37:08 +0000 (22:37 +0000)]
added Xinclude restricted to localhost for partitioning of XML config files

17 years agofixed typo with respect to version number
Marc Cromme [Wed, 29 Nov 2006 21:45:04 +0000 (21:45 +0000)]
fixed typo with respect to version number

17 years agosplit config file into retrievalinfo part and common metaproxy config part
Marc Cromme [Wed, 29 Nov 2006 21:43:37 +0000 (21:43 +0000)]
split config file into retrievalinfo part and common metaproxy config part

17 years agosplitted metaproxy relaxng compact into metaproxy and retrieval compact schema
Marc Cromme [Wed, 29 Nov 2006 14:49:20 +0000 (14:49 +0000)]
splitted metaproxy relaxng compact into metaproxy and retrieval compact schema

17 years agochanged config file root element from <yp2 ... > to
Marc Cromme [Wed, 29 Nov 2006 13:00:53 +0000 (13:00 +0000)]
changed config file root element from <yp2 ... > to
<metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
adjusted all sources, config files, documentation and schemas according to this change
updated sources to generate better error messages when incorrect XML is provided in config files

17 years agoadded XSLT stylesheet to compute CQL-to-PQF config from Zeerex explain record
Marc Cromme [Wed, 29 Nov 2006 11:28:18 +0000 (11:28 +0000)]
added XSLT stylesheet to compute CQL-to-PQF config from Zeerex explain record

18 years agoAdded filter_record_transform.obj. METAPROXY.1.0.7
Adam Dickmeiss [Fri, 17 Nov 2006 17:58:07 +0000 (17:58 +0000)]
Added filter_record_transform.obj.

18 years agoTowards 1.0.7
Adam Dickmeiss [Fri, 17 Nov 2006 17:30:52 +0000 (17:30 +0000)]
Towards 1.0.7

18 years agoAdded 'timeout' setting for filter frontend_net which specifies the number
Adam Dickmeiss [Fri, 17 Nov 2006 14:03:45 +0000 (14:03 +0000)]
Added 'timeout' setting for filter frontend_net which specifies the number
of seconds a session is idle before it is closed. Default timeout is
300 (5 minutes).

18 years agoNew
Mike Taylor [Tue, 31 Oct 2006 12:49:12 +0000 (12:49 +0000)]
New

18 years agoIgnore generated schemata
Mike Taylor [Tue, 31 Oct 2006 12:48:42 +0000 (12:48 +0000)]
Ignore generated schemata

18 years agoIgnore three more generated binaries.
Mike Taylor [Tue, 31 Oct 2006 12:47:22 +0000 (12:47 +0000)]
Ignore three more generated binaries.

18 years agoNew
Mike Taylor [Sat, 14 Oct 2006 10:46:57 +0000 (10:46 +0000)]
New

18 years agoMention trang as requirement for CVS version
Adam Dickmeiss [Fri, 13 Oct 2006 10:31:54 +0000 (10:31 +0000)]
Mention trang as requirement for CVS version

18 years agoEnabled docdir setting again. Autotools does not set it on FreeBSD
Adam Dickmeiss [Fri, 13 Oct 2006 10:21:58 +0000 (10:21 +0000)]
Enabled docdir setting again. Autotools does not set it on FreeBSD

18 years agoSupport --with-boost=PREFIX option. Check for -lpthread before Boost is
Adam Dickmeiss [Fri, 13 Oct 2006 09:54:30 +0000 (09:54 +0000)]
Support --with-boost=PREFIX option. Check for -lpthread before Boost is
checked.

18 years agoUpdates for FreeBSD
Adam Dickmeiss [Fri, 13 Oct 2006 09:53:51 +0000 (09:53 +0000)]
Updates for FreeBSD

18 years agoadded missing Makefile.am
Marc Cromme [Fri, 13 Oct 2006 08:17:40 +0000 (08:17 +0000)]
added missing Makefile.am

18 years agochopped obsolete future directions out
Marc Cromme [Thu, 12 Oct 2006 12:04:23 +0000 (12:04 +0000)]
chopped obsolete future directions out

18 years agofixed typo's
Marc Cromme [Thu, 12 Oct 2006 12:02:19 +0000 (12:02 +0000)]
fixed typo's

18 years agoremoved Mike's brain-dead statements about C++ and LaTeX
Marc Cromme [Thu, 12 Oct 2006 11:52:24 +0000 (11:52 +0000)]
removed Mike's brain-dead statements about C++ and LaTeX
fixed typo's

18 years agore-ordered in lexicographical order
Marc Cromme [Thu, 12 Oct 2006 11:34:07 +0000 (11:34 +0000)]
re-ordered in lexicographical order

18 years agoadded documentation for the sru_z3950 filter
Marc Cromme [Thu, 12 Oct 2006 11:31:11 +0000 (11:31 +0000)]
added documentation for the sru_z3950 filter

18 years agoadded documentaton for filter_record_transform
Marc Cromme [Thu, 12 Oct 2006 08:27:35 +0000 (08:27 +0000)]
added documentaton for filter_record_transform

18 years agoadded suport for 'make distcheck' target using no GNU make extentions at all
Marc Cromme [Wed, 11 Oct 2006 13:21:51 +0000 (13:21 +0000)]
added suport for 'make distcheck' target using no GNU make extentions at all

18 years agoadded XML syntax checking to 'make check' target
Marc Cromme [Tue, 10 Oct 2006 15:41:51 +0000 (15:41 +0000)]
added XML syntax checking to 'make check' target

18 years agoadded full RelaxNG based config file syntax checking
Marc Cromme [Tue, 10 Oct 2006 15:10:16 +0000 (15:10 +0000)]
added full RelaxNG based  config file syntax checking
which checks every filter according to it's own rules.
These are exported by the 'make' target to RelaxNG XML and XML Schema instances using the nifty 'trang' utility.
added check of all config files in etc dir according to both RelaxNG XML and XML Schema instances.
check targets are 'make check_xsd' and 'make check_rng' when standing in 'etc' directory.
Still missing to integrate XML checks into 'make check' target.

18 years agoadapting lower-case convention
Marc Cromme [Tue, 10 Oct 2006 14:20:16 +0000 (14:20 +0000)]
adapting lower-case convention

18 years agofilter_backend_test checks for element set name . None, "B" and "F"
Adam Dickmeiss [Tue, 10 Oct 2006 09:47:50 +0000 (09:47 +0000)]
filter_backend_test checks for element set name . None, "B" and "F"
are supported.

18 years agoFirst functional record transform filter. There is still work to do
Adam Dickmeiss [Tue, 10 Oct 2006 09:17:24 +0000 (09:17 +0000)]
First functional record transform filter. There is still work to do
WRT error handling from a backend.

18 years agopretty-formatting
Marc Cromme [Fri, 6 Oct 2006 22:51:40 +0000 (22:51 +0000)]
pretty-formatting

18 years agoupdated wih copyright info
Marc Cromme [Fri, 6 Oct 2006 22:42:24 +0000 (22:42 +0000)]
updated wih copyright info
multifilter configuration validation updated

18 years agoadded specific validating instructions for the filter types
Marc Cromme [Fri, 6 Oct 2006 22:30:01 +0000 (22:30 +0000)]
added specific validating instructions for the filter types
   ( filter_refid
   | filter_auth_simple
   | filter_backend_test
   | filter_bounce
   | filter_frontend_net
   | filter_http_file
   | filter_log
   | filter_multi
   | filter_query_rewrite
   | filter_virt_db
   | filter_z3950_client
   )

18 years agoadded first shot on relaxng schema for metaproxy
Marc Cromme [Fri, 6 Oct 2006 14:28:26 +0000 (14:28 +0000)]
added first shot on relaxng schema for metaproxy
still need to resolve ambiguity in schema

18 years agoprogressing slowly
Marc Cromme [Thu, 5 Oct 2006 20:19:50 +0000 (20:19 +0000)]
progressing slowly

18 years agorecord transformation - encoding of z3950 present package schema and elemname
Marc Cromme [Thu, 5 Oct 2006 12:17:24 +0000 (12:17 +0000)]
record transformation - encoding of z3950 present package schema and elemname
still need to apply correct transformations when presentresponse arrives

18 years agocomputing backend record syntax and elementset name/schema
Marc Cromme [Wed, 4 Oct 2006 14:04:00 +0000 (14:04 +0000)]
computing backend record syntax and elementset name/schema
added helper functions for this computation
added Z3950 package logging of syntax and element set name

18 years agoadded xml ressources - most notably the LOC marc21-toXYZ stylesheets
Marc Cromme [Wed, 4 Oct 2006 11:21:47 +0000 (11:21 +0000)]
added xml ressources - most notably the LOC marc21-toXYZ stylesheets
added correct reading of filter_record_transform XML config files
still need to program record conversion in filter_record_transform

18 years agoadded scaffolding for a Z3950 present record transform filter.
Marc Cromme [Tue, 3 Oct 2006 14:04:22 +0000 (14:04 +0000)]
added scaffolding for a Z3950 present record transform filter.
much to do yet

18 years agomore diagnostics added
Marc Cromme [Tue, 3 Oct 2006 12:31:26 +0000 (12:31 +0000)]
more diagnostics added
scan operation roughly implemented, but protected by diagnostics for now

18 years agofactorizing HTTP specific code out of SRU2Z3950 filter into utils.hpp
Marc Cromme [Tue, 3 Oct 2006 07:57:40 +0000 (07:57 +0000)]
factorizing HTTP specific code out of SRU2Z3950 filter into utils.hpp
correcting record cound requested by present - offset one error corrected
do not request any present of z3950 record out of known range

18 years agofactorizing http utils and sru utild code out of SRUtoZ3959 filter and into util...
Marc Cromme [Mon, 2 Oct 2006 13:44:48 +0000 (13:44 +0000)]
factorizing http utils and sru utild code out of SRUtoZ3959 filter and into util.hpp and sru_util.hpp

18 years agosending explain even when decoding of SRU package failed.
Marc Cromme [Mon, 2 Oct 2006 12:17:54 +0000 (12:17 +0000)]
sending explain even when decoding of SRU package failed.
protecting segfaults by checking pointer to Z_SRW_explainRequest argument

18 years agoadded socket listen_host and listen_port to Origin class
Marc Cromme [Mon, 2 Oct 2006 12:01:06 +0000 (12:01 +0000)]
added socket listen_host and listen_port to Origin class
added parsing of HTTP server_host and server_port
added use of HTTP server_host and server_port in SRU short explain

18 years agocleaning code
Marc Cromme [Fri, 29 Sep 2006 12:24:49 +0000 (12:24 +0000)]
cleaning code
clean implementation of filter::Log::Impl as real Pimpl scenario

18 years agocode cleanup
Marc Cromme [Fri, 29 Sep 2006 09:48:35 +0000 (09:48 +0000)]
code cleanup
renamed true PIMPL implementation SRUtoZ3950::Rep to SRUtoZ3950::Impl
updated true PIMPL Template::Impl

18 years agoadding better browser switches to make rules
Marc Cromme [Fri, 29 Sep 2006 09:43:56 +0000 (09:43 +0000)]
adding better browser switches to make rules

18 years agoadded make firefox , make galeon ... targets to display metaproxy doxygen docs
Marc Cromme [Fri, 29 Sep 2006 08:57:15 +0000 (08:57 +0000)]
added make firefox , make galeon ... targets to display metaproxy doxygen docs

18 years agocode cleanup, replaced class name Virt_db with VirtualDB
Marc Cromme [Fri, 29 Sep 2006 08:42:47 +0000 (08:42 +0000)]
code cleanup, replaced class name Virt_db with VirtualDB
moved general helper functions from sru filter to util.cpp and util.hpp

18 years agocleaning code, changed Class name Backend_test to BackendTest to adher to naming...
Marc Cromme [Thu, 28 Sep 2006 11:56:54 +0000 (11:56 +0000)]
cleaning code, changed Class name Backend_test to BackendTest to adher to naming conventions

18 years agotest suite for sru_to_z3950 filter added. It is very uncomplete, and needs much more...
Marc Cromme [Thu, 28 Sep 2006 10:38:00 +0000 (10:38 +0000)]
test suite for sru_to_z3950 filter added. It is very uncomplete, and needs much more work

18 years agoadded test suite for bounce filter
Marc Cromme [Thu, 28 Sep 2006 10:33:04 +0000 (10:33 +0000)]
added test suite for bounce filter

18 years agoAdded filter_sru_to_z3950 + sru_util to list of objects.
Adam Dickmeiss [Wed, 27 Sep 2006 12:06:55 +0000 (12:06 +0000)]
Added filter_sru_to_z3950 + sru_util to list of objects.

18 years agofactoring SRU helper utilities into seperate files
Marc Cromme [Tue, 26 Sep 2006 13:15:33 +0000 (13:15 +0000)]
factoring SRU helper utilities into seperate  files

18 years agoadded header file
Marc Cromme [Tue, 26 Sep 2006 13:04:07 +0000 (13:04 +0000)]
added header file

18 years agorestructuring og Origin Class into it's own header files
Marc Cromme [Tue, 26 Sep 2006 13:02:50 +0000 (13:02 +0000)]
restructuring og Origin Class into it's own header files

18 years agoadded simple explain facility to sru-to-z3950 filter, also added server host and...
Marc Cromme [Tue, 26 Sep 2006 11:37:08 +0000 (11:37 +0000)]
added simple explain facility to sru-to-z3950 filter, also added server host and port information to Origin class, which is needed to transport the frontend server IP and port numbers.
Still missing actually filling out these values in the filter_frontend_net.

18 years agoremoved final logging instruction after virtual DB filter
Marc Cromme [Tue, 26 Sep 2006 11:33:40 +0000 (11:33 +0000)]
removed final logging instruction after virtual DB filter

18 years agoprotecting from derefenecing empty pointers
Marc Cromme [Fri, 22 Sep 2006 14:13:03 +0000 (14:13 +0000)]
protecting from derefenecing empty pointers

18 years agodiagnosics added for present operation.
Marc Cromme [Fri, 22 Sep 2006 14:09:27 +0000 (14:09 +0000)]
diagnosics added for present operation.
diagnostics added for empty queries.
still need to add correct diagnostics for init and search part of
searchRetrieve, as well as diagnostics for wrong query parsing.

18 years agofetching records correctly, honoring recordPacking = xml/string and
Marc Cromme [Fri, 22 Sep 2006 11:11:17 +0000 (11:11 +0000)]
fetching records correctly, honoring recordPacking = xml/string and
recordSchema translation to Z3950 elementset

18 years agoprinting diagnostics messages
Marc Cromme [Thu, 21 Sep 2006 11:45:00 +0000 (11:45 +0000)]
printing diagnostics messages

18 years agoadded correct SRU diagnostics when SRU package decoding fails
Marc Cromme [Thu, 21 Sep 2006 11:43:41 +0000 (11:43 +0000)]
added correct SRU diagnostics when SRU package decoding fails
added correct SRU diagnostics when resultSetTTL or sortKeys or
   recordXPath parameter is set during searchRetrieve
missing translation from Z39350 search and present diagnostics to SRU
   equivalents

18 years agoadded output formatting for SRW response object
Marc Cromme [Wed, 20 Sep 2006 15:09:45 +0000 (15:09 +0000)]
added output formatting for SRW response object

18 years agosending SRU searchRetrieve and scan response object. Still needs to
Marc Cromme [Wed, 20 Sep 2006 15:08:27 +0000 (15:08 +0000)]
sending SRU searchRetrieve and scan response object. Still needs to
add records and diagnostics into SRW response

18 years agoparsing of SRW request packages, and sending of Z3950 init, search and present almost...
Marc Cromme [Tue, 19 Sep 2006 13:50:17 +0000 (13:50 +0000)]
parsing of SRW request packages, and sending of Z3950 init, search and present almost finished. Missing parsing of Z3950 packages and building of SRW response packages.

18 years agoadded checking of pointers before dereferencing
Marc Cromme [Mon, 18 Sep 2006 10:25:00 +0000 (10:25 +0000)]
added checking of pointers before dereferencing

18 years agosending correct searchRequest packages to Z3950 backend
Marc Cromme [Fri, 15 Sep 2006 14:18:25 +0000 (14:18 +0000)]
sending correct searchRequest packages to Z3950 backend
sending correct presentRequest packages to Z3950 backend
missing parsing of presentResponse

18 years agoadded logging after vir-db filter, added correct initializing and checking of init...
Marc Cromme [Thu, 14 Sep 2006 23:07:35 +0000 (23:07 +0000)]
added logging after vir-db filter, added correct initializing and checking of init packages, started search

18 years agoz3950 initRequest and close packages working, missing search, present,
Marc Cromme [Thu, 14 Sep 2006 20:29:50 +0000 (20:29 +0000)]
z3950 initRequest and close packages working, missing search, present,
scan, sort, ..

18 years agopretty formatting initRequest printing
Marc Cromme [Thu, 14 Sep 2006 19:56:51 +0000 (19:56 +0000)]
pretty formatting initRequest printing

18 years agosuperflous member int m_data removed from Package class
Marc Cromme [Thu, 14 Sep 2006 19:53:57 +0000 (19:53 +0000)]
superflous member int m_data removed from Package class

18 years agocontinued iplementation of SRU searchRetrieve, added SRU decoding
Marc Cromme [Thu, 14 Sep 2006 11:51:08 +0000 (11:51 +0000)]
continued iplementation of SRU searchRetrieve, added SRU decoding

18 years agoadded code for SRU GET/POST/SOAP determination.
Marc Cromme [Wed, 13 Sep 2006 21:49:34 +0000 (21:49 +0000)]
added code for SRU GET/POST/SOAP determination.
TODO: there is a side effect in
z_HTTP_header_lookup(http_req.headers, "Content-Type")
which eats all headers, leaving http_req.headers=0. Needs fixing  in YAZ source

18 years agoadded more code to do protocol detection, experimented with different SRU and SRW...
Marc Cromme [Wed, 13 Sep 2006 14:56:07 +0000 (14:56 +0000)]
added more code to do protocol detection, experimented with different SRU and SRW decondings from YAZ. Much needs to be done ..

18 years agoadded first files for SRU to Z3950 filter module, much more work needed
Marc Cromme [Wed, 13 Sep 2006 10:43:21 +0000 (10:43 +0000)]
added first files for SRU to Z3950 filter module, much more work needed

18 years agofirst shot at queryparsing experiments added
Marc Cromme [Mon, 11 Sep 2006 12:46:58 +0000 (12:46 +0000)]
first shot at queryparsing experiments added

18 years agoexperimental query info and retrieval info config files added
Marc Cromme [Mon, 11 Sep 2006 08:40:36 +0000 (08:40 +0000)]
experimental query info and retrieval info config files added

18 years agoadderet extra doc info on bounce filter
Marc Cromme [Fri, 8 Sep 2006 14:12:28 +0000 (14:12 +0000)]
adderet extra doc info on bounce filter

18 years agoAdded ideas on expressing general CQL-PQF-CCL mappings. Not finished yet.
Marc Cromme [Fri, 8 Sep 2006 12:52:02 +0000 (12:52 +0000)]
Added ideas on expressing general CQL-PQF-CCL mappings. Not finished yet.

18 years agoFix NULL-reference due to diagnosticInformation being optional
Adam Dickmeiss [Thu, 7 Sep 2006 12:12:21 +0000 (12:12 +0000)]
Fix NULL-reference due to diagnosticInformation being optional

18 years agoadded recordinfo, as internal record conversion format for Metaproxy and Yaz frontends
Marc Cromme [Thu, 7 Sep 2006 11:48:08 +0000 (11:48 +0000)]
added recordinfo, as internal record conversion format for Metaproxy and Yaz frontends

18 years agoAdded filter_bounce to list of objects
Adam Dickmeiss [Thu, 7 Sep 2006 11:15:35 +0000 (11:15 +0000)]
Added filter_bounce to list of objects

18 years agoPut manual pages in reference section of main Docbook. Ensure metaproxy(1)
Adam Dickmeiss [Thu, 7 Sep 2006 10:00:43 +0000 (10:00 +0000)]
Put manual pages in reference section of main Docbook. Ensure metaproxy(1)
manual page is first in list.