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

Build: #765 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

  • Tom Price <tom@codedinternet.com>

    Tom Price <tom@codedinternet.com> 4652b1e7ba7f8ee0e35cc306b517da53061c360c

    RESTWS-721: Fix modules producing ref errors due to swagger exclusion (#343)
    * RESTWS-720 Diagnose the fault as a nullPointerException and add a test to confirm.

    Test simply calls the lower level method that throws the exception so
    will pass once the fix is implemented.
    Will also test for future regressions of the same issue.

    * RESTWS-721 Add a test to fail at calling the methods necessary for correct definition generation.

    * RESTWS-721 Remove legacy code to enable definition generation for unrelated resources.

    Code appears to have no function due to the interface type on the parameter.

    * Add missing license headers

    * Fix a caching issue when running multiple tests together.

    Was developed using standalone runs for speed.

    • omod-2.0/src/test/java/org/openmrs/module/unrelatedtest/UnrelatedGenericChild.java (version 4652b1e7ba7f8ee0e35cc306b517da53061c360c)
    • omod-2.0/src/test/java/org/openmrs/module/unrelatedtest/rest/resource/UnrelatedGenericChildResource.java (version 4652b1e7ba7f8ee0e35cc306b517da53061c360c)
    • omod-2.0/src/test/java/org/openmrs/module/webservices/rest/doc/SwaggerSpecificationCreatorTest.java (version 4652b1e7ba7f8ee0e35cc306b517da53061c360c)
    • omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/SwaggerSpecificationCreator.java (version 4652b1e7ba7f8ee0e35cc306b517da53061c360c)