]> git.koha-community.org Git - koha.git/commit
Bug 14939: Modularize OAI Server existing classes
authorFrédéric Demians <f.demians@tamil.fr>
Fri, 2 Oct 2015 07:18:18 +0000 (09:18 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 31 Dec 2015 15:15:05 +0000 (15:15 +0000)
commit00bb0b6d57f418f51c595eea33cd9da264481eb7
tree31e9e94058d31c74750480b05b1c313eacb53b5a
parent7d3772503c1b361b4f3f3e8380d39992730d40b3
Bug 14939: Modularize OAI Server existing classes

Koha OAI server has been done in one unique .pl file because there
wasn't any object model or rules in the Koha project when it has been
coded. This patch modularized existing classes, putting each class in a
separate file in Koha::OAI::Server namespace. UT begining.

Add new dependency: Capture::Tiny

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
OAI server moduralized succefully. Works for Debian Jessie and
Wheezy. Test pass successfully

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
15 files changed:
C4/Installer/PerlDependencies.pm
Koha/OAI/Server/DeletedRecord.pm [new file with mode: 0644]
Koha/OAI/Server/Description.pm [new file with mode: 0644]
Koha/OAI/Server/GetRecord.pm [new file with mode: 0644]
Koha/OAI/Server/Identify.pm [new file with mode: 0644]
Koha/OAI/Server/ListIdentifiers.pm [new file with mode: 0644]
Koha/OAI/Server/ListMetadataFormats.pm [new file with mode: 0644]
Koha/OAI/Server/ListRecords.pm [new file with mode: 0644]
Koha/OAI/Server/ListSets.pm [new file with mode: 0644]
Koha/OAI/Server/Record.pm [new file with mode: 0644]
Koha/OAI/Server/Repository.pm [new file with mode: 0644]
Koha/OAI/Server/ResumptionToken.pm [new file with mode: 0644]
debian/control
opac/oai.pl
t/db_dependent/OAI/Server.t [new file with mode: 0644]