18:05:11 #startmeeting TWS 18:05:11 Meeting started Mon Jan 26 18:05:11 2015 UTC. The chair is alagalah. Information about MeetBot at http://ci.openstack.org/meetbot.html. 18:05:11 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 18:05:11 The meeting name has been set to 'tws' 18:05:23 #topic edwarnicke presenting archetype for new project 18:05:35 link? 18:05:42 I’ll grab it 18:06:03 #link https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype 18:06:10 #undo 18:06:18 #link https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype the archetype wiki page Ed is talking through 18:07:03 * colindixon wonders, can only chairs unod? 18:10:09 colindixon: yes 18:11:08 #info Ed walks through using the archeype, he suggests you copy and paste the archetype maven command from the wiki 18:12:12 #info fill in what it asks for, the key plces are a group ID, artifact ID, and version (version should likely be overridden with a three number -SNAPSHOT version 18:13:11 #info edwarnicke suggests that you leave the classPrefix macro alone since it does smart things, but feel free to override it if you know better 18:14:00 #info edwarnicke notes that it builds/runs out of the box, so you can build and then run from the -karaf directory with -karaf/target/assembly/bin/karaf 18:15:55 #info running it even automatically loads the features implemented by the archetype 18:19:22 #info You can load the code into Eclipse, only error at the moment is checkstyle, he’s still trying to beat it out 18:19:54 #info shows the HelloProvider which has two functions one when it gets loaded into the MD-SAL and one when it’s removed 18:23:12 * regXboi wanders in via phone because webex isn't working 18:24:02 * regXboi wonders what the topic is 18:26:16 regXboi: Ed going through 10:06 alagalah: #link https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype 18:26:30 alagalah: many thanks 18:26:43 regXboi: After this we will go through the status of the Tutorial project 18:27:15 #info edwarnicke pastes in some code to Eclipse to show how to add code that calls the hello provider and implementing the provider 18:27:39 #info edwarnicke then builds *everything* because it automagically compiles and re-“links” everything without having to worry about the order and stuff 18:31:45 #info jmedved brings up adding Integration testing to the archetype 18:31:58 #info edwarnicke will work on it 18:32:13 * tbachman wanders into the TWS 18:33:43 tbachman: yo! 18:33:49 regXboi: howdy! 18:37:03 * tbachman hears edwarnicke up-arrowing 18:42:57 #info edwarnicke shows the pom structure for the project to help explain how things are working 18:43:40 #info edwarnicke shows the hello-artifact pom file which manages the versions of artifacts that will be exported to other projects (you’ll see how to import in the karaf) 18:43:42 #info POM file structure greatly reduced by inclusion of "binding parent" POM XML 18:44:18 thanks alagalah 18:44:48 #info now discussing features file 18:45:21 #info defines repositories for the features, defines feature for hello-api, creates feature for hello-impl. Creates a hello-impl-rest which pulls in RESTCONF 18:45:44 #info planning on adding a UI feature sub-section 18:47:54 #info colindixon asks if we could document how the project archetype used to look so folks familiar with the older way can compare/contrast 18:49:17 #info moving to hello-impl pom.xml 18:49:18 #info I think rouguhly the old names to new names is model- => -api and => -impl 18:50:11 #info Much in this pom.xml is managed in config-parent 18:50:28 #info only the parent and API are defined 18:52:06 #info the archetype gives you teh default config file for free, which has been a big sticking point in the past 18:52:27 #info moving on to the karaf pom file (which pull in the karaf-parent) 18:53:27 #info Due to karaf fixing bugs in 3.0.2, the use of karaf-parent reduces some hack arounds required for karaf 3.0.1 18:53:29 #info the karaf-parent will be able to allow us to remove hacks as karaf fixes bugs and do it in a central place 18:57:05 #info SCROLLING CONSIDERED HARMFUL 18:57:11 colindixon: LOL 18:58:09 #info right now we load ${karaf.localFeature} at boot in the karaf-parent, which works fine if it’s undefined and loads nothing 18:59:45 #info when you define that in your pom file, it will load that *one* feature when karaf comes up 19:00:02 ok, I need to drop 19:00:08 thanks edwarnicke! this looks awesome! 19:00:16 3 19:01:22 * regXboi wanders away for lunch 19:05:02 #endmeeting 19:05:09 That's great! 19:05:10 anyone still here that’s a chair? 19:05:24 edwarnicke: Thanks! sounds like a good step forward. 19:05:36 #endmeeting