metaproxy-moved-to-github.git
18 years agoAllow multi filter to do re-routing based on virtual target, i.e.
Adam Dickmeiss [Wed, 18 Jan 2006 09:20:30 +0000 (09:20 +0000)]
Allow multi filter to do re-routing based on virtual target, i.e.
<target route="myroute">vtarget</target>

18 years agoFilter multi lets scan through if only one target/db is selected
Adam Dickmeiss [Tue, 17 Jan 2006 18:55:55 +0000 (18:55 +0000)]
Filter multi lets scan through if only one target/db is selected

18 years agoRemove debugging output (compiled user-register file)
Mike Taylor [Tue, 17 Jan 2006 17:58:46 +0000 (17:58 +0000)]
Remove debugging output (compiled user-register file)

18 years agoSpecifics on filters.
Mike Taylor [Tue, 17 Jan 2006 17:57:43 +0000 (17:57 +0000)]
Specifics on filters.

18 years agoAdded piggyback support for filters backend_test + multi.
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:40 +0000 (17:55 +0000)]
Added piggyback support for filters backend_test + multi.

18 years agoRemove std::out msg
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:18 +0000 (17:55 +0000)]
Remove std::out msg

18 years agoComment on extended services authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:30:49 +0000 (17:30 +0000)]
Comment on extended services authorisation.

18 years agoSupport for scan authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:24:14 +0000 (17:24 +0000)]
Support for scan authorisation.

18 years agoPer-database authorisation done at search time.
Mike Taylor [Tue, 17 Jan 2006 17:13:31 +0000 (17:13 +0000)]
Per-database authorisation done at search time.
(Scan just lets you get on with it.)

18 years agoAdd private methods.
Mike Taylor [Tue, 17 Jan 2006 17:11:45 +0000 (17:11 +0000)]
Add private methods.

18 years agoIn create_presentResponse, set status to failure for errors
Adam Dickmeiss [Tue, 17 Jan 2006 16:56:48 +0000 (16:56 +0000)]
In create_presentResponse, set status to failure for errors

18 years agoFilter backend_test does retrieval. Supports fancy USMARC records
Adam Dickmeiss [Tue, 17 Jan 2006 16:45:49 +0000 (16:45 +0000)]
Filter backend_test does retrieval. Supports fancy USMARC records
as well as piggyback.

18 years agoImplemented utilities get_init_diagnostics and get_default_diag
Adam Dickmeiss [Tue, 17 Jan 2006 16:43:22 +0000 (16:43 +0000)]
Implemented utilities get_init_diagnostics and  get_default_diag

18 years agoReturn other diagnostic if multiple vhosts is given
Adam Dickmeiss [Tue, 17 Jan 2006 16:42:28 +0000 (16:42 +0000)]
Return other diagnostic if multiple vhosts is given

18 years agoAdd authorisation information (list of accessible databases) to
Mike Taylor [Tue, 17 Jan 2006 16:09:41 +0000 (16:09 +0000)]
Add authorisation information (list of accessible databases) to
existing authentication information (username and password).

18 years agoJust store mutex as normal member in Rep
Adam Dickmeiss [Tue, 17 Jan 2006 15:08:02 +0000 (15:08 +0000)]
Just store mutex as normal member in Rep

18 years agoNew, boxes and arrows all added but no captions yet.
Mike Taylor [Tue, 17 Jan 2006 14:35:25 +0000 (14:35 +0000)]
New, boxes and arrows all added but no captions yet.

18 years agoNew
Mike Taylor [Tue, 17 Jan 2006 14:13:00 +0000 (14:13 +0000)]
New

18 years agoFilter virt_db did not pass route correctly
Adam Dickmeiss [Tue, 17 Jan 2006 13:54:54 +0000 (13:54 +0000)]
Filter virt_db did not pass route correctly

18 years agoSlightly better diagnostics
Adam Dickmeiss [Tue, 17 Jan 2006 13:54:36 +0000 (13:54 +0000)]
Slightly better diagnostics

18 years ago<filters> element is now optional.
Mike Taylor [Tue, 17 Jan 2006 13:46:52 +0000 (13:46 +0000)]
<filters> element is now optional.

