Friday, 2013-10-11

*** github <github!~github@192.30.252.48> has joined #hawtio00:10
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/acdDjg00:10
githubhawtio/gh-pages e2afb4a FuseSource CI: Wagon: Deploying sitegen to repository00:10
*** github <github!~github@192.30.252.48> has left #hawtio00:10
*** github <github!~github@192.30.252.55> has joined #hawtio00:39
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/T70iEw00:39
githubhawtio/master 6465339 Stan Lewis: Defer using jsplumb until a configurable timeout, add a callback that fires after jsplumb is ready so that connections can be added in the scope, start making stuff configurable00:39
*** github <github!~github@192.30.252.55> has left #hawtio00:39
*** github <github!~github@192.30.252.53> has joined #hawtio02:02
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/7jvDUQ02:02
githubhawtio/master 1a031e5 Stan Lewis: Fix up switching between mappings02:02
*** github <github!~github@192.30.252.53> has left #hawtio02:02
*** github <github!~github@192.30.252.54> has joined #hawtio03:19
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/qqj7YA03:19
githubhawtio/master 5a893a8 Stan Lewis: Create mapping when creating a connection03:19
*** github <github!~github@192.30.252.54> has left #hawtio03:19
*** lhein <lhein!~quassel@pD9E2AAA3.dip0.t-ipconnect.de> has joined #hawtio04:51
*** lhein <lhein!~quassel@pD9E2AAA3.dip0.t-ipconnect.de> has quit IRC (Changing host)04:51
*** lhein <lhein!~quassel@redhat/jboss/lhein> has joined #hawtio04:51
*** lhein_ <lhein_!~quassel@redhat/jboss/lhein> has quit IRC (Ping timeout: 248 seconds)04:54
*** dbokde <dbokde!~Adium@76-220-59-86.lightspeed.sntcca.sbcglobal.net> has quit IRC (Quit: Leaving.)05:24
*** rhuss <rhuss!~jolokia@p4FE1A7B6.dip0.t-ipconnect.de> has joined #hawtio05:30
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio05:40
*** lhein <lhein!~quassel@redhat/jboss/lhein> has quit IRC (Remote host closed the connection)05:54
*** lhein <lhein!~quassel@pD9E2AAA3.dip0.t-ipconnect.de> has joined #hawtio05:55
*** lhein <lhein!~quassel@pD9E2AAA3.dip0.t-ipconnect.de> has quit IRC (Changing host)05:55
*** lhein <lhein!~quassel@redhat/jboss/lhein> has joined #hawtio05:55
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has joined #hawtio06:24
*** is-mw <is-mw!~is-mw@p57972D31.dip0.t-ipconnect.de> has joined #hawtio06:43
*** davsclaus <davsclaus!~davsclaus@94-137-98-96.customers.ownit.se> has joined #hawtio07:09
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has quit IRC (Ping timeout: 252 seconds)07:32
*** jstrachan <jstrachan!~jstrachan@host86-147-242-238.range86-147.btcentralplus.com> has joined #hawtio07:32
*** dejanb <dejanb!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has joined #hawtio07:43
*** github <github!~github@192.30.252.50> has joined #hawtio07:47
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/XB6oKA07:47
githubhawtio/master f94819c James Strachan: fixed the failing dozer test again after @gashcrumb broke it again. feeling all virtuous :)07:47
*** github <github!~github@192.30.252.50> has left #hawtio07:47
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has joined #hawtio07:59
*** github <github!~github@192.30.252.50> has joined #hawtio08:12
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/lwY9XQ08:12
githubhawtio/master 3481db4 James Strachan: fixed gremlin introduced by the fix for #62908:12
*** github <github!~github@192.30.252.50> has left #hawtio08:12
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio08:36
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Quit: gnodet)08:38
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio08:39
*** github <github!~github@192.30.252.53> has joined #hawtio08:40
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/FvlvVg08:40
githubhawtio/gh-pages 051a5d3 FuseSource CI: Wagon: Deploying sitegen to repository08:40
*** github <github!~github@192.30.252.53> has left #hawtio08:40
*** rajdavies <rajdavies!~textual@host86-136-122-140.range86-136.btcentralplus.com> has joined #hawtio08:41
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has quit IRC (Remote host closed the connection)08:42
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has joined #hawtio08:42
davsclausgashcrumb, jstrachan - wonder where the magic crack is to decide what icon to show09:23
davsclaushttps://github.com/hawtio/hawtio/issues/63709:23
jstrachanyeah - was just wondering about that ;)09:23
jstrachanthis is in the JMX view or AMQ view?09:23
davsclausyeah the jmx view is kinda too magic at times09:23
davsclausin the activemq tree09:24
davsclaussrc/main/webapp/app/activemq/html/layoutActiveMQTree.html09:24
jstrachanthis could be css crack09:24
jstrachanthis is the css that given a tree node tries to pick the best icon09:25
jstrachanwonder if its worth doing an Inspect Element on a working and not working tree node to compare the CSS styles?09:26
davsclausyeah the stles is a bit different09:26
davsclausdynatree-icon09:26
davsclausdynatree-ico-cf09:26
davsclausthe latter is the correct icon the other has09:26
jstrachanany other classes for the tree nodes?09:28
jstrachanis this when you just create an AMQ broker?09:28
davsclausi started up AMQ 5.9 SNAPSHOT in standalone09:32
davsclausbin/activemq console09:32
davsclausand then it has hawtio embedded09:33
davsclausbtw the icon for persistence adaptor for kahadb is the same as connectors09:34
davsclausmaybe we have an icon that resolve a disk, we can use that?09:34
davsclauswonder for connectors we wont have an icon with message passing to use?09:34
jstrachanyeah, should be able to swizzle any icons you like really09:34
davsclausbox -> msg -> box09:35
jstrachanits a bit fiddly changing icons - most of it is done by CSS rules09:35
davsclausyeah i guess the magic is where is the code that guesses what icon to use :)09:35
jstrachanits just that CSS I pointed you at I think09:36
jstrachanbased on the jmx object names, we try our best to add vaguely sensible css class names to the bits of the dom tree; then try to use css to pick the icons09:37
jstrachanbit wacky mind you; but its trying to let folks restyle stuff with css mostly09:37
jstrachanmight be good to add an easier to grok way to use different CSS styles on different bits of jmx tree09:37
jstrachanbut even that is kinda hard - as JMX is all over the place - mbeans keep moving around09:38
davsclausyeah maybe have a file where you can specify a regexp or something so you can tell it to use a disk icon if it has .*Persistence.* in the name etc09:38
jstrachanyeah09:38
davsclausor if you can tell it if its parent name is "xxx" then use this icon09:39
jstrachantheres'a  post processor thingy so you can be invoked with the tree to munge it - so we could just use JS code to find stuff and add css classes etc09:39
davsclausso you can say "clientConnectors" should use this icon09:39
davsclausand i guess if its coming from "org.apache.activemq" etc09:39
jstrachanhttps://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/activemq/js/activemqPlugin.ts#L145-14509:39
davsclausah okay, maybe gashcrumb got some ideas - i kinda like being able to have a special file in a plugin where you can setup these icon rules09:40
davsclausanyway its just cosmetic - fantatisc that hawtio is so great so soon, that we focus on the small things09:41
jstrachanI think the easiest thing is gonna be to use that hook in the link above - to add known css styles to the nodes you want - then use a (simple) css rule to map them to icons09:41
jstrachanyeah ;)09:41
jstrachanproblem is most of it is so awesome, so little things now seem very important ;) stuff thats not quite perfect really stands out ;)09:41
jstrachanits kinda complex but here's how we try to turn the JMX entries into CSS styles https://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/core/js/workspace.ts#L237-237 so we can mostly just use CSS straight off the JMX tree09:43
jstrachanbut we should have a way of just adding a css attribute to the JMX tree directly ;)09:43
*** chirino <chirino!~chirino@pool-71-180-118-167.tampfl.fios.verizon.net> has quit IRC (Quit: Computer has gone to sleep.)09:43
jstrachanah there's an icon property too09:44
jstrachanhttps://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/core/js/folder.ts#L38-3809:44
jstrachanso you could ignore css and just set the icons in the callback09:44
*** chirino <chirino!~chirino@pool-71-180-118-167.tampfl.fios.verizon.net> has joined #hawtio09:47
jstrachandavsclaus thats how we set the icons for some stuff in the camel tree btw - its a bit easier ;) https://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/camel/js/helpers.ts#L293-29309:47
jstrachanso you could jus ttry to detect different bits of the AMQ tree and just set the icon09:48
davsclausok09:48
*** ch007m <ch007m!~CharlesMo@ip-83-134-171-20.dsl.scarlet.be> has joined #hawtio09:50
*** atooni <atooni!~atooni@163.166.150.54> has joined #hawtio09:51
jstrachanch007m did you finish your demo?09:51
*** chirino <chirino!~chirino@pool-71-180-118-167.tampfl.fios.verizon.net> has quit IRC (Quit: Computer has gone to sleep.)10:00
ch007mdemo has been canceled as wifi bandwidth was too low :-(. I will record them this afternoon. I'm currently upload a quick test on vimeo10:00
jstrachandavsclaus hmm - mqtt looks fine in fuse btw10:00
jstrachandamn! :)10:00
jstrachandavsclaus ah hang on - I used this XML - is it valid? :) https://gist.github.com/jstrachan/d8c09805f098c05719b6#file-gistfile1-txt-L7510:01
ch007mI will be in 2 weeks in Farnborough. So work done during last 2 days will not be lost and I will continue tests next week maybe with openshift, drools, ...10:01
jstrachangreat10:02
jstrachanch007m am just trying to get the Insight nav bar to appear nicely on the top level set of nav bars when insight's installed10:02
ch007mDiscussion of this morning has been focused on Switchyard. As a lot of customers are JBoss EAP, this is how they will migrate them to Camel world (Java EAP + Camel + Switchyard) and not to JBoss Fuse ;-)10:03
jstrachandavsclaus doh - I need to put the protocol at the front of the URL ;)10:04
ch007mjstrachan: Can you tell me if the quality of the video (no sound for the moment) is good : https://vimeo.com/7668341310:04
jstrachancant' see it - private10:05
ch007mjstrachan: great to modify the insight bar :-)10:05
ch007mvideo is currently converted by vimeo. So we have to wait. What is your vimeo account ?10:05
atoonito lazy to look...is there some kind of callback via event admin or so when a remote container registers with an ensemble ?10:12
atoonii'd need to execute some registration code in a 3rd party app whenever I get a new container10:12
jstrachanyou can watch ZK and listen to when new containers appear10:14
atooniI guess I'd go and implement something watching zk and then fire off an event10:14
atooniso that i could have listeners in some form of whiteboard pattern10:15
atooniif that makes sense10:15
atooniwould you ever have an ensemble outside of an osgi container ?10:15
atoonii have seen you could have arbitrary agents, but for the ensemble it would be osgi ?10:16
jstrachanensemble == ZooKeeper terminology for the set of ZK servers10:17
jstrachana fabric generally means the ZK ensemble + all the clients too10:17
jstrachanso joining the fabric just means a JVM joins ZK10:18
jstrachanas a client - so its irrespective of container really10:18
jstrachane.g. tomcat with the fabric-webapp-agent10:18
atooniis taking the ensemble for the server side ....so zk + the containers talking to zk10:18
jstrachanbut by watching ZK you can see what the containers are etc10:18
atoonii was that should read .)10:19
jstrachanif you want a java API, you can use FabricAgent and hide the ZK stuff - and be notified when stuff changes10:19
atooniok....that would work for me10:19
jstrachanthen there's a little Java API for looking at the containers, their versions, connecting to them etc10:19
jstrachanhttps://github.com/jboss-fuse/fuse/blob/master/fabric/fabric-api/src/main/java/org/fusesource/fabric/api/FabricService.java#L25-2510:19
jstrachanmost stuff in fabric just gets that injected via OSGI DS10:20
atooniDS ?10:20
jstrachanhttps://github.com/jboss-fuse/fuse/blob/master/fabric/fabric-dynamic-jaxb/src/main/java/org/fusesource/fabric/jaxb/dynamic/profile/ProfileDynamicJaxbCompiler.java#L74-7410:20
jstrachanOSGi Declarative Services10:21
atooniah ok10:21
jstrachanor use blueprint if you prefer - or look it up by hand in Java10:21
atoonii was in blueprint land so far10:21
jstrachanwe used to use blueprint everywhere but we've been moving to DS as its cleaner, no XML and is better at dealing with having dependencies come and go10:21
jstrachannp - sounds fine10:21
atoonibut always up to learn something new :)10:21
jstrachan;)10:22
jstrachanreally like DS!10:22
atoonilooking at it, it's not a big change really...apart from getting rid of the xml madness10:34
jstrachanyeah10:35
jstrachanoh and adding a mvn plugin to your build (the annotations are used at build time - to generate, erm, some xml ;)10:35
atoonias long as i don't have to write it :)10:36
jstrachanphew :)10:39
*** github <github!~github@192.30.252.51> has joined #hawtio10:42
github[hawtio] jstrachan pushed 2 new commits to master: http://git.io/y46sIA10:42
githubhawtio/master 8a4ea03 James Strachan: avoid the pesky brief handlebars on reload10:42
githubhawtio/master 2e5fd1e James Strachan: fixes #637 though we could maybe switch the connector.png with something else thats more connector-ish?10:42
*** github <github!~github@192.30.252.51> has left #hawtio10:42
*** github <github!~github@192.30.252.55> has joined #hawtio11:03
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/TiCeYQ11:03
githubhawtio/gh-pages 369df60 FuseSource CI: Wagon: Deploying sitegen to repository11:03
*** github <github!~github@192.30.252.55> has left #hawtio11:03
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Quit: gnodet)11:06
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has quit IRC (Ping timeout: 264 seconds)11:07
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has joined #hawtio11:12
*** chirino <chirino!~chirino@pool-71-180-118-167.tampfl.fios.verizon.net> has joined #hawtio11:15
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio11:20
*** chirino <chirino!~chirino@pool-71-180-118-167.tampfl.fios.verizon.net> has quit IRC (Quit: Computer has gone to sleep.)11:25
*** chirino <chirino!~chirino@pool-71-180-118-167.tampfl.fios.verizon.net> has joined #hawtio11:27
*** dejanb <dejanb!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has quit IRC (Quit: dejanb)11:36
*** dejanb <dejanb!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has joined #hawtio11:37
davsclausthe 2nd icon is sorta better, but would like more visible arrows as for a connector i think this represent better11:39
*** github <github!~github@192.30.252.50> has joined #hawtio12:01
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/uoagBA12:01
githubhawtio/master 0fe96b5 James Strachan: add an Insight link to the fabric tool bar if insight is running; then make it a bit easier to switch between perspectives (including having a toolbar item which just switches perspective, like the Insight link)12:01
*** github <github!~github@192.30.252.50> has left #hawtio12:01
*** scranton <scranton!scranton@nat/redhat/x-eufjvicvtmyorenn> has joined #hawtio12:04
jstrachanwhoohooo! the fabric toolbar updates in real time to add "Insight" if you asynchronously install kibana ;)12:13
jstrachanhave wanted that for a while!12:14
*** github <github!~github@192.30.252.48> has joined #hawtio12:14
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/VelUqw12:14
githubhawtio/master ff01165 James Strachan: reload the perspective & toolbar if the JMX tree reloads (e.g. if a new mbean comes or goes)12:14
*** github <github!~github@192.30.252.48> has left #hawtio12:14
*** github <github!~github@192.30.252.53> has joined #hawtio12:14
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/27y-Ug12:14
githubhawtio/gh-pages 3d1c7b2 FuseSource CI: Wagon: Deploying sitegen to repository12:14
*** github <github!~github@192.30.252.53> has left #hawtio12:14
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Ping timeout: 248 seconds)12:22
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio12:24
*** github <github!~github@192.30.252.50> has joined #hawtio12:28
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/r7FgUQ12:28
githubhawtio/gh-pages ab5df79 FuseSource CI: Wagon: Deploying sitegen to repository12:28
*** github <github!~github@192.30.252.50> has left #hawtio12:28
atoonijstrachan: if I had to write a custom extension to hawtio and host it in a container, would I package it as a fragment ? - just asking12:30
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)12:31
*** is-mw <is-mw!~is-mw@p57972D31.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 265 seconds)12:34
gashcrumbatooni: custom extension?  like an external plugin?12:34
atoonigashcrumb: yes. Hawtio very likely will be the mgmt console for an app I am working on12:35
atooniand need to integrate some customer specific stuff12:35
gashcrumbatooni: ah awesome.  So yeah, you pretty much just need to package it as a war really12:35
gashcrumbatooni: there's a few examples you can take a look at now12:36
gashcrumbhawtio-karaf-terminal is a good one12:36
atooniah ok....ll have look there12:36
gashcrumbor also the hawtio simple-plugin12:36
gashcrumbthere's also insight/insight-kibana in the fuse repo which basically wraps an existing angularjs app12:37
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio12:37
atooniawesome...i guess that should get me going12:37
gashcrumbcool, ping us if you run into trouble12:37
atooniit's on the backburner for now, but good to know where it is12:37
atoonimy next stop is that activemq graph i promised to james :)12:38
gashcrumbif their requirements aren't too heavyweight it could be possible to hack up some of it right in the wiki12:38
gashcrumbnot sure though...12:38
atoonidon't think it's that easy12:39
gashcrumbk...12:39
atoonii need to add some stuff for visualizing that Sonic stuff they still have12:39
atooniand display CBE events12:39
atoonihopefully that dies away in a years time when they see how awesome the Open Source stuff is12:40
atooni:D12:40
*** github <github!~github@192.30.252.54> has joined #hawtio12:40
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/v3wr4Q12:40
githubhawtio/gh-pages cf28789 FuseSource CI: Wagon: Deploying sitegen to repository12:40
*** github <github!~github@192.30.252.54> has left #hawtio12:40
jstrachan;)12:42
*** github <github!~github@192.30.252.52> has joined #hawtio13:17
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/DYgQVQ13:17
githubhawtio/master abdaf01 Stan Lewis: s/Migrate/Manage/13:17
*** github <github!~github@192.30.252.52> has left #hawtio13:17
jstrachanballs - I can't use http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 in blueprint web - so can't have a bundle which is useable outside of osgi which groks to configure itself with a PID when inside osgi13:24
jstrachanjava.lang.IllegalArgumentException: Unsupported namespaces: [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0]13:24
jstrachanat org.apache.aries.blueprint.container.BlueprintContainerImpl.init(BlueprintContainerImpl.java:99)13:24
jstrachangnodet would be nice to just ignore it maybe? )13:25
jstrachananyone got any smart ideas for how to make this bundle https://github.com/hawtio/hawtio/blob/master/hawtio-maven-indexer/src/main/resources/OSGI-INF/blueprint/blueprint.xml#L6-6 configurable properly in OSGi / config admin - but usable in blueprint-web I wonder?13:26
gnodetjstrachan: how it the blueprint context created outside osgi ?13:27
gnodetprogrammatically ?13:27
jstrachanno - just a blueprint file really13:28
jstrachanoh sorry - using the blueprint web servlet context thingy13:28
jstrachanhttps://github.com/hawtio/hawtio/blob/master/hawtio-base/src/main/webapp/WEB-INF/web.xml#L55-5513:28
gnodetjstrachan: so what you could do is use two xml files13:29
gnodetone for both env, and one specific for osgi13:29
jstrachanah cool; how'd I do the OSGI-only bits?13:29
gnodetyou just need to point to the shared one when using blueprint-web13:29
jstrachanah -       <param-value>OSGI-INF/blueprint/blueprint.xml</param-value>13:29
jstrachanso any other blueprint stuff is fine!13:29
gnodetyes, that would be the shared one13:30
gnodetand if you need configadmin, put it in a different file in OSGI-INF/blueprint/13:30
jstrachanosgi loads all the OSGI-INF/blueprint/*.xml right?13:30
gnodetyes, that's the default13:30
jstrachanawesome!13:30
jstrachanhow about splitting the XML files - is that all cool13:30
jstrachane.g. all I wanna do is add cm:property-placeholder13:30
atoonijstrachan: ill send you something i normally use13:31
gnodetjstrachan: yes, all the xmls are parsed into the same metadata, it's just like if they were in the same file13:32
jstrachangnodet you are Da Man!13:32
jstrachanthx!13:32
gnodetbtw, open shift is so slow, even at runtime ...13:32
jstrachanif this works I should do the same thing with all the hawtio server side modules...13:32
gnodetmost of my hawtio jolokia calls never succeed :-(13:33
jstrachanyeah!13:33
jstrachanthough you can use big/medium gears if you ask for Silver13:33
jstrachanstartup is the main issue - once its runinng, I can use FMC ok and connect to brokers and whatnot13:33
jstrachaneven with small gears13:33
jstrachanthough ES queries probably are too slow ;)13:33
gnodeti'll try again with a medium13:34
jstrachan(we have a combo box on the openshift create container UI now to pick which gear you want)13:35
*** github <github!~github@192.30.252.54> has joined #hawtio13:36
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/BEIU6Q13:36
githubhawtio/gh-pages 82f26e4 FuseSource CI: Wagon: Deploying sitegen to repository13:36
*** github <github!~github@192.30.252.54> has left #hawtio13:36
atoonijstrachan: This is how I normally use property placeholders....if that helps you at all https://gist.github.com/atooni/693488013:39
jstrachanthx!13:39
jstrachanyeah - been trying to make hawtio kinda osgi and not-osgi at the same time using blueprint / blueprint web but just realised we were not very good OSGI config admin citizens up to now13:39
*** ch007m <ch007m!~CharlesMo@ip-83-134-171-20.dsl.scarlet.be> has quit IRC (Quit: Leaving)13:50
jstrachangnodet https://gist.github.com/jstrachan/a2249448fc5f81bcc9c414:01
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has quit IRC (Remote host closed the connection)14:01
jstrachanso I guess I can't have both <cm:property-placeholder and <ext:property-placeholder>14:01
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has joined #hawtio14:01
jstrachanthere's the 'common' xml https://github.com/hawtio/hawtio/blob/master/hawtio-maven-indexer/src/main/resources/OSGI-INF/blueprint/blueprint.xml14:01
gnodetjstrachan: you can, but you need to change the prefix/suffix so that they don't clash14:02
gnodetfor example change the configadmin one to use $[xx]14:02
jstrachanah so can't use ${…}14:02
gnodetwell, not the same prefix/suffix for two different placeholders14:02
jstrachanso I guess I"d best have 2 XML files - one for OSGi and one not for OSGI14:02
gnodetyeah, that would work too14:02
jstrachanwoudl this be usable https://github.com/hawtio/hawtio/blob/master/hawtio-maven-indexer/src/main/resources/OSGI-INF/blueprint/blueprint.xml#L2114:02
gnodetjstrachan: btw, it works much better with a medium gear14:03
jstrachanif I used $[ .. ] for the <cm:property-placeholder - I guess that'd mean we'd never use config admin to resolve the values right?14:03
jstrachangnodet yay!14:03
gnodetor maybe the open shift load is smaller, but at least, it's responsive14:03
jstrachangnodet was hoping to minimise duplication really14:03
gnodetyou can have 3 xmls, one shared, and the other ones for the property placeholder specific for each env14:04
jstrachanis there an easy way to get OSGI to ignore OSGI-INF/blueprint/blueprint.xml by any chance?14:04
gnodetsure14:04
gnodetjust need to dig it14:05
gnodetjstrachan: there's a manifest header you can use14:06
gnodetsomething like14:06
gnodetBundle-Blueprint: lib/account.xml, security.bp, cnf/*.xml14:06
gnodetit defaults to OSGI-INF/blueprint/*.xml14:06
jstrachanah!14:06
jstrachanawesome14:06
jstrachanok trying a common, then osgi only, and no osgi file combo!14:11
jstrachangnodet ah - think blueprintLocation doesnt't support commas for BlueprintContextListener?14:25
gnodetmight be space14:25
*** github <github!~github@192.30.252.50> has joined #hawtio14:28
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/ZnDLDA14:28
githubhawtio/master 9fdf120 Stan Lewis: Enable connection loading, tidy up switching between mappings, add a reload button for when the user enters/changes a class name14:28
*** github <github!~github@192.30.252.50> has left #hawtio14:28
gnodetjstrachan: mmh, seems to support only one value: https://github.com/apache/aries/blob/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java14:28
jstrachanyeah trunk14:29
jstrachanwhoops https://github.com/apache/aries/blob/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java#L5714:30
jstrachanI guess no wildcards too right?14:30
atooniaehm ... what should I be seeing in hawtio if I have fabric installed in a karaf container ?14:30
jstrachanatooni fabric installed and a created fabric; or just the bundles?14:30
atoonijust the bundles for now14:30
atoonislow going here14:30
atoonitrying to understand what i do while I am at it ;)14:31
jstrachanso no fabric plugin until you create a fabric14:31
atooniah ok14:31
atoonii noticed a health tab14:31
atooninot sure if i have seen that before14:31
jstrachanyeah14:31
jstrachanhttp://hawt.io/plugins/health/14:32
atooniguess it's because i switched to AMQ 5.9 then ?14:33
jstrachanyeah - AMQ and fbaric have health mbeans14:34
atoonicool14:34
*** github <github!~github@192.30.252.53> has joined #hawtio14:35
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/RkGj3A14:35
githubhawtio/gh-pages 2f8d5c4 FuseSource CI: Wagon: Deploying sitegen to repository14:35
*** github <github!~github@192.30.252.53> has left #hawtio14:35
davsclausjstrachan that is because they are often sick so they need to tell when they are :) the other plugins just works … friday fun14:47
jstrachan;)14:48
atoonilol14:48
davsclausatooni now imaging when the camel components have too :)14:48
atoonihmmm....currently feel that my todo list gets longer by the day rather than shorter14:49
davsclauswe should get an optional health api in camel components and have jmx mbeans for that so monitoring tooling can use that14:49
atoonithat sounds interesting14:50
atoonii am already imagining something like a d3 treemap where you can drill down in red nodes ..... :)14:51
atoonihmmmm....any idea what the felix metadata service might be waiting for staring up ?14:52
atoonijust hangs there forever14:52
jstrachangnodet is there a way to default ${karaf.data} into a default config admin value? this seems to get taken literally: https://gist.github.com/jstrachan/ab632be2ce94353b3a1715:00
gnodetah, yes, it's a bit tricky, let me find an example15:01
jstrachangnodet ah do you have to put it into the feature config thing?15:02
jstrachanI might just use "data/foo" instead of "${karaf.data}/foo" :)15:02
gnodetjstrachan: see https://gist.github.com/jstrachan/ab632be2ce94353b3a1715:03
jstrachanaha thx!15:03
*** github <github!~github@192.30.252.48> has joined #hawtio15:04
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/RHVs_Q15:04
githubhawtio/master 052a209 Stan Lewis: Colorize arrows differently to help distinguish them from each other, defer loading child property types for now15:04
*** github <github!~github@192.30.252.48> has left #hawtio15:04
jstrachangashcrumb oooh ;)15:05
gashcrumb:-)15:05
*** github <github!~github@192.30.252.50> has joined #hawtio15:09
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/VxsS8w15:09
githubhawtio/master 93838da James Strachan: allow the maven indexer to be configured via config admin15:09
*** github <github!~github@192.30.252.50> has left #hawtio15:09
atoonijstrachan: haven't you mentioned something the other day that visualizes features and their contents in hawtio15:11
atooniis that only when fabric is working ?15:11
*** github <github!~github@192.30.252.48> has joined #hawtio15:11
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/52XHfQ15:11
githubhawtio/master b5ebb4a James Strachan: provide some default pages to start on when switching profiles15:11
*** github <github!~github@192.30.252.48> has left #hawtio15:11
gashcrumbatooni: think he's talking about the feature detail page perhaps?15:11
jstrachanthere's not much visualisation per se - but you can browse/view features in osgi - in the OSGi tab15:11
atooniah ok15:11
*** jlmonteiro <jlmonteiro!~jlmonteir@2a01:20:6::14> has quit IRC (Remote host closed the connection)15:14
*** jeanouii <jeanouii!~jlmonteir@2a01:20:6::14> has joined #hawtio15:15
*** ch007m <ch007m!~CharlesMo@ip-83-134-171-20.dsl.scarlet.be> has joined #hawtio15:29
*** dbokde <dbokde!~Adium@76-220-59-86.lightspeed.sntcca.sbcglobal.net> has joined #hawtio15:33
*** github <github!~github@192.30.252.52> has joined #hawtio15:35
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/A5gpRA15:35
githubhawtio/gh-pages 46a2211 FuseSource CI: Wagon: Deploying sitegen to repository15:35
*** github <github!~github@192.30.252.52> has left #hawtio15:35
atoonigashcrumb: will have a look15:36
atoonistruggling a bit atm to get my container sorted with the versions i want15:37
atooniOSGi hell again15:37
jstrachanwelcome to our world ;)15:38
atoonihehe15:38
atoonispent the last 3 years on OSGi ... i *thought* i understood it by now15:38
atooniso much for self estimation15:38
atoonii guess i go home soon .... might try your solution and come back with a bottle of wine :)15:41
jstrachanyay!15:41
atooniwaht i really love about OSGi....you make a small typo and it throws up somewhere entirely unrelated :)15:44
*** jeanouii <jeanouii!~jlmonteir@2a01:20:6::14> has quit IRC (Quit: Quitte)15:54
*** davsclaus <davsclaus!~davsclaus@94-137-98-96.customers.ownit.se> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)15:56
*** github <github!~github@192.30.252.50> has joined #hawtio16:09
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/mwMl-g16:09
githubhawtio/master 7d3dde5 James Strachan: smart complete all groups / networks from the same list; so you can create 1 group "us-east" networked to "us-west, emea" then the 2nd broker you create can smart complete the group to any of those 3 groups; plus adding networks explicitly filters out your currentn group. so an "us-east" group broker can only network to "us-west" or "emea". Though we allow creating new group names in the network section; s16:09
*** github <github!~github@192.30.252.50> has left #hawtio16:09
*** rajdavies <rajdavies!~textual@host86-136-122-140.range86-136.btcentralplus.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)16:30
*** dejanb <dejanb!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has quit IRC (Quit: dejanb)16:32
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)16:34
*** scranton <scranton!scranton@nat/redhat/x-eufjvicvtmyorenn> has quit IRC (Ping timeout: 252 seconds)16:34
*** github <github!~github@192.30.252.52> has joined #hawtio16:36
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/TVOZag16:36
githubhawtio/gh-pages 3723d62 FuseSource CI: Wagon: Deploying sitegen to repository16:36
*** github <github!~github@192.30.252.52> has left #hawtio16:36
*** github <github!~github@192.30.252.53> has joined #hawtio16:40
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/4jZeRw16:40
githubhawtio/master d6bbb90 James Strachan: add a checkbox so we can network a broker with all of the other broker groups easily with a single click - hawt! :)16:40
*** github <github!~github@192.30.252.53> has left #hawtio16:40
atooniomg.....it's working16:42
atoonitime to break it again16:42
jstrachan;)16:43
jstrachanor open the wine?16:43
jstrachanwhats the worst that could happen? :)16:43
atooniwell opening the wine now would be strange .... still onsite :)16:43
jstrachangot a paper bag? :)16:43
atoonihehe...16:44
atooniprobably time to commit and go home16:44
jstrachanyeah!16:44
atoonijust noticed the features view and the decl. services view16:45
atoonireally cool....aehm hawt16:45
jstrachanyeah!16:45
jstrachanvery handy!16:45
jstrachanI'd love to be able to link from a profile into the feature detail16:46
jstrachanneeds a bit of a new fabric feature page to figure out the right version etc16:46
jstrachanwe link to the bundles though https://github.com/hawtio/hawtio/issues/62616:46
jstrachanif you fancy hacking it ;)16:46
jstrachanbtw you noticed from a bundle we can view the source & javadoc?16:47
jstrachanif the right mbean is there, we can show the mvn dependencies too16:47
atoonii noticed...but haven't played with it16:47
atooniwow16:48
jstrachanyou've spotted that log statements & stack traces take you to the source code right?16:49
jstrachanthe exact line of code in the exact version? :)16:49
atoonihmmm....right now my browser says just downloading source code16:50
atooniand keeps hanging there16:50
jstrachanah it might take a while…16:51
jstrachanhas to download the mvn artifacts16:51
jstrachan(you behind a http proxy?)16:51
atoonino16:51
atooniwill try from home16:51
atoonibbiab16:51
*** atooni <atooni!~atooni@163.166.150.54> has quit IRC (Quit: Leaving)16:52
*** ch007m <ch007m!~CharlesMo@ip-83-134-171-20.dsl.scarlet.be> has quit IRC (Quit: Leaving)16:57
*** github <github!~github@192.30.252.52> has joined #hawtio17:01
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/rkX81Q17:01
githubhawtio/master 6c2db2b James Strachan: avoid unnecessary (and unworking) Targets links17:01
*** github <github!~github@192.30.252.52> has left #hawtio17:01
*** github <github!~github@192.30.252.53> has joined #hawtio17:05
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/ZN8mlw17:05
githubhawtio/gh-pages a134f84 FuseSource CI: Wagon: Deploying sitegen to repository17:05
*** github <github!~github@192.30.252.53> has left #hawtio17:05
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio17:17
*** jstrachan <jstrachan!~jstrachan@host86-147-242-238.range86-147.btcentralplus.com> has quit IRC (Quit: Leaving...)17:18
*** ceposta <ceposta!~Adium@ip68-3-37-207.ph.ph.cox.net> has quit IRC (Ping timeout: 248 seconds)17:23
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Quit: gnodet)17:42
*** lhein_ <lhein_!~quassel@pD9E2AAA3.dip0.t-ipconnect.de> has joined #hawtio17:43
*** lhein_ <lhein_!~quassel@pD9E2AAA3.dip0.t-ipconnect.de> has quit IRC (Changing host)17:43
*** lhein_ <lhein_!~quassel@redhat/jboss/lhein> has joined #hawtio17:43
*** lhein <lhein!~quassel@redhat/jboss/lhein> has quit IRC (Read error: Operation timed out)17:44
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)17:45
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio17:58
*** rhuss1 <rhuss1!~jolokia@p4FE18FD5.dip0.t-ipconnect.de> has joined #hawtio18:34
*** rhuss <rhuss!~jolokia@p4FE1A7B6.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)18:37
*** scranton <scranton!scranton@nat/redhat/x-gsarraruzfaycttr> has joined #hawtio18:59
*** github <github!~github@192.30.252.50> has joined #hawtio19:31
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/-ct2Vg19:31
githubhawtio/master 8b29466 Stan Lewis: Move the wiki file list to the side of the page, style accordingly and use a custom icon for activemq config19:31
*** github <github!~github@192.30.252.50> has left #hawtio19:31
*** github <github!~github@192.30.252.49> has joined #hawtio19:53
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/ICcy8g19:53
githubhawtio/gh-pages 854f625 FuseSource CI: Wagon: Deploying sitegen to repository19:53
*** github <github!~github@192.30.252.49> has left #hawtio19:53
*** scranton <scranton!scranton@nat/redhat/x-gsarraruzfaycttr> has quit IRC ()20:12
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio20:47
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Client Quit)20:51
*** kearls <kearls!~textual@253.70.101.84.rev.sfr.net> has quit IRC (Quit: Computer has gone to sleep.)20:57
*** github <github!~github@192.30.252.51> has joined #hawtio21:00
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/HErWzg21:00
githubhawtio/master a1ee23b Stan Lewis: Some style tweaks and add fancy switches to profile detail directive kinda like the old FMC21:00
*** github <github!~github@192.30.252.51> has left #hawtio21:00
*** kearls <kearls!~textual@253.70.101.84.rev.sfr.net> has joined #hawtio21:07
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)21:09
*** github <github!~github@192.30.252.48> has joined #hawtio21:22
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/ABH0Og21:22
githubhawtio/gh-pages d0c0b1b FuseSource CI: Wagon: Deploying sitegen to repository21:22
*** github <github!~github@192.30.252.48> has left #hawtio21:22
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio22:01
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Client Quit)22:04
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio22:07
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio22:20
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)23:07
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio23:08
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)23:18
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Quit: gnodet)23:35
*** github <github!~github@192.30.252.55> has joined #hawtio23:58
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/pmTxLA23:58
githubhawtio/gh-pages 29aaac1 FuseSource CI: Wagon: Deploying sitegen to repository23:58
*** github <github!~github@192.30.252.55> has left #hawtio23:58

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!