Thursday, 2015-12-03

*** bgeorges <bgeorges!bgeorges@nat/redhat/x-rpnyalzreoblvwhx> has quit IRC (Remote host closed the connection)00:15
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-wjfwziyotdwoqugi> has joined #wildfly-swarm00:15
*** bgeorges_ <bgeorges_!bgeorges@nat/redhat/x-edvmjpzfpbkrvvpc> has joined #wildfly-swarm00:18
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-wjfwziyotdwoqugi> has quit IRC (Ping timeout: 250 seconds)00:20
*** tcrawley is now known as tcrawley-away00:24
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has quit IRC (Quit: enebo)00:26
*** jclingan <jclingan!~jclingan@redhat/jclingan> has joined #wildfly-swarm01:01
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has joined #wildfly-swarm01:13
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has quit IRC (Changing host)01:13
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #wildfly-swarm01:13
*** ChanServ sets mode: +o bobmcw01:13
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Ping timeout: 260 seconds)01:18
*** bgeorges_ <bgeorges_!bgeorges@nat/redhat/x-edvmjpzfpbkrvvpc> has quit IRC (Remote host closed the connection)01:45
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-jzodsymzuvxxwrud> has joined #wildfly-swarm01:45
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has joined #wildfly-swarm02:08
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has quit IRC (Client Quit)02:09
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has quit IRC (Quit: Quit)02:25
*** jclingan <jclingan!~jclingan@redhat/jclingan> has quit IRC (Quit: jclingan)03:10
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-jzodsymzuvxxwrud> has quit IRC (Remote host closed the connection)03:22
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-ydfteilgusemxcax> has joined #wildfly-swarm03:22
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has joined #wildfly-swarm03:40
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-ydfteilgusemxcax> has quit IRC (Remote host closed the connection)03:58
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-qfhqyakxrxtvdrlg> has joined #wildfly-swarm03:58
*** bgeorges <bgeorges!bgeorges@nat/redhat/x-qfhqyakxrxtvdrlg> has quit IRC (Ping timeout: 245 seconds)04:03
*** agoncal <agoncal!~agoncal@2a01cb08004f0f0081b519b35c3e4a7a.ipv6.abo.wanadoo.fr> has joined #wildfly-swarm06:45
*** agoncal_ <agoncal_!~agoncal@2a01cb08004f0f006aa86dfffe1c697a.ipv6.abo.wanadoo.fr> has joined #wildfly-swarm08:05
*** agoncal <agoncal!~agoncal@2a01cb08004f0f0081b519b35c3e4a7a.ipv6.abo.wanadoo.fr> has quit IRC (Ping timeout: 264 seconds)08:09
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm09:13
*** helio-frota <helio-frota!~hf@8.80.249.186.araujosat.com.br> has joined #wildfly-swarm10:09
*** bbrowning_ is now known as bbrowning11:20
*** bbrowning is now known as bbrowning_away11:42
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has joined #wildfly-swarm12:00
*** agoncal_ <agoncal_!~agoncal@2a01cb08004f0f006aa86dfffe1c697a.ipv6.abo.wanadoo.fr> has quit IRC (Read error: Network is unreachable)12:19
*** agoncal <agoncal!~agoncal@2a01cb08004f0f00a547127e41ada7a9.ipv6.abo.wanadoo.fr> has joined #wildfly-swarm12:20
*** kenfinnigan <kenfinnigan!~ken@redhat/jboss/kenfinnigan> has joined #wildfly-swarm12:28
helio-frotauntil now without success jruby+sinatra simple 'hail world'12:35
helio-frotabut I keep trying12:36
kenfinniganhelio-frota: if you hit ruby issues, the jruby guys may be able to help12:37
helio-frotakenfinnigan, thanks12:37
helio-frotai notice that .polyglot.Mavenfile is not creating a execution config12:38
helio-frotajust generates this:12:38
helio-frota<plugin>12:38
helio-frota        <groupId>org.wildfly.swarm</groupId>12:38
helio-frota        <artifactId>wildfly-swarm-plugin</artifactId>12:38
helio-frota        <version>1.0.0.Alpha5</version>12:38
helio-frota      </plugin>12:38
helio-frotagoing to learn more about...12:39
*** tcrawley-away is now known as tcrawley12:46
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #wildfly-swarm12:54
*** ChanServ sets mode: +o bobmcw12:54
*** kenfinnigan <kenfinnigan!~ken@redhat/jboss/kenfinnigan> has quit IRC (Quit: Leaving.)12:57
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Ping timeout: 246 seconds)12:59
*** kenfinnigan <kenfinnigan!~ken@redhat/jboss/kenfinnigan> has joined #wildfly-swarm12:59
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has quit IRC (Remote host closed the connection)13:09
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has joined #wildfly-swarm13:10
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has quit IRC (Ping timeout: 260 seconds)13:14
*** agoncal <agoncal!~agoncal@2a01cb08004f0f00a547127e41ada7a9.ipv6.abo.wanadoo.fr> has quit IRC (Ping timeout: 264 seconds)13:23
*** jclingan <jclingan!~jclingan@redhat/jclingan> has joined #wildfly-swarm13:25
*** gastaldi <gastaldi!gastaldi@redhat/jboss/gastaldi> has joined #wildfly-swarm13:26
*** samueltauil <samueltauil!~samueltau@179.99.185.107> has joined #wildfly-swarm13:27
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has joined #wildfly-swarm13:30
*** bobmcw <bobmcw!~bobmcw@va-67-233-86-120.dhcp.embarqhsd.net> has quit IRC (Changing host)13:30
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #wildfly-swarm13:30
*** ChanServ sets mode: +o bobmcw13:30
*** lance|afk is now known as lanceball13:32
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has joined #wildfly-swarm13:33
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has quit IRC (Quit: enebo)13:39
gastaldiHere is an idea: add the latest swarm version to the room topic13:47
gastaldiAnd the project URL ;)13:48
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has quit IRC (Quit: hbraun)13:48
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm13:48
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has quit IRC (Client Quit)13:48
*** ChanServ changes topic to "Latest Release: 1.0.0.Alpha5 - http://wildfly-swarm.io"13:49
bobmcwta-da13:49
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm13:49
bobmcwfwiw, it looks like DevNexus has rejected us13:50
bobmcwnot directly, but they didn't accept us, and we're not on the schedule13:51
bobmcwhttps://www.devnexus.com/s/presentations?order=name13:51
jbossbotStatus 40313:51
bobmcwor my grep skills are weak13:51
kenfinnigani couldn't find it either, plenty of boot though13:51
gastaldiYaaay! Thanks13:52
hbraunbobmcw: i guess reza’s talk ruled it out14:02
hbraunassuming he’s going to talk about kumuluzee14:02
bobmcwso, my task today is to figure out what, exactly, we're requiring from repo.jboss.org14:02
bobmcwbecause newton has asked "Why are you using it and not central?"14:02
bobmcwTo which I said "Because it has things not in central"14:02
bobmcwHis reply: "Can we move those to central?"14:03
bobmcwAnd I have no response to that yet14:03
bobmcwbut all of these questions make me wonder "wtf do we even run a nexus, if we're never to use it for anything?"14:03
bobmcw*sigh*14:03
gastaldibobmcw: my bet is bc of goldengate requirements14:06
bobmcwit's separate from Project Wolf, though, and the recommendation is to not publish artifacts to it14:07
bobmcwwhen I complained about publishing, I was told to use oss.sonatype14:07
bobmcwso, nothing goes in, nothing should consume from it...14:07
kenfinniganbobmcw: does beg the question what it SHOULD be used for then14:07
* bobmcw whinges14:08
kenfinniganseems to cause so many issues, should just stop14:08
gastaldi¯\_(ツ)_/¯14:08
bobmcwAND I LEFT MY COFFEE DOWNSTAIRS14:09
kenfinniganoh dear, full meltdown time!14:10
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has joined #wildfly-swarm14:10
*** bbrowning_away is now known as bbrowning14:21
*** tcrawley is now known as tcrawley-away14:26
*** jclingan <jclingan!~jclingan@redhat/jclingan> has quit IRC (Quit: jclingan)14:42
*** jclingan <jclingan!~jclingan@redhat/jclingan> has joined #wildfly-swarm14:48
bbrowninglanceball: so booker topology works for you locally - good to know :)15:03
bbrowningnow I have to figure out pieces exist to go wrong between working locally and not working on openshift, even though jgroups is clustering on openshift15:04
helio-frotabobmcw, you know ag?15:05
bbrowningwhat pieces*15:05
helio-frotabobmcw, https://github.com/ggreer/the_silver_searcher15:05
helio-frotai'm using it < month very useful15:06
bbrowninglanceball: haha I don't think I have https://github.com/wildfly-swarm/booker/commit/ff22b15a0b15bae2c61d0e8927185beea138710f in my branch15:20
jbossbotgit [booker] ff22b15.. Lance Ball Listen to topology change events from Ribbon15:20
bbrowningthat's the culprit I'm sure15:20
lanceballmosdef15:20
bbrowningI need to get my openshift branch merged back once I get it going15:20
hbraunbobmcw: do you have a minute to explain how the examples work?15:24
hbrauni.e. where’s the container setup?15:24
*** gastaldi <gastaldi!gastaldi@redhat/jboss/gastaldi> has left #wildfly-swarm ("Leaving")15:25
bobmcwhbraun: sure thing15:29
bobmcwso, in general, in the -examples repo, each leaf project is basically a -swarm app15:29
bobmcwwith either <packaging>war</packaging> or <packaging>jar</packaging> with a Main.java somewhere15:29
bobmcwthe root pom.xml has pluginManagement'd the wildfly-swarm-plugin for 3 executions:15:30
bobmcwpackage (builds the -swarm.jar), start (which either starts from target/classes, or from -swarm-.jar based on -Puberjar or not)15:30
bobmcwand stop, which stops whatever was started15:30
bobmcwso each example then pulls in and uses all 3 executions15:31
bobmcwmeanwhile, we have integration tests under src/it/java/** for each example15:31
bobmcwwhich uses Arquillian+Drone to do client-centric testing with Selenium/PhantomJS15:31
bobmcwand an AbstractIntegrationTestCase which provides a handy way to inspect the stdout/stderr logs15:31
bobmcwI've roughly tried to organize the examples, such as jaxrs/jaxrs-war/ and jaxrs/jaxrs-shrinkwrap/15:32
bobmcwwith packaging=war and packaging=jar+main() respectively15:32
bobmcwhbraun: I dunno ack or ag. I just grep a lot15:33
* bobmcw is old-skool Unix(tm)15:33
bobmcwSysV baby15:33
bobmcw(hi jclingan)15:33
jclinganbobmcw: Howdy! About to drop off for dad duty.15:33
hbraunbobmcw: ack or ag? that’s probably for helio-frota15:34
hbraunbobmcw: thanks for the explanation15:34
bobmcwhbraun: t'was15:34
hbraunbobmcw: is MyResource expected then?15:34
bobmcwhbraun: so, from the root you can `mvn install` and it'll basically run the examples+tests as like mvn wildfly-swarm:run15:34
bobmcwif you `mvn install -Puberjar` it'll java -jar each-example-swarm.jar and run the tests15:34
bobmcwMyResource is needed in the jax-rs, since we're testing that JAX-RS resources work15:34
bobmcwor otherwise triggering other things, such as testing transactions15:35
jbossbotgit [wildfly-swarm] push master d088fa4.. Lance Ball For ribbon-webapp, AJAX connection must be open before setting headers.15:35
jbossbotgit [wildfly-swarm] push master URL: http://github.com/wildfly-swarm/wildfly-swarm/commit/d088fa40b15:35
hbraunok, i was confused because in the jaxrs exmaples there is only one Main.java15:35
bobmcwothers are less ambiguous, such as the JPA, which has an EmployeesResource15:35
bobmcwhbraun: jaxrs-shrinkwrap should have Main.java + MyResource.java15:35
projectodd-ciStarting build #373 for job wildfly-swarm (previous build: SUCCESS)15:35
bobmcwjaxrs-war should have only MyResource.java15:35
bobmcwfor clarity, we've copied/pasted, instead of sharing code15:35
bobmcwso that examples standalone pretty well15:36
hbraunok, thanks. I think i get the idea15:36
bobmcwfwiw, each of them can also be just `mvn wildfly-swarm:run` if you want to poke about manually with your browser or whatnot15:37
bobmcwor, I reckon `mvn wildfly-swarm:run -Puberjar` to see if they work from the -swarm.jar15:37
helio-frotahbraun, ? :D15:46
helio-frotasorry was making 'feijoada'15:46
hbraunhelio-frota: bob did respond to me, but I think he meant you instead. See above ^^15:46
helio-frotahbraun, ah ok :D15:48
jbossbotgit [wildfly-swarm-examples] push master 8aba854.. Lance Ball Add HTTP POST to the events services15:48
jbossbotgit [wildfly-swarm-examples] push master URL: http://github.com/wildfly-swarm/wildfly-swarm-examples/commit/8aba854b115:48
*** jclingan <jclingan!~jclingan@redhat/jclingan> has quit IRC (Quit: jclingan)15:49
lanceballbobmcw: I think it's pretty much done now except for tests :) ^15:49
bobmcwdamnit, tab-completion15:49
bobmcwlanceball: okie dokie15:49
* helio-frota focusing on put jruby + sinatra to work with wf-swarm...15:50
lanceballI am noticing that the fallback isn't working as expected15:50
bobmcwI'll try to figure out how to test reliably15:50
projectodd-ciStarting build #37 for job wildfly-swarm-examples (previous build: SUCCESS)15:50
lanceballso I have to fix that15:50
projectodd-ciStarting build #4 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)15:50
bobmcwlanceball: figured out any way to avoid the sudo route add on OSX for jgroups?15:50
lanceballbobmcw: TCP_PING https://github.com/wildfly-swarm/wildfly-swarm-examples/blob/master/ribbon/time/src/main/java/org/wildfly/swarm/examples/netflix/ribbon/time/Main.java#L14-L4815:51
lanceballkinda sucky, but...15:51
bobmcwhey, if it works, that's great15:51
lanceballthis also gets around a bug in JGroups15:51
bobmcwwe should also make some helpers on the jgroups fraction/config-api to make some of that easier15:52
lanceballbobmcw: https://issues.jboss.org/browse/WFCORE-111915:52
jbossbotjira [WFCORE-1119] ManagedDatagramSocketBinding throw NPE [Resolved (Done) Bug, Major, Brian Stansberry] https://issues.jboss.org/browse/WFCORE-111915:52
bobmcwah, right15:52
lanceballand https://github.com/wildfly-swarm/wildfly-swarm-examples/commit/dcbc460526daec428f247bebe8b4a12dada6723f15:52
jbossbotgit [wildfly-swarm-examples] dcbc460.. Lance Ball Modify examples to have a customised JGroups configuration....15:52
lanceballkinda proud of ribbon.js15:53
lanceballhttps://github.com/wildfly-swarm/wildfly-swarm-examples/blob/master/ribbon/frontend/src/main/resources/js/app.js#L21-L2315:53
lanceballhttps://github.com/wildfly-swarm/wildfly-swarm-examples/blob/master/ribbon/frontend/src/main/resources/js/app.js#L162-L20015:53
bobmcwlanceball: good job!15:53
hbraunlanceball: cool15:58
hbraundo you have a screenshot of the frontend?15:58
hbraunjust to get an idea?15:59
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has left #wildfly-swarm15:59
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has joined #wildfly-swarm15:59
hbraunlanceball: did you do the react app on your own or is it somehow related to ribbon itself?16:07
bobmcwribbon doesn't require react16:08
bobmcwbut the booker demo used react16:08
lanceballhbraun: I just did that because I wanted to learn react :)16:08
lanceballhbraun: http://grab.by/Mtyw16:09
jbossbotTitle: TinyGrab - Simple. Screenshot. Sharing.16:09
hbrauncool, looking at the code I can only assume: it does reflect the cluster state somehow?16:09
bobmcwour ribbon fraction uses jgroups clustering, and then the ribbon-webapp provides that to the .js app (if I recall)16:10
hbraunlanceball: great thanks16:10
bobmcwwe have a layer of CommandDispatcher usage on top to advertise ribbon services16:10
bobmcwand use that to implement ribbon's ServerList interface16:10
lanceballhbraun: ribbon.js exposes an SSE to which you can add a 'topologyChange' listener https://github.com/wildfly-swarm/wildfly-swarm-examples/blob/master/ribbon/frontend/src/main/resources/js/app.js#L21-L2316:10
bobmcwlanceball: any reason we didn't name that function on(..) ?16:11
bobmcwand hang if off Ribbon itself?16:11
lanceballbobmcw: because it's the raw SSE16:12
bobmcwah16:12
lanceballthough I'm happy to change if you want16:12
bbrowningspeaking of ribbon, in booker how do we want to handle making communication work from the browser to each service? we either need to expose each microservice to the pubic internet on openshift or only expose the web-client and have it handle all browser requests16:12
bobmcwnah, lemme poke around some first before I critique16:12
bobmcwbbrowning: booker explicitly was trying to demonstrate SPA to multiple services w/o a SPoF sorta thing16:12
lanceballso, all services are open16:13
bobmcwelse, ribbon-to-the-webapp isn't needed, if it all communicates through a single point16:13
bbrowningbobmcw: but if web-client goes down things are broken anyway, right?16:13
bbrowningbecause nothing will serve the webpage16:13
bobmcwit only loads once from the webpage16:13
bobmcwso it could survive being down16:13
bobmcwsingle-page app16:14
bbrowningok so I need to figure out how to expose all services AND get that exposed URL as the thing jgroups advertises vs the internal IP16:14
bobmcwgood luck!16:14
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has joined #wildfly-swarm16:14
bbrowningyeah...16:14
bobmcwit might be a bogus use-case, but it's a fun demo16:14
bbrowningbobmcw: it brings up a different issue - we can't just assume the jgroups cluster IPs are the ones to use for exposed stuff16:15
lanceballtinygrab + retina display is nonawesome16:15
bbrowningribbon has some separate config to get address/port of services?16:15
hbraunhaha16:15
bobmcwbbrowning: ribbon itself just has a ServerList16:15
bobmcwwe happen to populate it based on the jgroups address16:15
bbrowningI guess I need to dig into where we advertise services and make that not be based on jgroups address16:16
bobmcwbut I also know you can do some jgroups.advertise.address or such16:16
bbrowningit already knows to use port 8080 somehow16:16
bobmcwif we were to use that instead, ribbon wouldn't mind16:16
bbrowningbobmcw: jgroups needs to stay on internal IP for its clustering but the service we advertise via ribbon needs external address16:16
bbrowningso nothing in jgroups config needs to change - just change how we decide the address to advertise and know that it needs to differ from what jgroups uses16:16
bobmcwhttps://github.com/wildfly-swarm/wildfly-swarm/blob/master/ribbon/runtime/src/main/java/org/wildfly/swarm/netflix/ribbon/runtime/ClusterManager.java#L112-L11916:16
bobmcwhttps://github.com/wildfly-swarm/wildfly-swarm/blob/master/ribbon/runtime/src/main/java/org/wildfly/swarm/netflix/ribbon/runtime/ClusterManager.java#L112-L11916:17
bobmcwwe're actually advertising the jboss.http.port and host16:17
bobmcwfrom the http socket-binding16:17
bobmcwnot using the jgroups host/port16:18
bbrowningyeah that's what we'll have to change - instead of 10.x.y.z:8080 it needs to be booker-library-swarm.foo.openshiftapps.com:8016:18
bobmcwhttps://github.com/wildfly-swarm/wildfly-swarm/blob/master/ribbon/runtime/src/main/java/org/wildfly/swarm/netflix/ribbon/runtime/ClusterManagerActivator.java#L4716:18
helio-frota(/away16:19
bobmcwthe BinderService is just putting the topology-manager bits into a JNDI lookuop16:19
bbrowningyeah I'll have to add some kind of config or openshift smarts to this thing to fetch the exposed address16:19
bobmcwbut yeah, what we advertise is independent from jgroups, and under our control16:20
bbrowningand fallback on http binding otherwise16:20
bobmcwbbrowning: I think this is where we can do magic openshift magic maybe16:20
bobmcwif we're in openshift, setup another socket-binding (but relatively un-used)16:20
bobmcwand inject that instead16:20
bobmcwmayhap16:20
bbrowningthe wrinkle is openshift apps can be exposed or unexposed at will16:21
bobmcwah16:21
bbrowningor create say 2-3 hostnames all pointing to the same app16:21
bobmcwbut something like org.wildfly.network.socket-binding.http.openshift that points to booker-library-swarm.foo.openshiftapps.com:8016:21
bobmcwdoes the AS know if it's exposed?  or is that edge routing bits?16:21
bbrowningedge routing bits - AS has no clue16:22
bbrowningthe only way I can do this is via querying some openshift or kubernetes API16:22
bobmcwand maybe we advertise N addresses16:22
bobmcwalways internal, plus optionally external16:22
bobmcwand enhance the ribbon.js to know what to send externally16:22
bbrowningport is the hardest part - nothing but an incoming http request or the browser knows what the right port is16:24
bbrowningit's 80 on openshift eng-int environment, 1080 on my local VM16:24
hbraunbobmcw: how are the tests determined that actually run in phase “integration-tests”?16:25
bobmcwhbraun: src/it/java/**/*IT.java16:25
bobmcwcapital I, capital T, .java16:25
hbraunah, that simple16:25
bobmcwit's what maven-failsafe-plugin looks for16:25
hbraunstupid question16:25
hbraunyep, i am not familiar with htat one16:26
bobmcwme neither :)16:26
bobmcwtook me a while to work that out16:26
*** jclingan <jclingan!~jclingan@redhat/jclingan> has joined #wildfly-swarm16:27
projectodd-ciProject wildfly-swarm-examples build #37: SUCCESS in 39 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/37/16:29
projectodd-ciLance Ball: Add HTTP POST to the events services16:29
projectodd-ciProject wildfly-swarm-examples-uberjar build #4: SUCCESS in 39 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/4/16:29
projectodd-ciLance Ball: Add HTTP POST to the events services16:29
*** lanceball is now known as lance|afk16:42
hbraunbobmcw: weird, on my machine, when I do ‘mvn clean integration-test” the WF process remains16:44
hbrauni.e. when running wildfly-swarm-examples/jaxrs/jaxrs-war16:45
hbraunI assume it shopuld delegate to wildfly-swarm-plugin:stop at the end?16:46
*** hbraun <hbraun!~hbraun@pdpc/supporter/professional/hbraun> has quit IRC (Quit: hbraun)16:50
projectodd-ciProject wildfly-swarm build #373: SUCCESS in 1 hr 15 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm/373/16:50
projectodd-ciLance Ball: For ribbon-webapp, AJAX connection must be open before setting headers.16:50
projectodd-ciStarting build #38 for job wildfly-swarm-examples (previous build: SUCCESS)16:50
projectodd-ciStarting build #5 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)16:53
projectodd-ciProject wildfly-swarm-examples build #38: SUCCESS in 7 min 41 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/38/16:58
projectodd-ciProject wildfly-swarm-examples-uberjar build #5: SUCCESS in 8 min 45 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/5/17:01
*** tcrawley-away is now known as tcrawley17:08
*** bbrowning is now known as bbrowning_away17:44
jbossbotgit [wildfly-swarm] push master d7c2f2d.. Toby Crawley Add arquillian protocol for remote arq testing [SWARM-138]...17:48
jbossbotgit [wildfly-swarm] push master URL: http://github.com/wildfly-swarm/wildfly-swarm/commit/d7c2f2d9317:48
projectodd-ciStarting build #374 for job wildfly-swarm (previous build: SUCCESS)17:48
*** lance|afk is now known as lanceball18:01
projectodd-ciProject wildfly-swarm build #374: FAILURE in 18 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm/374/18:06
projectodd-ciToby Crawley: Add arquillian protocol for remote arq testing [SWARM-138]18:06
tcrawleyhmm, that's on me. fixing18:11
*** agoncal <agoncal!~agoncal@2a01cb08004f0f007135e5cc55ae6765.ipv6.abo.wanadoo.fr> has joined #wildfly-swarm18:13
*** bbrowning_away is now known as bbrowning18:25
bbrowningon openshift, what if we didn't use jgroups at all for the ribbon bits?18:32
bbrowningwhat if that was just one of several backends, with kubernetes / openshift being another one?18:33
bbrowningadvertising basically becomes a no-op and discovery just uses the kubernetes api to find the desired service18:33
bbrowningI guess this only works if each advertised services exactly equals one openshift app18:34
bbrowningbut that's kind of what microservices are about?18:34
*** jbossbot <jbossbot!~JBossBot@redhat/jbossbot> has quit IRC (Quit: jbossbot)18:35
*** jbossbot <jbossbot!~JBossBot@redhat/jbossbot> has joined #wildfly-swarm18:37
*** ChanServ sets mode: +v jbossbot18:37
lanceballbbrowning: I don't know. I guess that seems reasonable.18:52
bbrowningyeah I don't know either18:53
bobmcwtcrawley: I think you broke the build18:57
* tcrawley knows18:57
tcrawleyand is fixing18:57
bobmcwtcrawley: I think you broke the build18:57
helio-frotai have 1 question :D19:27
helio-frotais possible to do it ?19:27
helio-frotarun jruby-sinatra app on wf-swarm ?19:28
helio-frota: ]19:28
helio-frotabattle for hours here...19:28
bobmcwnever tried :)19:28
helio-frotahahuahu :p19:28
helio-frotai'm getting diff results19:29
helio-frotathe new one is this: Could not find or load main class org.wildfly.swarm.Swarm19:29
bobmcwthat's in -container.jar19:29
helio-frotawhen using jar package , it don't add the dependencies19:30
helio-frotathe minimal config19:34
helio-frotai'm getting 'Forbidden'19:35
helio-frotaand19:35
helio-frota Could not index class jnr/x86asm/SerializerIntrinsics.class at /wildfly-swarm-jruby-sinatra.war/WEB-INF/lib/jnr-x86asm-1.0.2.jar: java.lang.NullPointerException19:35
bobmcwhrm19:35
helio-frotareally don't understand (yet) what is19:35
helio-frotagoing to share on github19:35
bobmcwyah, I'll hopefully have a chance to look tomorrow mayhap19:35
helio-frotaso the folks with more exp can help19:35
helio-frotaand the generated war is 23mb19:36
helio-frotai have just 3 days of ruby world , 80% probability i miss something...19:37
bobmcwhelio-frota: hey, thanks for getting it started though!19:38
helio-frotabobmcw, thanks for all help , my pleasure19:38
helio-frotabobmcw, and all folks19:42
helio-frotahttps://github.com/helio-frota/wildfly-swarm-jruby-sinatra19:42
helio-frotasame results but more cleaner example19:42
bbrowninghelio-frota: just glancing at that I can see you're missing RackFilter from your web.xml19:44
bbrowningwithout that requests won't get routed to your ruby app19:44
helio-frotao_019:44
helio-frota:D jruby noob things19:45
helio-frotabbrowning, you right !19:46
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has joined #wildfly-swarm19:46
helio-frotahttp://localhost:8080/ getting now 1 error !19:46
helio-frotahappy to see 1 error \o/19:47
bbrowninghehe19:47
*** agoncal <agoncal!~agoncal@2a01cb08004f0f007135e5cc55ae6765.ipv6.abo.wanadoo.fr> has quit IRC (Ping timeout: 264 seconds)19:51
helio-frotabbrowning, http://grab.by/MtYC19:55
jbossbotTitle: TinyGrab - Simple. Screenshot. Sharing.19:55
bbrowninghelio-frota: The cause of that error isn't immediately obvious to me.19:58
helio-frotabbrowning, np thanks btw19:58
bbrowninglanceball: in ribbon-webapp, you'll need to take the context into account and thus serve the .js file up dynamically right?20:04
bbrowningString context = System.getProperty( "wildfly.swarm.ribbon.context.path" );20:04
bbrowningvs var sse = new EventSource( "/ribbon/system/stream" );20:04
bbrowningI'm just poking in here because I'm wondering if this is the proper layer to attempt to translate service internal IPs to public host/ports20:05
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has quit IRC (Ping timeout: 246 seconds)20:10
helio-frotawith this https://github.com/helio-frota/wildfly-swarm-jruby-sinatra/blob/master/WEB-INF/web.xml#L13 commented we get20:15
helio-frotajava.lang.IllegalArgumentException: null context20:15
helio-frotauncomment and we get a weird(for me) error `no such file to load -- sinatra from org/jruby/RubyKernel.java:939:in ` .....20:17
lanceballbbrowning: https://github.com/wildfly-swarm/wildfly-swarm/blob/master/ribbon-webapp/runtime/src/main/java/org/wildfly/swarm/ribbon/webapp/runtime/RibbonWebAppConfiguration.java#L33-L3420:17
bbrowninglanceball: right - all I'm saying is the .js hardcodes "/ribbon" as the context20:18
lanceballahh - it does20:18
lanceballwhoops20:18
lanceball@issue20:18
proddbotIt would please lanceball to no end if you would file an issue at https://issues.jboss.org/browse/SWARM20:18
bbrowning@bobdistributeddatabaseerlangcartoon20:18
lanceballbbrowning: I'll create an issue20:19
bobmcwwhut?20:19
bbrowninghttp://xahlee.info/comp/i/fault-tolerance_NoSQL.png20:19
bobmcwlanceball: so can I start testing the example now?20:19
lanceballyessir20:19
bobmcwwhee!20:19
bobmcwrun 1 front-end, two time, and 1 event?20:20
lanceballbobmcw: yes - it's all outlined in README.md20:20
helio-frotahey i don't give up to run jruby on wf-swarm \m/20:21
jbossbotnew jira [SWARM-185] Make ribbon.js aware somehow of System.getProperty( "wildfly.swarm.ribbon.context.path" ) [Backlog (Unresolved) Story, Major, Lance Ball] https://issues.jboss.org/browse/SWARM-18520:21
bbrowninghelio-frota: the sinatra error is progress20:21
helio-frotabut i know i can't learn for months to do it :p20:21
bbrowningthat means it can't find the sinatra rubygem20:21
helio-frotabbrowning, yup but this is installed20:21
bbrowningsure, but how does the swarm app know where to look for it20:22
bbrowningideally you'd package up all the ruby dependencies in the -swarm.jar20:22
bbrowningalong with jruby itself20:22
helio-frotamakes a lot of sense...20:22
bbrowningbut it will take an in-depth knowledge of ruby and jruby to work through that tangle20:22
bbrowningfeel free to keep plugging away at it, but don't let yourself get too frustrated :)20:23
helio-frotabbrowning, never get frustrated the problem is the 'time' :D20:23
helio-frotabbrowning, but thanks again , i need to learn more nodejs to understand those ribbon things also (and other stuff)20:24
*** helio-frota <helio-frota!~hf@8.80.249.186.araujosat.com.br> has quit IRC (Quit: Leaving)20:28
*** tcrawley is now known as tcrawley-away20:33
*** tcrawley-away is now known as tcrawley20:35
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has joined #wildfly-swarm21:07
*** helio-frota <helio-frota!~hf@8.80.249.186.araujosat.com.br> has joined #wildfly-swarm21:16
jbossbotgit [wildfly-swarm] push master 85887e3.. Toby Crawley Fix integration tests to work with new arq daemon protocol...21:24
jbossbotgit [wildfly-swarm] push master URL: http://github.com/wildfly-swarm/wildfly-swarm/commit/85887e36a21:24
projectodd-ciStarting build #375 for job wildfly-swarm (previous build: FAILURE -- last SUCCESS #373 5 hr 49 min ago)21:25
bbrowningtcrawley: build's broken21:25
tcrawleyhopefully not now!21:25
bbrowningCI is judging you21:25
tcrawleyeveryone judges me21:25
tcrawleyI'm used to it21:25
jbossbotgit [wildfly-swarm] push master 629ae22.. Toby Crawley Fix odd template insertion.21:26
jbossbotgit [wildfly-swarm] push master URL: http://github.com/wildfly-swarm/wildfly-swarm/commit/629ae221d21:26
*** kenfinnigan <kenfinnigan!~ken@redhat/jboss/kenfinnigan> has quit IRC (Quit: Leaving.)21:38
projectodd-ciYippee, build fixed!21:44
projectodd-ciProject wildfly-swarm build #375: FIXED in 19 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm/375/21:44
projectodd-ciToby Crawley: Fix integration tests to work with new arq daemon protocol21:44
projectodd-ciStarting build #376 for job wildfly-swarm (previous build: FIXED)21:44
projectodd-ciStarting build #39 for job wildfly-swarm-examples (previous build: SUCCESS)21:46
projectodd-ciStarting build #6 for job wildfly-swarm-examples-uberjar (previous build: SUCCESS)21:46
projectodd-ciProject wildfly-swarm-examples-uberjar build #6: FAILURE in 3 min 12 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/6/21:49
projectodd-ciProject wildfly-swarm-examples build #39: FAILURE in 3 min 22 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/39/21:49
tcrawleyexamples are my fault as well. will fix21:54
projectodd-ciProject wildfly-swarm build #376: SUCCESS in 16 min: https://projectodd.ci.cloudbees.com/job/wildfly-swarm/376/22:01
projectodd-ciToby Crawley: Fix odd template insertion.22:01
projectodd-ciStarting build #40 for job wildfly-swarm-examples (previous build: FAILURE -- last SUCCESS #38 5 hr 10 min ago)22:01
projectodd-ciStarting build #7 for job wildfly-swarm-examples-uberjar (previous build: FAILURE -- last SUCCESS #5 5 hr 10 min ago)22:03
projectodd-ciProject wildfly-swarm-examples build #40: STILL FAILING in 2 min 26 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples/40/22:04
*** bgeorges <bgeorges!~bgeorges@59-100-149-90.cust.static-ipl.aapt.com.au> has quit IRC (Ping timeout: 260 seconds)22:04
projectodd-ciProject wildfly-swarm-examples-uberjar build #7: STILL FAILING in 3 min 4 sec: https://projectodd.ci.cloudbees.com/job/wildfly-swarm-examples-uberjar/7/22:06
*** bbrowning is now known as bbrowning_away22:20
*** lanceball is now known as lance|afk22:27
*** tcrawley is now known as tcrawley-away22:33
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has quit IRC (Quit: Computer has gone to sleep.)22:44
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has joined #wildfly-swarm23:02
*** rbenevides <rbenevides!~rbenevid@redhat/jboss/RafaelBenevides> has quit IRC (Quit: Computer has gone to sleep.)23:42
*** enebo <enebo!~enebo@c-75-73-8-169.hsd1.mn.comcast.net> has quit IRC (Quit: enebo)23:59

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