IRC Chat : 2011-10-31 - OpenMRS

00:21:06 *** jyothi has joined #openmrs
01:28:44 *** redhawk has quit IRC
01:39:45 *** Thothathri has joined #openmrs
01:39:58 <Thothathri> I'm trying to insert an object into the db using hibernate, but the problem is this : I thought this could be done by using a sessionFactory object, but since that hasn't been used anywhere in the source files, I wanted to know if another approach has been used to do the same, i.e. to insert a new row into the db using hibernate.
02:13:58 *** Thothathri has quit IRC
02:21:23 *** rafa has joined #openmrs
02:21:23 *** ChanServ sets mode: +v rafa
02:26:01 *** rafa has quit IRC
02:36:24 *** jyothi has quit IRC
03:20:29 *** Gretchie has quit IRC
05:13:38 *** jyothi has joined #openmrs
05:13:50 <jyothi> hi
05:14:00 <jyothi> I have a problem while running openmrs
05:14:28 <jyothi> i uplaoded a module to openmrs and it hung due to some problem in that module
05:14:48 <jyothi> openmrs wouldn't comeup even after i start jetty again
05:38:36 *** jyothi has quit IRC
06:02:20 *** bwolfe has joined #openmrs
06:02:20 *** ChanServ sets mode: +o bwolfe
06:03:02 *** surangak has joined #openmrs
06:21:11 *** lh_ has joined #openmrs
06:21:11 *** lh has quit IRC
06:21:11 *** lh_ is now known as lh
06:33:37 *** lh has quit IRC
06:37:35 <surangak> good morning bwolfe :)
06:37:55 <bwolfe> hi surangak
06:38:24 <surangak> bwolfe, mm... r u on leave these days, or work at normal ?
06:38:34 <surangak> bwolfe, I remember u said something about being on leave...
06:39:30 <surangak> its hard to tell if u r on leave or not, because u r on IRC all the time :)
06:40:35 <bwolfe> ha
06:40:42 <bwolfe> I'm working
06:43:33 <bwolfe> (and even when I'm on leave I'm working...)
06:44:56 *** surangak_ has joined #openmrs
06:45:30 *** surangak has quit IRC
07:20:26 <bwolfe> the room is strangely quiet...and empty
07:20:28 <bwolfe> where is everyone ?!
07:22:31 *** Sri_ has quit IRC
07:42:26 *** Echidna has quit IRC
07:43:22 *** Echidna has joined #openmrs
07:43:22 *** ChanServ sets mode: +v Echidna
07:48:51 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: @spathakota Would love for you to get involved! There are plenty of opportunities for everyone: http://t.co/iI2SLD0R <http://twitter.com/OpenMRS/statuses/130894811753488384>
07:52:24 <surangak_> bwolfe, sorry, I just returned :)
07:52:37 <surangak_> bwolfe, yep, place has been very quiet for long time :)
07:53:00 <surangak_> bwolfe, Rafal is now on FB ! so only u and Daniel are missing :)
07:53:22 <bwolfe> ha
07:53:27 <bwolfe> how'd you convince rafal to join??
07:56:48 <surangak_> bwolfe, No idea, He had suddenly turned up.. If you guys dont turn up, how can we tag silly pictures of you :(
07:57:15 <surangak_> bwolfe, I use FB just to keep track of friends, so many people are moving about these days, its hard to keep track of them.....
08:04:08 *** surangak has joined #openmrs
08:04:08 *** surangak_ has quit IRC
08:04:38 *** surangak has quit IRC
08:04:54 *** surangak has joined #openmrs
08:49:22 *** Echidna_ has joined #openmrs
08:49:22 *** Echidna has quit IRC
09:06:24 *** dkayiwa has joined #openmrs
09:22:55 *** fanta_ has joined #openmrs
09:23:20 *** bwolfe_ has joined #openmrs
09:23:20 *** ChanServ sets mode: +o bwolfe_
09:26:46 *** bwolfe has quit IRC
09:45:56 *** bryq has joined #openmrs
09:45:56 *** ChanServ sets mode: +v bryq
09:47:55 *** surangak_ has joined #openmrs
09:47:55 *** surangak has quit IRC
10:02:03 *** pascal` has joined #openmrs
10:02:04 *** ChanServ sets mode: +v pascal`
10:02:14 <pascal`> Hey bwolfe_
10:12:42 <bwolfe_> hi pascal`
10:13:50 <pascal`> bwolfe_, any preferences regarding OCC tickets you'd like to get done?
10:14:06 <bwolfe_> pascal`, I think they have priorities on them already, don't they?
10:14:08 *** bwolfe_ is now known as wolfe
10:17:15 <pascal`> wolfe, you're missing a "b".
10:17:26 *** wolfe is now known as bwolfe
10:17:31 <bwolfe> thanks :-)
10:17:41 <bwolfe> b's are usually hard to come by...
10:17:57 <pascal`> bwolfe, sure, there are priority buckets, but there aren't any that you really want to get done?
10:18:25 <bwolfe> pascal`, what link are you going off of now?
10:18:58 <bwolfe> the occ sprint jira dashboard should have them. look for the Sprint Schedule wiki page and find the occ sprint page. on there is the link to the jira dashboard
10:20:47 <pascal`> bwolfe, I have my own dashboard, and I only see the normal ticket priorities (must, should, could etc).
10:20:54 <pascal`> bwolfe, will have a look though
10:23:38 <bwolfe> pascal`, link me to your dashboard?
10:24:27 <pascal`> bwolfe, it's private, but I'll see if I can share it with you quickly.
10:26:31 <pascal`> bwolfe, https://tickets.openmrs.org/secure/Dashboard.jspa?selectPageId=10950
10:26:36 <OpenMRSBot> <http://ln-s.net/9GqP> (at tickets.openmrs.org)
10:47:46 *** surangak__ has joined #openmrs
10:47:47 *** surangak_ has quit IRC
10:58:55 *** surangak__ has quit IRC
11:25:45 *** james_regen has joined #openmrs
11:25:45 *** ChanServ sets mode: +v james_regen
11:28:25 *** kishoreyekkanti has joined #openmrs
11:32:55 *** kishoreyekkanti_ has joined #openmrs
11:36:24 *** kishoreyekkanti has quit IRC
11:36:24 *** kishoreyekkanti_ is now known as kishoreyekkanti
11:36:41 <bwolfe> dkayiwa, how goes it?
11:36:57 <bwolfe> dkayiwa, working on a release package yet?
11:37:01 <dkayiwa> bwolfe: not bad. and you
11:37:08 <bwolfe> or are you waiting on the tickets in https://tickets.openmrs.org/secure/Dashboard.jspa?selectPageId=10951 to be done first?
11:37:08 <OpenMRSBot> <http://ln-s.net/9Fzc> (at tickets.openmrs.org)
11:38:13 <bwolfe> pascal`, your dashboard doesn't have a list of "open tickets by priority" shouldn't have be the most important box?
11:38:36 <dkayiwa> bwolfe: only one ticket before i can package
11:38:44 <bwolfe> dkayiwa, which one?
11:38:54 <dkayiwa> 420
11:41:00 <bwolfe> dkayiwa, and are you working on that one? I thought it was just a matter of applying the patch and some minor fixes...
11:43:05 <dkayiwa> bwolfe: not yet done with it
11:43:13 <bwolfe> :-(
11:43:19 <bwolfe> anything I can help with?
11:43:42 <dkayiwa> if you can take over it, i will be very :D
11:45:02 <pascal`> bwolfe, it has a list of all open tickets (a filter results widget using a filter I created) which I sort by priority.
11:46:36 <bwolfe> pascal`, I see one that has unfinished ones in it...but some of those are assigned already
11:50:38 <pascal`> bwolfe, that's the way I like to see it. assigned != complete.
11:51:09 *** Gretchie has joined #openmrs
11:55:21 <bwolfe> heh
11:55:23 <bwolfe> true...but ok
11:55:40 <bwolfe> I like ot have them split out so I can see what needs work now and what the workload is like on each dev
11:57:12 *** kishoreyekkanti_ has joined #openmrs
11:59:05 *** kishoreyekkanti has quit IRC
11:59:05 *** kishoreyekkanti_ is now known as kishoreyekkanti
12:14:00 *** bryq has quit IRC
12:22:23 *** Gretchie has quit IRC
12:22:24 <dkayiwa> hi bwolfe
12:23:37 <bwolfe> hi
12:24:00 <dkayiwa> bwolfe: do we have any automation tools for the release notes page?
12:24:15 <bwolfe> dkayiwa, the ticket part of it?
12:24:28 <dkayiwa> any part
12:25:23 <bwolfe> not really any part. :-)
12:25:27 <bwolfe> the ticket part you can get from jira
12:25:33 <dkayiwa> ok
12:25:49 <bwolfe> you can click on the "version" in jira and see the tickets closed on that release
12:25:56 <dkayiwa> ok
12:25:59 *** Gretchie has joined #openmrs
12:26:05 <bwolfe> and get the html from there somewhere too
12:26:08 <bwolfe> (a link I think)
12:26:14 <dkayiwa> ok
12:26:37 <dkayiwa> bwolfe: i do not see any release notes for alpha or betas.
12:27:01 <dkayiwa> So is it that they were intentionally left out?
12:27:05 <dkayiwa> bwolfe
12:27:14 <bwolfe> dkayiwa
12:27:27 <dkayiwa> member:bwolfe: i do not see any release notes for alpha or betas.
12:27:30 <bwolfe> the alphas and betas have them. they are in the "prerelease" section
12:28:13 <dkayiwa> bwolfe: ahh thanks :)
12:28:31 <dkayiwa> that means i was going to put this page in a wrong section :)
12:28:37 <bwolfe> heh
12:28:43 <bwolfe> no worries. easily moved
12:28:47 *** bryq has joined #openmrs
12:28:47 *** ChanServ sets mode: +v bryq
12:28:49 <dkayiwa> :)
12:29:00 <bwolfe> dkayiwa, use the "tools" menu in the wiki page to copy one of the other ones. then just change the sections
12:29:07 <dkayiwa> ok
12:44:00 *** rafa has joined #openmrs
12:44:00 *** ChanServ sets mode: +v rafa
12:44:40 *** rafa has quit IRC
12:45:36 *** rafa has joined #openmrs
12:45:36 *** ChanServ sets mode: +v rafa
12:46:16 *** rafa has quit IRC
12:48:05 <bwolfe> dkayiwa, did you finish the ticket? or are you just multitasking with the wiki page?
12:48:43 <dkayiwa> bwolfe: just multi tasking :)
12:49:00 <dkayiwa> also hoping that you could apply the patch :D
12:49:29 <bwolfe> dkayiwa, ok, were you going to ask me to, or just assume I would...? :-/
12:50:00 <dkayiwa> when you asked for how you can help, i assumed that you said yes :)
12:50:37 <bwolfe> oh, NOW I see you asked me to take it over. sorry :-/
12:50:58 <dkayiwa> lollllllllllllll
12:51:44 <dkayiwa> bwolfe: also forgot stuff that i had read about being a release manager. so was doing some revision too :)
12:52:10 <bwolfe> some revision of what?
12:52:22 <dkayiwa> things like creating a release branch
12:52:25 <dkayiwa> etc
12:52:34 <dkayiwa> those release process and manager wiki pages
12:53:16 <bwolfe> ah ok
13:14:21 *** downeym has joined #openmrs
13:14:21 *** ChanServ sets mode: +o downeym
13:14:21 *** OpenMRSBot sets mode: +o downeym
13:16:31 *** downeym_ has joined #openmrs
13:16:31 *** ChanServ sets mode: +o downeym_
13:17:04 *** downeym has quit IRC
13:17:25 *** downeym has joined #openmrs
13:17:25 *** ChanServ sets mode: +o downeym
13:17:25 *** OpenMRSBot sets mode: +o downeym
13:18:24 *** downeym_ has quit IRC
13:18:52 <kishoreyekkanti> bwolfe: Hey ben for TRUNK-2799 what is the resoultion? do we need to keep description mandatory or not?
13:20:03 *** Alex___ has joined #openmrs
13:20:17 <downeym> Hi Alex___ and welcome to the #openmrs IRC channel.
13:22:29 <kishoreyekkanti> dkayiwa: for TRUNK-2799 what is the resoultion? do we need to keep description mandatory or not?
13:23:02 <dkayiwa> !ticket TRUNK-2799
13:23:03 <OpenMRSBot> dkayiwa: [#TRUNK-2799] Missing description when saving program should give user friendly error message - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2799
13:23:41 <dkayiwa> kishoreyekkanti: we need to keep the description mandatory
13:24:10 <dkayiwa> kishoreyekkanti: as Ben commented, the validator needs to include the description field too
13:24:37 <kishoreyekkanti> dkayiwa: awesome! i think the same is for 2809
13:24:49 <kishoreyekkanti> dkayiwa: i mean we need to make description mandatory for 2809
13:25:01 <dkayiwa> !ticket trunk_2809
13:25:02 <OpenMRSBot> dkayiwa: HTTP Error 404: Not Found - https://tickets.openmrs.org/browse/trunk_2809
13:25:23 <dkayiwa> !ticket trunk-2809
13:25:24 <OpenMRSBot> dkayiwa: [#TRUNK-2809] Removing a description from an existing concept and trying to save should give a user friendly error message - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2809
13:26:24 <kishoreyekkanti> dkayiwa: ohh i read it again now :) i guess its already mandatory currently in the code and only thing we need to do is show a user friendly message
13:26:29 <dkayiwa> kishoreyekkanti: i would vote yes
13:26:55 <kishoreyekkanti> dkayiwa: awesome thanks a lot.
13:27:02 <dkayiwa> kishoreyekkanti: it is at the database level, but the user interface page validator was not doing so
13:27:02 <kishoreyekkanti> dkayiwa: currently we are doing a codejam here
13:27:13 <dkayiwa> oh that will be so cool kishoreyekkanti
13:27:14 <kishoreyekkanti> dkayiwa: ok cool
13:27:16 <dkayiwa> when?
13:27:39 <kishoreyekkanti> dkayiwa: currently we are doing codejam. we started an hour ago
13:27:48 <dkayiwa> oh i see
13:27:54 <dkayiwa> kishoreyekkanti: how many?
13:29:43 <kishoreyekkanti> dkayiwa: we have 10 people pairing so 5 parallel stories
13:29:57 <dkayiwa> kishoreyekkanti: oh thats so so cool!!!!
13:30:04 <kishoreyekkanti> dkayiwa: most of them are small UI defects which you've raised recently
13:30:11 <dkayiwa> ok
13:30:14 <kishoreyekkanti> dkayiwa: for alpha release
13:30:17 <dkayiwa> good start
13:37:14 *** Alex___ has quit IRC
14:28:15 <bwolfe> dkayiwa, scrum?
14:28:58 <dkayiwa> sure
14:29:12 *** rafal has joined #openmrs
14:29:14 *** darius has joined #openmrs
14:30:11 *** lh has joined #openmrs
14:31:07 <darius> hi bwolfe dkayiwa rafal
14:31:12 <darius> Is wyclif still on vacation?
14:31:28 <dkayiwa> he is coming back today
14:31:36 <dkayiwa> as in travelling
14:32:12 <darius> oh, okay
14:32:26 *** darius is now known as djazayeri
14:32:33 *** ChanServ sets mode: +o djazayeri
14:32:44 <djazayeri> rafal and I are in Boston.
14:32:48 <bwolfe> are you guys in boston?
14:32:53 <bwolfe> ha, guess thats a yes
14:33:00 <dkayiwa> :)
14:33:08 <bwolfe> and you're just getting to work at 1030? rough boston night life? :-)
14:33:18 <djazayeri> Overnight flight. One stop. :-)
14:33:45 <rafal> I made it to Boston yesterday at 3 pm. I'm fine :-)
14:35:01 <dkayiwa> :)
14:35:02 <dkayiwa> Done testing of the features which were closed and confirmed that they are working as advertised
14:35:03 <dkayiwa> Revised the wiki pages about what am supposed to do as a release manager.
14:35:03 <dkayiwa> Now working on the release noted page.
14:35:03 <dkayiwa> Blocker: Trying to figure out a way to copy and paste tickets from JIRA into the release notes page. I have them listed, but when i copy, i get some extra new lines which i do not want to remove manually.
14:36:12 <djazayeri> dkayiwa: groovy script!
14:36:20 <dkayiwa> djazayeri: do you have it?
14:36:25 <djazayeri> :-)
14:36:54 <djazayeri> no, but it should be easy to write
14:37:00 <dkayiwa> djazayeri: or a learn groovy in 2hrs book. :)
14:37:39 <djazayeri> dkayiwa: next time I see you I'll bring one. For now you can use java.
14:37:48 <dkayiwa> lolllll
14:37:53 <djazayeri> I probably did it in emacs last time.
14:37:59 <djazayeri> are the newlines regular and consistent?
14:38:11 <dkayiwa> djazayeri: yes they are consistent
14:38:34 <dkayiwa> djazayeri: i did not want them because i was it look like for the rest of the release notes pages
14:38:41 <dkayiwa> was = want
14:39:53 <djazayeri> dkayiwa: I have always spent a bunch of time dealing with getting the tickets to look right, but in retrospect I don't think it's worth it.
14:40:05 <dkayiwa> ok
14:40:39 <rafal> https://tickets.openmrs.org/secure/ReleaseNote.jspa?projectId=10191&version=13271
14:40:46 <OpenMRSBot> <http://ln-s.net/9Gv_> (at tickets.openmrs.org)
14:41:04 <dkayiwa> aha
14:41:08 <dkayiwa> rafal: what did you use?
14:41:39 <rafal> https://tickets.openmrs.org/browse/TRUNK#selectedTab=com.atlassian.jira.plugin.system.project%3Aversions-panel
14:41:41 <OpenMRSBot> <http://ln-s.net/9Gva> (at tickets.openmrs.org)
14:42:13 <djazayeri> Hmm, what rafal sent requires a fixVersion, which we don't have for the alpha
14:42:34 <djazayeri> Anyway, if you can produce some decently-formatted text, and use a <pre></pre>, that's good enough for me.
14:42:47 <djazayeri> maybe by exporting a query from jira
14:43:26 <dkayiwa> is export same as that from the view menu?
14:43:55 <djazayeri> I think so yes,
14:44:05 <djazayeri> dkayiwa: so, there are no tickets blocking the release, right?
14:44:22 <dkayiwa> djazayeri: only one patch bwolfe is applying :)
14:46:32 <djazayeri> okay, cool!
14:46:53 *** james_regen1 has joined #openmrs
14:47:48 <djazayeri> dkayiwa: so, an important thing for the release notes and email is to describe what developers will need to do to their modules and/or custom code, to work with 1.9
14:48:05 <dkayiwa> ok
14:48:06 <djazayeri> specifically around Providers, multiple-providers-per-encounter, and Visits
14:48:16 <dkayiwa> ok
14:48:35 *** james_regen has quit IRC
14:48:36 <bwolfe> dkayiwa, sorry, forgot I was waiting for tests to run in the bg on that one. TRUNK-420 is committed as of now
14:48:43 *** jriley has joined #openmrs
14:48:52 <dkayiwa> oh thanks bwolfe let me update
14:49:01 <bwolfe> I had a few failing tests on my machine, but I think those are due to other code I have
14:49:09 <dkayiwa> ok
14:49:13 <djazayeri> So, let me give my report, since I've got a meeting in 10 minutes
14:49:27 <djazayeri> basically I did some trivial tickets on Friday:
14:49:29 <djazayeri> Friday: * TRUNK-2816 (fix checkbox-label order and verbose phrasing on search widgets) * TRUNK-2817 (default EncounterVisitHandler) * met with Bill Lober and Jan Flowers from UW/ITECH
14:50:30 <djazayeri> Today: lots of meetings (in Boston), ticket work if necessary, but you'll have to tell me what's important to do.
14:50:41 <djazayeri> no blockers
14:51:36 <rafal> my turn
14:51:37 <rafal> Friday: * Finished my tickets for 1.9 Today: * Will need to find a way to test TRUNK-2784 properly * Will have some fun in Boston ;-) No blockers.
14:53:05 <bwolfe> sorry to interrupt, my car is leaving for dinner. I worked on TRUNK-420 today, cleaned out a bunch of emails, applied a few other patches, did some reviews...a bunch of the normal boring stuff ;-) I'll be back on later tonight to cover the hour or so I missed while dropping my car at the mechanic
14:53:20 <bwolfe> djazayeri, we have reviews to catch up on...lots of them. so if you have time, work on those
14:53:29 <bwolfe> (especially ones marked as to be fixed in 1.9)
14:55:55 <djazayeri> bwolfe: okay
15:00:03 <dkayiwa> hi rafal
15:03:55 <jriley> djazayeri and rafal , what are you doing in Boston? You should have a snowball fight before it all melts
15:05:09 *** robbyoconnor has joined #openmrs
15:05:09 *** ChanServ sets mode: +v robbyoconnor
15:07:01 *** pascal` has quit IRC
15:12:06 *** kishoreyekkanti has quit IRC
15:15:33 <rafal> jriley: there's almost no snow left :(
15:16:28 <jriley> rafal , we got lucky on this side of the state. I'm gonna have to say :) for that
15:17:33 *** downeym_ has joined #openmrs
15:17:33 *** ChanServ sets mode: +o downeym_
15:17:52 <rafal> jriley: I'm here to get in touch with metadata sharing users :-)
15:18:08 <jriley> For the OCC?
15:19:07 <rafal> jriley: well the metadata sharing module
15:19:36 <rafal> the OCC is a different project
15:19:44 <jriley> Got it.
15:19:47 *** downeym has quit IRC
15:19:47 *** downeym_ is now known as downeym
15:24:47 *** sri_ has joined #openmrs
15:25:01 <downeym> Hi sri_ and welcome to the #openmrs IRC channel.
15:27:55 <sri_> bwolfe: Hi Ben. We are working on the HL7 output system. Our understanding is that a outgoing message is saved in the database when the patient is also saved. Could you please confirm if this is right
15:42:04 *** dkayiwa has quit IRC
15:46:57 <bwolfe> sri_, yes
16:01:52 *** suranga has joined #openmrs
16:02:12 <suranga> james_regen1, hello james
16:02:17 <suranga> wellcome back !
16:02:33 <james_regen1> suranga: hi
16:02:52 <suranga> james_regen1, I saw the e mail regarding the Kenya project....
16:04:56 <suranga> james_regen1, so far i've worked on the latest from the patientmatching standalone version, can u explain a bit regarding what has to be done ? :)
16:05:23 <james_regen1> suranga: what has to be done on the module that the email was about?
16:09:19 *** suranga_ has joined #openmrs
16:09:26 *** lh has quit IRC
16:09:37 <suranga_> james_regen1, sorry, did u say anything ? terrible connevtion over here :(
16:09:54 *** suranga has quit IRC
16:11:00 <james_regen1> suranga_: do you mean you want to know what needs to be done with the module?
16:11:46 <suranga_> james_regen1, yep :)
16:12:22 <suranga_> james_regen1, regen, is it that the latest version of the de duplication module works only with an older version of openmrs, and needs to be upgraded to work with 1.8.2?
16:13:14 <james_regen1> suranga_: yes. the version that we've been using to test is 1.7.
16:13:53 <suranga_> james_regen1, so far i've been using the standalone version, but i think u guys want to upgrade the web module, isnt it ?
16:15:01 <james_regen1> suranga_: yes, this will be with the module code that uses the same record matching code the GUI uses
16:16:13 <suranga_> james_regen1, Dr. shaun said that we will need to "update our test system (at http://link.regenstrief.org)."
16:18:16 <james_regen1> suranga_: yeah, we have a system there with synthetic data. i think it's similar to the test files you have. i can create a user and setup access for you so you can access it
16:18:51 <suranga_> james_regen1, thats great, or maybe I can try it out locally in my own machine ?
16:18:57 <suranga_> what would be best ?
16:21:51 <james_regen1> suranga_: i think using link would be best, since everyone will have access to the same instance. once we get something fixed or working, we can all see the progress
16:22:12 <suranga_> james_regen1, sure, will do...
16:22:29 <suranga_> so I will 1. access your instance
16:22:45 <suranga_> 2. upgrade from 1.7. to 1.8.2
16:22:53 <suranga_> 3. and check if everything is working
16:23:08 <suranga_> 4. and fix the two bugs that Ada had pointed out, is it ?
16:25:32 <james_regen1> suranga_: i think that's the plan exactly
16:25:47 *** sri_ has quit IRC
16:27:43 *** djazayeri has quit IRC
16:27:57 <suranga_> james_regen1, thats great, could u please set up an account for me to try out, please ? :)
16:28:19 <james_regen1> yup, i'll do that this afternoon
16:29:39 *** rafal has quit IRC
16:35:33 *** suranga has joined #openmrs
16:35:37 *** Boby has joined #openmrs
16:36:24 *** suranga_ has quit IRC
16:36:56 <Boby> I don't know how to start with Webservices.rest Module :((
16:37:08 <Boby> Does anybody help me ?
16:37:12 <suranga> james_regen1, one small question, how may I connect to your instance ? is it through remote desktop, vnc or putty ? I ask because i'll be trying out from University tomorrow, and certain ports may be blocked....
16:37:40 <suranga> james_regen1, would it be possible to link through putty ?
16:38:32 *** lh has joined #openmrs
16:38:32 *** lh has joined #openmrs
16:39:10 <james_regen1> suranga: yes, ssh will be open. VNC is installed, i think you can start a VNC session and connect to it, maybe. but ssh should work
16:39:36 <suranga> james_regen1, thats great !
16:40:34 <suranga> james_regen1, could u mail me the credentials when u r done ? and also, any idea of a deadline for this ? :)
16:43:23 <james_regen1> suranga: i'll email you. i'm not sure if there is a required deadline. as soon as possible would be good. i think it's reasonable to have the server upgraded and test the module by the end of this week. that should give us an idea of what is broken and what we will need to work on
16:44:33 <suranga> james_regen1, sure, I will give it my best shot... I've never actually upgraded between openmrs versions before, but there's a first time for everything, I guess :)
16:44:51 <suranga> i will follow this https://wiki.openmrs.org/display/docs/Upgrading+OpenMRS :)
16:44:57 <OpenMRSBot> <http://ln-s.net/9Gya> (at wiki.openmrs.org)
16:46:07 *** downeym_ has joined #openmrs
16:46:07 *** ChanServ sets mode: +o downeym_
16:46:09 *** downeym_ has quit IRC
16:46:58 <Boby> Does anybody know how to use Webservices.rest Module?
16:47:16 <Boby> I don't know how to start with Webservices.rest Module :(( :((
16:49:20 *** downeym_ has joined #openmrs
16:49:20 *** ChanServ sets mode: +o downeym_
16:49:23 <jriley> Boby, the docs for how to call it are at https://wiki.openmrs.org/display/docs/REST+Web+Services+API
16:49:24 <OpenMRSBot> <http://ln-s.net/8zTB> (at wiki.openmrs.org)
16:49:54 *** downeym has quit IRC
16:49:55 *** downeym_ is now known as downeym
16:50:21 <robbyoconnor> downeymo: add me to the organization on github: robby DOT oconnor AT gmail DOT com please?
16:50:50 <jriley> Boby, the docs say the module will show some additional URI documentation from the Administration page in OpenMRS
16:51:36 <robbyoconnor> downeym
16:52:53 <Boby> hi jriley, I'm planning develop an application on device run android and connect in Open MRS
16:53:18 <jriley> Cool
16:53:26 *** suranga has quit IRC
16:53:27 <jriley> Were you able to start and run the webservices rest module?
16:53:30 <Boby> Somebody say me should use Module webservice.res
16:54:00 <Boby> but i don't know how to start with it
16:54:01 <jriley> The module makes some of OpenMRS available as a REST webservice
16:54:37 *** downeym has quit IRC
16:54:52 <jriley> Can you tell me more? Have you been able to find the module in the repository and install it?
16:55:56 <Boby> jriley :) I added module webservices.res in Open MRS
16:56:11 <jriley> Did it start ok?
16:56:13 <Boby> But I don't know how to use it :(
16:56:24 *** james_regen1 has quit IRC
16:56:50 *** suranga has joined #openmrs
16:57:34 <Boby> Uhm......?? How do I know it start or not ?
16:57:40 <Boby> :((
16:57:45 <jriley> Log in to your OpenMRS installation as admin
16:58:18 <jriley> and click the Administration link from the navigation bar
16:58:19 <Boby> ok, everything fine
16:59:05 <jriley> in the Moudule Administration section, there's a link for ... ( I have to start apache, hang on)
16:59:18 <jriley> Manage Modules
16:59:40 <jriley> which lists al the modules. You should see the rest module listed there, with a red stop sign at the start of the line.
16:59:54 <jriley> Stop sign, for "this has started, click here to stop"
17:00:30 <Boby> jriley: I added successfully and I see three link: Settings, Test, Help
17:02:07 <jriley> ha, I can't see it on my admin screen. One moment, please
17:02:10 <jriley> what happens when you click Test?
17:04:28 <Boby> I see appear "Testing REST URIs" with some informations such as Type, URI, Body content and Representation
17:05:26 <jriley> what's an example URI?
17:06:58 <Boby> I see :) it default with "/openmrs/ws/rest/v1/patient/495b10c4-56bd-11df-a35e-0027136865c4"
17:07:19 <Boby> right?
17:08:09 <jriley> My installation is misbehaving. :) It won't show me my admin links for it
17:08:52 <jriley> Ok, so if you open a web browser to localhost:8080/openmrs/ws/rest/v1/patient/495b10c4-56bd-11df-a35e-0027136865c4 , if you installed to localhost:8080 , what does it do?
17:10:59 <Boby> When I open a web browser to localhost:8080/openmrs/ws/rest/v1/patient/495b10c4-56bd-11df-a35e-0027136865c4
17:11:11 <Boby> I see content XML file
17:11:46 <jriley> Excellent! That means the module is working .
17:11:56 <jriley> ( Unlike on my machine. Bad server!)
17:11:57 <Boby> No, I see so many error
17:12:15 <jriley> Oh, ok, like what?
17:12:51 <jriley> it looks like if you go to localhost:8080/openmrs/ws/rest/v1/catalog it will tell you something about what resources are available
17:14:21 <Boby> Oh :(( No :((
17:14:22 <jriley> Ah, this documentation page looks good too -- https://wiki.openmrs.org/display/docs/REST+Web+Service+Resources#RESTWebServiceResources-Patient
17:14:28 <OpenMRSBot> <http://ln-s.net/9GzZ> (at wiki.openmrs.org)
17:14:48 <jriley> It looks like that URL said to show you the patient with uuid 495b10c4-56bd-11df-a35e-0027136865c4
17:15:33 *** robbyoconnor is now known as robbyoconnorisag
17:15:49 *** robbyoconnorisag is now known as ghostrobby
17:16:39 <jriley> What oh no? I am in suspense!
17:18:14 *** ghostrobby is now known as r0bbyisaghost
17:18:19 <Boby> I mean when I open a web browser to localhost:8080/openmrs/ws/rest/v1/patient/495b10c4-56bd-11df-a35e-0027136865c4
17:19:19 <Boby> But It doesn't like localhost:8080/openmrs/ws/rest/v1/catalog
17:19:44 <Boby> Anything wrong jriley ?
17:19:53 <jriley> hmmm
17:20:01 <jriley> I'm still trying to catch up to you :)
17:20:11 <jriley> So what does the catalog show? A list of resources, of some kind?
17:22:04 <Boby> Hmmmm, that is XML file but not infromation error
17:22:46 <jriley> ok, almost there
17:22:56 <jriley> Looking at my catalog URL now
17:23:19 <jriley> look at al this stuff! whoah
17:24:19 <jriley> that help link, next to settings and test, has some good stuff
17:24:24 <Boby> What do you mean /
17:24:45 <jriley> If you click on that help link it shows you a short list of the kinds of resources you can fetch and their Url
17:25:02 <jriley> So I'm going to see what happens if I retrieve a concept. That seems like a very safe test
17:25:07 <jriley> And I'll narrate as I go
17:26:14 <jriley> My URL is going to be /openmrs/ws/rest/v1/concept/ and then a uuid
17:26:16 <Boby> Ok right when i click help link, i see short list of the kinds of resources you can fetch and their Url
17:26:30 <jriley> Yes, that'll be helpful when you write your app
17:26:51 <jriley> I haven't explored this module much. I'm going to fetch a concept to make sure it's working like I expect
17:28:26 <jriley> In OpenMRS, I clicked on the Dictionary, and then searched for a concept. I picked the concept "YES", because I know it came with OpenMRS.
17:28:29 <jriley> My concept listing is at /openmrs/dictionary/concept.htm?conceptId=1
17:28:41 <jriley> and it shows me the UUID. I'm copying the UUID
17:29:29 <jriley> For my server, on 7070, and with my concept dictionary, the rest URL is http://localhost:7070/openmrs/ws/rest/v1/concept/65b08af5-b0dc-49b9-9985-64d63ab6e95a
17:29:40 <jriley> you'd have to use your own 8080 and your own UUID
17:30:46 <jriley> I got a result. It's long, but doesn't look like an error
17:31:53 <jriley> Are you able to view a concept through REST? That will tell us your server is working, at least for a concept
17:32:52 <Boby> Can you help me step by step with it?
17:32:57 <Boby> :((
17:33:32 <jriley> I don't have a lot of experience with it, but I'll help you make sure it's working, as much as I can
17:33:52 <jriley> So, can you get a REST answer if you look up the concept for "YES"?
17:35:06 <Boby> Hmmmmm.... No
17:35:14 <Boby> :((
17:35:41 <jriley> Did you find it in your concept dictionary ok and get the UUID for YES on your system?
17:36:43 *** suranga_ has joined #openmrs
17:36:51 <jriley> let me zoom out - are you familiar with UUIDs?
17:37:37 <Boby> I click Dictionary and enter "HIV" in textbox find a concept
17:38:02 <Boby> I see many concept with keyword "HIV"
17:38:38 <Boby> I choose one
17:40:09 <Boby> and i see its conceptId on address: ......?conceptId=1169
17:40:48 *** suranga has quit IRC
17:41:24 *** gauravpaliwal has joined #openmrs
17:41:24 *** ChanServ sets mode: +v gauravpaliwal
17:41:46 <Boby> Is it right UUID jriley?
17:41:48 <jriley> And you see the UUID when you view the concept? The second line
17:42:23 <Boby> Ok I see it :)
17:42:31 <jriley> It's huge
17:42:38 *** fanta_ has quit IRC
17:43:24 <Boby> and What next jriley ?
17:44:14 <jriley> Ok. You copied that UUID . Next open a new web browser and go to localhost:8080/openmrs/ws/rest/v1/concept/.... paste that UUID here... and hit return
17:44:48 <jriley> it should give you a big XML reply
17:45:29 <Boby> Ok I done it
17:45:43 <Boby> and I see big XML
17:46:08 <jriley> Ok! So we've just checked that the module is installed and works
17:46:12 <Boby> Hmmm not information error
17:46:15 <jriley> and it will tell you things if you ask
17:47:13 <jriley> Did you mean there is no error?
17:47:27 <Boby> so Everything ok! right ?
17:47:55 <jriley> Yes, no errors, it works
17:48:48 <jriley> What will your android app do?
17:52:05 <Boby> Do you know ODK Clinic Yaw Anokwa (UW) app ? jriley
17:53:13 <Boby> I think my android app like it
17:53:30 <jriley> I've heard of it, but not used it
17:54:22 <jriley> So we did the easy step - find out if the OpenMRS module works
17:54:37 <jriley> the hard step is to learn how to use the reply
17:54:47 <jriley> I've never done it
17:54:52 <jriley> but I see some pages that might help
17:55:54 <Boby> so What page? jriley
17:56:05 <jriley> looking them up ...
17:56:15 <jriley> The main documentation page is here : https://wiki.openmrs.org/display/docs/Webservices.rest+Module
17:56:16 <OpenMRSBot> <http://ln-s.net/92SZ> (at wiki.openmrs.org)
17:56:42 <jriley> There's an example program that calls the rest module at https://wiki.openmrs.org/display/docs/Webservices.rest+Module
17:56:43 <OpenMRSBot> <http://ln-s.net/92SZ> (at wiki.openmrs.org)
17:56:47 <jriley> er..
17:57:06 <jriley> Example Client code
17:57:06 <jriley> Quick java swing client that displays patients and encounters: http://svn.openmrs.org/openmrs-contrib/examples/webservices/hackyswingexample/
17:57:10 <OpenMRSBot> <http://ln-s.net/9H0d> (at svn.openmrs.org)
17:57:45 <jriley> The Java swing part won't apply, but you can look at how it handles a reply
17:58:12 <jriley> The module's unit tests will also show examples of how to make and process a reply
17:58:17 <jriley> The module can be checked out at ...
17:59:00 *** suranga has joined #openmrs
17:59:12 <jriley> https://source.openmrs.org/browse/~br=trunk/Modules/webservices.rest/trunk
17:59:15 <OpenMRSBot> <http://ln-s.net/9H0i> (at source.openmrs.org)
18:00:01 <jriley> http://svn.openmrs.org/openmrs-modules/webservices.rest/trunk/
18:00:03 <OpenMRSBot> <http://ln-s.net/9H0j> (at svn.openmrs.org)
18:00:42 <jriley> No tests! Tsk! Cancel that suggestion
18:01:00 <Boby> Ok thanks so much jriley
18:01:04 <jriley> The OpenMRS API documentation can be viewed at http://resources.openmrs.org/doc/
18:01:05 *** suranga has quit IRC
18:01:14 <jriley> You'll see that the xml replies are built like the classes
18:01:40 <jriley> so if you look at the Concept class, it will explain some of the XML reply
18:02:02 <jriley> The XML reply was handing back data as name, value, name, value . Like "isPreferredName", true .
18:02:05 <jriley> Hope that helps!
18:02:18 <jriley> I have to go out and do an errand
18:02:24 *** suranga_ has quit IRC
18:02:35 <jriley> It's Halloween. I need to get candy before kids ring my doorbell
18:04:01 *** Boby_ has joined #openmrs
18:04:36 <jriley> Good luck, Boby!
18:04:45 <Boby_> Hmm jriley. Can i ask you more question?
18:04:48 <jriley> sure
18:05:01 *** dkayiwa has joined #openmrs
18:05:50 *** Boby has quit IRC
18:06:40 <Boby_> I think when I develop android app so I have to design UI on android
18:07:07 <Boby_> But That so spend more time
18:07:53 <Boby_> When i connect in Open MRS so....
18:08:41 <Boby_> Does Open MRS export UI for my android app ?
18:09:26 <jriley> I don't think so, no
18:09:57 <jriley> Ah - look at this http://www.google.com/cse?cx=000838034246045916975%3Ahwklnwilweo&ie=UTF-8&q=android+and+openmrs&siteurl=www.google.com%2Fcse%2Fhome%3Fcx%3D000838034246045916975%3Ahwklnwilweo#gsc.tab=0&gsc.q=android%20and%20openmrs&gsc.page=1
18:09:59 <OpenMRSBot> <http://ln-s.net/9H0x> (at www.google.com)
18:10:10 <jriley> I typed "android and openmrs" into http://search.openmrs.org
18:10:27 <jriley> Maybe one of those pages will help.
18:10:32 <jriley> I don't have any experience with Android
18:11:49 <Boby_> ok let me try :) anyway thanks you so much jriley
18:11:57 <jriley> You're welcome! Good luck
18:12:23 *** jriley has left #openmrs
18:13:47 *** kishoreyekkanti has joined #openmrs
18:22:28 *** gauravpaliwal has left #openmrs
18:28:48 *** kishoreyekkanti has left #openmrs
18:32:22 *** fanta_ has joined #openmrs
18:37:36 *** bwolfe has quit IRC
18:47:53 *** Boby_ has quit IRC
19:11:45 *** r0bbyisaghost has quit IRC
19:12:03 *** r0bbyisaghost has joined #openmrs
19:12:03 *** ChanServ sets mode: +v r0bbyisaghost
19:23:58 *** Sri_ has joined #openmrs
19:33:01 *** r0bbyisaghost has quit IRC
19:35:00 *** bwolfe has joined #openmrs
19:35:00 *** ChanServ sets mode: +o bwolfe
19:39:28 <dkayiwa> hi bwolfe
19:40:13 *** downeym has joined #openmrs
19:40:13 *** ChanServ sets mode: +o downeym
19:40:13 *** OpenMRSBot sets mode: +o downeym
19:40:30 <dkayiwa> bwolfe: do you have any idea on how i can get unique names for contributors to the release?
19:49:22 <bwolfe> dkayiwa, its a combination of jira history and commit messages in those
19:49:37 <dkayiwa> ha
19:49:47 <bwolfe> (looking at Author: tags)
19:49:59 <dkayiwa> that includes duplicates
19:50:16 <bwolfe> although you could just go off of the ticket assignees
19:50:42 <dkayiwa> yes thats what am looking at and it has duplicates. am too lazy to sort that out manually :)
19:51:02 <bwolfe> ha
19:51:14 <dkayiwa> was hoping for a ninja trick :)
19:51:21 <bwolfe> copy/paste it in an excel sheet, then remove dupes
19:51:30 <dkayiwa> manually?
19:51:32 <bwolfe> err, sort alphabetically, then remove dupes
19:51:49 <dkayiwa> manually?
19:52:17 <bwolfe> manually I think
19:52:27 <dkayiwa> :O
19:54:04 <bwolfe> if they are alphabetical it shoudl be easy
19:54:14 <bwolfe> dkayiwa, or you could write a script to do it :-p
19:54:18 <dkayiwa> loll
19:54:30 <dkayiwa> was hoping for something easier :)
19:55:36 <fanta_> hi guys, i downloaded the trunk and run on it findbugs
19:55:52 <bwolfe> findbugs finds bugs
19:55:56 <bwolfe> :-)
19:56:16 <dkayiwa> am sure you got plenty of suggestions from findbugs :)
19:56:27 <fanta_> there are a lot of things to fix
19:56:34 <fanta_> real bugs
19:56:41 <dkayiwa> finds potential for bugs but not necesarilly bugs :)
19:56:52 <fanta_> i know, i konw
19:57:24 <fanta_> null pointer dereference, infininte reursive loop
19:57:34 <dkayiwa> lollllll
19:57:58 <bwolfe> fanta_, ignore anything in the org.openmrs.arden package...
19:58:29 <dkayiwa> :D
19:59:20 <fanta_> i think you should install a code quality tool in you CI
19:59:27 <fanta_> i am not sure which one do you use
19:59:45 <fanta_> one thing i noticed is also a lot of dead codes
19:59:50 <dkayiwa> just our eyes for now :)
20:00:42 <bwolfe> dead codes?
20:00:53 <fanta_> unused :)
20:01:17 <bwolfe> you mean never called?
20:01:41 <fanta_> never called, or just commented out
20:04:30 <dkayiwa> bwolfe: do you know how i can make jira show the user ids (names) instead of the full name (last and first names)?
20:05:00 <bwolfe> unless its a private method, theres a good chance its there and called by either spring or by modules
20:05:21 <bwolfe> dkayiwa, no idea
20:05:36 <dkayiwa> 9.9
20:05:47 <downeym> dkayiwa: i don't think that's possible
20:05:57 <dkayiwa> ohhhhhhh
20:06:12 <bwolfe> 9.9?
20:11:51 *** darius has joined #openmrs
20:21:57 <darius> downeym: can I manually run a trunk CI build?
20:22:04 *** darius is now known as djazayeri
20:22:10 *** ChanServ sets mode: +o djazayeri
20:22:20 <downeym> djazayeri: you may, although they're backed up a bit at the moment
20:24:00 <bwolfe> downeym, I just killed the nightly build 10 mins ago
20:24:05 <downeym> bwolfe: i know :)
20:24:08 <bwolfe> downeym, your "fix" didn't fix it me thinks
20:24:18 <downeym> bwolfe: seems to be about 50/50
20:27:11 <djazayeri> If they're broken, then I will continue to ignore them.
20:29:02 <downeym> sending notifications about broken stuff is what bamboo does :)
20:35:16 *** dkayiwa has quit IRC
20:47:51 *** downeym has quit IRC
21:14:48 *** bwolfe has quit IRC
21:18:07 *** Sri_ has quit IRC
21:18:37 *** Sri_ has joined #openmrs
21:50:07 *** bryq has quit IRC
22:56:48 *** djazayeri has quit IRC
23:04:04 *** fanta_ has quit IRC
23:39:38 *** Mkop1 has joined #openmrs
23:39:38 *** ChanServ sets mode: +v Mkop1
23:50:27 *** Sri_ has quit IRC