Spring version conflict for OpenMRS1.5 api jar and OpenMRS 1.8 Upgrade.

3 views
Skip to first unread message

Irfan

unread,
Sep 16, 2011, 8:50:09 AM9/16/11
to motech-ar...@googlegroups.com
Hi All,

For accessing OpenMRS database, we used openmrs-api 1.5 jar from with our application, However this caused a Spring version conflict. OpenMRS 1.5 api jar depends on Spring2.5.*. We on the other hand are using Spring 3.0.5.RELEASE in Motech platform. 

To get around this problem, we tried using a latest(1.8.2) version of the api jar. This applied the migrations on our openmrs schema without any issues. We tested this migration against restored schema from production. The api worked as expected and the newer 1.8.2 OpenMRS web interface version work flawlessly against the migrated schema.

So going forward we propose the upgrade of OpenMRS for use with Ghana-National codebase. We anyways are migrating motechmodule specific data to couched. 

-
Irfan/Puneet

Vivek Singh

unread,
Sep 19, 2011, 7:33:45 AM9/19/11
to motech-ar...@googlegroups.com
This brings the question of whether for Ghana National we should use the REST-API instead?
--
Vivek Singh | +91 98452 32929http://sites.google.com/site/petmongrels | petmongrels@twitter

Rob LaRubbio

unread,
Sep 19, 2011, 11:35:15 AM9/19/11
to motech-ar...@googlegroups.com, Vivek Singh
If we are upgrading and the REST API is available (and fully developed) I think it makes sense.   I think we would still want to create an MRS interface with MOTECH and have the OpenMRS REST be one implementation of that.  Also if/when OpenMRS upgrades their version of spring we would then have the option of using the api jar again.

-Rob

Kojo Gambrah-Sampaney

unread,
Nov 2, 2011, 8:23:36 PM11/2/11
to motech-ar...@googlegroups.com, Vivek Singh
Hi,
I have created an issue in Jira for upgrading our production environment to 1.8.2.  It is worth noting that support has ended for 1.5.0 and even 1.6.0 will be unsupported in the next few months. 

Regards,
Kojo
Reply all
Reply to author
Forward
0 new messages