[
http://mifosforge.jira.com/browse/MIFOS-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kojo Gambrah-Sampaney updated MIFOS-2916:
-----------------------------------------
Description:
Test datasets do not get generated and upgraded automatically.
The objective of this task is to write a class that will implement the ff
algorithm;
Determine the latest database version
Read dataset version text file in resources dir
Compare latest db version to version text file. If no difference, script is
done.
If datasets have lower version;
* Retrieve the latest_schema.sql file for dataset version
* Copy and rename the file to latest_schema_last.sql
* Run DataSetUpgradeUtil.java
* Update latest_dataset_version file
Reference: http://www.mifos.org/developers/wiki/DataSetUpgradeUtil
Dev tasks:
* define algorithm
* build methods - approx. 8 methods
* test the class
* demonstrate, pair with developer to demonstrate work
* pair with AdamM to write maven plugin
was:
Test datasets do not get generated and upgraded automatically.
The objective of this task is to;
Obtain the appropriate(newest) latest-schema.sql file
Rename the latest-schema.sql file to latest-schema_last.sql
Run the DataSetUpgradeUtil program
Integrate this process into the general database upgrade procedure
Reference: http://www.mifos.org/developers/wiki/DataSetUpgradeUtil
Dev tasks:
* define algorithm
* build methods - approx. 8 methods
* test the class
* demonstrate, pair with developer to demonstrate work
* pair with AdamM to write maven plugin
> Automatic upgrade of test data
> ------------------------------
>
> Key: MIFOS-2916
> URL: http://mifosforge.jira.com/browse/MIFOS-2916
> Project: mifos
> Issue Type: Task
> Components: Build and Testing
> Affects Versions: Unscheduled
> Reporter: Kojo Gambrah-Sampaney
> Assignee: Kojo Gambrah-Sampaney
> Fix For: Unscheduled
>
>
> Test datasets do not get generated and upgraded automatically.
> The objective of this task is to write a class that will implement the ff
> algorithm;
>
> Determine the latest database version
> Read dataset version text file in resources dir
> Compare latest db version to version text file. If no difference, script is
> done.
> If datasets have lower version;
> * Retrieve the latest_schema.sql file for dataset version
> * Copy and rename the file to latest_schema_last.sql
> * Run DataSetUpgradeUtil.java
> * Update latest_dataset_version file
> Reference: http://www.mifos.org/developers/wiki/DataSetUpgradeUtil
> Dev tasks:
> * define algorithm
> * build methods - approx. 8 methods
> * test the class
> * demonstrate, pair with developer to demonstrate work
> * pair with AdamM to write maven plugin
--
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
------------------------------------------------------------------------------
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues