[
http://mifosforge.jira.com/browse/MIFOS-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kalyan Akella resolved MIFOS-3459.
----------------------------------
Resolution: Fixed
We recently did a spike to find out a way to implement data migration from the
Surveys/Additional Fields data model to the Questionnaire data model. After
having considered the various approaches available, (java, stored procs, ETLs
etc), we zeroed in on a Java based implementation for this migration. Here's a
brief overview of how things will be implemented in this approach...
Step 1: Create a new maven module, say questionnaire-migration and add
dependencies with mifos-webapp & mifos-questionnaire along with the other
packages.
Step 2: Load business objects from the Surveys/Additional Fields domain model
using the persistence framework used in mifos-webapp.
Step 3: Convert the business objects loaded in Step 2 to DTO/contract objects
used in mifos-questionnaire.
Step 4: Invoke the questionnaire service facade to persist the
Questions/QuestionGroups corresponding to the business objects loaded in Step 2.
(Step 4 includes both validation on the contract objects and persistence.)
We plan to package this maven module as an independent .zip file that contains
the module jars, dependent libs, batch files and documentation files. We are
yet to figure out how this application would be deployed and executed, i.e.,
whether in a tomcat container or a separate VM using programmatic loading of
the Spring context etc.
> Data Migration Spike
> ---------------------
>
> Key: MIFOS-3459
> URL: http://mifosforge.jira.com/browse/MIFOS-3459
> Project: mifos
> Issue Type: Story
> Components: Surveys/PPI
> Affects Versions: Release E
> Reporter: Tejus Datta
> Assignee: Kalyan Akella
> Priority: Major
> Fix For: Release E - Iteration 5
>
>
> To Be Defined
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues