IRC Chat : 2011-06-10 - OpenMRS

00:26:36 *** mandric has quit IRC
00:51:58 *** Hazamonzo has quit IRC
01:25:59 *** Hazamonzo has joined #openmrs
01:31:03 *** Hazamonzo has quit IRC
02:08:24 *** mandric has joined #openmrs
02:36:05 *** muthah has quit IRC
02:57:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: i2b2 Export Module 1.0.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=i2b2export&version=&1.0.0>
02:58:11 *** dkayiwa has joined #openmrs
03:21:40 *** mandric has quit IRC
03:22:04 *** wyclif has quit IRC
03:22:13 *** wyclif has joined #openmrs
03:25:56 *** mandric has joined #openmrs
03:34:09 *** dkayiwa has quit IRC
03:40:06 *** surangak has joined #openmrs
03:44:15 *** gbastien has quit IRC
03:53:20 *** mandric has quit IRC
03:59:50 *** mandric has joined #openmrs
04:10:47 *** chopin has quit IRC
04:14:33 *** dkayiwa has joined #openmrs
04:16:15 *** wyclif has quit IRC
04:16:31 *** wyclif has joined #openmrs
04:25:27 *** dkayiwa has quit IRC
04:25:41 *** dlawson has quit IRC
04:26:34 *** dlawson has joined #openmrs
04:26:34 *** ChanServ sets mode: +v dlawson
04:31:13 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Test case: Create a Concept - APPTEST-9 <http://feedproxy.google.com/~r/OMRStrunk/~3/sjYlaGivt00/OpenMRS>
04:58:48 *** mandric has quit IRC
04:59:40 *** muthah has joined #openmrs
05:09:21 *** goutham has joined #openmrs
05:13:46 *** goutham has quit IRC
05:24:57 *** morristic has joined #openmrs
06:38:47 *** dkayiwa has joined #openmrs
06:45:15 *** jwishnie has joined #openmrs
06:50:22 *** bryq has joined #openmrs
06:50:22 *** ChanServ sets mode: +v bryq
06:53:17 *** pascal` has joined #openmrs
07:01:01 *** bwolfe has joined #openmrs
07:01:01 *** ChanServ sets mode: +o bwolfe
07:03:47 *** dkayiwa has quit IRC
07:07:12 *** rafa has joined #openmrs
07:07:12 *** ChanServ sets mode: +v rafa
07:11:18 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Deleting a role. Also added code to check absence of an element. Used the correct formatter this time - APPTEST-29 <http://feedproxy.google.com/~r/OMRStrunk/~3/Aj159OGLd6s/OpenMRS>
07:13:38 *** jwishnie has quit IRC
07:26:37 *** dkayiwa has joined #openmrs
07:37:23 *** jwishnie has joined #openmrs
07:47:14 *** ChanServ sets mode: +v pascal`
07:47:58 *** danielf` has joined #openmrs
07:47:58 *** ChanServ sets mode: +v danielf`
07:57:28 *** gauravpaliwal has joined #openmrs
07:57:28 *** ChanServ sets mode: +v gauravpaliwal
08:01:37 *** gauravpaliwal has left #openmrs
08:07:28 *** jwishnie has quit IRC
08:09:11 *** dkayiwa has quit IRC
08:17:21 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (obs-codes-expanded): Committing a rough working version of domainObsValue.tag (more changes later) and changes to obsForm.jsp <http://feedproxy.google.com/~r/OMRStrunk/~3/5g5c320L0gk/OpenMRS>
08:34:29 *** upul` has joined #openmrs
08:34:35 *** ChanServ sets mode: +v upul`
08:48:40 *** dkayiwa has joined #openmrs
08:50:00 *** dkayiwa has quit IRC
08:59:02 *** dlawson has quit IRC
09:00:07 *** dkayiwa has joined #openmrs
09:03:27 *** surangak_ has joined #openmrs
09:03:28 *** surangak has quit IRC
09:19:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Web Servies SSL <http://forum.openmrs.org/viewtopic.php?f=8&t=782#p2959>
09:22:40 *** dkayiwa has quit IRC
09:41:55 *** danielf` has quit IRC
10:10:57 *** bwolfe has quit IRC
10:23:18 *** bwolfe has joined #openmrs
10:23:18 *** ChanServ sets mode: +o bwolfe
10:25:29 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Test case for changing privileges for a role - APPTEST-30 <http://feedproxy.google.com/~r/OMRStrunk/~3/InP9yw__SNA/OpenMRS> || New Changeset: OpenMRS (improved-person-attribute-type): Changed base classes for Person, PersonAttribute and PersonAttributeType <http://feedproxy.google.com/~r/OMRStrunk/~3/wvFFGY-wEZU/OpenMRS>
10:32:26 *** upul` has quit IRC
10:52:50 *** surangak_ has quit IRC
10:54:36 *** morristic has quit IRC
11:01:43 *** james_regen has joined #openmrs
11:01:43 *** ChanServ sets mode: +v james_regen
11:09:37 *** Hazamonzo has joined #openmrs
11:17:44 *** surangak has joined #openmrs
11:17:54 <surangak> djazayeri, hi, r u around
11:18:09 <surangak> djazayeri, could i ask a question on your visit attribute structure :)
11:19:47 *** dkayiwa has joined #openmrs
11:22:34 *** surangak has quit IRC
11:44:25 *** dlawson has joined #openmrs
11:44:35 *** ChanServ sets mode: +v dlawson
12:15:50 *** Hazamonzo has quit IRC
12:20:49 *** bryq has quit IRC
12:26:38 *** bryq has joined #openmrs
12:26:38 *** ChanServ sets mode: +v bryq
12:29:15 *** bryq has quit IRC
12:33:14 *** chopin has joined #openmrs
12:33:14 *** ChanServ sets mode: +v chopin
12:33:16 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @djazayeri: Finally getting a chance to look back at the #OpenMRS 2.x UI Framework. (And I love it!) <http://twitter.com/OpenMRS/statuses/79153359935901697>
12:43:37 *** wyclif has quit IRC
12:58:06 *** downeym has joined #openmrs
12:58:06 *** ChanServ sets mode: +o downeym
12:58:06 *** OpenMRSBot sets mode: +o downeym
12:59:22 *** downeym sets mode: +v dkayiwa
13:05:42 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Test case for creating an encounter - APPTEST-4 <http://feedproxy.google.com/~r/OMRStrunk/~3/l2N-_hisguc/OpenMRS>
13:18:24 *** wyclif has joined #openmrs
13:25:57 *** gbastien has joined #openmrs
13:33:43 *** jportela has joined #openmrs
13:33:43 *** ChanServ sets mode: +v jportela
13:36:37 <rafa> Hi guys, do you know if I can find the MVP concept dictionary to download anywhere?
13:37:10 <dkayiwa> i have only seen people email Andy for it
13:38:02 *** muthah has quit IRC
13:38:35 <rafa> good, thanks
13:42:17 *** muthah has joined #openmrs
13:46:42 *** muthah has quit IRC
13:48:00 *** muthah has joined #openmrs
13:52:34 *** muthah has quit IRC
13:53:42 *** muthah has joined #openmrs
13:58:03 *** muthah has quit IRC
14:00:30 *** muthah has joined #openmrs
14:04:41 *** dlawson has quit IRC
14:07:43 *** mandric has joined #openmrs
14:29:26 *** Echidna_ has joined #openmrs
14:29:27 *** Echidna has quit IRC
14:30:19 *** Echidna has joined #openmrs
14:30:19 *** ChanServ sets mode: +v Echidna
14:30:19 *** Echidna_ has quit IRC
14:33:15 *** bwolfe has quit IRC
14:35:18 *** pascal` has quit IRC
14:46:08 *** dlawson has joined #openmrs
14:46:08 *** ChanServ sets mode: +v dlawson
15:00:28 *** asgoyal has joined #openmrs
15:07:35 *** gauravpaliwal has joined #openmrs
15:07:35 *** ChanServ sets mode: +v gauravpaliwal
15:12:46 *** downeym_ has joined #openmrs
15:12:46 *** ChanServ sets mode: +o downeym_
15:16:25 *** downeym has quit IRC
15:16:25 *** downeym_ is now known as downeym
15:17:40 *** dkayiwa has quit IRC
15:24:31 *** pascal` has joined #openmrs
15:30:36 *** pascal` has quit IRC
15:32:40 *** downeym_ has joined #openmrs
15:32:40 *** ChanServ sets mode: +o downeym_
15:34:39 *** gbastien has quit IRC
15:35:41 *** downeym has quit IRC
15:35:41 *** downeym_ is now known as downeym
15:44:05 *** pascal` has joined #openmrs
15:44:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: HTML Form Entry 1.7.3 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=htmlformentry&version=&1.7.3> || OpenMRS Modules: i2b2 Export 1.0.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=i2b2export&version=&1.0.0>
15:44:33 *** muthah has quit IRC
15:44:48 <asgoyal> hello\
15:45:31 <asgoyal> I am trying to run the tests as mentioned on the 2011-05-31 development sprint
15:45:50 <asgoyal> it stops at the login page as the password is incorrect
15:46:31 <asgoyal> so I think there is a modification needed in the login_to_website.story file
15:46:54 <asgoyal> because when i changed the password to the Admin123 it works
16:12:56 *** gauravpaliwal has quit IRC
16:13:02 *** gauravpaliwal has joined #openmrs
16:13:02 *** ChanServ sets mode: +v gauravpaliwal
16:18:51 *** asgoyal has quit IRC
16:26:47 *** muthah has joined #openmrs
16:32:18 *** muthah has quit IRC
16:48:13 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Test case:Edit a Concept - APPTEST-10 <http://feedproxy.google.com/~r/OMRStrunk/~3/g1PB6dGMZQU/OpenMRS> || New Changeset: OpenMRS (webapp-testing): Adding missing selectboxfinder <http://feedproxy.google.com/~r/OMRStrunk/~3/VrmYqyxXf8Y/OpenMRS>
16:53:53 *** gauravpaliwal has left #openmrs
16:56:39 *** rafa has quit IRC
16:58:33 *** szrrizvi has joined #openmrs
17:03:43 <szrrizvi> Hi, on https://wiki.openmrs.org/display/docs/OpenMRS+AOP it says, in order to wrap a class around a service we add an entre to the module's /metadata/config.xml. But I am unable to find this file for the OpenMRS/api module. Can anyone help?
17:03:44 <OpenMRSBot> <http://ln-s.net/8gLx> (at wiki.openmrs.org)
17:13:57 *** muthah has joined #openmrs
17:34:45 <szrrizvi> Hi, could anyone tell me how the @Authorized annotation works? Or if I wanted to make my own similar annotation, how would I do that?
17:35:41 <djazayeri> szrrizvi: how does it work meaning what effect does it have?
17:35:50 <djazayeri> or how does it technically work with spring?
17:36:02 <szrrizvi> technically
17:36:35 <szrrizvi> I know that the service interfaces use the @Authorized annotation before east method.
17:37:19 <djazayeri> short answer: it uses AOP. in applicationContext-service.xml we define an authorizationInterceptor bean, and include this in the serviceInterceptors list
17:38:08 <djazayeri> so basically spring wraps all service methods with an AOP advice class.
17:38:31 <djazayeri> And if you put an @Authorized annotation on the method, the advice class will check that the currently-authenticated user has that privilege.
17:38:42 <djazayeri> did you want more or less detail?
17:39:09 <szrrizvi> I think you have answered my question.
17:40:08 <szrrizvi> Thank you
17:48:03 *** Suranga has joined #openmrs
17:51:48 *** muthah has quit IRC
17:52:29 *** asgoyal has joined #openmrs
17:55:37 *** gbastien has joined #openmrs
17:58:54 <asgoyal> May I ask for someone's help?
17:59:29 *** mandric has quit IRC
18:01:08 *** szrrizvi has quit IRC
18:08:20 <downeym> asgoyal: no need to ask to ask, just ask. :)
18:09:01 <Suranga> we will help, as we can...
18:10:01 <downeym> asgoyal: what's up?
18:10:26 <asgoyal> i m facing a problem in spriint development dates 2011-05/31
18:10:34 <asgoyal> i m trying to run the test cases
18:10:59 <asgoyal> so i did this successfully mvn clean integration-test -DskipTests -P integration-test
18:11:08 <asgoyal> but then when i try to run one particular test case like
18:11:16 <asgoyal> mvn clean integration-test -DskipTests -P smoke-test -Dtest=CreateAnEncounter
18:11:31 <asgoyal> it again goes to the installation wizard and shutsdown
18:12:05 <asgoyal> so how do i change it to start from the openmrs login page instead of installation page
18:12:18 <asgoyal> ?
18:13:08 <Suranga> do u wish to run a single given test cast ?
18:13:12 <asgoyal> yes
18:13:12 <Suranga> *test case ?
18:13:33 <Suranga> i had the command, gimme a second...
18:13:33 <asgoyal> yes
18:13:38 <asgoyal> ok
18:15:46 <Suranga> i think you need to run a command like mvn -Dtest=TestCircle test
18:16:13 <Suranga> u dont need the 'clean' option, or the smoke-test option
18:16:23 *** downeym sets mode: +v pascal`
18:16:24 <asgoyal> oh ok
18:16:26 *** downeym sets mode: +v wyclif
18:16:37 <asgoyal> so what should i put the command as?
18:17:06 <Suranga> could u give me the name of your test class ?
18:18:01 <asgoyal> a min
18:18:44 <asgoyal> CreateAUser
18:20:31 <Suranga> ummm, this is not from the tunk, is it ?
18:20:40 <Suranga> i am unable to find that test case...
18:20:44 <asgoyal> no its in the webapp-testing
18:20:55 <asgoyal> its inside the release-test folder
18:21:10 <asgoyal> http://svn.openmrs.org/openmrs/branches/webapp-testing
18:21:14 <OpenMRSBot> <http://ln-s.net/8tpJ> (at svn.openmrs.org)
18:28:12 *** bryq has joined #openmrs
18:28:12 *** ChanServ sets mode: +v bryq
18:29:53 *** mandric has joined #openmrs
18:36:21 <Suranga> hi, unfortunately i have not worked with the weebapp-testing module, but i can give you the command for a test case in the trunk, and maybe u cn use that as an example ?
18:36:28 <Suranga> how would that be ?
18:37:14 *** wyclif has quit IRC
18:37:21 <Suranga> for example to run the test case org.openmrs.api.ActiveListServiceTest In the trunk, i need to navigate into the api folder,
18:37:25 <Suranga> and from there run the command
18:37:40 <Suranga> mvn -Dtest=org.openmrs.api.ActiveListServiceTest test
18:38:03 <Suranga> this will give you the result "Tests run: 8, Failures: 0, Errors: 0, Skipped: 0" at the end
18:38:14 *** wyclif has joined #openmrs
18:38:55 <asgoyal> sure
18:39:34 <Suranga> may bhe if you can get this example running, u can modify it for your test ?
18:39:44 <asgoyal> but this is for unit test code
18:39:51 <asgoyal> i want to run a BDD test code
18:40:35 <asgoyal> so problem is for first run it navigates to the installation wizard and does those steps with the help of webdriver to connect to databaase server
18:41:14 <asgoyal> so when that is done it will then run the BDD tests where the webdriver will show me how the tests are running by opening a browser and inputing the data through selenium
18:41:30 <asgoyal> but when i specify my test case
18:41:38 <asgoyal> it must not go to the installation wizard url
18:41:44 <asgoyal> because that is already been done
18:41:46 <Suranga> woooops, selenium test casses...
18:41:55 <asgoyal> ...?
18:42:10 <Suranga> sorry that was my mistake...
18:42:17 <asgoyal> oh np
18:42:22 <Suranga> i assumed normal test cases
18:42:31 <asgoyal> oh no no i know how to run them
18:42:39 <Suranga> is there anyone who can help with a selenium test please ?
18:47:59 <djazayeri> wyclif: ayt
18:48:31 <djazayeri> can you tell asgoyal how to run the automated webapp tests without re-running the install wizard?
18:50:10 * downeym walks over and reminds wyclif about irc
18:50:53 <wyclif> hey
18:50:58 <asgoyal> hi wyclif
18:51:01 <asgoyal> :)
18:51:29 <asgoyal> Can you tell me how to run the automated webapp tests without re running the installation wizard?
18:51:33 <wyclif> sorry! i have a skype call with my GSoC student that started 5min ago
18:51:43 <asgoyal> oh ok
18:51:43 <Suranga> ah asgoyal you are in better hands now :-)
18:51:55 <asgoyal> haha thanks to all ^^
18:52:03 <djazayeri> wyclif: is there a one-line command for this documented on the wiki page for the sprint?
18:52:17 <wyclif> asgoyal, you need to go to this link https://wiki.openmrs.org/display/RES/2011-05-31+Development+Sprint
18:52:18 <OpenMRSBot> <http://ln-s.net/8rpR> (at wiki.openmrs.org)
18:52:29 <asgoyal> yes i m using that link
18:52:31 <asgoyal> its not working
18:52:39 <wyclif> under the Running the tests section
18:52:42 <wyclif> it should work
18:52:57 <wyclif> you might be doing something wrong
18:53:01 <asgoyal> yeah the first one works after i made a modification in the login_to_website.story page
18:53:08 <asgoyal> but the second one
18:53:13 <asgoyal> for single test case
18:53:15 <wyclif> when on the command line, you need to be at the project root
18:53:22 <asgoyal> it just goes to the installation wiz url and stops
18:53:25 <asgoyal> yes
18:53:33 <wyclif> that is webapp-testing
18:53:34 <asgoyal> i m taking care of all those things :)
18:53:36 <asgoyal> yes
18:53:44 *** Echidna has quit IRC
18:54:11 <asgoyal> mvn clean integration-test -DskipTests -P integration-test
18:54:15 <asgoyal> this command works
18:54:28 <asgoyal> after i made the modification
18:54:28 <wyclif> hmmm!!
18:54:29 <asgoyal> but
18:54:33 <wyclif> i wonder why
18:54:36 <bryq> Hi djazayeri. I've got small question. Are there many OpenMRS installations that are connected to the Internet through satellite connection (or generally: low bandwidth)?
18:54:39 <asgoyal> mvn clean integration-test -DskipTests -P smoke-test -Dtest=CreateAnEncounter
18:54:49 <asgoyal> this one doesn't it just opens up the install wiz url and stops
18:55:41 <wyclif> can you try ./release-test.sh -t <testname>
18:55:58 <asgoyal> ok a min
18:55:59 *** jportela has quit IRC
18:56:03 <wyclif> this is a recent change that was added
18:56:16 <asgoyal> oki trying
18:57:01 <wyclif> i.e type ./release-test.sh -t CreateAnEncounter
18:57:09 <asgoyal> yep did that
18:57:15 <asgoyal> seeing what it gives
18:57:21 <wyclif> how is it going?
18:57:48 <wyclif> sorry, i didnt reply your msgs because i out of my cube
18:58:04 <asgoyal> no problem wyclif :)
18:58:27 <asgoyal> still the saame
18:58:34 <asgoyal> it says in the terminal that
18:58:34 <wyclif> failing?
18:58:39 <asgoyal> intial setup is needed
18:58:50 <asgoyal> and so it opens up the install wiz url
18:58:57 <wyclif> hmmm
18:59:11 <wyclif> i thinl something is wrong with the way your projec is set up
18:59:23 <wyclif> i think something is wrong with the way your project is set up
18:59:41 *** Echidna has joined #openmrs
18:59:41 *** ChanServ sets mode: +v Echidna
18:59:57 <wyclif> becauce i can't seem to figure out why it is failing
19:00:02 <asgoyal> oh ok
19:00:18 <wyclif> i did the same thing as i have described and it worked
19:00:39 <asgoyal> it says it is unable to find the runtime properties file
19:00:47 <wyclif> wait a minute
19:01:28 <asgoyal> ok i will delete the whole folder .. svn checkout again ... make the change and run the first command and then try with single case again
19:02:06 <asgoyal> this will take time.. so will come back to you after half an hour if i still face the problem :)
19:04:42 <wyclif> wait a minute
19:05:00 <wyclif> am testing something to see if it may be the cause os the problem
19:05:08 <asgoyal> oh ok
19:05:50 <asgoyal> I made a change in login_to_website.story file for the test to pass the login test case
19:06:09 <wyclif> i think i figure out the problem
19:06:10 <asgoyal> the password must be changed from test1234 to Admin123
19:06:13 <asgoyal> oh nice!
19:06:43 <wyclif> you need to add a runtime.properties file under your home directory
19:07:14 <wyclif> and set the user and password
19:07:30 <asgoyal> where can i find this file?
19:07:49 <asgoyal> home directory.. let me see
19:07:52 <wyclif> create one and i will paste for you the contents in the chat
19:07:59 <asgoyal> nice thanks!
19:08:00 <wyclif> check and see if you have one
19:08:48 <asgoyal> this file must be in the root project webapp-testing or my home directory?
19:08:56 <asgoyal> i dont have one in my home directory so creating one
19:10:43 *** asgoyal has quit IRC
19:10:54 <wyclif> home
19:11:46 <wyclif> hope this helps
19:13:21 *** asgoyal has joined #openmrs
19:13:29 <asgoyal> sorry wyclif i got disconnected
19:14:27 <asgoyal> i need to restart my pc be right back
19:14:31 *** asgoyal has quit IRC
19:18:06 *** asgoyal has joined #openmrs
19:18:18 <asgoyal> back
19:30:07 *** james_regen has quit IRC
19:30:43 *** nribeka has joined #openmrs
19:30:43 *** ChanServ sets mode: +v nribeka
19:40:49 <wyclif> ok
19:49:28 *** asgoyal has quit IRC
19:55:29 *** pascal` has quit IRC
20:11:11 *** bryq1 has joined #openmrs
20:11:17 *** bryq has quit IRC
20:15:46 *** Echidna has quit IRC
20:19:36 *** Echidna has joined #openmrs
20:19:36 *** ChanServ sets mode: +v Echidna
20:24:26 *** Suranga has quit IRC
20:32:40 *** jportela has joined #openmrs
20:32:40 *** ChanServ sets mode: +v jportela
20:36:42 *** chopin has quit IRC
20:43:42 *** rafa has joined #openmrs
20:43:42 *** ChanServ sets mode: +v rafa
21:00:00 *** dlawson has quit IRC
21:08:35 *** downeym has quit IRC
21:14:32 *** wyclif has quit IRC
21:24:11 *** gbastien has quit IRC
21:32:39 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (localize-setup-wizard): TRUNK-2055 : fixed used of property names for translation keys and added translation for database setup page <http://feedproxy.google.com/~r/OMRStrunk/~3/MnJRBSESUow/OpenMRS>
21:53:52 *** morristic has joined #openmrs
22:00:57 *** rafa has quit IRC
22:19:22 *** gbastien has joined #openmrs
22:20:12 *** bryq1 has quit IRC
22:38:12 *** szrrizvi has joined #openmrs
22:41:10 <szrrizvi> Hi, I have been working on a presentation on the Access Control in OpenMRS. I was wondering if it would be useful to add it to the OpenMRS documentation.
22:51:59 *** mandric has quit IRC
22:52:21 *** jportela has left #openmrs
22:59:10 <szrrizvi> quit
22:59:13 *** szrrizvi has quit IRC
23:03:22 *** wyclif has joined #openmrs
23:16:01 *** wyclif has quit IRC
23:31:05 *** jportela has joined #openmrs
23:31:05 *** ChanServ sets mode: +v jportela
23:31:16 *** jportela has left #openmrs
23:49:39 *** mandric has joined #openmrs
23:52:48 *** mandric has quit IRC