IRC Chat : 2011-11-14 - OpenMRS

01:24:46 *** nickwilkie has joined #openmrs
01:30:24 *** nickwilkie has quit IRC
02:40:42 *** Mkop has quit IRC
02:46:12 *** djazayeri has joined #openmrs
02:46:12 *** ChanServ sets mode: +o djazayeri
02:56:04 *** djazayeri1 has joined #openmrs
02:56:04 *** djazayeri has quit IRC
03:28:01 *** upul` has joined #openmrs
03:28:01 *** ChanServ sets mode: +v upul`
03:50:56 *** djazayeri1 has quit IRC
03:52:32 *** chughgaurav has joined #openmrs
03:57:25 *** chughgaurav has quit IRC
04:06:07 *** upul` has quit IRC
04:24:38 *** rafa has joined #openmrs
04:24:38 *** ChanServ sets mode: +v rafa
04:32:36 *** rafa has quit IRC
04:49:00 *** upul` has joined #openmrs
04:49:00 *** ChanServ sets mode: +v upul`
04:50:52 *** rafa has joined #openmrs
04:50:52 *** ChanServ sets mode: +v rafa
04:59:48 *** surangak has joined #openmrs
05:30:05 *** surangak has quit IRC
05:35:09 *** surangak has joined #openmrs
05:54:33 *** djazayeri has joined #openmrs
05:54:33 *** ChanServ sets mode: +o djazayeri
06:00:08 *** rafa has quit IRC
06:04:13 *** djazayeri has quit IRC
06:17:06 *** kishoreyekkanti has joined #openmrs
06:23:19 *** robbyoconnor has quit IRC
06:23:42 *** robbyoconnor has joined #openmrs
06:23:42 *** ChanServ sets mode: +v robbyoconnor
06:53:33 *** sunbiz has joined #openmrs
06:53:33 *** ChanServ sets mode: +v sunbiz
07:29:06 *** surangak_ has joined #openmrs
07:29:06 *** surangak has quit IRC
08:03:42 *** dkayiwa has joined #openmrs
08:33:41 *** surangak has joined #openmrs
08:33:43 *** surangak_ has quit IRC
09:05:35 *** bryq has joined #openmrs
09:05:35 *** ChanServ sets mode: +v bryq
09:32:45 *** sunbiz has left #openmrs
09:50:53 *** bryq has left #openmrs
10:29:50 *** kishoreyekkanti_ has joined #openmrs
10:30:13 *** kishoreyekkanti has quit IRC
10:30:20 *** kishoreyekkanti has joined #openmrs
10:35:04 *** surangak has quit IRC
10:40:23 *** surangak has joined #openmrs
10:44:05 *** surangak_ has joined #openmrs
10:44:05 *** surangak has quit IRC
10:48:19 *** kishoreyekkanti_ has joined #openmrs
10:50:21 *** kishoreyekkanti has quit IRC
10:50:21 *** kishoreyekkanti_ is now known as kishoreyekkanti
11:12:11 *** kishoreyekkanti has quit IRC
11:12:28 *** kishoreyekkanti has joined #openmrs
11:13:29 <kishoreyekkanti> dkayiwa: I have a doubt on how the controller files are referenced once the module is loaded into openmrs core
11:13:38 <dkayiwa> ok
11:13:57 <kishoreyekkanti> dkayiwa: I've seen that once module is loaded we'll store the omod in some place and reference the files from there
11:14:08 <dkayiwa> ok
11:14:32 <kishoreyekkanti> dkayiwa: are the controller classes also refered like this.
11:15:19 <dkayiwa> no
11:15:20 <kishoreyekkanti> dkayiwa: Ex: i've loaded reporting module and any if url which points to reporting module controller is hit from the browser can you tell me the life cycle of the request
11:15:41 <dkayiwa> the controllers are registered with spring
11:16:08 <kishoreyekkanti> dkayiwa: yeah! but where are the module controllers placed inside the core web application
11:16:45 <kishoreyekkanti> dkayiwa: Does spring don't need the class files of these controllers lying some where inside the webapp
11:17:27 <dkayiwa> it does need them
11:17:56 <kishoreyekkanti> dkayiwa: Yeah in that case once the module is loaded the class files should be loaded somewhere rt?
11:18:19 <dkayiwa> right
11:18:45 <kishoreyekkanti> dkayiwa: :) can you tell me the place where there are stored inside the webapp?
11:21:05 <kishoreyekkanti> dkayiwa: Ok.. let me flip the question and ask again! once the module is loaded, what i guess is Jsp's will be moved to corresponding core webapp modules folders. what happens to controller/service and Dao files
11:21:31 <kishoreyekkanti> dkayiwa: Are they placed somewhere?
11:21:52 <dkayiwa> they are loaded in a temp folder
11:23:47 <kishoreyekkanti> oh ok! so do our spring configuration scans the temp folders to register the controllers and services on module startup?
11:24:54 <dkayiwa> they are extracted to temp files. when springs tries to load their .class files, the ModuleClassLoader which knows where it extracted them (temp files) loads them and hands them over to spring
11:26:24 <kishoreyekkanti> awesome! Say if i have loaded reporting module. I've used it for some time and shutdown my server.
11:26:34 <dkayiwa> ok
11:26:58 <kishoreyekkanti> When i reload the server again. Does ModuleClassLoader again look at temp files or it will extract again from the omod and do the same process?
11:27:29 <kishoreyekkanti> reload = start
11:27:33 <dkayiwa> the extracted files have a deleteOnExit flag set
11:27:51 <dkayiwa> So each time the web app starts, new temp files are created
11:27:59 <dkayiwa> for each module
11:28:09 <kishoreyekkanti> ohh :) gotcha.
11:28:17 <dkayiwa> ok
11:28:30 <kishoreyekkanti> i mean got your point!
11:28:35 <dkayiwa> sure :)
11:29:20 <kishoreyekkanti> So the entire thing i was asking because i want to debug the loaded module.
11:29:29 <dkayiwa> ok
11:29:38 <kishoreyekkanti> Reporting module was throwing me some errors on save of cohort definitions.
11:30:21 <dkayiwa> ok
11:31:11 <kishoreyekkanti> I guess attaching the sources of the module and then debug would be the correct thing?
11:31:45 <kishoreyekkanti> But i'm not sure of how I should do this, because i've already loaded the module(omod)
11:32:00 <dkayiwa> just run the server from eclipse in debug mode
11:32:26 <dkayiwa> and ensure that you have checked out the modules source and opened its projects in eclipse
11:32:37 <dkayiwa> then set break points wherever you want
11:32:49 <dkayiwa> eclipse will ask you for the source for the first time
11:33:01 <dkayiwa> then just point it to the module's source
11:33:10 <dkayiwa> does this make sense?
11:33:22 <kishoreyekkanti> ahh yeah! only thing is i'm running intellij
11:33:25 <kishoreyekkanti> :)
11:33:30 <dkayiwa> hahahahaha :)
11:35:28 *** upul` has quit IRC
11:35:29 <kishoreyekkanti> i'll try to find out how to do that. Thanks for the info!
11:35:58 <dkayiwa> ok
12:47:35 *** james_regen has joined #openmrs
12:47:35 *** ChanServ sets mode: +v james_regen
13:08:52 <surangak_> good morning james_regen !
13:09:00 <surangak_> looks like I caught u early today :)
13:09:48 *** kishoreyekkanti_ has joined #openmrs
13:12:57 *** kishoreyekkanti has quit IRC
13:12:57 *** kishoreyekkanti_ is now known as kishoreyekkanti
13:19:26 <james_regen> surangak_: hi
13:19:37 <james_regen> surangak_: so early, i wasn't paying attention to IRC
13:19:53 <surangak_> james_regen, you are an early riser I guess
13:20:08 <surangak_> over her we're all ready to stop for the day :P
13:20:22 <surangak_> james_regen, I hope you are ok with the changes I;ve been making ....
13:21:34 <james_regen> surangak_: i think everything's been fine. i have a meeting with ada today, and i'll ask her what the current status is. there's been a lot of stuff happening, and i've lost track of what problems htye have left to fix
13:21:51 <surangak_> james_regen, no problem..
13:22:02 <surangak_> i tihink there are no major blockers affecting ada now
13:22:22 <surangak_> she pointed out a few outstanding issues that we should fix,
13:22:28 <surangak_> so Ill be working on those next
13:22:53 <surangak_> I couldnt do anything much for OpenMRS today, I has an assignment deadline ........ :(
13:23:48 <james_regen> that's ok, i know there are other important things to take care of
13:24:06 <james_regen> surangak_: you've been doing really great work so far, it's been a huge help
13:24:43 <surangak_> james_regen, no problem, Im happy to help out with this one
13:25:03 <surangak_> next, I'll go back to good 'ol mutual scores :-)
13:27:04 <james_regen> surangak_: it's been a while, i can't remember what the status of that project is. i think you are keeping track of frequencies . . . do you have the math part written yet?
13:27:22 <surangak_> james_regen, I did the math part ..
13:27:33 <surangak_> I sent you some test scores, remember ? :-)
13:27:57 <surangak_> actually, I gues 90% of the work is done from my end :P
13:29:10 <surangak_> but you guys should take a look at it when u are free, just to confirm if its working as it should.......
13:30:31 <james_regen> surangak_: yeah, i'll go back and look, and i'll make sure shaun takes a look, too
13:30:50 <surangak_> james_regen, no problem, will do
13:31:04 *** wluyima has quit IRC
13:31:12 <surangak_> and I'll fix up Adas outstanding bugs over the next few days...
13:34:42 *** kishoreyekkanti_ has joined #openmrs
13:35:57 *** kishoreyekkanti_ has joined #openmrs
13:36:14 *** kishoreyekkanti has quit IRC
13:36:14 *** kishoreyekkanti_ is now known as kishoreyekkanti
13:40:40 *** dawn_ has joined #openmrs
13:49:36 *** sunbiz has joined #openmrs
13:49:36 *** ChanServ sets mode: +v sunbiz
13:49:39 *** sunbiz has left #openmrs
13:50:13 *** kishoreyekkanti_ has joined #openmrs
13:53:52 *** kishoreyekkanti has quit IRC
13:53:52 *** kishoreyekkanti_ is now known as kishoreyekkanti
13:54:51 *** downeym has joined #openmrs
13:54:51 *** ChanServ sets mode: +o downeym
13:54:51 *** OpenMRSBot sets mode: +o downeym
14:00:17 *** ChanServ sets mode: +v dawn_
14:03:50 *** dawn_ has quit IRC
14:08:26 *** nribeka has joined #openmrs
14:08:26 *** ChanServ sets mode: +v nribeka
14:09:07 *** nribeka has quit IRC
14:09:16 *** dawn_ has joined #openmrs
14:09:16 *** ChanServ sets mode: +v dawn_
14:10:17 *** kishoreyekkanti has quit IRC
14:15:27 *** rafa has joined #openmrs
14:15:33 *** ChanServ sets mode: +v rafa
14:16:00 *** rafa has quit IRC
14:29:38 *** wluyima has joined #openmrs
14:32:18 <surangak_> downeym, hellooo
14:34:35 *** finbrein has joined #openmrs
14:37:05 <downeym> hi surangak_
14:38:13 *** surangak_ has quit IRC
14:46:35 *** docpaul has joined #openmrs
14:46:53 *** ChanServ sets mode: +o docpaul
14:55:38 <wluyima> hi dkayiwa we changed out scrum time to what?
14:56:00 <dkayiwa> wluyima: to one hour later than before
14:56:07 <dkayiwa> that is 6p ugandan time
14:56:11 <dkayiwa> which should be around now
14:59:04 <dkayiwa> wluyima: so it was a day light savings adjustment
15:02:25 <wluyima> ok
15:02:28 <wluyima> thanks dkayiwa
15:02:36 *** kishoreyekkanti has joined #openmrs
15:03:12 <dkayiwa> 8)
15:03:59 <dawn_> dkayiwa: so are we waiting on anyone else (dairies, ben, rafal) before starting the scrum?
15:04:33 <dkayiwa> not necesarilly all
15:06:59 *** djazayeri has joined #openmrs
15:06:59 *** ChanServ sets mode: +o djazayeri
15:07:46 <dawn_> ben won't be on the scrum today since he left for kenya yesterday
15:08:04 *** mnunez has joined #openmrs
15:08:13 <dkayiwa> ok
15:08:29 <dkayiwa> and is rafa also travelling?
15:08:47 <dawn_> dkayiwa: that is correct. rafal is out too
15:09:00 <djazayeri> hi
15:09:17 <dawn_> hey darius
15:09:17 <djazayeri> I didn't know Ben was going straight back to kenya
15:09:26 <djazayeri> hi dawn_
15:10:21 <dawn_> djazayeri: he flew out yesterday afternoon, so a very short stay
15:10:23 <djazayeri> dkayiwa, wluyima, scrum time?
15:10:29 <djazayeri> dawn_: no kiddin
15:10:32 <djazayeri> g
15:11:33 <dawn_> rafal is not here so someone else will have to go first for the scrum :)
15:12:13 <djazayeri> dkayiwa: how about you, you're the furthest east.
15:13:11 *** kishoreyekkanti has quit IRC
15:13:36 <djazayeri> okay, maybe wluyima then...
15:14:15 <wluyima> Friday:
15:14:15 <wluyima> -Fix authentication to work, involves making changes in TRUNK-2838
15:14:15 <wluyima> -RELTEST-4 - Add an Authentication mechanism to release testing module
15:14:15 <wluyima> today:
15:14:15 <wluyima> -TRUNK-2839 - Standalone should be able to pre-set certain initialization wizard parameters
15:14:16 <wluyima> -Code review for settings pape - RELTEST-2, TRUNK-2852
15:14:18 <wluyima> -Other sprint tickets
15:15:44 <djazayeri> and today?
15:16:48 <djazayeri> wluyima?
15:19:30 <djazayeri> okay...
15:19:35 <wluyima> hi djazayeri
15:19:45 <wluyima> no blockers
15:19:58 <djazayeri> oh, sorry, missed the work today in your report. :-)
15:20:05 <djazayeri> Me:
15:20:21 <djazayeri> Friday:
15:20:21 <djazayeri> * nearly finished STAND-32 - Improved build and package process for standalone
15:20:21 <djazayeri> Today:
15:20:21 <djazayeri> * try to finish STAND-31 and STAND-17 (one-time prompt for standalone configuration on initial startup)
15:20:30 <djazayeri> no blockers
15:20:49 <dkayiwa> Committed: Fix the step numbering when test installation is selected - TRUNK-2852
15:20:50 <dkayiwa> Committed: Pressing Enter on test install wizard's authentication step should take you to the next step - TRUNK-2859
15:20:50 <djazayeri> I'll need to add some artifacts to maven
15:20:50 <dkayiwa> Now working on: Pressing Enter on test install wizard's authentication step should take you to the next step - TRUNK-2859
15:20:50 <dkayiwa> and: During the test install method, the wizard should allow user/password for another user other than root - TRUNK-2851
15:20:51 <dkayiwa> No blockers
15:24:27 <djazayeri> okay
15:24:53 <djazayeri> so, I ended up taking half of friday off unexpectedly
15:25:10 <djazayeri> so I'm going to push to get the build-the-standalone tickets done quickly
15:27:26 *** morristic has joined #openmrs
15:27:31 <djazayeri> wluyima, dkayiwa: ben fixed up the sprint dashboard
15:27:38 <dkayiwa> ok
15:27:40 <djazayeri> so that's operative again
15:27:57 <djazayeri> I/we need to do some code reviews
15:28:15 <wluyima> djazayeri, great
15:28:29 *** morristic has quit IRC
15:28:34 <djazayeri> dkayiwa: you have 3 open tickets (haven't looked closely at which)
15:28:42 <djazayeri> and there are only 3 more open tickets listed
15:29:09 <djazayeri> if that's legit, it's great, we can finish this sprint early
15:29:09 <wluyima> djazayeri, i still don't see the tickets from the testing project
15:29:14 <djazayeri> but I haven't checked.
15:29:15 <djazayeri> okay
15:29:20 <dkayiwa> djazayeri: i just need update ticket status
15:30:56 <djazayeri> wluyima: ah, the tickets there don't have a version
15:30:58 <djazayeri> I'll add that.
15:31:27 <wluyima> ok, thanks
15:32:24 <djazayeri> wluyima: done. even more need for code review. :-)
15:32:54 <wluyima> ok
15:33:17 <djazayeri> dkayiwa, wluyima: okay, are we all good to go?
15:33:22 <dkayiwa> sure
15:34:32 <wluyima> ok
15:34:38 <wluyima> yes
15:34:52 <djazayeri> okay, catch you guys later
15:35:00 <dkayiwa> 8)
15:38:33 <wluyima> ok
15:48:07 *** kishoreyekkanti has joined #openmrs
15:52:05 *** wluyima has quit IRC
15:57:09 *** dawn_ has quit IRC
16:06:12 *** dawn_ has joined #openmrs
16:06:12 *** ChanServ sets mode: +v dawn_
16:07:06 *** wluyima has joined #openmrs
16:38:48 <wluyima> djazayeri, dkayiwa does the openmrs trunk start for you when running the standalone?
16:39:15 <wluyima> i seem to get error due to invalid mapping in web.xml
16:39:15 <dkayiwa> wluyima: what error do you get?
16:39:35 <wluyima> FYI, it has nothing really to do with the standalone
16:40:06 <wluyima> dkayiwa, djazayeri it seems to have started after the fix sunbiz made to work in tomcat 7
16:40:15 <dkayiwa> ok
16:40:39 <djazayeri> wluyima: I haven't run into it yet, but I haven't updated in about a week.
16:40:59 <wluyima> it only in tomcat and not jetty
16:44:37 <dkayiwa> wluyima: it is failing on mine too
16:44:57 <wluyima> djazayeri, dkayiwa it is because a servlet-mapping is defined before the servlet
16:45:13 <dkayiwa> wluyima: i suspect i could have caused it
16:45:27 <wluyima> dkayiwa, why?
16:46:19 <dkayiwa> wluyima: look for <error-page>
16:46:52 <dkayiwa> wluyima and move it down
16:47:12 <dkayiwa> that is in the web.xml
16:47:35 <wluyima> dkayiwa, i have looked at your changeset and seems to have broken it
16:47:42 <dkayiwa> yes
16:47:50 <wluyima> dkayiwa, have u committed it?
16:47:59 <dkayiwa> the fix?
16:48:03 <wluyima> dkayiwa, yes
16:50:05 <wluyima> djazayeri, no worries, i will move it down and commit it
16:50:22 <wluyima> sorry! dkayiwa , no worries, i will move it down and commit it
16:51:05 <dkayiwa> wluyima: Committed revision 24432.
16:52:18 <wluyima> ok, thanks
17:02:39 *** dawn_ has quit IRC
17:04:10 *** dawn_ has joined #openmrs
17:04:10 *** ChanServ sets mode: +v dawn_
17:24:53 <wluyima> dkayiwa, have you added anything to the settings page?
17:25:05 <wluyima> dkayiwa, it seems to be blank
17:26:58 <dkayiwa> wluyima: when did you last update and recompile your testing module?
17:30:46 <wluyima> around the time of the scrum
17:30:55 <wluyima> today
17:31:17 <dkayiwa> wluyima: can you recompile and redeploy it?
17:31:34 <dkayiwa> just as a to be sure check
17:32:38 <wluyima> dkayiwa, so you added details to it, right?
17:32:48 <dkayiwa> wluyima: yes
17:32:50 <wluyima> dkayiwa, i just want to know if you did add anything
17:32:58 <wluyima> ok, i will updated and rebuild
17:32:59 <dkayiwa> wluyima: yes i did
17:33:04 <wluyima> dkayiwa, thanks
17:45:32 <wluyima> hi djazayeri
17:45:48 <djazayeri> hi wluyima
17:45:58 <wluyima> djazayeri, just to take you off topic a little
17:46:34 <wluyima> do you remember what you and i talked about at kigali int'l airport, the audit log
17:46:44 <djazayeri> yes
17:46:52 <djazayeri> (sort of)(
17:47:09 <wluyima> djazayeri, i assumed part of rohit's project wa to address that too
17:47:57 <djazayeri> wluyima: I don't think so
17:48:24 <djazayeri> the goal of that project is to (eventually) remove all the changed_by, date_changed, etc columns, and handle all that in a global audit log
17:48:38 <wluyima> djazayeri, because why i had given up on writing a module was because i thought i was already getting covered by that module
17:49:10 <wluyima> djazayeri, i guess i had the wrong in a way
17:50:01 <wluyima> djazayeri, i guess i never followed that discussion
17:50:09 <djazayeri> wluyima: well, you were on vacation. :-)
17:50:28 <wluyima> djazayeri, well i will go ahead and develop the module in my free time
17:50:44 <wluyima> djazayeri, i figure i was on vacation
17:50:59 <wluyima> djazayeri, a module that does what i want
17:51:27 <djazayeri> okay, sounds good
17:51:53 <djazayeri> It's probably worth emailing the implementers list and making sure you have a good sense of people's requirements/expectations for such a module.
18:06:29 *** robbyoconnor has quit IRC
18:26:09 *** Arnie_ has joined #openmrs
18:26:20 <downeym> Hi Arnie_ and welcome to the #openmrs IRC channel.
18:26:27 <Arnie_> Hi all
18:32:38 *** dawn_ has quit IRC
18:33:22 <djazayeri> hi dkayiwa
18:33:30 <djazayeri> you there?
18:33:31 <dkayiwa> hi djazayeri
18:33:56 <djazayeri> Question about the logic in StandaloneUtil.setPortsAndMySqlPassword
18:34:06 <dkayiwa> ok
18:34:16 <djazayeri> that method is returning a port
18:34:44 <djazayeri> but I don't actually see it testing for ports till it finds an open one or anything
18:35:06 <djazayeri> Do you remember why you put that logic in that method?
18:35:15 <djazayeri> Because you happened to be opening the runtime properties at that point?
18:36:55 *** dawn_ has joined #openmrs
18:36:55 *** ChanServ sets mode: +v dawn_
18:38:11 <dkayiwa> djazayeri: i set them in the runtime properties file before openmrs gets a chance to start
18:39:44 <djazayeri> dkayiwa: right, my concern is actually that the UI gets constructed (and has those ports passed in) too early
18:40:00 <djazayeri> dkayiwa: I think I see what's going on.
18:40:07 <dkayiwa> ok
18:40:35 <djazayeri> I'll switch things around a bit, and give you a code review to look at
18:40:40 <wluyima> dkayiwa, do you always user openmrs as the database name for the standalone or you have logic that comes up with it?
18:40:42 <dkayiwa> ok
18:41:18 <dkayiwa> wluyima: database name is determined by the connection string
18:41:42 <djazayeri> wluyima: are you thinking of having different db names?
18:42:23 <dkayiwa> so wluyima if you can change it in the connection.url
18:42:36 <wluyima> djazayeri, dkayiwa was just curiuos
18:42:42 <djazayeri> ok
18:42:49 <dkayiwa> e.g jdbc:mysql:mxj://127.0.0.1:3316/openmrs-luyima_db?......
18:43:30 <djazayeri> I'm working on supporting switching between multiple dbs, but that will involve dropping and resetting the "openmrs" mysql db.
18:45:49 *** dawn_ has quit IRC
19:14:58 *** james_regen has quit IRC
19:24:27 *** Arnie_ has quit IRC
19:38:49 *** djazayeri1 has joined #openmrs
19:38:49 *** djazayeri has quit IRC
19:39:02 *** djazayeri1 is now known as djazayeri
19:39:03 *** ChanServ sets mode: +o djazayeri
19:39:13 *** dawn_ has joined #openmrs
19:39:13 *** ChanServ sets mode: +v dawn_
19:40:47 *** kishoreyekkanti has quit IRC
19:44:03 *** wyclif has joined #openmrs
19:44:03 *** wluyima has quit IRC
19:44:55 *** wyclif has quit IRC
19:45:09 *** wyclif has joined #openmrs
19:51:06 *** mnunez has quit IRC
19:51:26 *** mnunez has joined #openmrs
20:01:02 *** bryq has joined #openmrs
20:01:02 *** ChanServ sets mode: +v bryq
20:12:46 *** dkayiwa has quit IRC
20:20:13 *** morristic has joined #openmrs
20:43:53 *** dawn_ has left #openmrs
21:58:50 *** downeym has quit IRC
22:11:42 *** docpaul has quit IRC
23:31:26 *** wyclif has quit IRC
23:41:35 *** mnunez has quit IRC
23:42:47 *** bryq has quit IRC
23:42:52 *** mnunez has joined #openmrs
23:52:59 *** deadpool_ has joined #openmrs