https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40308

--- Comment #4 from Andreas Roussos <[email protected]> ---
Created attachment 183812
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183812&action=edit
Bug 40308: add new System Preferences for OCLC Dewey API

This patch adds four new System Preferences that control the
integration with the OCLC Dewey Linked Data API, namely:

- OCLCAPIWSKeyClientID: Stores the client ID component of your
                        OCLC API WSKey
- OCLCAPIWSKeyClientSecret: Stores the client secret component
                            of your OCLC API WSKey
- OCLCDeweyLinkedDataAPI: Basically an On/Off "switch" for the
                          lookup service
- OCLCDeweyLinkedDataLanguage: Sets the language of the DDC
                               description to be fetched

Test plan:

0) Launch either a MARC21 or a UNIMARC KTD container (MARC flavour does
   not play a role for this particular test plan), then apply this patch.

1) Run `reset_all` to force your KTD instance to load
   installer/data/mysql/mandatory/sysprefs.sql.

2) Then, visit Administration > System preferences > Web services and
   inspect the four new sysprefs under 'OCLC Dewey Linked Data API'.
   Look for typos in the descriptions, etc.

3) Then, run `updatedatabase` to test the atomic update.
   It should complete without warnings/errors.

4) Finally, visually inspect the output of `git log -p C4/UsageStats.pm`
   for errors. Notice that the System Preferences pertaining to the WSKey
   client ID and secret were *not* added for security reasons.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to