Friday, 2013-05-10

*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio00:13
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/Z-TlAw00:13
githubhawtio/gh-pages c4ea8ff FuseSource CI: Wagon: Deploying sitegen to repository00:13
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio00:13
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has joined #hawtio00:55
*** hani <hani!~hani@207-237-37-180.c3-0.avec-ubr1.nyr-avec.ny.static.cable.rcn.com> has quit IRC (Read error: Connection reset by peer)02:09
*** hani <hani!~hani@207-237-37-180.c3-0.avec-ubr1.nyr-avec.ny.static.cable.rcn.com> has joined #hawtio02:10
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has quit IRC (Quit: Computer has gone to sleep.)02:32
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has joined #hawtio02:32
*** rhuss1 <rhuss1!~jolokia@p4FE1A65B.dip0.t-ipconnect.de> has left #hawtio05:45
*** chm007 <chm007!~cmoulliar@ip-83-134-4-71.dsl.scarlet.be> has joined #hawtio06:01
*** dbokde <dbokde!~Adium@76-220-59-86.lightspeed.sntcca.sbcglobal.net> has quit IRC (Quit: Leaving.)06:08
*** rajdavies <rajdavies!~textual@host86-145-92-116.range86-145.btcentralplus.com> has joined #hawtio06:58
*** jstrachan <jstrachan!~jstrachan@host86-144-208-78.range86-144.btcentralplus.com> has joined #hawtio07:23
*** dejanb <dejanb!~dejanb@cable-178-148-5-192.dynamic.sbb.rs> has joined #hawtio08:08
*** iocanel <iocanel!~iocanel@athedsl-4495724.home.otenet.gr> has joined #hawtio08:33
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has joined #hawtio08:54
*** rajdavies <rajdavies!~textual@host86-145-92-116.range86-145.btcentralplus.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)09:57
dejanbjstrachan: hey … what's the best method to pass a parameter to the callback10:53
jstrachanwhich callback - wanna point me at some code?10:53
jstrachanor a gist?10:53
dejanblike onSuccess()10:54
jstrachanoh do this: onSuccess( () => callSomething(param1, someVAlue5))10:54
jstrachani.e. just define an inline function10:55
dejanbcool … that's the one10:55
jstrachanyou maybe need the response too :)10:55
jstrachanonSuccess( (response) => callSomething(response, param1, someValue))10:55
*** rajdavies <rajdavies!~textual@host86-145-92-116.range86-145.btcentralplus.com> has joined #hawtio10:55
jstrachanthough if you define a function in the local scope, you have access to all the variables10:55
jstrachanso function foo(response) { … // access stuff in local scope here…10:55
jstrachanonSuccess(foo)10:56
jstrachanthen there's no need to 'pass' as JS scopes do that kinda under the covers10:56
dejanbWhat I basically want to do10:56
dejanbis call two mbean attributes … and pass additional "status"10:56
dejanbto be filled in the table10:56
jstrachanyou want to lookup some attributes for 1 mbean; or attributes for multiple mbeans?10:57
jstrachanor is status another attribute?10:57
dejanbI want to put both active and oflline subs in the same table10:57
dejanbso two mbean calls … and manually add status10:58
jstrachanah gotcha10:58
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has quit IRC (Ping timeout: 252 seconds)10:58
jstrachanso you want to use the same function to add to the $scope.something array - but just pass in some different state to add in to each result right?10:59
dejanbyeah10:59
dejanbso I think you're solution from above will work perfectly10:59
jstrachanso one tricky thing is - ideally we'd remove any old values, not have any duplicates, do things in 2 method calls10:59
jstrachanso if you do both queries together, you might only wanna update the $scope.tableData thingy when both queries have returned11:00
jstrachane.g. $scope.temp = []; do the 2 async requests; then when they are both done, call $scope.tableData = $scope.temp11:01
jstrachanjust in case there's a gap between request 1 and request 2 coming back causing half the results to disappear for while11:01
jstrachanor another option is - in each callback - remove all the items for the status value - then insert the new results11:02
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has joined #hawtio11:02
jstrachanasync UI stuff can be a little fiddly sometimes :)11:02
dejanbgotcha … let me play with it11:03
jstrachanthe latter approach might be easiest - then its 1 variable in the $scope and you just need to remove stuff first before adding it in the callback11:04
jstrachanhttp://sugarjs.com/api/Array/filter11:05
jstrachane.g. $scope.data = $scope.data.filter(n => n.status !== statusValue))11:06
*** rhuss <rhuss!~jolokia@p4FE1A65B.dip0.t-ipconnect.de> has joined #hawtio11:12
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has joined #hawtio11:20
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has quit IRC (Ping timeout: 276 seconds)11:38
*** chirino <chirino!~chirino@pool-71-180-128-149.tampfl.fios.verizon.net> has joined #hawtio11:44
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio11:48
github[hawtio] dejanb pushed 1 new commit to master: http://git.io/doBn2w11:48
githubhawtio/master c9955b5 Dejan Bosanac: #281 - first addition of activemq durable subscription management11:48
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio11:48
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has joined #hawtio11:50
*** iocanel <iocanel!~iocanel@athedsl-4495724.home.otenet.gr> has quit IRC (Quit: Computer has gone to sleep.)12:34
jstrachanslewis fabric's looking hawt in hawtio!13:02
slewisjstrachan: tx!13:03
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has joined #hawtio13:03
jstrachanslewis was wondering if the Assign button should be on the Profiles view instead?13:04
jstrachanmaybe not13:04
slewiscould be...13:05
slewiscould have it on both really13:05
slewisit's a separate page, so the button's just a link really13:05
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:05
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/_PC6Mw13:05
githubhawtio/master a9223ec James Strachan: minor UI polish13:05
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:05
slewismostly wanted to focus on mass profile assignment13:05
slewissomething that's not possible in FMC or IDE today, you know?13:05
jstrachanyeah13:05
jstrachanlove the screen btw :)13:06
slewisah, the dual table look?13:06
slewisyeah, could be a wizard, but figured I'd maybe get away with just numbering the steps for now :-)13:07
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:07
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/GRZKrA13:07
githubhawtio/master e493759 James Strachan: add a migrate icon13:07
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:07
jstrachan;)13:07
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has quit IRC (Remote host closed the connection)13:10
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has joined #hawtio13:13
jstrachanslewis do a pull & see what you think of the containers page - did a little polish on the buttons; tried to use single words & icons13:15
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:15
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/bWcbZg13:15
githubhawtio/master 21ff9f2 James Strachan: added an icon for assign profiles13:15
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:15
jstrachannot sure of a nicer single word for "Assign Profiles" though ;) - Refactor?13:15
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has quit IRC (Remote host closed the connection)13:16
slewisone sec, I'll take a look...13:16
slewisand yeah, not sure either, maybe "Provision"?13:16
jstrachanAssign?13:16
slewisyeah, maybe just Assign...13:17
slewisbut yeah, icons and less wordy buttons = nicer13:17
slewisoh yeah, guess just Assign would work, you can hover the button and the element title tells you what it does13:18
jstrachanyeah13:19
jstrachanthere's already a tooltip13:19
jstrachandone!13:20
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:20
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/00VNDA13:20
githubhawtio/master b026ad1 James Strachan: less wordy! :)13:20
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:20
*** iocanel <iocanel!~iocanel@athedsl-4495724.home.otenet.gr> has joined #hawtio13:22
slewisperfect!13:22
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has joined #hawtio13:26
jstrachanslewis btw create container doesn't work yet right? or am I doing it wrong13:36
jstrachan(admittedly am using a remote connection to a fabric jvm)13:36
slewisit's a bit raw13:36
slewisbut it does work, though I've been finding fabric itself is a bit broken at the moment13:37
slewisbut yeah, you just have to be sure you enter the JMX username/password13:37
jstrachanI get: GET http://admin:admin@localhost:8080/hawtio/proxy/localhost/8181/jolokia/exec/…%22%2C%22parent%22%3A%22root%22%7D?ignoreErrors=true&canonicalNaming=false 500 (Invalid uri 'http://localhost:8181/jolokia/exec/org.fusesource.fabric:type=Fabric/createContainers(java.util.Map)/{"number":1,"providerType":"child","jmxUser":"admin","jmxPassword":"admin","name":"cheese","parent":"root"}': escaped absolute path not13:37
jstrachan valid)13:37
slewisoh weird13:37
slewisyeah, that works here13:38
jstrachanah must be a remote issue13:38
slewisam also using the proxy13:38
slewisi.e. just using a hawtio running via exec:java and connected to the fabric after I created it via the "local" tab13:38
slewisah, maybe the proxy13:39
slewisI'm not using the proxy that's what it is...13:39
jstrachanah13:39
slewisjust the "url" param13:39
slewistrying the proxy now...13:40
slewisat least it's just a matter of clicking on the "connect" link :-)13:40
jstrachan;)13:41
slewishmm, hasn't bailed but it also hasn't worked...13:41
slewisyou're working with a recent snapshot build, right?13:41
jstrachanyeah - just built hawtio + fabric13:42
jstrachananything outside of hawtio-web changed lately?13:42
jstrachanlemme do a full build just in case of hawtio13:42
slewisyeah, not that I'm aware of, most of my changes have been in hawtio-web and fabric-core, strictly in the JMX stuff13:43
jstrachanso did you use the Local tab to connect?13:50
jstrachanI was trying to connect to the jolokia inside the fabric container so had to use the proxy - as it can't connect without it13:50
slewisyeah, basically I've been doing fabric:create13:51
slewisthen click refresh on the local tab and the jolokia URL shows up13:51
slewisand click on that, so then I'm connected to the jolokia instance that fabric started13:51
jstrachanI don't see the jolokia URL here on the Local tab13:52
slewishmmm, something going on with fabric-web maybe?13:52
slewisshould be there if you've created the fabric13:52
jstrachanit shows up for you on http://localhost:8080/hawtio/#/jvm/local in the "Agent URL" column right?13:53
slewisyeah13:53
slewisnot there at all?13:55
slewisfor you?13:55
jstrachanno13:56
slewisdang...  and do you see fabric-web deployed in your fabric container?13:56
slewisshould see that and jolokia actually13:57
jstrachanI see the jolokia URL in the fabric cluster stuff13:57
jstrachane.g. in http://localhost:8080/hawtio/?url=%2Fhawtio%2Fproxy%2Flocalhost%2F8181%2Fjolokia&_user=admin&_pwd=admin#/fabric/clusters/fabric/registry/clusters/webapps13:57
*** vijaykiran <vijaykiran!~user@fw1.lunatech.com> has quit IRC (Remote host closed the connection)13:57
slewiswhat version of jolokia is showing up in there out of curiosity13:58
slewisshould be 1.1.113:58
slewisand be "org.jolokia"13:58
slewisskype maybe?13:59
jstrachanyeah13:59
jstrachannot a biggie13:59
jstrachancould be I need another build of fabric - I did it a few hours ago13:59
slewishmmm, yeah, that should be okay...14:00
slewislast change was yesterday14:00
slewisbut the fabric-web stuff was added in a few days ago14:00
slewisunless it's magically broken since yesterday :-)  I'll rebuild now and see how it looks.14:01
slewishave to come up with this abstract for my camel one session anyway14:01
slewis<sigh>14:01
jstrachan:)14:02
jstrachanglad that it was working though; that jolokia.agent gets properly advertised on the local tab!14:02
slewisyeah!14:03
slewisnot sure what's going on in general in fabric, been running into some odd issues with it yesterday14:03
slewislots of weird lock errors and generally stuff not deploying :-(14:04
slewiswas thinking btw, the fabric maven proxy should just be a regular war14:04
slewisso then it shows up in the cluster view as well14:04
slewisbe a nice easy way to locate maven proxies...  have no idea how it works at the moment :-)14:05
jstrachanyeah, good point :)14:09
slewisI only bring that up because it doesn't seem to be working that well here :-)14:10
slewisi.e. containers seem to want to just use remote repositories to grab artifacts and not use any of my locally built snapshots14:11
slewiskind of a hot mess really :-)14:11
jstrachanoh when deploying child containers?14:12
jstrachanits not finding local builds in the local mvn proxy?14:13
slewisyeah14:13
slewisjust kinda bails...  could have sworn it was working alright last week or whenever I last did any real fabric work...14:14
slewisbut in any case it does give me some ideas about reporting deployment failures :-)14:14
jstrachancan't remember how the mvn proxy gets wired into the pax-url stuff14:15
slewisyeah, me neither...14:15
slewisI figure we can get on people's cases on the call next week :-)14:15
jstrachanyeah :)14:16
slewisk, rebuild fabric, restarted, clicked refresh on the JVM "local" tab and the URL is still there...14:19
slewisso phew!14:19
slewisjust wondering, are you using the .tar.gz or the .zip fabric assembly?14:19
slewisI can't imagine there should be a difference, but you never know14:20
slewisI'm using the .zip one...14:20
jstrachantar14:23
jstrachanah - switching!14:23
jstrachanzip same - doing another build just in case...14:28
slewisdang!14:28
slewiswonder if maybe adding the system property there doesn't work in all JVMs14:29
slewislet me try building/running on mac14:29
jstrachanah yeah - maybe its just a mac thing14:30
slewislol, this mac doesn't even have hawtio checked out on it...14:35
slewisthis should take awhile, have to update node :-)14:35
jstrachan;)14:36
jstrachanmigrating the aether mbean from scala -> java and into hawtio so we'll be able to do dependency views etc...14:38
slewishawt14:39
slewisthe maven tab is awesome14:39
slewisespecially when you haven't figured out what you're doing :-)14:39
jstrachanyeah :)14:39
slewisand especially when you haven't used a lib and want to look at the code14:39
jstrachanwe should be able to use it (or the mbean at least) to do nice completion UI for adding bundles/features to profiles etc14:40
slewisyeah, that'd be awesome14:40
jstrachanyeah! - I find myself using it more and more14:40
slewishmm, well I won't have an answer on mac for awhile, takes this guy awhile to build fabric...14:47
slewisI'll bang up that property file editor so we can at least edit raw profile info that way for now...14:48
jstrachanyay!14:48
slewisyeah, then I'll never have to boot up fmc really!14:56
*** dbokde <dbokde!~Adium@76-220-59-86.lightspeed.sntcca.sbcglobal.net> has joined #hawtio15:18
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio15:36
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/A7jhcg15:36
githubhawtio/master 2265c52 Stan Lewis: Set up mode setting as two-way binding so it can be changed on the fly15:36
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio15:36
*** dejanb <dejanb!~dejanb@cable-178-148-5-192.dynamic.sbb.rs> has quit IRC (Quit: dejanb)16:11
*** iocanel <iocanel!~iocanel@athedsl-4495724.home.otenet.gr> has quit IRC (Ping timeout: 255 seconds)16:47
*** iocanel <iocanel!~iocanel@athedsl-4509818.home.otenet.gr> has joined #hawtio16:49
*** jstrachan <jstrachan!~jstrachan@host86-144-208-78.range86-144.btcentralplus.com> has quit IRC (Quit: Leaving...)16:54
*** rajdavies <rajdavies!~textual@host86-145-92-116.range86-145.btcentralplus.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)17:22
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio17:45
github[hawtio] gashcrumb pushed 2 new commits to master: http://git.io/UmzYtg17:45
githubhawtio/master e5711df Stan Lewis: Set up two-way binding for the 'clean' flag so it's easy to tell if a document has been edited17:45
githubhawtio/master fbcda54 Stan Lewis: Can edit existing configuration files in a profile for #3217:45
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio17:45
*** iocanel <iocanel!~iocanel@athedsl-4509818.home.otenet.gr> has quit IRC (Quit: Computer has gone to sleep.)18:09
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio18:16
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/kl-iTA18:16
githubhawtio/master 10d0f6a Stan Lewis: More work on #32, can create new config files in a profile18:16
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio18:16
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio18:31
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/yGeWHw18:31
githubhawtio/master d77b4c3 Stan Lewis: Can delete configuration files, so the basics of #32 are there18:31
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio18:31
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio18:32
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/E6nlfw18:32
githubhawtio/master 363d45d Stan Lewis: Clean cruft18:32
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio18:32
*** iocanel <iocanel!~iocanel@athedsl-4509818.home.otenet.gr> has joined #hawtio18:44
*** slewis <slewis!~quassel@redhat/jboss/slewis> has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)19:10
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio19:39
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/B6YV8g19:39
githubhawtio/master 912fcb3 Stan Lewis: Revert "Add a couple wrapper functions for base64 encoding client side to start fixing #338"...19:39
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio19:39
*** slewis <slewis!~quassel@redhat/jboss/slewis> has joined #hawtio19:39
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio19:45
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/ymjz_g19:45
githubhawtio/master 9595c9a James Strachan: #327 allow navigation to the detail page of a dependency19:45
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio19:45
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio19:46
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/Mu6bIQ19:46
githubhawtio/master 5a4aeb5 James Strachan: deal better with missing jar extensions and include scope in the json19:46
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio19:46
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio19:52
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/T549yw19:52
githubhawtio/master 7d2e7d4 James Strachan: avoid odd concurrent modification :)19:52
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio19:52
*** chirino <chirino!~chirino@pool-71-180-128-149.tampfl.fios.verizon.net> has quit IRC (Quit: Computer has gone to sleep.)19:54
*** chirino <chirino!~chirino@pool-71-180-128-149.tampfl.fios.verizon.net> has joined #hawtio19:57
*** iocanel <iocanel!~iocanel@athedsl-4509818.home.otenet.gr> has quit IRC (Quit: See ya later)20:35
*** rhuss <rhuss!~jolokia@p4FE1A65B.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving.)20:51
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has quit IRC (Quit: scranton)21:13
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio22:04
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/dCn6UQ22:04
githubhawtio/gh-pages 5ec84b0 FuseSource CI: Wagon: Deploying sitegen to repository22:04
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio22:04
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has quit IRC (Quit: Computer has gone to sleep.)22:45

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