[Koha-bugs] [Bug 15292] New: Libris (Swedish national catalogue) item status service

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 3 16:04:39 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15292

            Bug ID: 15292
           Summary: Libris (Swedish national catalogue) item status
                    service
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: new feature
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: xarragon at gmail.com
        QA Contact: testopia at bugs.koha-community.org

In Sweden most libraries pulls their MARC records from a central repository run
by the Royal Library in Stockholm. These MARC records include a unique
identifier in control field 001 which is used to identify a particular
bibliographic entry.

Anyone can browse this online database of available works. Once an interesting
title is found the visitor can list all libraries that holds that particular
book. Once a library is selected, the status of that item can be queried in
realtime from the home page.

In order to facilitate that query the ILS must implement a handler for a
specific HTTP request. The request has a single parameter, the Libris ID of the
bibliographic entry, stored in the MARC record.

This patch adds a new ILS-DI service called GetLibrisAvailability that takes a
single string as an ID and uses Zebra/Z39.50 to search for it (Koha luckily
indexes this field by default). If found, the search result is used to locate
the entry in the SQL database to retrieve the current status of the item. This
is returned as an XML document to the central Libris server.

I need feedback on how to implement tests for Z39.50 functionality. I would
like to programmatically insert a faked work much like how TestBuilder can be
used to generate fake SQL data.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list