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

Build: #650 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 13ae813d91d0d217f9611de47b7bbf054aac7405

    Merge pull request #253 from teleivo/continue-refactor
    Refactor RestServiceImpl.initializeResources()

  • teleivo <mrteleivo@gmail.com>

    teleivo <mrteleivo@gmail.com> b2e722d08c61cacdad2e01a1f0aed27605844141

    Refactor RestServiceImpl.initializeResources()
    Refactor private method RestServiceImpl.initializeResources()

    * create private nested class ResourceMetadata to hold a Resource's
    metadata [name/supportedClass and order] spread accross
    @Resource/@SubResource
    * extract method getResourceMetadata() which returns ResourceMetadata for a
    Resource class
    * extract method isResourceToBeAdded which determines if Resource class
    * should
    be added to the resource Maps (which act as cache)

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