16:02:46 #startmeeting jQuery/XPath for MD-SAL intern 16:02:46 Meeting started Mon Jul 28 16:02:46 2014 UTC. The chair is colindixon. Information about MeetBot at http://ci.openstack.org/meetbot.html. 16:02:46 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:02:46 The meeting name has been set to 'jquery_xpath_for_md_sal_intern' 16:02:55 #topic status update 16:03:23 #info Neel_B says he’s fixed his pax-exam proxy issues :-) 16:03:33 I missed the email - what was the problem? 16:04:34 I’m not sure 16:04:38 and Neel_B seems to be afk 16:04:48 he just messaged me this morning to say that 16:05:19 my guess is that it was his proxy (I thnk most internet in India winds up having a proxy—or I’m guessing that based on things) 16:05:57 ah 16:07:45 so, regXboi, did you play around with pax-exam at all? 16:07:51 I know that was devin’s stuff 16:07:56 colindixon 16:08:06 djx: yup? 16:08:13 ups are you guys on a meeting? 16:08:38 djx: sort of, but it’s fine 16:08:48 no - i've not played with pax-exam 16:10:50 neither have I 16:11:06 to quote kyle: #sadpanda 16:12:04 no kidding 16:12:43 regXboi: since Neel_B seems to not be around, maye we just break here 16:12:48 sorry 16:12:52 just back 16:12:53 ok 16:12:55 hey Neel_B 16:13:19 some of the maven plugins don't use 16:13:19 so, Neel_B you have the toaster-it building successfully? 16:13:27 maven proxy 16:13:44 so connection refused error 16:13:51 #info the issue seems to have been that some of the maven plugins don’t use the maven proxy settings as you’d like them to 16:14:00 Neel_B: and how did you fix it? 16:14:08 http://stackoverflow.com/questions/1251192/how-do-i-use-maven-through-a-proxy last answer 16:14:24 google failed me but bing got me the answer 16:14:35 #link http://stackoverflow.com/questions/1251192/how-do-i-use-maven-through-a-proxy the last answer here was what fixed it for Neel_B 16:14:37 perfect 16:14:56 so, the next step would be to modify the toaster-it to run your testcases as well 16:15:12 yeah 16:15:15 adn then we can factor it apart into a md-sal-xpath-it or something 16:15:25 Neel_B: and is that what you’re working on? 16:15:30 #topic next steps 16:16:02 i got DomDataBroke instantiated 16:16:06 colindixon: we need to reflect that link back to others in controller 16:16:15 regXboi: yup 16:16:36 #action colindixon to reply to his own thread on the controller-dev list aobut using maven through a proxy with that link 16:16:44 Neel_B: cool 16:16:59 #link https://meetings.opendaylight.org/opendaylight-intern/2014/jquery_xpath_for_md_sal_intern/opendaylight-intern-jquery_xpath_for_md_sal_intern.2014-07-10-15.10.html the next steps from this earlier meeting should now be things we can get moving 16:17:05 +1 to colindixon's statement - very cool 16:17:15 I agree 16:17:48 so, Neel_B where are you on going through the suggestions from that meeting? (the one I just linked) 16:17:49 and are there things that regXboi and I can help with? 16:18:14 i will be up all night 16:18:24 will keep pinging you 16:18:27 if required 16:18:30 Neel_B: :p 16:18:31 ok 16:18:39 I will be occasioanlly slow to respond 16:18:45 I 16:18:47 er I 16:18:50 ack 16:18:59 but I should be around 16:19:06 er I'll be around as well - but definitely in and out - fighting a couple of deadlines here 16:19:14 so, where are you at this point Neel_B in terms ogetting things to work? 16:19:25 no judgement is intended there, just curious 16:19:48 my guess is here: “Neel_B should now modify his copy of the integration test to do the minimal amount of work (for example, comment out all comments in the "testToaster" methods) and add in a simple Print line to understand how integration test flow works” 16:19:58 commented out the @test and put print in it 16:20:08 the print is fine 16:20:25 studying how the test flow works 16:20:30 exaclty 16:20:31 perfect 16:21:30 #info Neel_B has the toaster-it running, has commented all the testToaster methods out and added a simple print statement so he knows things are running with his modified code 16:22:18 #info the next two actions are verbatim copied from the 2014-07-10 meeting above 16:22:32 #action Neel_B should then try to import the DOMDataBroker service using the the @Inject method (hopefully all dependencies are already being pulled in). 16:22:41 #action Neel_B now has a functioning DOMDataBroker installed. Neel_B should use that to first insert a simple toaster and then use it to experiment with how we might merge the element and read interfaces of MD-SAL 16:22:49 #action Neel_B: Note, Neel_B may want to import the DataBroker (which is the "binding" version to create the toaster information as is done in the toaster provider code. May prove to be easier.) 16:23:27 :) 16:23:41 #info when we start writing tests, it might be useful compare XPath with our special nodes to XPath on the actual MD-SAL nodes that are converted to a Document 16:23:43 ok 16:25:52 #link https://git.opendaylight.org/gerrit/#/c/8975/6/ttp-model/model/src/test/java/org/opendaylight/ttp/model/test/TTPYangModelTest.java line 124 of this file shows how to get a Document from a DataObject (Toaster should be a DataObject if we’re using the binding interfaces) 16:25:59 * colindixon goes to look at the toaster interface 16:29:01 ok 16:29:15 so Neel_B I’d try to get the toaster out using the DataBroker interface 16:29:20 let me see if I can just import that 16:30:03 #link https://jenkins.opendaylight.org/controller/job/controller-merge/lastSuccessfulBuild/artifact/target/apidocs/org/opendaylight/controller/md/sal/common/api/data/AsyncDataBroker.html this is the better documented way to get data into and out of the MD-SAL 16:43:32 Neel_B: were you able to get teh @Inject for the data broker to work? 16:43:51 no didn't try 16:43:59 ok 16:44:15 what does @inject do ? 16:45:24 colindixon: note: discussing neutron and opencontrail over in #opendaylight 16:45:44 interesting 16:45:58 Neel_B: ok I tried a bit, but it failed I’m trying again 16:46:25 the relevant bits should be to add this near the other @Inject 16:46:36 @Inject 16:46:36 @Filter(timeout=60*1000) 16:46:37 DataBroker dataBroker; 16:46:48 and then do something like this in the test: 16:47:00 InstanceIdentifier iidToaster = InstanceIdentifier.builder(Toaster.class).build(); 16:47:00 ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction(); 16:47:02 //TODO: we might need to change LogicalDatastoreType.CONFIGURATION to LogicalDatastoreType.OPERATIONAL 16:47:03 ListenableFuture> read = readTx.read(LogicalDatastoreType.CONFIGURATION, iidToaster); 16:47:04 readTx.close(); 16:47:05 Toaster t = read.get().get(); 16:47:06 System.out.println("Got the toaster t:"+t); 16:47:15 but it may or may not work 16:47:45 #info ahead of this note in the full log are code snippets which should hopefully allow Neel_B to get his hands on a toaster from the MD-SAL 16:48:05 #topic next meeting time and following up 16:48:32 through mails ? 16:48:48 #info we’ll plan the next meeting through mail 16:48:58 or tomorrow/day-after same time ? 16:49:11 mail seems best 16:50:10 #info lets plan to touch base for at least a few minutes in this time slot tomorrow though (11a–12p central/9:30–10:30p India) 16:50:57 Neel_B: but I’ll be online from 8:30a on tomorrow my time (7p India I think) 16:51:02 #endmeeting