Monday, 2015-12-14

*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has joined #wildfly-swarm01:26
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has quit IRC (Changing host)01:26
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #wildfly-swarm01:26
*** ChanServ sets mode: +o bobmcw01:26
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Ping timeout: 272 seconds)01:31
*** wangc <wangc!~wangc@redhat/jboss/wangc> has joined #wildfly-swarm02:16
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm03:58
*** agoncal <agoncal!~agoncal@113.202.154.77.rev.sfr.net> has joined #wildfly-swarm08:34
*** wangc <wangc!~wangc@redhat/jboss/wangc> has quit IRC (Quit: Leaving)08:56
*** wangc <wangc!~wangc@redhat/jboss/wangc> has joined #wildfly-swarm09:04
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm09:21
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has joined #wildfly-swarm09:31
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has quit IRC (Changing host)09:31
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #wildfly-swarm09:31
*** ChanServ sets mode: +o bobmcw09:31
*** wangc <wangc!~wangc@redhat/jboss/wangc> has quit IRC (Quit: Leaving)09:31
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Ping timeout: 240 seconds)09:36
*** agoncal <agoncal!~agoncal@113.202.154.77.rev.sfr.net> has quit IRC (Ping timeout: 256 seconds)10:12
*** mgoldmann|away is now known as mgoldmann11:25
*** helio-frota <helio-frota!~heliof@186.249.80.8> has joined #wildfly-swarm11:44
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Remote host closed the connection)11:51
*** bgeorges <bgeorges!~bgeorges@115.188.52.145> has joined #wildfly-swarm11:52
*** bgeorges_ <bgeorges_!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm11:54
*** bgeorges <bgeorges!~bgeorges@115.188.52.145> has quit IRC (Read error: Connection reset by peer)11:54
*** samueltauil <samueltauil!~samueltau@191.205.103.23> has joined #wildfly-swarm12:09
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has joined #wildfly-swarm12:09
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has quit IRC (Client Quit)12:12
*** samueltauil <samueltauil!~samueltau@191.205.103.23> has quit IRC (Quit: samueltauil)12:39
*** samueltauil <samueltauil!~samueltau@191.205.103.23> has joined #wildfly-swarm12:40
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has joined #wildfly-swarm12:49
hbraunis there anybody out there?13:01
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has quit IRC (Quit: afk)13:04
*** agoncal <agoncal!~agoncal@183.21.90.92.rev.sfr.net> has joined #wildfly-swarm13:08
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm13:16
*** bgeorges_ <bgeorges_!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Remote host closed the connection)13:17
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm13:18
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Remote host closed the connection)13:19
*** samueltauil <samueltauil!~samueltau@191.205.103.23> has quit IRC (Quit: samueltauil)13:19
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm13:19
*** tcrawley-away is now known as tcrawley13:20
tcrawleyhbraun: morning!13:23
hbraunhey tobi13:23
hbraungood morning13:23
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Ping timeout: 240 seconds)13:24
*** bbrowning_ is now known as bbrowning13:29
*** kenfinnigan <kenfinnigan!~ken@redhat/jboss/kenfinnigan> has joined #wildfly-swarm13:38
*** samueltauil <samueltauil!~samueltau@200-168-69-126.dial-up.telesp.net.br> has joined #wildfly-swarm13:39
*** lance|afk is now known as lanceball13:55
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has joined #wildfly-swarm14:08
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has quit IRC (Changing host)14:08
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #wildfly-swarm14:08
*** ChanServ sets mode: +o bobmcw14:08
bobmcwmorning, everyone!14:12
projectodd-ciStarting build #396 for job wildfly-swarm (previous build: SUCCESS)14:15
bobmcwkicking a build just to warm up the nexus caches14:16
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm14:20
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Ping timeout: 256 seconds)14:31
*** samueltauil <samueltauil!~samueltau@200-168-69-126.dial-up.telesp.net.br> has quit IRC (Read error: Connection reset by peer)14:36
*** samueltauil <samueltauil!~samueltau@187.34.10.95> has joined #wildfly-swarm14:37
jbossbotgit [wildfly-swarm-examples] push master 1e77661.. emag Fix typo14:45
jbossbotgit [wildfly-swarm-examples] push master 214f305.. emag Rev for 1.0.0.Alpha6-SNAPSHOT14:45
jbossbotgit [wildfly-swarm-examples] push master 9635768.. Bob McWhirter Merge pull request #30 from emag/rev-for-1.0.0.Alpha6-SNAPSHOT-gradle-examples...14:45
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/compare/95f9eb4...963576814:45
projectodd-ciStarting build #78 for job wildfly-swarm-examples (previous build: SUCCESS)14:46
projectodd-ciStarting build #37 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)14:47
* bobmcw is merging PRs today14:57
hbraunbobmcw morning14:57
bobmcwhbraun: morning!14:57
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm14:58
*** hbraun is now known as hbraun_away15:01
bobmcwytanabe: heya... I'm looking at https://github.com/wildfly-swarm/wildfly-swarm-examples/pull/3515:04
jbossbotgit pull req [wildfly-swarm-examples] (open) emag Add a JAX-WS example https://github.com/wildfly-swarm/wildfly-swarm-examples/pull/3515:04
bobmcwcurrently have a graphen/drone null URL test failure15:04
* bobmcw is digging in15:05
bobmcwhttps://gist.github.com/bobmcwhirter/8640f3edd56b7650711415:06
ytanabebobmcw, Ah, for now wildfly-swarm-arquillian doesn't support @ArquillianResource15:07
bobmcwah15:07
ytanabetcrawley, will fix at SWARM-20015:07
jbossbotjira [SWARM-200] Enable @ArquillianResource URI injection [Backlog (Unresolved) Task, Major, Toby Crawley] https://issues.jboss.org/browse/SWARM-20015:07
tcrawleybobmcw: hope to get to that today15:08
bobmcwtcrawley: thanks!15:09
bobmcwytanabe: cool.. when he has that working, if you could rebase (there's a small conflict in the root pom.xml due to my machinations)15:09
projectodd-ciProject wildfly-swarm-examples-uberjar build #37: SUCCESS in 24 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/37/15:11
projectodd-ci* lanabe.lanabe: Fix typo15:11
projectodd-ci* lanabe.lanabe: Rev for 1.0.0.Alpha6-SNAPSHOT15:11
projectodd-ciProject wildfly-swarm-examples build #78: SUCCESS in 24 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/78/15:11
projectodd-ci* lanabe.lanabe: Fix typo15:11
projectodd-ci* lanabe.lanabe: Rev for 1.0.0.Alpha6-SNAPSHOT15:11
ytanabebobmcw, sure :) I'll try it.15:11
bobmcwytanabe: cool, I've added some comments also15:12
bobmcwytanabe: thanks, you rock!15:12
*** tcrawley is now known as tcrawley-away15:12
jbossbotgit [wildfly-swarm-examples] push master 4dfbf39.. Kylin Soong Update README.md...15:13
jbossbotgit [wildfly-swarm-examples] push master ce51b5b.. Bob McWhirter Merge pull request #37 from kylinsoong/master...15:13
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/compare/9635768...ce51b5b15:13
jbossbotgit [wildfly-swarm-examples] push master 6b59778.. helio-frota new example15:13
jbossbotgit [wildfly-swarm-examples] push master df080d7.. Bob McWhirter Merge pull request #38 from helio-frota/new-examples...15:13
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/compare/ce51b5b...df080d715:13
*** tcrawley-away is now known as tcrawley15:14
projectodd-ciStarting build #79 for job wildfly-swarm-examples (previous build: SUCCESS)15:15
projectodd-ciStarting build #38 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)15:16
ytanabebobmcw, I looked your comments, ok, 1. simplify artifactId, 2. use parent arquillian version.15:16
ytanabeand 3. "Would @RunAsClient be suggested here? If this is running (or should run) external to the deployment?" mean, should I use @Drone like other examples src/it?15:16
projectodd-ciProject wildfly-swarm.io build #4541: SUCCESS in 44 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm.io/4541/15:21
projectodd-ciLance Ball: Clean up resources page and add a little text to it.15:21
*** ike <ike!53abb8b9@gateway/web/freenode/ip.83.171.184.185> has joined #wildfly-swarm15:24
projectodd-ciProject wildfly-swarm.io build #4542: SUCCESS in 33 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm.io/4542/15:26
projectodd-ciLance Ball: Fix spacing. Stupid Jade. No template system is ideal.15:26
bobmcwytanabe: @RunAsClient, I think, just means it runs the test in the maven/junit process, and not from within the -swarm.jar15:28
* bobmcw is NOT an arquillian expert15:28
bobmcwthat's tcrawley15:28
*** ike <ike!53abb8b9@gateway/web/freenode/ip.83.171.184.185> has quit IRC (Ping timeout: 252 seconds)15:29
tcrawleybobmcw: correct. if all your tests are @RunAsClient, the app will be deployed, but no tests will be ran inside swarm itself15:29
ytanabebobmcw, yes, or you can also test it in verify goal > "@RunAsClient, I think, just means it runs the test in the maven/junit process, and not from within the -swarm.jar"15:30
ytanabebobmcw, I guess (or you will plan) now -swarm-examples test using WebDriver, if so I follow you.15:31
projectodd-ciProject wildfly-swarm-examples build #79: SUCCESS in 16 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/79/15:32
projectodd-ci* kylinsoong.1214: Update README.md15:32
projectodd-ci* 00hf11: new example15:32
*** samueltauil <samueltauil!~samueltau@187.34.10.95> has quit IRC (Quit: samueltauil)15:32
projectodd-ciProject wildfly-swarm-examples-uberjar build #38: SUCCESS in 16 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/38/15:32
projectodd-ci* kylinsoong.1214: Update README.md15:32
projectodd-ci* 00hf11: new example15:32
hbraun_awaybobmcw is this really the logstash example?  https://github.com/wildfly-swarm/wildfly-swarm-examples/tree/master/logstash15:35
bobmcwhrm, no.15:36
bobmcwactually, yes, it was15:36
bobmcwhttps://github.com/wildfly-swarm/wildfly-swarm-examples/blob/master/logstash/pom.xml#L29-L3315:36
bobmcwbut we have no way to auto-launch logstash, so it relies on you launching it and setting props via -Dswarm.logstash.wahtever15:36
projectodd-ciProject wildfly-swarm build #396: SUCCESS in 1 hr 24 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm/396/15:40
helio-frota'Receiving objects: 100% (136/136), 16.87 MiB | 196.00 KiB/s, done.'15:40
hbraun_awaybobmcw ok, i see15:40
helio-frota16.87mb of source code ... 1 bit weird15:40
projectodd-ciStarting build #80 for job wildfly-swarm-examples (previous build: SUCCESS)15:40
projectodd-ciStarting build #39 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)15:42
helio-frotahm maybe phantonjs ?15:47
bobmcwthat shouldnt' be checked in15:48
helio-frotacat large_files.txt '52380848 ribbon-secured/test/tmp/phantomjs'15:48
helio-frotagoing to try another script to look into history 1 min15:48
helio-frotaafter googling...15:49
helio-frota'git rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -10 | awk '{print$1}')"'15:49
helio-frotagit rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -10 | awk '{print$1}')"15:50
projectodd-ciProject wildfly-swarm-examples build #80: SUCCESS in 13 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/80/15:54
projectodd-ciProject wildfly-swarm-examples-uberjar build #39: SUCCESS in 13 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/39/15:55
hbraun_awaylanceball maybe we can somehow integrate the gitbook docs into the page?15:59
hbraun_awaylanceball via iframe ?15:59
lanceballhbraun_away: you mean on this page? http://wildfly-swarm.io/documentation/15:59
jbossbotTitle: WildFly Swarm Documentation | WildFly Swarm15:59
hbraun_awayyes maybe16:00
hbraun_awayquestion is qhat do we do with the other "documentation" links16:00
hbraun_awaythe most simple way would be to put everything into gitbooks16:01
bobmcwkenfinnigan: joining?16:02
bobmcwbbrowning: joining?16:02
kenfinniganbobmcw: just a mo16:05
*** agoncal <agoncal!~agoncal@183.21.90.92.rev.sfr.net> has quit IRC (Ping timeout: 256 seconds)16:11
*** agoncal <agoncal!~agoncal@212-198-109-24.rev.numericable.fr> has joined #wildfly-swarm16:27
*** agoncal <agoncal!~agoncal@212-198-109-24.rev.numericable.fr> has quit IRC (Ping timeout: 240 seconds)16:32
*** hbraun_away <hbraun_away!~hbraun@pdpc/supporter/professional/hbraun> has quit IRC (Quit: afk)16:37
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Remote host closed the connection)16:44
*** bgeorges <bgeorges!~bgeorges@115.188.52.145> has joined #wildfly-swarm16:44
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm16:45
*** mgoldmann is now known as mgoldmann|away16:46
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Ping timeout: 240 seconds)16:49
*** agoncal <agoncal!~agoncal@212-198-109-24.rev.numericable.fr> has joined #wildfly-swarm16:56
*** agoncal <agoncal!~agoncal@212-198-109-24.rev.numericable.fr> has quit IRC (Ping timeout: 240 seconds)17:14
*** bbrowning_ <bbrowning_!~bbrowning@redhat/jboss/bbrowning> has joined #wildfly-swarm17:31
*** bbrowning <bbrowning!~bbrowning@redhat/jboss/bbrowning> has quit IRC (Ping timeout: 250 seconds)17:32
*** bbrowning_ is now known as bbrowning17:43
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm17:46
*** agoncal <agoncal!~agoncal@212.198.109.24> has joined #wildfly-swarm17:53
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Ping timeout: 240 seconds)17:53
*** bbrowning is now known as bbrowning_away18:03
bobmcwlanceball: so I think the .htaccess didn't work18:17
lanceballbobmcw: yes, that was my fear18:17
jbossbotgit [wildfly-swarm-examples] push master 1ca276e.. emag Add JAX-WS Sample18:18
jbossbotgit [wildfly-swarm-examples] push master c4cfa1d.. Bob McWhirter Merge branch 'emag-add-jaxws-sample'18:18
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/compare/df080d7...c4cfa1d18:18
bobmcwytanabe: thanks, passes locally!18:18
lanceballbobmcw: so, I guess they are using apache - I will set up a server locally and actually test this18:18
projectodd-ciStarting build #40 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)18:18
bobmcwask @ctomc on HipChat mayhap18:18
bobmcwand/or replace all pages with a GO HERE link and .js to auto-redirect18:18
ytanabebobmcw, np :)18:20
projectodd-ciStarting build #81 for job wildfly-swarm-examples (previous build: SUCCESS)18:20
*** helio-frota <helio-frota!~heliof@186.249.80.8> has quit IRC (Read error: Connection reset by peer)18:22
*** helio-frota <helio-frota!~heliof@8.80.249.186.araujosat.com.br> has joined #wildfly-swarm18:23
bobmcwtcrawley: btw, MODULES-228 and MODULES-22918:25
jbossbotjira [MODULES-228] Pluggable MavenArtifactUtil [Open (Unresolved) Feature Request, Major, David Lloyd] https://issues.jboss.org/browse/MODULES-22818:25
jbossbotjira [MODULES-229] Make bits of ModuleXmlParser less non-public [Open (Unresolved) Feature Request, Major, David Lloyd] https://issues.jboss.org/browse/MODULES-22918:25
tcrawleycoolio18:25
projectodd-ciProject wildfly-swarm-examples-uberjar build #40: SUCCESS in 14 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/40/18:33
projectodd-cilanabe.lanabe: Add JAX-WS Sample18:33
*** bbrowning_away is now known as bbrowning18:35
projectodd-ciProject wildfly-swarm-examples build #81: SUCCESS in 14 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/81/18:35
projectodd-cilanabe.lanabe: Add JAX-WS Sample18:35
*** agoncal <agoncal!~agoncal@212.198.109.24> has quit IRC (Ping timeout: 272 seconds)18:36
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm18:50
jbossbotgit [wildfly-swarm] push master 2dd3d78.. jhovell adds support for authenticated repos in plugin18:52
jbossbotgit [wildfly-swarm] push master 48e9f7a.. Bob McWhirter Merge branch 'add-maven-plugin-auth' of https://github.com/jhovell/wildfly-swarm into jhovell-add-maven-plugin-auth18:52
jbossbotgit [wildfly-swarm] push master 1cb37ef.. Bob McWhirter Merge branch 'jhovell-add-maven-plugin-auth'18:52
jbossbotgit [wildfly-swarm] push master URL: http://github.com/wildfly-swarm/wildfly-swarm/compare/a2f7b6d...1cb37ef18:52
projectodd-ciStarting build #397 for job wildfly-swarm (previous build: SUCCESS)18:53
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Ping timeout: 256 seconds)18:57
bbrowninglanceball: want to try and help me debug something?18:57
lanceballbbrowning: ok sure18:57
bbrowningI still can't figure out why http://booker-web-swarm.e8ca.engint.openshiftapps.com/ shows a blank page :)18:57
*** jclingan <jclingan!~jclingan@redhat/jclingan> has joined #wildfly-swarm18:58
lanceballok18:58
bbrowninglanceball: that's booker running on openshift 3 and using a keycloak also deployed to the same openshift18:58
lanceballbbrowning: first thing I notice is that ribbon.js does not see any of the other services18:58
bbrowningonly web-client is deployed for now18:59
bbrowningthe web interface has always worked with just the web-client in the past18:59
bbrowninghas that changed?18:59
* bbrowning can deploy more18:59
lanceballthat should not break things18:59
lanceballlet me spin up a web client locally19:00
bobmcwbbrowning: is a keycloak reachable?19:00
bobmcwor keycloak.js otherwise loadable?19:00
bbrowningbobmcw: yessir19:00
bobmcwthat's when I see blanks19:00
*** agoncal <agoncal!~agoncal@212-198-109-24.rev.numericable.fr> has joined #wildfly-swarm19:00
lanceballbbrowning: ok, confirmed, even with only web client running the front page should display19:00
bbrowningbobmcw: it's pulling down http://booker-keycloak-swarm.e8ca.engint.openshiftapps.com/auth/js/keycloak.js successfully19:01
lanceballand yeah, I see that there is a valid keycloak object19:01
bobmcwbbrowning: my chrome just spins on the initial load19:01
bbrowningbobmcw: yeah it's really, really slow right now for some reason19:02
bobmcwokay, it's loaded, and SSEing19:02
bobmcwthe .js is running19:02
bobmcwI see topology-change console.logs19:02
bbrowningI think it's slow because I'm using the openshift API for service discovery of keycloak and translation of internal IPs to external hostname19:02
bbrowningand right now that's happening in index.jsp instead of as some async thing19:03
bobmcwReact is available, but the body isn't drawing19:03
bbrowningsometimes it's really fast and other times it's really slow in this environment19:03
bobmcwadd the React plugin to your chrome, and you'll see "Waiting for root to load..."19:03
bobmcwdunno what that means19:04
bobmcwbut there ya go19:04
bobmcwI'm getting a gateway timeout on favicon.ico19:05
bobmcwwhich is weird; I thought we hacked it to serve one19:05
bbrowningyeah this environment is quite often really slow19:05
bobmcwsomething is also loading backend.js?19:05
bobmcwsome webpack thing?19:05
bbrowningI dunno19:06
bobmcwmight be some chrome plugin on my end19:06
bbrowningyeah that's the react thing I think loading backend.js19:07
bbrowningreact plugin19:07
bbrowningI see that now that I've installed the react plugin19:07
bbrowningbobmcw: favicon.ico will never get served because booker-web-client has an undertow-handlers.conf19:08
bbrowningand it redirects things to index.jsp except for a predefined list of exclusions19:08
bobmcwah, right19:09
bobmcwso, dunno what's up19:09
bobmcwroutes.js should be performing the initial draw after keycloak inits19:10
bbrowningI don't really know how to debug it either - locally it runs fine19:12
lanceballbbrowning: my guess is keycloak19:12
bbrowningmaybe if I try running locally but pointing it at my external keycloak on openshift19:12
lanceballin the console we see "Keycloak object Keycloak"19:12
bbrowningis that wrong somehow?19:13
lanceballthat's from routes.js19:13
bobmcwI see a keycloak object there19:13
bbrowningI do soo19:13
bbrowningtoo19:13
bobmcw  console.log("Keycloak object", keycloak);19:13
bobmcwso, seems correct19:13
lanceballyeah, i though thtere was console output after that which we should see19:13
lanceballbut that's only iff authenticated19:13
bobmcwthe iff authenticated is a different block19:14
lanceballbbrowning: try adding console output as an else clause just after that (but inside keycloak.init)19:14
bobmcwbut I wonder if the     keycloak.init({ onLoad: 'check-sso' }).success( function() {  is not successing19:14
lanceballright - that's what I'm getting at19:14
bobmcwthat *should* be a bounce to keycloak and back19:14
lanceballmaybe add an else there19:14
lanceballor even a .fail()19:15
bbrowningI can't really edit any sources here - I have to push a commit to github then rerun the build to test it19:15
lanceballyah, I realize that :(19:15
bbrowningwell actually I can edit it live on the server I guess but it won't pick it up iirc19:15
bbrowninghey I reproduced locally!19:15
lanceballyay?19:15
bbrowningBOOKER_KEYCLOAK_SERVICE_HOST=booker-keycloak-swarm.e8ca.engint.openshiftapps.com BOOKER_KEYCLOAK_SERVICE_PORT=80 java -jar target/booker-web-client-swarm.jar19:15
bbrowningpoints my local swarm at the external keycloak19:15
*** jclingan <jclingan!~jclingan@redhat/jclingan> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)19:16
bobmcwXMLHttpRequest cannot load http://booker-keycloak-swarm.e8ca.engint.openshiftapps.com/auth/realms/booker/protocol/openid-connect/userinfo. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://booker-web-swarm.e8ca.engint.openshiftapps.com' is therefore not allowed access. The response had HTTP status code 403.19:17
jbossbotStatus 40319:17
bbrowninghuh19:18
bobmcwthat's me doing keycloak.loadUserInfo() via the console19:18
bobmcwno idea if a valid error19:18
lanceballbbrowning: the js console is useful19:18
lanceballkeycloak.init().success(function() { console.log('success') }).error(function(e) {console.log("failed ", e);});19:18
lanceballprints success19:18
lanceballbobmcw: ^19:19
bobmcwyah, but if you do the onLoad: {check-sso} it won't19:19
bobmcwat least for me19:19
bbrowningso the problem is keycloak isn't setting an origin header?19:20
bobmcwoh, I dunno19:20
bobmcwI've turned on event-recording in your KC19:20
bobmcwbut I see nothing19:21
bobmcwwhat version of KC are you using ?19:21
bobmcw-= THIS MESSAGE NOT LOGGED =-19:21
bbrowningumm19:22
bbrowningdunno! whatever the jboss/keycloak docker image uses19:22
lanceballbobmcw: yeah, I'm seeing the same19:22
lanceballkeycloak.init({onLoad: 'check-sso'}).success(function() { console.log('success', keycloak.authenticated); }).error(function(e) {console.log("failed ", e);});19:22
lanceballneither 'success' nor 'failed' is printed19:22
bbrowningbobmcw: 1.7.0.Final19:22
bobmcwfwiw, our ribbon test doesn't include a check-sso, but dunno19:23
bobmcwI also turned of ssl-for-external-requests on the realm19:23
bobmcw*odd19:23
bobmcw**off19:23
bobmcwno better19:23
lanceballit's incredibly slow!19:24
bbrowningyeah I need to fix the slowness but ignore it for now19:24
bbrowningI really need some caching, periodic updates of remote API calls in booker19:24
bbrowningie ribbon?19:24
bobmcwI don't understand the question?19:25
bbrowningopenshift java rest client doesn't expose the watch API so I'd have to just poll and cache the results to speed this up19:25
bbrowningbobmcw: the slowness is mainly around talking to the openshift API via their java client on every load of the page19:25
bbrowningI don't really want to hand-code caching and polling for it19:25
bbrowningcan ribbon do that for me? :D19:26
bbrowningor something19:26
projectodd-ciProject wildfly-swarm build #397: SUCCESS in 33 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm/397/19:26
projectodd-cijohn: adds support for authenticated repos in plugin19:26
bbrowningperhaps not without rewriting the openshift client to use ribbon itself19:26
projectodd-ciStarting build #82 for job wildfly-swarm-examples (previous build: SUCCESS)19:27
bobmcwI don't think ribbon does caching19:28
bobmcwso, keycloak.init() with the check-sso does at least grab the keycloak.json to know where to talk19:28
bobmcwbut then I lose track of what's going on.19:28
projectodd-ciStarting build #41 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)19:29
lanceballbobmcw: yeah, I see the same, but then the success() or error() function is not getting called19:29
bobmcwright19:29
bbrowningbobmcw: keycloak.loadUserInfo() is a red herring I think - I get same error when booker works19:31
bbrowninganyway, this is my current hurdle in a long list of hurdles involving running booker on openshift19:32
bobmcwfun!19:33
*** agoncal <agoncal!~agoncal@212-198-109-24.rev.numericable.fr> has quit IRC (Ping timeout: 250 seconds)19:33
bobmcwso the openshift API is just slow to respond?19:33
bbrowningyeah, at least in this environment19:35
bbrowningin general any usage of the API needs to be asyncish anyway I think19:35
bbrowningresiliency and all19:35
bobmcwso I've tried setting breakpoints and it sets up some iframe bits and then I lose it19:37
bobmcwbut you can step through the keycloak.js with chrome easily enough19:37
* bobmcw helps!19:37
bbrowninghmm if I get rid of the onLoad: check-sso in keycloak.init things seem to work19:38
bobmcwiframe src = http://booker-keycloak-swarm.e8ca.engint.openshiftapps.com/auth/realms/booker/protocol/openid-connect/login-status-iframe.html?client_id=web-client&amp;origin=http://booker-web-swarm.e8ca.engint.openshiftapps.com19:38
jbossbotStatus 40019:38
bobmcwwhich, as you can see, 404s19:39
bobmcwor 400s19:39
bobmcwat least when direct-dialed19:39
bobmcwwhen embedded, it's loading some shockwave/flash?19:40
bbrowningwhen embedded it doesn't 400 though19:40
bobmcwI enabled flash on my browser, but now it's embeddeding .js and not flash19:40
bobmcwstill not working19:41
bobmcwmaybe try disabling the iframe dealio?19:41
bbrowningbobmcw: curl -i "http://booker-keycloak-swarm.e8ca.engint.openshom/auth/realms/booker/protocol/openid-connect/login-status-iframe.html?client_id=web-client&origin=http://booker-web-swar.e8ca.engint.openshiftapps.com" works fine for me19:42
bbrowningno 40019:42
bbrowningyou had some URL escaping issue in the URL you pasted19:42
bbrowning&amp; vs &19:42
projectodd-ciProject wildfly-swarm-examples build #82: SUCCESS in 15 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/82/19:42
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm19:43
projectodd-ciProject wildfly-swarm-examples-uberjar build #41: SUCCESS in 15 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/41/19:44
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has quit IRC (Client Quit)19:45
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm19:46
bbrowningbobmcw: yeah looks to be the login iframe that's the culprit somehow19:47
bbrowningeverything seems to work fine if I just pass checkLoginIframe: false to keycloak.init19:48
lanceballbbrowning: glad I could help you debug it! :)19:49
bbrowningthanks!19:49
bbrowningI can commit with this disabled for now, but I wish I knew why it was broken19:49
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has quit IRC (Quit: afk)19:52
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm19:53
bbrowningah-hah19:53
bbrowningfoo.com is being checked against foo.com:8019:53
bbrowningstring comparison of origins in keycloak.js and those two don't match19:54
bbrowningthe service discovery logic is looking up the external host/port of the service 'booker-keycloak' and returning booker-keycloakblahblah:8019:56
bbrowningso I can workaround for now by special-casing to not append ":80" to generated URLs19:56
bbrowningbut perhaps a bug in keycloak's origin checking logic19:57
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Ping timeout: 240 seconds)19:59
bobmcwbbrowning: stian is pretty hip on keycloak20:08
bobmcwfile a JIRA for'em20:08
bobmcwglad I could help!20:09
bbrowningthanks!20:09
kenfinniganbobmcw: cheers for the Xmas card!20:15
kenfinniganshot of your jacksie will take pride of place ;-)20:15
bobmcwhey, glad you got it!20:15
bobmcwjacksie?20:15
kenfinniganbehind20:15
bobmcwah20:15
kenfinniganerin is "confused" by the card20:15
kenfinnigannot sure what you're up to20:16
jbossbotgit [wildfly-swarm-examples] push master 850e854.. Bob McWhirter Updating some READMEs.20:24
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/commit/850e8543b20:24
projectodd-ciStarting build #42 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)20:25
bobmcwkenfinnigan: we bought 1 tree.  it was too large.  Not very balanced nor well-behaved.  He fell over after decorating.20:25
bobmcwSo we dismembered him, set him in the middle of the road.  And we were being goofy.20:26
*** jclingan <jclingan!~jclingan@redhat/jclingan> has joined #wildfly-swarm20:26
bobmcwI was trying to spin around in mid-air, but failed20:26
bobmcwIzzy is being a teenage girl20:26
kenfinniganwell that makes perfect sense!20:26
bobmcwand Melissa is running like a cartoon character20:26
projectodd-ciStarting build #83 for job wildfly-swarm-examples (previous build: SUCCESS)20:27
jbossbotgit [wildfly-swarm-examples] push master 7b48c9d.. Bob McWhirter Another README.20:36
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/commit/7b48c9d6b20:36
jbossbotgit [wildfly-swarm-examples] push master 1f9ce44.. Bob McWhirter Whitespace!20:38
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/commit/1f9ce448020:38
projectodd-ciProject wildfly-swarm-examples-uberjar build #42: SUCCESS in 15 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/42/20:40
projectodd-ciBob McWhirter: Updating some READMEs.20:40
projectodd-ciStarting build #43 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)20:40
projectodd-ciProject wildfly-swarm-examples build #83: SUCCESS in 14 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/83/20:41
projectodd-ciBob McWhirter: Updating some READMEs.20:41
projectodd-ciStarting build #84 for job wildfly-swarm-examples (previous build: SUCCESS)20:41
jbossbotgit [wildfly-swarm-examples] push master a59df8c.. Bob McWhirter Higher-order README.20:44
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/commit/a59df8cd620:44
lanceballbobmcw: so, yeah, it appears that the apache server for jboss.org does not have <AllowOverrides> set20:48
lanceballwhich would enable .htaccess20:49
lanceballnot sure the best way to get httpd.conf changed20:49
bbrowningso wildfly.org isn't hosted on the same server as torquebox.org and friends?20:49
lanceballis it?20:50
bbrowningI dunno20:50
lanceballis that jboss01?20:50
* lanceball can check20:50
bbrowninghmm pings different IPs20:50
lanceballyeah, it appears not to be so20:51
jbossbotgit [wildfly-swarm-examples] push master 221c6d7.. Bob McWhirter Update root README and links to JIRA.20:52
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/commit/221c6d74120:52
projectodd-ciProject wildfly-swarm-examples build #84: SUCCESS in 11 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/84/20:52
projectodd-ci* Bob McWhirter: Another README.20:52
projectodd-ci* Bob McWhirter: Whitespace!20:52
projectodd-ciProject wildfly-swarm-examples-uberjar build #43: SUCCESS in 12 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/43/20:52
projectodd-ci* Bob McWhirter: Another README.20:52
projectodd-ci* Bob McWhirter: Whitespace!20:52
projectodd-ciStarting build #85 for job wildfly-swarm-examples (previous build: SUCCESS)20:52
projectodd-ciStarting build #44 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)20:52
bobmcwit's probably on newton's .org infrastructure20:53
bobmcwdon't even bother trying to get httpd.conf changed20:53
bobmcwit'll take 27 days to learn they can't, or to punt you to engsvcs20:53
lanceballiff we could get http.conf changed, then just adding a directory based mod rewrite would probably be better, I think20:53
bobmcwI'd go for a javascript/text change on each existing page20:53
bobmcwat least until 27 days of idiocy occurs20:54
* bobmcw has zero faith in jboss.org infra20:54
lanceballkk20:55
*** bgeorges <bgeorges!~bgeorges@115.188.52.145> has joined #wildfly-swarm20:55
bbrowningmeta refresh to the rescue!20:56
bobmcwdoes .adoc or whatnot allow putting verbatim unescaped HTML into the page?20:58
lanceballyes20:58
* bobmcw wonders if awestruct will make that hard20:58
bobmcwstupid awestruct20:58
lanceballI was just wondering that myself20:58
bobmcwwhoever invented it should be shot20:58
lanceballdead20:58
bobmcwactually, whoever mangled it after its invention...20:58
lanceballbobmcw: this is what hbraun did https://raw.githubusercontent.com/wildfly-swarm/wildfly-swarm.io/master/src/index.adoc20:59
lanceball[pass]20:59
lanceball++++20:59
bobmcwa-ha20:59
lanceballI just hate that I have to spin up a fedora vm to test this21:00
lanceballoh, but wait21:00
lanceballI think tcrawley said I could just downgrade my ruby?21:01
tcrawleyyou should be able to get awestruct running under an older ruby, I think21:01
* tcrawley has never done it though21:01
* lanceball wonders how old is older21:02
tcrawleybut based on the errors I saw last time I tried to use it, I led myself to believe the failures were due to ruby api changes with some gem21:02
tcrawleywait, let me look at something21:02
tcrawleyI think I had the same issue with the default ruby on fedora, and switching from json to json_pure fixed it21:02
tcrawleysince json_pure is pure ruby, no C21:03
tcrawleyI added `gem 'json_pure', '1.7.7'` to the Gemfile for immutant.org21:03
projectodd-ciProject wildfly-swarm-examples build #85: SUCCESS in 11 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/85/21:04
projectodd-ci* Bob McWhirter: Higher-order README.21:04
projectodd-ci* Bob McWhirter: Update root README and links to JIRA.21:04
tcrawleylanceball: yeah, I think that was it: https://github.com/immutant/immutant.org/commit/f2deb4721:04
bbrowningfor torquebox.org I just pinned awestruct to an old version21:05
projectodd-ciProject wildfly-swarm-examples-uberjar build #44: SUCCESS in 12 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/44/21:05
projectodd-ci* Bob McWhirter: Higher-order README.21:05
projectodd-ci* Bob McWhirter: Update root README and links to JIRA.21:05
tcrawleywe did the same, which is what led to the json dep being so old it wouldn't compile with newer rubies21:05
bbrowningahh21:05
bbrowningI also use jruby21:06
tcrawleywe're on awestruct 0.5.021:06
bbrowningjruby 1.7.x21:06
tcrawleythat's a good idea21:06
bobmcwwe love you lance21:09
*** kenfinnigan <kenfinnigan!~ken@redhat/jboss/kenfinnigan> has quit IRC (Quit: Leaving.)21:13
jbossbotgit [wildfly-swarm-examples] push master c4e2d7b.. Bob McWhirter More README.21:31
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/commit/c4e2d7b8f21:31
projectodd-ciStarting build #45 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)21:32
projectodd-ciStarting build #86 for job wildfly-swarm-examples (previous build: SUCCESS)21:34
*** bgeorges <bgeorges!~bgeorges@115.188.52.145> has quit IRC (Ping timeout: 272 seconds)21:36
projectodd-ciProject wildfly-swarm-examples-uberjar build #45: SUCCESS in 14 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/45/21:46
projectodd-ciBob McWhirter: More README.21:46
projectodd-ciProject wildfly-swarm-examples build #86: SUCCESS in 14 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/86/21:48
projectodd-ciBob McWhirter: More README.21:48
lanceballbbrowning tcrawley - jruby 1.7 is all I needed21:59
lanceballyou guys are the bestest21:59
bbrowningcool22:00
tcrawleycoolio22:00
*** lanceball is now known as lance|afk22:10
*** bbrowning is now known as bbrowning_away22:21
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm22:33
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has quit IRC (Quit: Quit)22:36
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has quit IRC (Remote host closed the connection)22:41
*** bgeorges <bgeorges!~bgeorges@115-188-52-145.jetstream.xtra.co.nz> has joined #wildfly-swarm22:42
*** helio-frota <helio-frota!~heliof@8.80.249.186.araujosat.com.br> has quit IRC (Quit: Leaving)23:01

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