[koha-commits] main Koha release repository branch master updated. v3.22.00-1527-g9d31efa
Git repo owner
gitmaster at git.koha-community.org
Wed May 4 15:44:05 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 9d31efa2b57caf239e6d974600036efb07196268 (commit)
via 70928807d83a8156b77396359b18579d6c7677eb (commit)
from 7b6a9f3be177da6606a425b749201da951628528 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9d31efa2b57caf239e6d974600036efb07196268
Author: Julian Maurice <julian.maurice at biblibre.com>
Date: Tue Mar 24 11:30:00 2015 +0100
Bug 13903: (QA followup) change routes to /holds
GET /holds?borrowernumber=X (list)
POST /holds (create)
PUT /holds/{reserve_id} (update)
DELETE /holds/{reserve_id} (delete)
Unit tests in t/db_dependent/api/v1/holds.t
Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 70928807d83a8156b77396359b18579d6c7677eb
Author: Julian Maurice <julian.maurice at biblibre.com>
Date: Tue Mar 24 11:30:00 2015 +0100
Bug 13903: Add API routes to list, create, update, delete reserves
GET /reserves?borrowernumber=X (list)
POST /reserves (create)
PUT /reserves/{reserve_id} (update)
DELETE /reserves/{reserve_id} (delete)
Unit tests in t/db_dependent/api/v1/reserves.t
Test plan:
1. Apply patch
2. Run unit tests
3. Play with the API with your favorite REST client, using documentation
in the swagger.json file
4. Try to make reserves until the maximum number of reserves for a user
is reached (you should have a 403 error)
Depends on bug 15126
Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/REST/V1/Hold.pm | 161 ++++++++++++++++++++++++++++++++++++++++
api/v1/definitions/hold.json | 63 ++++++++++++++++
api/v1/definitions/holds.json | 4 +
api/v1/definitions/index.json | 2 +
api/v1/swagger.json | 165 +++++++++++++++++++++++++++++++++++++++++
t/db_dependent/api/v1/holds.t | 154 ++++++++++++++++++++++++++++++++++++++
6 files changed, 549 insertions(+)
create mode 100644 Koha/REST/V1/Hold.pm
create mode 100644 api/v1/definitions/hold.json
create mode 100644 api/v1/definitions/holds.json
create mode 100644 t/db_dependent/api/v1/holds.t
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list