Issue 10401

Rework registry-persistence-service to use MyBatis Guice Module

10401
Reporter: trobertson
Assignee: kbraak
Type: Task
Summary: Rework registry-persistence-service to use MyBatis Guice Module
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2011-11-15 12:39:08.067
Updated: 2013-12-16 17:50:27.26
Resolved: 2011-11-16 16:02:58.109
        
Description: The registry-persistence-service project uses XML configuration of Mybatis.  This should be reworked to follow the checklistbank structure, where a project including the registry-persistence-service can pass in a Properties object in which the registry DB credentials can be extracted.  In addition it should be a private module, exposing only the interfaces needed for the project.

Probably a decent 1-2 days work, and requires a good understanding of Guice... not to be undertaken lightly]]>
    


Author: kbraak@gbif.org
Comment: This rework is complete. The project still relies on 2 properties files: liquibase.properties and gbrds.properties each having the same jdbc params - these should eventually be merged into 1, with the properties derived from a single properties file in registry-ws just like we do with checklistbank. 
Created: 2011-11-16 16:02:03.874
Updated: 2011-11-16 16:02:03.874


Author: kbraak@gbif.org
Comment: Issue resolved
Created: 2011-11-16 16:02:58.129
Updated: 2011-11-16 16:02:58.129