IRC Chat : 2013-02-08 - OpenMRS

00:08:11 *** wyclif has joined #openmrs
01:02:56 *** mseaton has joined #openmrs
01:02:56 *** ChanServ sets mode: +v mseaton
01:55:09 *** andrea has joined #openmrs
01:55:27 *** andrea is now known as Guest6859
02:41:48 *** jb360 has joined #openmrs
02:42:16 <jb360> Anyone here?
02:46:15 <jb360> I had an issue with the OpenMRS installation on my linux box. Every time I booted the webapp it would attempt to run the initialsetup and would report invalid username/password error.
02:46:48 <jb360> So I dropped the database and restarted the works (without the demo data) and everything came up fine.
02:47:31 <jb360> My question is this: Can I load the demo data without dropping the database schema and repeating the installation?
02:48:32 <jb360> FWIW: I'm a software engineer attempting to get involved with the project.
02:52:18 *** evmw has quit IRC
03:13:09 *** mseaton has quit IRC
03:13:10 *** wyclif has quit IRC
03:13:11 *** robbyoconnor has quit IRC
03:13:12 *** Iome has quit IRC
03:37:23 <jb360> Never mind. It looks like I can take the liquibase-demo-data.xml file and load it via ant or mvn.
04:25:55 *** robbyoconnor has joined #openmrs
04:27:24 *** wyclif has joined #openmrs
04:27:40 *** Iome has joined #openmrs
04:30:54 *** robbyoconnor has quit IRC
04:31:53 *** robbyoconnor has joined #openmrs
04:31:53 *** ChanServ sets mode: +v robbyoconnor
04:42:31 *** kishoreyekkanti has joined #openmrs
05:20:11 *** jb360 has quit IRC
06:33:18 *** kishoreyekkanti has quit IRC
06:39:44 *** kishoreyekkanti has joined #openmrs
07:38:02 *** djadmin has joined #openmrs
07:48:14 *** dkayiwa has joined #openmrs
08:07:31 *** dkayiwa has quit IRC
08:13:38 *** djadmin has quit IRC
08:16:26 *** djadmin has joined #openmrs
08:28:47 *** kishoreyekkanti_ has joined #openmrs
08:29:12 *** kishoreyekkanti has quit IRC
08:29:13 *** kishoreyekkanti_ is now known as kishoreyekkanti
08:50:48 *** kishoreyekkanti has quit IRC
08:51:03 *** kishoreyekkanti has joined #openmrs
08:58:53 *** reverton has joined #openmrs
09:00:12 *** djadmin has quit IRC
09:02:57 *** reverton has quit IRC
09:08:06 *** k-joseph has joined #openmrs
09:37:23 *** djadmin has joined #openmrs
09:43:05 *** rkorytkowski has joined #openmrs
09:43:05 *** rkorytkowski is now known as rafa
09:43:06 *** ChanServ sets mode: +v rafa
09:44:36 *** djadmin has quit IRC
09:56:29 *** k-joseph has quit IRC
10:33:26 *** rafa has quit IRC
10:44:42 *** dkayiwa has joined #openmrs
10:58:59 *** k-joseph has joined #openmrs
10:59:12 <k-joseph> dkayiwa: hi
10:59:20 <dkayiwa> k-joseph: hi
11:06:25 *** jkeiper has joined #openmrs
11:06:25 *** ChanServ sets mode: +v jkeiper
11:06:49 *** reverton has joined #openmrs
11:07:54 *** djadmin has joined #openmrs
11:08:24 <reverton> anyone good with reporting module?
11:08:32 <reverton> periodic report
11:10:26 *** rkorytkowski has joined #openmrs
11:10:26 *** rkorytkowski is now known as rafa
11:10:26 *** ChanServ sets mode: +v rafa
11:10:30 *** rafa has quit IRC
11:15:46 *** djadmin has quit IRC
11:40:23 <reverton> hi
11:44:37 *** reverton has quit IRC
11:52:20 *** k-joseph has quit IRC
12:06:13 *** robbyoconnor has quit IRC
12:14:38 *** rkorytkowski has joined #openmrs
12:14:38 *** rkorytkowski is now known as rafa
12:14:38 *** ChanServ sets mode: +v rafa
12:44:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: XForms 4.1.0.0 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=xforms&ampversion=&amp4.1.0.0>
12:45:54 *** rfriedman has joined #openmrs
12:46:22 <rfriedman> rafa, good morning
12:46:28 <rafa> rfriedman: hi
12:46:57 <rfriedman> rafa, just wanted to see if all the resources existed in the test dataset, especially what version of order
12:48:19 <rafa> rfriedman: yes, we do have OrderResourceTest
12:48:35 <rafa> and OrderControllerTest
12:49:26 <rfriedman> rafa, what version is it? 1.8, 1.9 or 1.9.2? (I'm not sure there's a difference between 1.8 and 1.9)
12:49:35 *** mseaton has joined #openmrs
12:49:35 *** ChanServ sets mode: +v mseaton
12:49:43 <rafa> rfriedman: I don't think there's a different between 1.8 and 1.9
12:49:50 <rafa> rfriedman: we have it for 1.8
12:50:18 <rafa> rfriedman: I plan to finish integrating rest19ext today
12:50:27 <rafa> rfriedman: and we will start running tests against 1.8 and 1.9
12:50:29 <rfriedman> rafa, cool
12:50:51 <rafa> rfriedman: this will show us if there are any problems with orders
12:50:53 <rfriedman> rafa, how do you propose to test objects whose data model has changed between versions?
12:51:21 <rfriedman> rafa, presumably the test data will only have the latest version
12:52:00 <rfriedman> rafa, sounds like there is another task when changing the data model of an object, creating the data for it in the junit test for the previous version
12:52:52 <rafa> rfriedman: if you create an object in java then it should work for any version unless there was a significant api change
12:53:08 <rfriedman> rafa, think of concept source, which got totally changed
12:53:31 <rafa> rfriedman: yes, we will test it separately in omod-1.9
12:53:46 <rafa> rfriedman: in omod-1.9 we can use 1.9 api for testing
12:54:12 <rafa> rfriedman: I prefer we avoid declaring test data in xmls
12:54:34 <rfriedman> rafa, are you thinking that tests will create their own resources on the fly?
12:54:40 <rafa> rfriedman: yes
12:55:26 <rfriedman> rafa, gets sort of complicated when you are testing a search that relies on conditions in related objects
12:55:59 <rafa> rfriedman: exceptions from the rule are allowed ;)
12:56:37 <rfriedman> rafa, i guess i am working from a module point of view
12:56:56 <rfriedman> rafa, in that case, you need a set of test data populating many tables that is internally consistent
12:57:11 <rfriedman> rafa, so it is convenient to use that test dataset
12:57:43 <rafa> rfriedman: whatever works
12:57:56 <rafa> rfriedman: okay, need to get back to code
12:58:04 <rfriedman> rafa, right, later
13:00:52 *** rfriedman has quit IRC
13:03:18 *** jkeiper has quit IRC
13:03:51 *** kavuri has joined #openmrs
13:12:57 *** dkayiwa has quit IRC
13:13:11 *** dkayiwa has joined #openmrs
13:14:07 <kavuri> rafa: hi
13:14:13 <rafa> kavuri: hi
13:14:50 <kavuri> rafa: I am trying to add a REST method in ObsController to retrieve all observations given the person and concept. How should the RequestMapping be for multiple inputs?
13:15:38 <kavuri> rafa: I am using the getObservationsByPersonAndConcept method from openmrs api
13:16:36 <rafa> kavuri: see https://github.com/openmrs/openmrs-module-webservices.rest/blob/master/omod/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/controller/OrderController.java
13:16:39 <OpenMRSBot> <http://ln-s.net/+ami> (at github.com)
13:17:24 <rafa> kavuri: you just need to say params = {"person", "concept"}
13:18:09 <kavuri> rafa: thanks. I have extended some method in webservices REST to provide better support
13:18:34 <kavuri> rafa: for example, I have extended the method getUserByUuidOrName() to retrieve a user with either uuid or name
13:18:45 <kavuri> rafa: how do you want such patches to be handled?
13:19:01 <kavuri> rafa: and also the method I am adding to extend the REST API
13:19:06 <rafa> kavuri: you need to create a ticket, describe the change and send a pull request
13:19:29 <kavuri> rafa: ok, will create individual tickets and send out the pull requests
13:19:38 <rafa> kavuri: perfect
13:20:08 *** dkayiwa_ has joined #openmrs
13:20:50 *** dkayiwa has quit IRC
13:20:50 *** dkayiwa_ is now known as dkayiwa
13:22:57 *** dkayiwa has quit IRC
13:23:43 *** dkayiwa has joined #openmrs
13:23:45 *** rafa has quit IRC
13:35:17 *** wyclif has quit IRC
13:53:15 *** kavuri has quit IRC
14:00:44 *** k-joseph has joined #openmrs
14:14:40 *** rkorytkowski has joined #openmrs
14:14:40 *** rkorytkowski is now known as rafa
14:14:40 *** ChanServ sets mode: +v rafa
14:17:21 *** djazayeri has joined #openmrs
14:17:21 *** ChanServ sets mode: +o djazayeri
14:17:57 *** k-joseph has quit IRC
14:19:39 *** k-joseph has joined #openmrs
14:22:50 *** jkeiper has joined #openmrs
14:22:50 *** ChanServ sets mode: +v jkeiper
14:23:06 *** wyclif has joined #openmrs
14:31:18 <dkayiwa> wyclif: do you know how to edit time spent on a ticket if i had set it to a wrong value?
14:31:34 <dkayiwa> rafa: djazayeri ^^
14:31:54 <djazayeri> dkayiwa: not sure offhand. I can look at JIRA if you want...
14:32:03 <dkayiwa> djazayeri: ok
14:33:33 <djazayeri> dkayiwa: what ticket, out of curiosity?
14:33:54 <dkayiwa> djazayeri: TRUNK-3896
14:34:00 <dkayiwa> !ticket TRUNK-3896
14:34:02 <OpenMRSBot> dkayiwa: [#TRUNK-3896] ORUR01Handler should load an encounters location from the database - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3896
14:34:41 <djazayeri> dkayiwa: from the "Work Log" tab (next to Comments)
14:34:50 <dkayiwa> djazayeri: ok
14:34:52 <djazayeri> dkayiwa: looks like you can edit/delete those
14:38:01 *** k-joseph_ has joined #openmrs
14:38:13 *** k-joseph has quit IRC
14:39:09 *** travis-ci has joined #openmrs
14:39:09 <travis-ci> [travis-ci] [openmrs/openmrs-core] [a145d15] [dkayiwa] The build passed. - http://travis-ci.org/openmrs/openmrs-core/builds/4666970
14:39:09 *** travis-ci has left #openmrs
14:39:13 <OpenMRSBot> <http://ln-s.net/+aoy> (at travis-ci.org)
14:51:52 *** k-joseph has joined #openmrs
14:53:08 *** k-joseph_ has quit IRC
15:02:17 <cpower_> Hello!
15:02:24 *** andrea has joined #openmrs
15:02:24 <cpower_> Let us Scrum...
15:02:32 <cpower_> !scrumon cpower
15:02:32 * OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster cpower- you may begin when ready.
15:02:34 <rafa> Hi!
15:02:44 <andrea> cpower, hi
15:02:45 *** andrea is now known as Guest99215
15:02:46 <cpower_> Welcome to the RESTWS Sprint!
15:02:56 *** Guest99215 is now known as andreap
15:03:33 <cpower_> Order: wyclif, dkayiwa, andreap, rafa, mseaton and djazayeri (If they want to update us on Boston)
15:03:40 <wyclif> Thursday:
15:03:40 <wyclif> emails
15:03:40 <wyclif> dev call
15:03:40 <wyclif> RESTWS-320 - Combine search and getAll methods in MainCrudController
15:03:40 <wyclif>
15:03:41 <wyclif> Friday:
15:03:43 <wyclif> Complete RESTWS-320 - Combine search and getAll methods in MainCrudController
15:03:45 <wyclif> pick another ticket
15:03:47 <wyclif>
15:03:51 <wyclif> Blockers: None
15:03:58 <cpower_> and Lluis if you are out there we'd love your status update to at the end
15:04:15 <dkayiwa> Committed: Edit Xslt - XFRM-124
15:04:15 <dkayiwa> Committed: ORUR01Handler should load an encounter's location from the database - TRUNK-3896
15:04:16 <dkayiwa> Reviewing: FormService.saveFormResouce doesn't effectively replace existing resources - TRUNK-3658
15:04:16 <dkayiwa> No Blockers
15:04:31 <andreap> Thursday
15:04:31 <andreap> Dev call
15:04:31 <andreap> REST-WS kick off meeting
15:04:31 <andreap> Claimed ticket RESTWS-322 Fix ConceptClassControllerTest
15:04:31 <andreap> Look over REST-WS
15:04:31 <andreap> Checked out code the for REST-WS sprint
15:04:33 <andreap> mvn clean install - BUILD SUCCESS
15:04:37 <andreap> Module didn't start - Raffal has fixed now
15:04:39 <andreap> Friday
15:04:41 <andreap> Merck meeting
15:04:43 <andreap> Pull fixed code
15:04:45 <andreap> Work on ticket RESTWS-322 Fix ConceptClassControllerTest
15:04:47 <andreap>
15:04:49 <andreap> No Blockers
15:04:53 <rafa> Today:
15:04:53 <rafa> * Committed RESTWS-349: Fix omod packaging
15:04:53 <rafa> https://tickets.openmrs.org/browse/RESTWS-349
15:04:53 <rafa> * Working on RESTWS-309: Merge webservices.rest and webservices.rest19ext modules into one
15:04:54 <rafa> https://tickets.openmrs.org/browse/RESTWS-309
15:04:54 <rafa> No blockers.
15:05:37 <djazayeri> Boston update:
15:05:41 <djazayeri> * Snow has started
15:05:45 <djazayeri> * but is still minimal
15:06:01 <djazayeri> * mayor and governor have asked business to stay closed
15:06:13 <dkayiwa> that must be a real blocker :)
15:06:15 <cpower_> I'll take that as a blocker
15:06:19 <djazayeri> No blockers yet, though snow may pile up in front of doors. :-)
15:06:19 <rafa> lol
15:06:19 <cpower_> ha!
15:06:32 <cpower_> Lluis are you out there?
15:07:12 <djazayeri> Tuesday and Wednesday: some very productive meetings related to Reference Application; report on that upcoming
15:07:16 <wyclif> rafa, i think i got a blocker
15:07:23 <rafa> wyclif: yes?
15:08:10 <wyclif> rafa, how are you running the unit tests between the pre and post 1.9 versions
15:08:34 <wyclif> rafa, when i just run mvn test, it fails
15:08:52 <cpower_> Ok, no discussion topics, let's keep the ball moving this week as we have a lot of tickets (even if a lot of them are estimated as small) on to wyclif's blocker
15:09:05 <rafa> wyclif: did you run mvn clean install?
15:09:25 <wyclif> rafa, running that currently and it works
15:09:39 <wyclif> rafa, will try mvn test after
15:09:48 <rafa> wyclif: you need to run install at least once
15:10:18 <wyclif> rafa, okay thanks
15:10:23 <rafa> wyclif: np
15:10:51 <rafa> wyclif: be sure to update the code
15:11:00 <wyclif> rafa, okay
15:12:17 <cpower_> and that's our game
15:12:20 <cpower_> !scrumoff
15:12:20 * OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
15:12:22 <wyclif> rafa, so we are sending pull requests from my_repo/ticket branch to openmrs/sprint-201302
15:12:35 <rafa> wyclif: you can push directly to that branch
15:12:42 <wyclif> rafa, okay
15:12:43 <rafa> wyclif: you have privs
15:12:50 <wyclif> rafa, okay thanls
15:12:53 <wyclif> rafa, okay thanks
15:19:52 *** rafa has quit IRC
15:24:45 *** andreap has quit IRC
15:26:58 *** dkayiwa has left #openmrs
15:37:45 *** k-joseph has quit IRC
15:55:36 *** basic` has quit IRC
15:58:02 *** basic` has joined #openmrs
16:09:32 *** kishoreyekkanti has quit IRC
16:25:13 *** mseaton has quit IRC
16:51:11 *** rkorytkowski has joined #openmrs
16:51:11 *** ChanServ sets mode: +v rkorytkowski
16:51:11 *** rkorytkowski is now known as rafa
16:58:00 *** djadmin has joined #openmrs
17:05:52 *** suranga has joined #openmrs
17:05:52 *** ChanServ sets mode: +v suranga
17:08:28 *** rfriedman has joined #openmrs
17:08:55 <rfriedman> cpower_, when is scrum?
17:10:33 <rfriedman> wyclif, when is scrum?
17:12:27 <jkeiper> rfriedman, 10:00am EST
17:12:37 <rfriedman> jkeiper, whoops, missed it
17:12:46 <jkeiper> rfriedman, np ... you should be able to catch the log
17:13:05 <rfriedman> jkeiper, yep, just headed there
17:17:05 <rfriedman> jkeiper, except you have to convert from universal time
17:17:18 <jkeiper> rfriedman, of course! at least it's not "internet time"
17:17:31 <rfriedman> jkeiper, internet time is always in the future
17:18:37 *** rfriedman has quit IRC
17:25:18 *** pulasthi7 has joined #openmrs
17:31:25 *** djadmin has quit IRC
17:43:59 *** cpower_ has quit IRC
17:48:37 *** wyclif_ has joined #openmrs
17:48:37 *** wyclif has quit IRC
17:48:40 *** suranga has quit IRC
17:59:51 <wyclif_> djazayeri, and rafa i have added question on https://tickets.openmrs.org/browse/RESTWS-320, can you check it out?
18:02:23 <wyclif_> djazayeri, rafa ?
18:02:58 <djazayeri> wyclif_: your comment sounds correct
18:03:25 <djazayeri> wyclif_: basically I think that our shared Controller should have just a single method that handles all GETs
18:03:48 <djazayeri> wyclif_: and our abstract class for resources should still have a getAll and a search (or something)
18:03:56 <wyclif_> djazayeri, okay got you
18:04:06 <wyclif_> djazayeri, thanks
18:04:16 <djazayeri> wyclif_: and AllergyResource would, in its search method, decide whether to do getByPatient, etc.
18:04:49 <wyclif_> djazayeri, ok
18:07:17 <wyclif_> djazayeri, it would be good to rename the *ContollerTests to something *FunctionalTest or *BehaviorTest or something on these lines
18:07:57 <wyclif_> djazayeri, or even AllegyCrudControllerTest might be better
18:14:35 *** evmw has joined #openmrs
18:18:23 *** mseaton has joined #openmrs
18:18:23 *** ChanServ sets mode: +v mseaton
18:31:34 *** mseaton has quit IRC
18:37:43 *** djadmin has joined #openmrs
18:40:29 *** djazayeri has quit IRC
18:45:11 *** lh has quit IRC
19:03:12 *** djadmin has quit IRC
19:06:29 *** djazayeri has joined #openmrs
19:06:29 *** ChanServ sets mode: +o djazayeri
19:08:15 *** mseaton has joined #openmrs
19:08:15 *** ChanServ sets mode: +v mseaton
19:19:09 *** rafa has quit IRC
19:23:16 *** cpower_ has joined #openmrs
19:23:58 *** pulasthi7 has quit IRC
19:25:14 <cpower_> djazayeri and mseaton, can we have a Reference 2.0 meeting on Monday?
19:25:35 <djazayeri> cpower_: yes. we both emailed kieran that we're free for the whole window he proposed
19:26:06 <cpower_> Sorry wasn't on the email, so there is a meeting setup on Monday?
19:26:52 <djazayeri> cpower_: I just added you to the email thread. (Kiran hasn't confirmed a time yet.)
19:27:38 <djazayeri> cpower_: by the way, though, I think I'm going to need to delay that sprint until after Mirebalais hospital opening (which is March 4)
19:44:17 *** rkorytkowski has joined #openmrs
19:44:17 *** rkorytkowski is now known as rafa
19:44:17 *** ChanServ sets mode: +v rafa
19:45:28 *** jkeiper has quit IRC
20:53:59 *** lh has joined #openmrs
20:53:59 *** lh has joined #openmrs
20:58:28 *** robbyoconnor has joined #openmrs
20:58:28 *** ChanServ sets mode: +v robbyoconnor
21:00:23 *** robbyoconnor has quit IRC
21:02:54 *** robbyoconnor has joined #openmrs
21:02:54 *** ChanServ sets mode: +v robbyoconnor
21:33:24 *** wyclif_ has quit IRC
21:34:35 *** wyclif has joined #openmrs
21:37:42 *** rafa has quit IRC
22:09:35 *** wyclif has quit IRC
22:14:24 *** mseaton has quit IRC
22:23:42 *** mseaton has joined #openmrs
22:23:42 *** ChanServ sets mode: +v mseaton
22:33:52 *** mseaton has quit IRC
22:35:01 *** lh has quit IRC
23:55:47 *** djazayeri has quit IRC