18 years agoRemove empty <filters> section.
Mike Taylor [Tue, 17 Jan 2006 13:46:42 +0000 (13:46 +0000)]
Remove empty <filters> section.

18 years agoAdded yp2::util split_zurl and get_vhost_otherinfo.
Adam Dickmeiss [Tue, 17 Jan 2006 13:34:51 +0000 (13:34 +0000)]
Added yp2::util split_zurl and get_vhost_otherinfo.
For virt_db close the connection, if backend does it.. rather than
sending a search/scan response for a dead session.

18 years agoAlternative route to backend_test
Adam Dickmeiss [Tue, 17 Jan 2006 13:31:09 +0000 (13:31 +0000)]
Alternative route to backend_test

18 years agoNew, almost empty
Mike Taylor [Tue, 17 Jan 2006 11:10:30 +0000 (11:10 +0000)]
New, almost empty

18 years agoNew
Mike Taylor [Tue, 17 Jan 2006 10:43:14 +0000 (10:43 +0000)]
New

18 years agoAdditional files described.
Mike Taylor [Tue, 17 Jan 2006 10:35:12 +0000 (10:35 +0000)]
Additional files described.

18 years agoTest the zurg config.
Mike Taylor [Tue, 17 Jan 2006 10:28:38 +0000 (10:28 +0000)]
Test the zurg config.

18 years ago*** empty log message ***
robstyles [Tue, 17 Jan 2006 10:10:36 +0000 (10:10 +0000)]
*** empty log message ***

18 years agoTest commit.
robstyles [Tue, 17 Jan 2006 09:35:02 +0000 (09:35 +0000)]
Test commit.

18 years agoMore information.
Mike Taylor [Tue, 17 Jan 2006 09:26:44 +0000 (09:26 +0000)]
More information.

18 years agoUpdate config for new virt_db filter
Adam Dickmeiss [Mon, 16 Jan 2006 17:03:26 +0000 (17:03 +0000)]
Update config for new virt_db filter

18 years agoUse proper resultSetId
Adam Dickmeiss [Mon, 16 Jan 2006 17:03:09 +0000 (17:03 +0000)]
Use proper resultSetId

18 years agoFix test
Adam Dickmeiss [Mon, 16 Jan 2006 17:02:55 +0000 (17:02 +0000)]
Fix test

18 years agoAdd "auth_simple" filter.
Mike Taylor [Mon, 16 Jan 2006 16:53:37 +0000 (16:53 +0000)]
Add "auth_simple" filter.
Remove extraneous close-tag.

18 years agoAllow <filename> element's content to be any string (was NCName)
Mike Taylor [Mon, 16 Jan 2006 16:42:15 +0000 (16:42 +0000)]
Allow <filename> element's content to be any string (was NCName)

18 years agoComplete.
Mike Taylor [Mon, 16 Jan 2006 16:32:33 +0000 (16:32 +0000)]
Complete.

18 years agoUse newly added auth file.
Mike Taylor [Mon, 16 Jan 2006 16:30:06 +0000 (16:30 +0000)]
Use newly added auth file.

18 years agoNew
Mike Taylor [Mon, 16 Jan 2006 16:29:49 +0000 (16:29 +0000)]
New

18 years agoFilter virt_db returns first unsvailable database as addinfo
Adam Dickmeiss [Mon, 16 Jan 2006 16:05:50 +0000 (16:05 +0000)]
Filter virt_db returns first unsvailable database as addinfo

18 years agoFilter virt_db allows multiple databases.. Each of these is
Adam Dickmeiss [Mon, 16 Jan 2006 15:51:56 +0000 (15:51 +0000)]
Filter virt_db allows multiple databases.. Each of these is
mapped to a target. Fiter multi is able to multi search these.

18 years agoAllow <filename> within <filter> (needed with type="auth_simple")
Mike Taylor [Mon, 16 Jan 2006 15:49:27 +0000 (15:49 +0000)]
Allow <filename> within <filter> (needed with type="auth_simple")

18 years agoAdd <filename>/etc/passwd</filename> to <filter type="auth_simple">
Mike Taylor [Mon, 16 Jan 2006 15:48:57 +0000 (15:48 +0000)]
Add <filename>/etc/passwd</filename> to <filter type="auth_simple">

