[koha-commits] main Koha release repository branch master updated. v16.05.00-1263-g96a112e

Git repo owner gitmaster at git.koha-community.org
Fri Oct 28 16:44:56 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  96a112e96103c8392042da90b2104de070a3cf05 (commit)
       via  c15db78d3c26903c557b00a35bba329a4022b569 (commit)
       via  e08639129aec34d2228e08e65a0ef8ba008c6efc (commit)
       via  29ba2720043b493fc96ed4238a4f2a3a76b9192c (commit)
       via  217d0df5175b4fbd907b747d3f29bf0a1d6d2c2b (commit)
       via  ef5b32f942506c487834db4fb6db0493be7f0ea2 (commit)
      from  25adf52334917ceb6e67109a4041984dc2837e14 (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 96a112e96103c8392042da90b2104de070a3cf05
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Oct 24 13:03:16 2016 -0300

    Bug 17428: (QA followup) Fix community site in swagger file
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit c15db78d3c26903c557b00a35bba329a4022b569
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Oct 24 17:04:11 2016 +0200

    Bug 17428: (QA followup) Remove warning
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit e08639129aec34d2228e08e65a0ef8ba008c6efc
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Wed Oct 12 21:31:30 2016 +0000

    Bug 17428: [REST] best practice followup
    
    This followup alters a few area's to be aligned more closely with
    RESTfull best practices:
    
    * PUT should always be full objects, and not partial updates (use PATCH
      for partials)
    * Validate query parameters instead of blindly passing them to the model
      * Functional Change: Convert filter params from 'equality' to 'starts with'
        matching
    * Update tests to check for swagger validation errors instead of koha exceptions
    * Mark 'id' as readOnly so swagger may prevent, via validation, id
      changes.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 29ba2720043b493fc96ed4238a4f2a3a76b9192c
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Oct 11 13:26:39 2016 +0200

    Bug 17428: [REST] Koha::REST::V1::Cities introduced
    
    This patch introduces full CRUD for Koha::Cit(ies|y) classes through
    the REST api. To test, point your browser to /api/v1/cities to use
    HTTPRequester/Postman (or the like).
    
    And of course, run the unit tests:
    - Apply the patches
    - Update your minified swagger file:
      $ cd kohaclone/
      $ misc/devel/minifySwagger.pl -s api/v1/swagger/swagger.json \
                                    -d api/v1/swagger/swagger.min.json
    - Run:
      $ prove t/db_dependent/api/v1/cities.t
    => SUCCESS: Tests should return green, and no warnings.
    - Sign off :-D
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 217d0df5175b4fbd907b747d3f29bf0a1d6d2c2b
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Oct 11 13:25:14 2016 +0200

    Bug 17428: [REST] Cities swagger specification
    
    This patch adds the swagger definitions for the /cities endpoint
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit ef5b32f942506c487834db4fb6db0493be7f0ea2
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Oct 11 13:24:14 2016 +0200

    Bug 17428: [REST] Cities endpoint unit tests
    
    This patch introduces unit tests for the cities endpoint.
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 Koha/REST/V1/Cities.pm               |  136 ++++++++++++
 api/v1/swagger/definitions.json      |    3 +
 api/v1/swagger/definitions/city.json |   26 +++
 api/v1/swagger/parameters.json       |    3 +
 api/v1/swagger/parameters/city.json  |    9 +
 api/v1/swagger/paths.json            |    6 +
 api/v1/swagger/paths/cities.json     |  233 +++++++++++++++++++++
 api/v1/swagger/swagger.json          |    4 +-
 api/v1/swagger/x-primitives.json     |    5 +
 t/db_dependent/api/v1/cities.t       |  379 ++++++++++++++++++++++++++++++++++
 10 files changed, 802 insertions(+), 2 deletions(-)
 create mode 100644 Koha/REST/V1/Cities.pm
 create mode 100644 api/v1/swagger/definitions/city.json
 create mode 100644 api/v1/swagger/parameters/city.json
 create mode 100644 api/v1/swagger/paths/cities.json
 create mode 100644 t/db_dependent/api/v1/cities.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list