GSoC2009 - Quartz Module Updates Wednesday, June 17, 2009

There are some significant progress on the scheduler module last week.


I was able to:
  • Was able to introduce the scheduler manager page in to the module.
  • Got its back and completed (deleting schedules, Executing it now, Stop/resume features).
  • Got the View Task page running without any errors.
  • modified how date/time is shown in the view Task and manager page.
  • Fine tuned the scheduling mechanism.
  • Did some QA tests on the scheduling.
Things i couldnt get done:
  • Integrate the test cases i developed.
  • Integrate the current scheduleing service to the quartz module. (most probably we wont)
Things to do this week:
  • Should finish testing the Edit/New Task page (QA test)
  • Finalize feature list of the 3 pages with Justin.
  • Finish the View Task page completely.
  • Try to integrate openMRS Jobs, replacing the hello world dummy job.
  • Deploy quartz scheduler module to labs
  • Try to implement the following user stories
  • Allow users to delete a particuler schedule
  • Allow users to stop/resumes schedules
  • Allow users to execute a task instantly

Nasty Nephews :) Saturday, June 6, 2009

People may think that its so cool to become an uncle at a early stage of life. Well it kind of is. But you may get second thoughts once in a while. My nephew is almost 9 now. And im sure anyone would go nuts if they spend just a day with him. He comes to visit me once in awhile and boy... its havoc that day at home. He will run all over the house, Will dirt all the walls by trying to do "Spiderman" (its fun to watch though). He spends a lot of time showing his "muscles" to impress everyone. And guess what? im his hero (awesome). hehehehe.

He has caught the habit of playing video games at an early stage (thanks to his heroic uncle. :P ). There are like 50kinds of games he would play almost any day he would visit me. Funny how that happens cuz he comes running after me saying "uncle.. uncle.. i want to play a video game". And i find some online flash game site and loads somewhat easy game to play. ok here's how the 50 game thing works. he "tries" to play the game for 5mins and starts saying "This ones no good. Its not that i cant play it. but its boring. Please put me another game uncle...". Then i spend another 15mins trying to find a game he could possibly play. And thats a for loop which iterates infinitely until his mom comes and take him home. :D. I found out that the exception occurs in the for loop after 50 or so iterations.

But really Its fun to have a brat running around doing funny, annoying things which i used to do when i was at his age. :)

GSoC2009 - Quartz Module Updates Friday, June 5, 2009

It has been a tough week i can tell you. Finding my way through OpenMRS modules took some late hours from my day, but i think i can safely say that the storm is passing. I was able to successfully integrated quartz to a module.

Things ive been doing the past week:

  • Integrated Quartz sql script to the sqldiff.xml.
  • Initialized Quartz scheduler on module startup and stopped it on shutdown.
  • Created a Form, Controller with validators for users to create schedules.
  • Successfully developed and integrated scheduling mechanism for RunOnce, Seconds, Hours, Daily to the module.
Although ive not discussed this weeks tasks list with justin. Im hoping to:
  • integrate test cases for the Quartz service which ive done in a separate webapp.
  • refactor the current implementation to work with the existing scheduler service and TaskDefinition.
  • Fine tune the scheduling mechanism.
  • Do some thorough testing through running the module.
I feel like im not updating the blog regularly. Feel a bit guilty about that but those arent without reasons too. Ill probably have to put more attention in documenting what im doing.

possible road blocks i may face:
  • My music playlist running out while working on openmrs.
  • Figuring out how to write test cases in openmrs modules.
  • Getting form details persisted inside quartz tables and retrieving them back.