metaproxy-moved-to-github.git
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.

18 years agoadded example zeerex with additional record converting, CQL converting, and other...
Marc Cromme [Thu, 7 Sep 2006 09:52:23 +0000 (09:52 +0000)]
added example zeerex with additional record converting, CQL converting, and other stuff to be used by many Metaproxy modules. The
 <retrievalInfo xmlns="http://indexdata.com/yaz/2.28">
elemnt is expecially designed for YAZ GRFS fromtend configuration.
Adam will have a look and see if he easily can update the YAZ code to reflect this, this means that Sebastian needs to change some of his customers config files.

18 years agoComment briefly outlining P2P changes.
Mike Taylor [Thu, 7 Sep 2006 09:42:53 +0000 (09:42 +0000)]
Comment briefly outlining P2P changes.

18 years agoMake all *.html part of dist/install to simplify HTML files list maint
Adam Dickmeiss [Thu, 7 Sep 2006 09:00:09 +0000 (09:00 +0000)]
Make all *.html part of dist/install to simplify HTML files list maint

18 years agoupdated XML schema to accept bounce filter
Marc Cromme [Thu, 31 Aug 2006 14:18:04 +0000 (14:18 +0000)]
updated XML schema to accept bounce filter

18 years agoCoded bounce filter which returns all packages unprocessed, not sending any package...
Marc Cromme [Thu, 31 Aug 2006 13:01:09 +0000 (13:01 +0000)]
Coded bounce filter which returns all packages unprocessed, not sending any package further down the row. It sets Z3959 packages to Z_Close, and HTTP_Request packages to HTTP_Response err code 400 packages, and adds suitable bounce message.
Added bounce filter at end of each filter chain config.xml to prevent infinite hanging of for example HTTP requests when only Z3950 client filter is configured.

18 years agoremoved superflous comment
Marc Cromme [Thu, 31 Aug 2006 12:56:40 +0000 (12:56 +0000)]
removed superflous comment

18 years agoadded close diagnostic information
Marc Cromme [Thu, 31 Aug 2006 12:55:54 +0000 (12:55 +0000)]
added close diagnostic information

18 years agoadded logging of extended services packages - requests and responses
Marc Cromme [Wed, 30 Aug 2006 15:56:54 +0000 (15:56 +0000)]
added logging of extended services packages - requests and responses

18 years agofinalized logging output format, using ISO date form and duratio in seconds.fraction...
Marc Cromme [Wed, 30 Aug 2006 14:37:11 +0000 (14:37 +0000)]
finalized logging output format, using ISO date form and duratio in seconds.fraction format

18 years agoAdded gduutil object. Using newer version of libxml2 utils
Adam Dickmeiss [Wed, 30 Aug 2006 13:18:44 +0000 (13:18 +0000)]
Added gduutil object. Using newer version of libxml2 utils

18 years agoAdded origin to list of objects
Adam Dickmeiss [Wed, 30 Aug 2006 12:30:02 +0000 (12:30 +0000)]
Added origin to list of objects

18 years agoChange forms of get_vhost functions.. get_vhost_otherinfo returns
Adam Dickmeiss [Wed, 30 Aug 2006 12:27:34 +0000 (12:27 +0000)]
Change forms of get_vhost functions.. get_vhost_otherinfo returns
vhost info. remove_vhost_otherinfo removes and returns (old) value.

18 years agoFixed bug #645: Filter Frontend_net must set proper Origin value.
Adam Dickmeiss [Wed, 30 Aug 2006 10:48:52 +0000 (10:48 +0000)]
Fixed bug #645: Filter Frontend_net must set proper Origin value.
Don't use inline for Origin class stuff. Move Origin stuff to separate
source file.

18 years agotarget information removed from logging and from package class
Marc Cromme [Wed, 30 Aug 2006 09:56:41 +0000 (09:56 +0000)]
target information removed from logging and from package class

18 years agostreaming of package target info in operator<<
Marc Cromme [Wed, 30 Aug 2006 08:49:13 +0000 (08:49 +0000)]
streaming of package target info in operator<<

18 years agoadded m_target member to keep track of target information. This is to
Marc Cromme [Wed, 30 Aug 2006 08:44:29 +0000 (08:44 +0000)]
added m_target member to keep track of target information. This is to
be used in filters and logging

18 years agoadded logging support for init, search , present, scan and close
Marc Cromme [Wed, 30 Aug 2006 08:35:47 +0000 (08:35 +0000)]
added logging support for init, search , present, scan and close

18 years agoadded output streaming operators
Marc Cromme [Wed, 30 Aug 2006 08:35:03 +0000 (08:35 +0000)]
added output streaming operators

18 years agouse explicit #include <iostream>
Marc Cromme [Tue, 29 Aug 2006 10:34:32 +0000 (10:34 +0000)]
use explicit #include <iostream>

18 years agoPackage logging of Z_GDU structs re-factored into own operator<<
Marc Cromme [Tue, 29 Aug 2006 10:06:31 +0000 (10:06 +0000)]
Package logging of Z_GDU structs re-factored into own operator<<

18 years agostarted access logging of Z39.50 packages, partially done init, search
Marc Cromme [Mon, 28 Aug 2006 21:40:24 +0000 (21:40 +0000)]
started access logging of Z39.50 packages, partially done init, search
and present. Still need to do error/diagnostic logging right for
these. All other package types still missing.

18 years agoreporting linked YAZPP version
Marc Cromme [Wed, 23 Aug 2006 11:36:13 +0000 (11:36 +0000)]
reporting linked YAZPP version

18 years agoChange the way NamePlusRecord struct is modified for database fixup.
Adam Dickmeiss [Wed, 9 Aug 2006 12:27:18 +0000 (12:27 +0000)]
Change the way NamePlusRecord struct is modified for database fixup.

18 years agoRemove 'Fix up:' message
Adam Dickmeiss [Tue, 1 Aug 2006 13:24:53 +0000 (13:24 +0000)]
Remove 'Fix up:' message

18 years agoFix leak in Package::copy_filter
Adam Dickmeiss [Tue, 1 Aug 2006 13:03:41 +0000 (13:03 +0000)]
Fix leak in Package::copy_filter

18 years agoUpdate Windows makefile to use yaz-config output METAPROXY.1.0.6
Adam Dickmeiss [Fri, 7 Jul 2006 07:10:00 +0000 (07:10 +0000)]
Update Windows makefile to use yaz-config output

18 years agoMetaproxy 1.0.6
Adam Dickmeiss [Fri, 7 Jul 2006 06:37:22 +0000 (06:37 +0000)]
Metaproxy 1.0.6

18 years agoNews
Adam Dickmeiss [Fri, 7 Jul 2006 06:32:47 +0000 (06:32 +0000)]
News

18 years agoOmit check for Libxslt. YAZ does it for us
Adam Dickmeiss [Thu, 6 Jul 2006 14:02:20 +0000 (14:02 +0000)]
Omit check for Libxslt. YAZ does it for us

18 years agoIgnore ChangeLog
Adam Dickmeiss [Thu, 6 Jul 2006 14:02:05 +0000 (14:02 +0000)]
Ignore ChangeLog

18 years agoProper database fixup for virt_db+multi in case of multiple databases.
Adam Dickmeiss [Thu, 6 Jul 2006 13:55:42 +0000 (13:55 +0000)]
Proper database fixup for virt_db+multi in case of multiple databases.

18 years agoHandle close in filter virt_db
Adam Dickmeiss [Wed, 28 Jun 2006 22:46:58 +0000 (22:46 +0000)]
Handle close in filter virt_db

18 years agoFix dist-hook so that make distcheck works
Adam Dickmeiss [Wed, 28 Jun 2006 21:55:40 +0000 (21:55 +0000)]
Fix dist-hook so that make distcheck works

18 years agoRewrite sections concerning licence.
Mike Taylor [Wed, 21 Jun 2006 15:08:58 +0000 (15:08 +0000)]
Rewrite sections concerning licence.

18 years agoGenerate ChangeLog in make dist rule
Adam Dickmeiss [Wed, 21 Jun 2006 14:37:52 +0000 (14:37 +0000)]
Generate ChangeLog in make dist rule

18 years agoVersion 1.0.5.1
Adam Dickmeiss [Wed, 21 Jun 2006 14:37:04 +0000 (14:37 +0000)]
Version 1.0.5.1

18 years agoUpdate news about log filter
Adam Dickmeiss [Wed, 21 Jun 2006 14:35:00 +0000 (14:35 +0000)]
Update news about log filter

