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

Build: #649 was successful Changes by teleivo <mrteleivo@gmail.com> and Daniel Kayiwa

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Code commits

openmrs-module-webservices.rest

  • Daniel Kayiwa

    Daniel Kayiwa 768ad445aa5636a62cd3420c6017db764a28ce36

    Merge pull request #252 from teleivo/RESTWS-612
    RESTWS-612 Merge inner wrapper composite key classes into one

  • teleivo <mrteleivo@gmail.com>

    teleivo <mrteleivo@gmail.com> 9fdaaef60ed82c9db2b8076465beb4ef5f1fdd86

    RESTWS-612 Merge inner wrapper composite key classes into one
    two nested classes with almost identical implementation where used as a wrapper
    class so two strings could be used as keys to the maps holding SearchHandlers.
    first string holds the supported resource of the SearchHandler and second is
    either the id or a parameter of the SearchHandler.

    * renamed one of them to CompositeSearchHandlerKey
    * first property stays supportedResource, second property is simply
    secondKey which is once populated with the SearchHandler id and
    once with the parameter names.
    * use instanceof in equals to check for null and if obj is of the same class

    • omod-common/src/main/java/org/openmrs/module/webservices/rest/web/api/impl/RestServiceImpl.java (version 9fdaaef60ed82c9db2b8076465beb4ef5f1fdd86)