18 years agoPlenty of new material.
Mike Taylor [Mon, 16 Jan 2006 15:22:56 +0000 (15:22 +0000)]
Plenty of new material.
Lots of classes not yet documented.

18 years agoFormatting.
Mike Taylor [Mon, 16 Jan 2006 14:33:41 +0000 (14:33 +0000)]
Formatting.

18 years agoNew -- very, very incomplete.
Mike Taylor [Mon, 16 Jan 2006 14:33:29 +0000 (14:33 +0000)]
New -- very, very incomplete.

18 years agonew
Mike Taylor [Mon, 16 Jan 2006 13:55:22 +0000 (13:55 +0000)]
new

18 years agoComment on empty element.
Mike Taylor [Mon, 16 Jan 2006 12:29:03 +0000 (12:29 +0000)]
Comment on empty element.

18 years agoExplicit enumeration "type" attribute of <filter>
Mike Taylor [Mon, 16 Jan 2006 12:24:14 +0000 (12:24 +0000)]
Explicit enumeration "type" attribute of <filter>
Comments on not-yet-described "session_shared" and "template" filters.

18 years agoSupport for <filter type="multi">
Mike Taylor [Mon, 16 Jan 2006 12:03:11 +0000 (12:03 +0000)]
Support for <filter type="multi">
Comment regarding empty <filter type="auth_simple">
Comment regarding empty <filter type="backend_test">

18 years agoTest config3.xml
Mike Taylor [Mon, 16 Jan 2006 12:02:00 +0000 (12:02 +0000)]
Test config3.xml

18 years ago<virtual> element accepts optional "route" attribute.
Mike Taylor [Mon, 16 Jan 2006 11:33:04 +0000 (11:33 +0000)]
<virtual> element accepts optional "route" attribute.

18 years agoTest config2.xml
Mike Taylor [Mon, 16 Jan 2006 11:32:40 +0000 (11:32 +0000)]
Test config2.xml

18 years agoMake yp2 program
Adam Dickmeiss [Mon, 16 Jan 2006 11:22:56 +0000 (11:22 +0000)]
Make yp2 program

18 years agoNew -- used only for validating configuration files against schema.
Mike Taylor [Mon, 16 Jan 2006 11:21:59 +0000 (11:21 +0000)]
New -- used only for validating configuration files against schema.

18 years ago<threads> element is optional within <filter type="frontend">.
Mike Taylor [Mon, 16 Jan 2006 11:21:38 +0000 (11:21 +0000)]
<threads> element is optional within <filter type="frontend">.
This allows config0.xml to validate.

18 years agosearch+present functional for multi filter
Adam Dickmeiss [Mon, 16 Jan 2006 01:10:19 +0000 (01:10 +0000)]
search+present functional for multi filter

18 years agoConfig for filter multi
Adam Dickmeiss [Sun, 15 Jan 2006 20:03:40 +0000 (20:03 +0000)]
Config for filter multi

18 years agoAdded filter multi. init+search operational
Adam Dickmeiss [Sun, 15 Jan 2006 20:03:14 +0000 (20:03 +0000)]
Added filter multi. init+search operational

18 years agoUse FrontendPtr in virt_db filter
Adam Dickmeiss [Sat, 14 Jan 2006 08:38:57 +0000 (08:38 +0000)]
Use FrontendPtr in virt_db filter

18 years agoNew
Mike Taylor [Fri, 13 Jan 2006 16:28:00 +0000 (16:28 +0000)]
New

18 years agofix indentation
Mike Taylor [Fri, 13 Jan 2006 16:27:14 +0000 (16:27 +0000)]
fix indentation

18 years agoPut proper reference IDs in response PDUs properly.
Adam Dickmeiss [Fri, 13 Jan 2006 15:09:35 +0000 (15:09 +0000)]
Put proper reference IDs in response PDUs properly.
Re-use session in filter virt_db when that is possible.
Filter virt_db offers named result sets - even for backends
that don't support it.

18 years agoAdded check for -ldl. Libtool does not do it - sometimes
Adam Dickmeiss [Fri, 13 Jan 2006 12:46:06 +0000 (12:46 +0000)]
Added check for -ldl. Libtool does not do it - sometimes

