Friday, 2013-12-06

*** jcordes <jcordes!~jcordes@81.92.23.162> has quit IRC (Ping timeout: 264 seconds)00:20
*** is-mw <is-mw!~is-mw@p5DD75C09.dip0.t-ipconnect.de> has joined #hawtio02:22
*** is-mw2 <is-mw2!~is-mw@p5DD74E4E.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 246 seconds)02:22
*** lhein <lhein!~quassel@redhat/jboss/lhein> has joined #hawtio05:38
*** lhein_ <lhein_!~quassel@pD9E296A5.dip0.t-ipconnect.de> has joined #hawtio06:32
*** lhein_ <lhein_!~quassel@pD9E296A5.dip0.t-ipconnect.de> has quit IRC (Changing host)06:32
*** lhein_ <lhein_!~quassel@redhat/jboss/lhein> has joined #hawtio06:32
*** lhein <lhein!~quassel@redhat/jboss/lhein> has quit IRC (Ping timeout: 252 seconds)06:32
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio06:55
*** odohmen <odohmen!~Adium@217.110.62.28> has joined #hawtio07:45
*** jcordes <jcordes!~jcordes@193.47.161.36> has joined #hawtio07:50
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has joined #hawtio08:05
*** rajdavies <rajdavies!~textual@host86-129-252-144.range86-129.btcentralplus.com> has joined #hawtio08:09
*** davsclaus <davsclaus!~davsclaus@94-137-98-96.customers.ownit.se> has joined #hawtio08:19
*** gashcrumb <gashcrumb!~quassel@c-24-34-129-30.hsd1.nh.comcast.net> has joined #hawtio08:21
*** gashcrumb <gashcrumb!~quassel@c-24-34-129-30.hsd1.nh.comcast.net> has quit IRC (Changing host)08:21
*** gashcrumb <gashcrumb!~quassel@redhat/jboss/slewis> has joined #hawtio08:21
*** jstrachan <jstrachan!~jstrachan@host86-150-140-90.range86-150.btcentralplus.com> has joined #hawtio08:26
*** slewis <slewis!~quassel@redhat/jboss/slewis> has quit IRC (Ping timeout: 260 seconds)08:28
*** kearls <kearls!~textual@209.70.101.84.rev.sfr.net> has joined #hawtio08:51
*** dejanb <dejanb!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has joined #hawtio08:57
*** github <github!~github@192.30.252.52> has joined #hawtio09:03
github[hawtio] davsclaus pushed 1 new commit to master: http://git.io/xxhLCA09:03
githubhawtio/master a6986be Claus Ibsen: #782: The testClass is optional as we want to allow the junit plugin in the ui, to select tests to run.09:03
*** github <github!~github@192.30.252.52> has left #hawtio09:03
jstrachandavsclaus awesome; just ran a unit test from inside hawtio (via the JMX tab ;) - just about to use the new mbean now...09:09
jstrachanhardest bit is getting all the data back for the results so we can show it nicely ;)09:10
*** github <github!~github@192.30.252.51> has joined #hawtio09:11
github[hawtio] jstrachan pushed 1 new commit to master: https://github.com/hawtio/hawtio/commit/81477b956cafbd2150b7ef0e51223d9e7d90889e09:11
githubhawtio/master 81477b9 James Strachan: #817 add an mbean method to run JUnit tests in a bunch of classes09:11
*** github <github!~github@192.30.252.51> has left #hawtio09:11
davsclausjstrachan yeah i have though of keeping state in the mbean09:13
jstrachanyeah09:13
davsclausso we can display a nice page / table with running tests and progress09:13
jstrachanI was just gonna do that ;)09:13
jstrachanwas just gonna let us invoke it from the UI first; then was gonna keep track of the running status using that listener thingy09:13
davsclaustime / failed / completed / total etc09:13
jstrachanyeah09:14
davsclausyeah one step at a time :)09:14
jstrachanyou wanna implement the listener while I do the UI part? https://github.com/hawtio/hawtio/blob/master/hawtio-junit/src/main/java/io/hawt/junit/JUnitFacade.java#L47-4709:14
davsclausmaybe also some way of "resetting" camel09:14
davsclauseg all its jms counters09:14
davsclausso you can re-run a test or sometihng09:14
jstrachanI figured each time someone runs, we'd just replace the 'status' property on the mbean with the latest running state stats09:14
davsclausyeah at first, but if you run a test suite, we may wanna show stats from previous test methods?09:15
davsclausi gotta run in about 1-1,5h so not so much time today09:15
jstrachanyeah09:16
jstrachanno worries - I can keep nooding - no biggie09:16
davsclausyeah seems like the run listener has all the state we need09:18
davsclausi guess exposing their states as jmx attributes on the mbean facade ?09:18
davsclausah you got result dto for that09:19
davsclausah the run method is blocking ?09:19
jstrachanyeah think so - but thats fine too - as jolokia seems to handle that I think09:22
jstrachanthough maybe need an async version too09:22
*** github <github!~github@192.30.252.54> has joined #hawtio09:42
github[hawtio] jstrachan pushed 1 new commit to master: https://github.com/hawtio/hawtio/commit/48c5b5485b4c7fe53078fb60d9054f06b4c5ecbc09:42
githubhawtio/master 48c5b54 James Strachan: #817 add a basic working UI to let you run one or more unit tests; the layout isn't awesome yet but its functional at least09:42
*** github <github!~github@192.30.252.54> has left #hawtio09:42
jstrachandavsclaus wonder if we should make the mvn plugin use a different host to avoid clash? 9090 or something?09:48
jstrachanseems 8080 is quite commonly already used09:48
davsclausyeah sure09:48
jstrachanthe UI works now btw ;) doesn't look very nice - and the async thing isn't there yet...09:49
davsclausjust that its the same for all the goals09:49
davsclaushawt09:49
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio09:56
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has quit IRC (Quit: Computer has gone to sleep.)10:03
*** rhuss <rhuss!~jolokia@2a03:3680:0:1000:8417:724c:db71:4f2c> has joined #hawtio10:10
*** github <github!~github@192.30.252.48> has joined #hawtio10:24
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/joMdhQ10:24
githubhawtio/master 97e83ba James Strachan: #817 nicer selection layout so folks can click on the tests they want to run; run it multiple times with a single button click or type a filter to select a sub-set of the tests to run10:24
*** github <github!~github@192.30.252.48> has left #hawtio10:24
*** github <github!~github@192.30.252.50> has joined #hawtio10:29
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/VZ-hXA10:29
githubhawtio/gh-pages 289d7d0 FuseSource CI: Wagon: Deploying sitegen to repository10:29
*** github <github!~github@192.30.252.50> has left #hawtio10:29
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has joined #hawtio10:34
*** github <github!~github@192.30.252.49> has joined #hawtio10:43
github[hawtio] davsclaus pushed 1 new commit to master: http://git.io/wEPQJQ10:43
githubhawtio/master 79a2d50 Claus Ibsen: #292: Fixed Camel tracer to only show trace message for the selected route.10:43
*** github <github!~github@192.30.252.49> has left #hawtio10:43
*** davsclaus <davsclaus!~davsclaus@94-137-98-96.customers.ownit.se> has quit IRC (Ping timeout: 240 seconds)10:47
*** github <github!~github@192.30.252.52> has joined #hawtio10:55
github[hawtio] jstrachan pushed 3 new commits to master: https://github.com/hawtio/hawtio/compare/79a2d500a610...3380fbd3f98c10:55
githubhawtio/master 003d274 James Strachan: #817 spaced things out a little10:55
githubhawtio/master 3dc67a5 James Strachan: #817 show the results summary right next to the run button10:55
githubhawtio/master 3380fbd James Strachan: #817 add a nicer rendering of the actual failures of tests; with expandable stack traces10:55
*** github <github!~github@192.30.252.52> has left #hawtio10:55
*** github <github!~github@192.30.252.52> has joined #hawtio10:59
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/LxC0DQ10:59
githubhawtio/gh-pages c448844 FuseSource CI: Wagon: Deploying sitegen to repository10:59
*** github <github!~github@192.30.252.52> has left #hawtio10:59
*** rhuss1 <rhuss1!~jolokia@out-4.consol.de> has joined #hawtio11:20
*** rhuss <rhuss!~jolokia@2a03:3680:0:1000:8417:724c:db71:4f2c> has quit IRC (Ping timeout: 252 seconds)11:20
*** atooni <atooni!~atooni@163.166.150.54> has joined #hawtio11:25
*** rhuss <rhuss!~jolokia@2a03:3680:0:1021:8800:6e35:5125:5cbe> has joined #hawtio12:11
*** rhuss1 <rhuss1!~jolokia@out-4.consol.de> has quit IRC (Read error: Connection reset by peer)12:11
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has joined #hawtio12:20
*** lhein_ <lhein_!~quassel@redhat/jboss/lhein> has quit IRC (Remote host closed the connection)13:05
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)13:10
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio13:21
*** rhuss <rhuss!~jolokia@2a03:3680:0:1021:8800:6e35:5125:5cbe> has quit IRC (Quit: Leaving.)13:29
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has quit IRC (Quit: Computer has gone to sleep.)13:29
*** is-mw <is-mw!~is-mw@p5DD75C09.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)13:30
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has joined #hawtio13:35
*** is-mw <is-mw!~is-mw@p5DD75C09.dip0.t-ipconnect.de> has joined #hawtio13:37
*** github <github!~github@192.30.252.53> has joined #hawtio13:54
github[hawtio] jstrachan pushed 3 new commits to master: https://github.com/hawtio/hawtio/compare/3380fbd3f98c...83eb06a7d9a913:54
githubhawtio/master c9014ce James Strachan: #817 add much faster way to find the test cases13:54
githubhawtio/master eefdd7e James Strachan: #817 add an IDE plugin for finding files in the file system and opening them in IDEA13:54
githubhawtio/master 83eb06a James Strachan: #817 add an IDE plugin for finding files in the file system and opening them in IDEA13:54
*** github <github!~github@192.30.252.53> has left #hawtio13:54
*** github <github!~github@192.30.252.48> has joined #hawtio14:07
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/QSyMEg14:07
githubhawtio/gh-pages 14e5e9f FuseSource CI: Wagon: Deploying sitegen to repository14:07
*** github <github!~github@192.30.252.48> has left #hawtio14:07
*** atooni <atooni!~atooni@163.166.150.54> has quit IRC (Quit: Leaving)14:17
*** dejanb_ <dejanb_!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has joined #hawtio14:24
*** dejanb <dejanb!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has quit IRC (Ping timeout: 265 seconds)14:25
*** dejanb_ is now known as dejanb14:25
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Quit: gnodet)14:26
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio14:28
*** github <github!~github@192.30.252.50> has joined #hawtio14:29
github[hawtio] gashcrumb pushed 2 new commits to master: http://git.io/22LOYg14:29
githubhawtio/master 58bcaed Stan Lewis: Tone down the z-index on endpoints14:29
githubhawtio/master 117d74a Stan Lewis: Move the route/endpoint properties to a side panel and tweak the layout, fix #81414:29
*** github <github!~github@192.30.252.50> has left #hawtio14:29
jstrachanooh14:30
jstrachangashcrumb btw almost got a little directive for opening files in IDEA going...14:30
jstrachanfor showing stack traces nicely when running unit tests...14:30
gashcrumbjstrachan: awesome!14:31
gashcrumbyeah, so got the properties moved over to a side panel in the editor, took some css trickery to make it work :-)14:31
jstrachangashcrumb btw the junit plugin works ;)14:31
jstrachanyay!14:31
gashcrumbhawt14:31
gashcrumbright now there's an "apply" button as it's still in a form14:32
jstrachanafter a full build if you do: cd hawtio-web; mvn test-compile exec:java14:32
jstrachanyou can then use the JUnit tab to run tests14:32
gashcrumbthat's cool!14:32
gashcrumbgonna try that14:32
jstrachanmight be a nice way to run/manage long running integration tests; being able to start/stop/monitor them from hawtio; e.g. for tests that start up new openshift carts; create fabrics, spin up new stuff etc14:35
*** is-mw <is-mw!~is-mw@p5DD75C09.dip0.t-ipconnect.de> has quit IRC (Quit: Nettalk6 - www.ntalk.de)14:45
gashcrumbhm, just mvn test-compile exec:java in the hawtio-web module?14:47
jstrachanyeah14:48
jstrachanassuming you've build everything14:48
jstrachan(as there's new hawtio-ide / hawtio-junti jars14:48
gashcrumbyeah, just did a full rebuild locally14:48
gashcrumbright14:49
*** github <github!~github@192.30.252.53> has joined #hawtio14:49
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/AYx48A14:49
githubhawtio/gh-pages 649a637 FuseSource CI: Wagon: Deploying sitegen to repository14:49
*** github <github!~github@192.30.252.53> has left #hawtio14:49
gashcrumbhmm, yup those got built14:49
gashcrumbjust not seeing a junit tab14:49
gashcrumbooh, let me clear my cache just to be safe14:49
gashcrumbhmm, nope.  how does it detect junit tests?14:50
jstrachanlooks in the basedir14:51
jstrachanand finds all classes with a junit @Test method14:51
jstrachanyay - just opened a stack trace in IDEA from the junit results...14:52
jstrachanlemme double check I"ve pushed everything14:52
*** github <github!~github@192.30.252.55> has joined #hawtio15:08
github[hawtio] jstrachan pushed 1 new commit to master: https://github.com/hawtio/hawtio/commit/d662243cb7814e5f567504dd8d8003c83838ea4815:08
githubhawtio/master d662243 James Strachan: #817 add a <hawtio-open-ide> directive so we can open up stack traces in IDEA15:08
*** github <github!~github@192.30.252.55> has left #hawtio15:08
jstrachangashcrumb just pushed the IDE directive; just pulled & doing a full build; will double check it still works ;)15:08
jstrachanneed coffee too ;)15:09
gashcrumb:-)15:09
gashcrumbalways need coffee :-)15:09
gashcrumbcool, just taking a second to add profile-refresh as a JMX api15:10
gashcrumbso we can trigger that from hawtio15:10
jstrachanah cool15:15
jstrachangashcrumb getting an odd compile error when running the mvn build; but not in IDEA15:18
jstrachanI guess its the difference in tsc versions?15:18
gashcrumbyeah, most likely15:18
gashcrumbgrunt-type I think still uses tsc 0.8.015:18
gashcrumbat some point we're probably going to have to bite the bullet and rip out grunt-type15:20
gashcrumband switch over to compileTsc, probably also should do any copying/concatenating from maven instead of from within grunt15:20
gashcrumbbut then the build setup gets a lot simpler15:20
*** github <github!~github@192.30.252.51> has joined #hawtio15:21
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/DAJi8A15:21
githubhawtio/gh-pages 383d5a1 FuseSource CI: Wagon: Deploying sitegen to repository15:21
*** github <github!~github@192.30.252.51> has left #hawtio15:21
jstrachanyeah15:21
*** jcordes <jcordes!~jcordes@193.47.161.36> has quit IRC (Ping timeout: 272 seconds)15:28
*** odohmen <odohmen!~Adium@217.110.62.28> has quit IRC (Quit: Leaving.)15:28
*** github <github!~github@192.30.252.54> has joined #hawtio15:30
github[hawtio] jstrachan pushed 2 new commits to master: http://git.io/L9WBYw15:30
githubhawtio/master 1723842 James Strachan: #817 removed debugging15:30
githubhawtio/master 4de7362 James Strachan: #817 fix maven build error with grunt-type15:30
*** github <github!~github@192.30.252.54> has left #hawtio15:30
jstrachangashcrumb ok I've pushed everything & built everything and its working fine for me here ;)15:33
jstrachando you see io.hawt.junit.JUnitFacade and io.hawt.ide.IdeFacade in JMX tree?15:34
gashcrumbcool, will give it another try in a few...15:34
jstrachan(we should move the hawtio plugins into the io.hawt domain probably ;)15:34
gashcrumbthe plugin registry?15:34
gashcrumbyeah15:34
gashcrumbthere's an open item on that...15:35
gashcrumbdefinitely need to15:35
jstrachanyeah15:35
chirinogashcrumb: jstrachan: you guys mind if I make the initial landing route an attribute of the branding?15:37
jstrachanfixing now15:37
jstrachanchirino you mean the home page? you can define that yourself in vendor.js15:38
jstrachanhere's how you can do it https://github.com/hawtio/hawtio-camel-wiki/blob/master/src/main/webapp/vendor.js#L715:38
jstrachanthat also defines a custom perspective too; deciding exactly what plugins to show, in what order etc15:39
jstrachanhttps://github.com/hawtio/hawtio-camel-wiki/blob/master/README.md15:39
chirinowho loads that vendor.js?15:40
chirinohawtio?15:41
jstrachanyeah15:41
jstrachanso you can just customise the hawtio-web by just overriding that one text file15:41
jstrachanhttps://github.com/hawtio/hawtio-camel-wiki/blob/master/pom.xml#L2615:41
chirinodon't see it referenced in hawtio anywhere15:41
jstrachanhttps://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/index.html#L418-41815:42
jstrachanwe're gonna cut 1.2.1 pretty soon btw if its any help15:42
jstrachangashcrumb wonder if we should just use hawtio as the domain name? rather than io.hawt?15:43
chirinok15:43
jstrachangashcrumb hawtio seems more easy to grok15:43
gashcrumbjstrachan: am cool with that15:46
jstrachangashcrumb any luck with the junit plugin btw?15:47
gashcrumbjstrachan: haven't tried it again yet15:47
chirinoFYI: getting NPE at io.hawt.system.Authenticator.authenticate(Authenticator.java:70)15:58
jstrachanchirino using latest snapshot?15:59
jstrachanI fixed that recently I thought15:59
chirinoya15:59
chirinoloading up sources now15:59
jstrachanchirino you built it - or latest downloaded15:59
chirinoI built it15:59
chirino1.3-SNAPSHOT15:59
chirinohold on..16:01
chirinoI might be out of date16:01
chirinorebuilding everything.. :)16:03
jstrachan;)16:05
*** github <github!~github@192.30.252.50> has joined #hawtio16:06
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/Vqd-KA16:06
githubhawtio/master 318542f James Strachan: fixes #152 so we use the domain name "hawtio" which is a little easier on the eye and helps folks grok what the mbeans are for more easily; so all our mbeans are now inside the same "hawtio" domain to avoid polluting JMX16:06
*** github <github!~github@192.30.252.50> has left #hawtio16:06
jstrachanchirino btw that project's a nice little demo of a web app - (which incidentally has camel and amq - and redeploys on the fly if you change a spring XML in the wiki) while reusing hawtio but rebranding it (well making a new perspective and default page)16:06
*** amundj <amundj!~textual@aggw006.cappelendamm.no> has quit IRC (Ping timeout: 272 seconds)16:10
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has quit IRC (Ping timeout: 246 seconds)16:10
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has joined #hawtio16:12
chirinojstrachan: rebuilt everything.. still getting the NPE16:12
jstrachanballs!16:13
jstrachangimme 2 mins; just in the middle of something...16:14
chirinojstrachan: why the 'if (info.username.equals("public"))' ??16:14
jstrachanno idea ;)16:14
jstrachangashcrumb any ideas?16:14
jstrachanchirino I guess that line should ignore nulls there ;)16:15
chirinobut why is the user name public special?16:15
jstrachanno idea!16:16
chirinowhat if there really is a user called public?16:16
jstrachanjust fixed the NPE - not sure on the public thingy16:16
*** chm007 <chm007!~cmoulliar@ip-83-134-169-169.dsl.scarlet.be> has quit IRC (Client Quit)16:16
chirinosmells like an NSA backdoor ;)16:16
*** github <github!~github@192.30.252.55> has joined #hawtio16:16
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/BseWzw16:16
githubhawtio/master b4b4439 James Strachan: avoid NPE16:17
*** github <github!~github@192.30.252.55> has left #hawtio16:17
jstrachanlol :)16:17
gashcrumbjstrachan, chirino: it's a dummy user account to test the initial login as I very vaguely recall16:18
gashcrumbit's part of avoiding any http basic auth prompts16:18
chirinoBackdoor!  I knew it!16:21
chirino;)16:21
chirinojstrachan: gashcrumb: getting Login Failed, Forbidden.16:25
chirinonot logging server side to assist.16:25
chirinoprobably because the username was null thingy16:25
jstrachanthis is using hawtio inside amq right?16:27
jstrachanisnt' it secure by default in amq?16:27
chirinosomething seems off16:28
chirinoI added a System.out.println("authHeader:"+authHeader);16:28
chirinobefore the Authenticator.extractAuthInfo call16:28
jstrachangashcrumb btw love the right had tab thingy for camel editor ;)16:28
gashcrumbyeah, thought auth was turned off by default in amq16:28
chirinoand what prints out is authHeader:Basic Og==16:28
chirinoseems too short.16:28
chirinofor admin/admin16:28
gashcrumbyeah, that's definitely too short16:28
chirinohttps://www.evernote.com/shard/s13/sh/c428bfad-a09f-4091-adfe-dc05a30c1b7b/4ee2413fa3da843e693059ab3c77baa916:32
gashcrumbhmmm, where's that getting called from?16:33
gashcrumbgetBasicAuthHeader that is16:34
jstrachanchirino could you flush your browser cache to be sure?16:34
gashcrumbdefinitely shouldn't be empty, would mean the binding between the form controls and the model has gotten broken.16:34
jstrachanchirino have seen these kinds of bugs with login pages; where the browser autofills - but angularjs doesn't spot it (as the browser doesn't generate a change event)16:34
jstrachanchirino we added the "autofill" attribute directive to fix16:34
jstrachan(so you should see that on the <input> for the login/pwd16:35
chirinoyeah it was the cache it seems.16:35
gashcrumbdamn cache is always causing problems :-)16:35
jstrachanyeah!16:36
chirinodamn cache!16:36
jstrachanwe need a nice way to force it to flush each snapshot/release16:36
gashcrumb:-)16:36
gashcrumbwe've the one for local storage, but not sure you can really do the browser cache from js16:37
chirinojstrachan: perhaps the index.htm should do the rails trick and append a ?v=${version} to the file urls16:37
chirinothe parameter should get ignored, but I think the browser wont cache as its a different url16:37
chirinobasically index.html would need to get generated... which is not hard since this is a webapp16:38
jstrachanyeah16:39
gashcrumbcould try adding some meta tags to suggest not caching16:39
chirinowell we do want caching.16:39
chirinojust have it not cache when it changes.16:39
chirinoeven better would be ?checksum=${checksum}16:39
chirinothat way if the file does not change, not need to invalidate the cache.16:40
jstrachanwonder if we can just do it all via a nice filter; to hide mess from the URLs?16:40
gashcrumbI had one for the old FMC but it only worked because I had a servlet serving out the static content too16:41
gashcrumbtried adapting it for hawtio but since we always let the default servlet handle our static content the filter wasn't getting called16:42
chirinoso I tried doing a vendor.js with https://gist.github.com/chirino/782822116:49
chirinobut on ling it still sends me to the help pages16:50
chirinos/ling/login16:50
jstrachandon't think there's a real page called #/activemq16:50
jstrachantry #/jmx/attributes?tab=activemq16:50
chirinook16:51
chirinosame16:52
jstrachancan you find or click on an AMQ link?16:52
chirinoFYI: #/activemq also redirects to the right pace16:52
chirinoyeah16:52
jstrachanhmm16:52
jstrachanno idea ;)16:53
jstrachantry add a perspective for now called ActiveMQ like that vendor.js above16:54
jstrachanhttps://github.com/hawtio/hawtio-camel-wiki/blob/master/src/main/webapp/vendor.js#L716:54
jstrachansee if that helps - you can then use "lastPage" in there to indicate the default page to use when switchign to a perspective16:54
gashcrumbAlso might be worth checking if you're actually getting the Perspective object or an empty object16:54
jstrachanalso put activemq first and it'll probably pick that one anyway16:54
chirinoso it works for me if I modify app/app.js16:54
chirinoand change the line in function AppController16:55
chirino$location.url('/help'); to $location.url('/activemq');16:55
jstrachanwhoah!16:55
jstrachanthat looks like a hack16:55
jstrachanhttps://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/core/js/app.ts#L68-6816:56
jstrachangashcrumb we've a default page thingy now - that looks like a bug really16:56
jstrachangashcrumb wonder if we should just delete that code; now there's the code to figure out the default page from the perspective etc?16:56
gashcrumbjstrachan: yeah, think that was initially there to trigger going to the login page if the user isn't logged in16:57
jstrachanworst case we should call Perspective.defaultPage($location, workspace, jolokia, localStorage) to get the value16:57
jstrachanlemme fix16:57
gashcrumbso yeah, change it to fetch whatever the default page is16:57
chirinoor at least make it $location.url(branding.landing);16:58
jstrachanah balls - we've no jolokia in there16:58
chirinoso you can change it via branding16:58
gashcrumbjstrachan: just pull in jolokia too, it's just a normal controller16:58
jstrachanthere's Perspective.defaultPageLocation too16:58
jstrachangashcrumb ah cool16:58
gashcrumbwonder if this line should also use Perspective.defaultPageLocation -> https://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/core/js/app.ts#L190-19017:00
jstrachanfixing...17:03
jstrachanthink I fixed it; chirino wanna try with the latest?17:04
*** github <github!~github@192.30.252.49> has joined #hawtio17:04
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/mTHqOw17:05
githubhawtio/master cb52bff James Strachan: use the default perspective page by default rather than help17:05
*** github <github!~github@192.30.252.49> has left #hawtio17:05
gashcrumbhmm, mvn text-compile exec:java doesn't seem to be working for me anymore17:05
gashcrumbgonna let it sit for awhile and see if it fully starts up eventually17:06
jstrachantakes a little while these days - with all the AMQ / quartz stuff17:06
gashcrumbah, maybe that's it17:06
gashcrumbback in a few...17:07
jstrachanchirino did that help?17:14
*** ceposta <ceposta!~Adium@ip68-3-37-207.ph.ph.cox.net> has quit IRC (Quit: Leaving.)17:14
*** ceposta <ceposta!~Adium@ip68-3-37-207.ph.ph.cox.net> has joined #hawtio17:14
*** jstrachan <jstrachan!~jstrachan@host86-150-140-90.range86-150.btcentralplus.com> has quit IRC (Quit: Leaving...)17:16
*** dejanb <dejanb!~dejanb@cable-24-135-8-211.dynamic.sbb.rs> has quit IRC (Quit: dejanb)17:24
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)17:41
*** odohmen <odohmen!~Adium@ip-62-143-153-145.unitymediagroup.de> has joined #hawtio18:11
*** rajdavies <rajdavies!~textual@host86-129-252-144.range86-129.btcentralplus.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)18:18
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio18:29
*** ceposta <ceposta!~Adium@ip68-3-37-207.ph.ph.cox.net> has quit IRC (Ping timeout: 265 seconds)18:37
*** github <github!~github@192.30.252.51> has joined #hawtio18:55
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/m9zqQg18:55
githubhawtio/master 215382b Stan Lewis: Add a button to the profile details page to trigger a profile refresh18:55
*** github <github!~github@192.30.252.51> has left #hawtio18:55
*** github <github!~github@192.30.252.49> has joined #hawtio19:25
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/KG2F4w19:25
githubhawtio/master ac74c3b Stan Lewis: Add a filter to the operations page (finally)19:25
*** github <github!~github@192.30.252.49> has left #hawtio19:25
chirinogashcrumb: https://gist.github.com/chirino/db922529dfccefe0e2dc19:27
chirino:(19:27
gashcrumbchirino: hmm, there's a loop in there...19:28
gashcrumbwhat's in your vendor.js?  BTW, have to run out for a few minutes, bear with me19:29
chirinoyeah.. but where?19:29
chirino(function (Perspective) {   Perspective.defaultPageLocation = "/activemq"; })(Perspective || {});19:29
gashcrumblooks like whatever's watching $locationWatch is getting notified of a change and then triggering the watch again19:30
gashcrumbchirino: can you go into "Preferences" and set your logging to debug?19:36
chirinok19:39
chirinofixed it19:40
chirinoswitching /activemq to /jmx/attributes?tab=activemq makes it work better19:40
chirino#/activemq used to redirect to the right place.. not sure why it does not anymore19:40
gashcrumbwe very well could have broken that at some point19:40
chirinowhy are you guys cutting a release?19:41
chirinos/why/when19:41
gashcrumbI think whenever, probably next week I guess19:42
gashcrumbnot sure what else James wants to get in there :-)19:42
*** dbokde <dbokde!~Adium@76-220-59-86.lightspeed.sntcca.sbcglobal.net> has joined #hawtio20:10
*** github <github!~github@192.30.252.50> has joined #hawtio20:11
github[hawtio] bvahdat opened pull request #821: Default to NOT join the jetty thread pool (master...master) http://git.io/30kxcw20:11
*** github <github!~github@192.30.252.50> has left #hawtio20:11
*** github <github!~github@192.30.252.55> has joined #hawtio20:14
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/XBh5Jw20:14
githubhawtio/gh-pages 478c195 FuseSource CI: Wagon: Deploying sitegen to repository20:14
*** github <github!~github@192.30.252.55> has left #hawtio20:14
*** gashcrumb <gashcrumb!~quassel@redhat/jboss/slewis> has quit IRC (Quit: No Ping reply in 180 seconds.)20:20
*** slewis <slewis!~quassel@c-24-34-129-30.hsd1.nh.comcast.net> has joined #hawtio20:20
*** slewis <slewis!~quassel@c-24-34-129-30.hsd1.nh.comcast.net> has quit IRC (Changing host)20:20
*** slewis <slewis!~quassel@redhat/jboss/slewis> has joined #hawtio20:20
*** github <github!~github@192.30.252.48> has joined #hawtio20:20
github[hawtio] gashcrumb closed pull request #821: Default to NOT join the jetty thread pool (master...master) http://git.io/30kxcw20:20
*** github <github!~github@192.30.252.48> has left #hawtio20:20
*** slewis <slewis!~quassel@redhat/jboss/slewis> has quit IRC (Quit: No Ping reply in 180 seconds.)20:35
*** slewis <slewis!~quassel@c-24-34-129-30.hsd1.nh.comcast.net> has joined #hawtio20:36
*** slewis <slewis!~quassel@redhat/jboss/slewis> has joined #hawtio20:36
*** github <github!~github@192.30.252.53> has joined #hawtio20:36
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/NoB1gA20:36
githubhawtio/gh-pages b8a0228 FuseSource CI: Wagon: Deploying sitegen to repository20:36
*** github <github!~github@192.30.252.53> has left #hawtio20:36
*** kearls <kearls!~textual@209.70.101.84.rev.sfr.net> has quit IRC (Quit: Computer has gone to sleep.)21:36
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)22:08
*** iocanel <iocanel!~iocanel@redhat/jboss/iocanel> has joined #hawtio22:21
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Quit: gnodet)22:46
*** odohmen <odohmen!~Adium@ip-62-143-153-145.unitymediagroup.de> has quit IRC (Quit: Leaving.)22:51
*** kearls <kearls!~textual@209.70.101.84.rev.sfr.net> has joined #hawtio23:10
*** kearls <kearls!~textual@209.70.101.84.rev.sfr.net> has quit IRC (Client Quit)23:12
*** github <github!~github@192.30.252.48> has joined #hawtio23:55
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/DlMIyA23:55
githubhawtio/gh-pages 4a19848 FuseSource CI: Wagon: Deploying sitegen to repository23:55
*** github <github!~github@192.30.252.48> has left #hawtio23:55

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