Change By: keithwoodlock (11/Apr/13 1:53 AM)
Description: In our older product mifos 2.6.0 (not mifosx) we used libraries from spring batch to support scheduling of 'jobs' and we require similiar scheduling support on the mifosx platform.

On mifosx platform the following is some of use cases this scheduling support would be used for:
1. scheduling out-going communication such as emails or SMSs
2. scheduling running of daily/end of day calculation tasks mostly around interest calculation for loans and savings
3. scheduling running of reports etc

On mifosx we use latest version of spring framework (spring framework 3.2) which has support for scheduling through quartz - see http://static.springsource.org/spring/docs/3.2.x/spring-framework-reference/html/scheduling.html 

The TaskExecutor and TaskScheduler abstractions from spring framework 3.2 should be sufficient. If anyone has expierence in using them with or over sprng batch (http://www.springsource.org/spring-batch) we would like to hear about it.

The scope of this



We shall follow a similar approach
 spike is  to  achieve  the  most recent implementation of Batch Jobs in Mifos 2.x  following:

* Use - get spring setup so that an  existing  batch job processing support in Spring Framework  'service' can be scheduled to be invoked using spring framework  3.2  scheduling support
* Integration - The service can be just a simple 'logging service' for now for proof  of  Quartz Scheduler  concept
- Would expect the capabilty to change the schedule to another frequency or trigger the task to be executed on demand
- Would expect to be able to change the 'task' that is being executed e.g. instead of SimpleLoggingService1 been invoked, SimpleLoggingService2 is invoked 

Out of scope
 for  this is:

- We dont require these
 scheduling  capabilities to be exposed through an API or UI just yet - we can tackle this later after this spike.
- We dont require any information about the running
 of these  jobs  scheduled tasks to be persisted yet
* UI for management - If the spike is successful, we have two 'tasks' in mind that can be setup  and  monitoring of batch jobs (FUTURE)  we will add further details on these in time.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to