18 years agoPut Virt_db private classes inside Virt_db scope
Adam Dickmeiss [Thu, 12 Jan 2006 14:45:04 +0000 (14:45 +0000)]
Put Virt_db private classes inside Virt_db scope

18 years agoPrepare for use-use in virt_db filter
Adam Dickmeiss [Thu, 12 Jan 2006 14:09:08 +0000 (14:09 +0000)]
Prepare for use-use in virt_db filter

18 years agoIgnore this test program
Adam Dickmeiss [Thu, 12 Jan 2006 14:08:41 +0000 (14:08 +0000)]
Ignore this test program

18 years agoAdded files and initial auth_simple filter
Adam Dickmeiss [Thu, 12 Jan 2006 10:04:34 +0000 (10:04 +0000)]
Added files and initial auth_simple filter

18 years agoClearer diagnostic.
Mike Taylor [Wed, 11 Jan 2006 17:57:38 +0000 (17:57 +0000)]
Clearer diagnostic.

18 years agoIgnore test_pipe prog
Adam Dickmeiss [Wed, 11 Jan 2006 14:59:45 +0000 (14:59 +0000)]
Ignore test_pipe prog

18 years agoImplemented yp2::xml::check_empty that serves as default
Adam Dickmeiss [Wed, 11 Jan 2006 14:58:28 +0000 (14:58 +0000)]
Implemented yp2::xml::check_empty that serves as default
configure method for filter (in which case no XML config is
allowed).

18 years agoMove methods jump_to_... and check_element_yp2 to xmlutil.
Adam Dickmeiss [Wed, 11 Jan 2006 13:13:49 +0000 (13:13 +0000)]
Move methods jump_to_... and check_element_yp2 to xmlutil.

18 years agoNamed routes for filter virt_db. Example in etc/config2.xml
Adam Dickmeiss [Wed, 11 Jan 2006 11:51:49 +0000 (11:51 +0000)]
Named routes for filter virt_db. Example in etc/config2.xml

18 years agoExtend log filter, so that message can be set
Adam Dickmeiss [Wed, 11 Jan 2006 08:53:52 +0000 (08:53 +0000)]
Extend log filter, so that message can be set

18 years agoDo not include router.hpp in filters
Adam Dickmeiss [Mon, 9 Jan 2006 21:20:15 +0000 (21:20 +0000)]
Do not include router.hpp in filters

18 years agoUse scoped_ptr for private data in FrontendNet. Allow threads to be set
Adam Dickmeiss [Mon, 9 Jan 2006 21:19:11 +0000 (21:19 +0000)]
Use scoped_ptr for private data in FrontendNet. Allow threads to be set

18 years agoAllow timeout to be specified for filter z3950_client
Adam Dickmeiss [Mon, 9 Jan 2006 18:19:09 +0000 (18:19 +0000)]
Allow timeout to be specified for filter z3950_client

18 years agoSimplify a little
Adam Dickmeiss [Mon, 9 Jan 2006 18:18:07 +0000 (18:18 +0000)]
Simplify a little

18 years agoMove real virt_db example to config1.xml. Imagined to config-imagine.xml
Adam Dickmeiss [Mon, 9 Jan 2006 15:35:18 +0000 (15:35 +0000)]
Move real virt_db example to config1.xml. Imagined to config-imagine.xml

18 years agoFilter virt_db reads XML config
Adam Dickmeiss [Mon, 9 Jan 2006 15:32:46 +0000 (15:32 +0000)]
Filter virt_db reads XML config

18 years agoQualify type with NS scope (apparently a difference between VS and GCC).
Adam Dickmeiss [Mon, 9 Jan 2006 14:47:09 +0000 (14:47 +0000)]
Qualify type with NS scope (apparently a difference between VS and GCC).

18 years agoUpdate WIN32 build.
Adam Dickmeiss [Mon, 9 Jan 2006 14:46:31 +0000 (14:46 +0000)]
Update WIN32 build.

18 years agoRemove unused code.
Adam Dickmeiss [Mon, 9 Jan 2006 13:53:13 +0000 (13:53 +0000)]
Remove unused code.

18 years agoRouterFleXML now reads XML simple config and make proper runtime
Adam Dickmeiss [Mon, 9 Jan 2006 13:43:59 +0000 (13:43 +0000)]
RouterFleXML now reads XML simple config and make proper runtime
routing. Program ex_router_flexml ../etc/config0.xml works as
expected. The router now creates a state object, RoutePos, for each
managed package. This object serves as a cursor/iterator for it.

18 years agoRouterFleXML now stores routes and filters internally.
Adam Dickmeiss [Thu, 5 Jan 2006 16:39:37 +0000 (16:39 +0000)]
RouterFleXML now stores routes and filters internally.

18 years agoIndentation
Adam Dickmeiss [Thu, 5 Jan 2006 16:39:06 +0000 (16:39 +0000)]
Indentation

18 years agoRename yp2::FilterFactory to yp2::FactoryFilter
Adam Dickmeiss [Wed, 4 Jan 2006 14:30:51 +0000 (14:30 +0000)]
Rename yp2::FilterFactory to yp2::FactoryFilter

18 years agoFurther work on filter registration in RouterFleXML
Adam Dickmeiss [Wed, 4 Jan 2006 14:15:45 +0000 (14:15 +0000)]
Further work on filter registration in RouterFleXML

18 years agoMake public yp2_filter_struct non-const. If not, the linker symbol
Adam Dickmeiss [Wed, 4 Jan 2006 11:55:31 +0000 (11:55 +0000)]
Make public yp2_filter_struct non-const. If not, the linker symbol
is screwed. Test for double dl-load in FilterFactory.

18 years agoAll filters declare a yp2_filter_struct - used for both static and
Adam Dickmeiss [Wed, 4 Jan 2006 11:19:04 +0000 (11:19 +0000)]
All filters declare a yp2_filter_struct - used for both static and
dynamic loading. RouterFlexML updated to use FilterFactory to load
modules.

18 years agoExtend close handling so that multiple requests in queue are skipped
Adam Dickmeiss [Tue, 3 Jan 2006 15:34:10 +0000 (15:34 +0000)]
Extend close handling so that multiple requests in queue are skipped
or at least stopped. Handle connect fail/timeout as well.

18 years agoHandle close of session in Z39.50 client.
Adam Dickmeiss [Mon, 2 Jan 2006 14:33:42 +0000 (14:33 +0000)]
Handle close of session in Z39.50 client.

18 years agoIgnore generated file "tstdl".
Mike Taylor [Tue, 20 Dec 2005 09:16:56 +0000 (09:16 +0000)]
Ignore generated file "tstdl".

18 years agoClose virtual targets properly when close package is received.
Adam Dickmeiss [Mon, 19 Dec 2005 08:42:59 +0000 (08:42 +0000)]
Close virtual targets properly when close package is received.

18 years agoOnly if HAVE_DL_SUPPORT is enabled the factory test for dl loaded
Adam Dickmeiss [Sun, 11 Dec 2005 17:25:59 +0000 (17:25 +0000)]
Only if HAVE_DL_SUPPORT is enabled the factory test for dl loaded
filters is executed. Note that configure has been changed, so running
buildconf.sh is necessary.

18 years agoUse boost::scoped_ptr for Log filter
Adam Dickmeiss [Sun, 11 Dec 2005 17:23:05 +0000 (17:23 +0000)]
Use boost::scoped_ptr for Log filter

18 years agoSimplify template filter a bit and annotate a little
Adam Dickmeiss [Sun, 11 Dec 2005 17:20:18 +0000 (17:20 +0000)]
Simplify template filter a bit and annotate a little

18 years agoDont try to build ex_libxml2_conf
Adam Dickmeiss [Sat, 10 Dec 2005 10:07:15 +0000 (10:07 +0000)]
Dont try to build ex_libxml2_conf

18 years agoLoadable filter support for FilterFactory using dlopen/dlsym. Only
Adam Dickmeiss [Sat, 10 Dec 2005 09:59:10 +0000 (09:59 +0000)]
Loadable filter support for FilterFactory using dlopen/dlsym. Only
works for Linux and similar systems. Added a test it in
test_filter_factory. Also extended test_filter_factory to call the
loadable filters (to ensure they are _right_).

18 years agoEnable virt db for ex_filter_frontend_net
Adam Dickmeiss [Fri, 9 Dec 2005 11:27:59 +0000 (11:27 +0000)]
Enable virt db for ex_filter_frontend_net