18 years agoAnnotate filter_z3950_client more
Adam Dickmeiss [Wed, 21 Jun 2006 14:34:16 +0000 (14:34 +0000)]
Annotate filter_z3950_client more

18 years agoLog filter writes by default to stdout again.
Adam Dickmeiss [Wed, 21 Jun 2006 12:50:35 +0000 (12:50 +0000)]
Log filter writes by default to stdout again.

18 years agoFix compilation for VS 2005
Adam Dickmeiss [Wed, 21 Jun 2006 10:06:07 +0000 (10:06 +0000)]
Fix compilation for VS 2005

18 years agoImplement basic configuration of session_shared.
Adam Dickmeiss [Wed, 21 Jun 2006 09:16:53 +0000 (09:16 +0000)]
Implement basic configuration of session_shared.

18 years agoWork on filter log. Added support for init-options logging. Category
Adam Dickmeiss [Tue, 20 Jun 2006 22:29:38 +0000 (22:29 +0000)]
Work on filter log. Added support for init-options logging. Category
"session", "apdu", may be specified in log config (to cover both
request and response respectively).

18 years agoWork on session_shared - scan support, better error handling, Z39.50
Adam Dickmeiss [Tue, 20 Jun 2006 22:27:45 +0000 (22:27 +0000)]
Work on session_shared -  scan support, better error handling, Z39.50
options handling.

18 years agoFunctional session_shared module. Require yazpp 1.0.1.
Adam Dickmeiss [Mon, 19 Jun 2006 23:54:01 +0000 (23:54 +0000)]
Functional session_shared module. Require yazpp 1.0.1.

18 years agoAdded config-shared1.xml
Adam Dickmeiss [Mon, 19 Jun 2006 13:29:30 +0000 (13:29 +0000)]
Added config-shared1.xml

18 years agoUpdates for new log filter facilities.
Adam Dickmeiss [Mon, 19 Jun 2006 13:27:49 +0000 (13:27 +0000)]
Updates for new log filter facilities.

18 years agoLog filter can be configured to write to a given file using 'filename'
Adam Dickmeiss [Mon, 19 Jun 2006 13:08:00 +0000 (13:08 +0000)]
Log filter can be configured to write to a given file using 'filename'
element. Also information category can be specified with 'category'.
If filename is omitted, the log filter writes to metaproxy.log.
See etc/config5.xml for example.

18 years agoClearer group captions
Mike Taylor [Fri, 16 Jun 2006 14:01:58 +0000 (14:01 +0000)]
Clearer group captions
Remove commented-out multis.

18 years agoNew (not finished)
Mike Taylor [Fri, 16 Jun 2006 10:31:42 +0000 (10:31 +0000)]
New (not finished)

18 years agolicense.html, not licence.html
Adam Dickmeiss [Sat, 10 Jun 2006 14:32:19 +0000 (14:32 +0000)]
license.html, not licence.html

18 years agoAdd LICENSE file and Refer to it from the source. Include license material
Adam Dickmeiss [Sat, 10 Jun 2006 14:29:11 +0000 (14:29 +0000)]
Add LICENSE file and Refer to it from the source. Include license material
in license chapter of the manual.

18 years agoNo PDF
Adam Dickmeiss [Fri, 9 Jun 2006 16:48:18 +0000 (16:48 +0000)]
No PDF

18 years agoMove memcmp2 to util. Change use of namespaces a little because Doxygen
Adam Dickmeiss [Fri, 9 Jun 2006 14:12:13 +0000 (14:12 +0000)]
Move memcmp2 to util. Change use of namespaces a little because Doxygen
gets confused otherwise.

18 years agoClose connection if frontend filter receives unhandled package.
Adam Dickmeiss [Fri, 9 Jun 2006 14:11:42 +0000 (14:11 +0000)]
Close connection if frontend filter receives unhandled package.

18 years agoText config-local
Mike Taylor [Thu, 8 Jun 2006 22:22:58 +0000 (22:22 +0000)]
Text config-local

18 years agoNew -- simple config using two locally hosted databases
Mike Taylor [Thu, 8 Jun 2006 22:22:49 +0000 (22:22 +0000)]
New -- simple config using two locally hosted databases
(e.g. examples/marc21 and examples/gils from the Zebra module)