Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #588 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Code commits

openmrs-module-webservices.rest

  • Rafal Korytkowski

    Rafal Korytkowski 36ddda58cfcea3f569efda504956ba09d44e22f7

    Merge pull request #220 from teleivo/RESTWS-601
    RESTWS-601

  • teleivo <mrteleivo@gmail.com>

    teleivo <mrteleivo@gmail.com> c9a587df7afaa6a45079a9b13997746b2fe35427

    RESTWS-601 Add count property to the REST response data
    return a totalCount property for requests with parameter totalCount=true
    indicating the total number of records available for the requested resource and
    the given filters

    * add totalCount property to BasePageableResult if requested by
    request parameter totalCount=true
    * override BasePageableResult.getTotalCount method in AlreadyPaged and NeedsPaging
    * fix NullPointerException in RequestContext.getParameter() when its request is null
    * add tests

    • omod-common/src/main/java/org/openmrs/module/webservices/rest/web/RequestContext.java (version c9a587df7afaa6a45079a9b13997746b2fe35427)
    • omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/impl/AlreadyPaged.java (version c9a587df7afaa6a45079a9b13997746b2fe35427)
    • omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/impl/BasePageableResult.java (version c9a587df7afaa6a45079a9b13997746b2fe35427)
    • omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/impl/NeedsPaging.java (version c9a587df7afaa6a45079a9b13997746b2fe35427)
    • omod-common/src/test/java/org/openmrs/module/webservices/rest/web/RequestContextTest.java (version c9a587df7afaa6a45079a9b13997746b2fe35427)
    • omod-common/src/test/java/org/openmrs/module/webservices/rest/web/resource/impl/AlreadyPagedTest.java (version c9a587df7afaa6a45079a9b13997746b2fe35427)
    • omod-common/src/test/java/org/openmrs/module/webservices/rest/web/resource/impl/NeedsPagingTest.java (version c9a587df7afaa6a45079a9b13997746b2fe35427)