Upgrade WebServices REST module for Bahmni core

Description

Context:

  • Bahmni is using openmrs core 2.1.1

  • OpenMRS released a security advisory for upgrading WebServices REST to 2.24.0

  • 2.24.0 has a dependency on class "org.openmrs.CodedOrFreeText" (during testing), which was introduced in OpenMRS 2.2

  • Bahmni core used to compile with Webservices-REST:2.17

Issues

  • for some reason, Webservices-REST:2.17 is no longer available in openmrs maven repos.

  • upgrading bahmni-core dependency to WS:2.24.0 fails because of "NoClassDefFoundError"

Soltuion

  • upgrade bahmnicore dependency of WS:2.24.0

  • introduce a dummy class "CodedOrFreeText.java" under

    • bahmnicore-api/src/test/java/org/openmrs/

    • openmrs-elis-atomfeed-client-omod/src/test/java/org/openmrs/

    • reference-data/omod/src/test/java/org/openmrs/

 

Integration tests should pass

  • mvn clean install -PIT

 

Status

Assignee

Unassigned

Reporter

Angshuman Sarkar

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Components

Sprint

Fix versions

Configure