October 19, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[00:00:03] *** lanceball has quit IRC
[00:06:15] *** tcunning has quit IRC
[00:16:17] *** babo has quit IRC
[00:30:03] *** tcunning has joined #switchyard
[00:43:53] *** igarashitm has joined #switchyard
[01:10:12] *** tfennelly has quit IRC
[02:38:15] *** ldimaggi has joined #switchyard
[02:55:40] *** kcbabo has joined #switchyard
[02:55:40] *** kcbabo has joined #switchyard
[03:29:10] *** rcernich_away has quit IRC
[04:06:35] *** magesh has joined #switchyard
[04:22:27] *** magesh has quit IRC
[04:40:22] *** lanceball has joined #switchyard
[05:02:03] *** igarashitm has quit IRC
[05:18:40] *** kcbabo has quit IRC
[05:19:57] *** jliu2 has joined #switchyard
[05:40:47] *** ldimaggi has quit IRC
[06:18:57] *** lanceball has quit IRC
[06:23:43] *** dbevenius has joined #switchyard
[06:53:36] *** tcunning has quit IRC
[07:30:36] *** magesh has joined #switchyard
[08:07:15] *** magesh has quit IRC
[08:07:40] *** magesh has joined #switchyard
[08:15:48] *** PeteRoyle has quit IRC
[09:08:17] *** rbalent has joined #switchyard
[09:08:17] *** rbalent has joined #switchyard
[09:11:46] *** magesh1 has joined #switchyard
[09:13:38] *** magesh has quit IRC
[09:16:49] *** magesh1 has quit IRC
[09:18:58] *** magesh has joined #switchyard
[09:27:36] *** magesh1 has joined #switchyard
[09:28:27] *** magesh has quit IRC
[10:18:28] *** magesh1 has quit IRC
[10:42:20] *** magesh has joined #switchyard
[11:36:56] *** vinicius has joined #switchyard
[11:37:36] *** jliu2 has quit IRC
[12:37:29] *** ldimaggi has joined #switchyard
[13:04:37] *** igarashitm has joined #switchyard
[13:13:58] *** kcbabo has joined #switchyard
[13:13:58] *** kcbabo has joined #switchyard
[13:40:04] *** igarashitm has quit IRC
[14:19:09] *** tcunning has joined #switchyard
[14:19:49] *** igarashitm has joined #switchyard
[14:35:24] *** kcbabo has quit IRC
[14:50:17] *** lanceball has joined #switchyard
[14:52:42] *** tfennelly has joined #switchyard
[15:02:44] *** antollinim has joined #switchyard
[15:03:17] *** antollinim is now known as antollinim_
[15:03:52] *** lanceball has quit IRC
[15:07:44] *** lanceball has joined #switchyard
[15:23:08] *** antollinim__ has joined #switchyard
[15:24:46] *** antollinim_ has quit IRC
[15:43:03] *** bfitzpat has joined #switchyard
[15:49:06] <igarashitm> magesh: hi magesh, can I ask you something?
[15:50:00] <magesh> igarashitm: Hi Tomo, whatzup?
[15:50:00] <igarashitm> magesh: is there any way to define SOAP gateway only service... without any bean ?
[15:50:30] <magesh> igarashitm: Your Question has the answer ;), it's a gateway, so no service
[15:50:53] <magesh> igarashitm: What is your usecase?
[15:51:02] <igarashitm> magesh: what I want to do is.. add minimal quickstart for XSLT transform,
[15:51:23] <magesh> igarashitm: You can use MockService
[15:51:33] <magesh> igarashitm: Let me pull you an example ...
[15:51:34] <igarashitm> magesh: just transform from the body of SOAP request into the body of SOAP response
[15:52:02] <igarashitm> magesh: oh, MockService.. sounds nice
[15:53:42] <magesh> igarashitm: I swear it was there, we moved many stuff around so finding it difficult to find... will have it soon
[15:54:03] <igarashitm> magesh: thanks!
[15:57:56] <magesh> igarashitm: Found it! It is in core/deploy/base/src/test
[15:58:29] <igarashitm> magesh: I'll take a look, thank you magesh !
[15:59:21] <magesh> igarashitm: I guess that will suffice you, nps. This was something I guess Keith and Me added when I had the same requirement. Cheers!
[16:00:18] <igarashitm> magesh: yeah, that's it, implementation.mock... good stuff!
[16:00:43] <magesh> igarashitm: If this can be made generic/moved to TestKit then tfennelly will help us. Won't you Tom ;)?
[16:01:49] <igarashitm> magesh: ah, sounds nice, all other gateway will need this stuff for testing
[16:18:56] <tfennelly> magesh: of course magesh :)
[16:19:33] <magesh> tfennelly: :)
[16:27:10] <igarashitm> tfennelly, magesh: isn't there a plan to move mock-v1.xsd to core or component/mock ?
[16:27:41] <tfennelly> igarashitm: no idea... didn't hear of any such plan
[16:27:48] <tfennelly> igarashitm: not even sure what that XSD is
[16:28:03] <magesh> igarashitm: Not that I know of, but we can if it is genuine need
[16:28:09] <igarashitm> tfennelly, magesh: I think it's also useful for users to create gateway&transform only service
[16:28:35] <magesh> igarashitm: Please highlight to Keith or best open a JIRA
[16:29:04] <igarashitm> magesh: ok, I'll raise a JIRA
[16:29:06] <magesh> tfennelly: That is a mock component
[16:29:25] <magesh> tfennelly: Does replace CDI/bean for test purposes
[16:29:37] <tcunning> antollinim__: ping
[16:30:15] <magesh> tfennelly: Can even bve deployed to real server runtimes
[16:30:19] <magesh> (be)
[16:40:16] *** magesh is now known as magesh_away
[16:50:28] *** rcernich has joined #switchyard
[17:20:41] *** rbalent has quit IRC
[17:26:55] *** dbevenius has quit IRC
[17:32:25] *** rbalent has joined #switchyard
[17:32:25] *** rbalent has joined #switchyard
[17:32:47] *** rbalent has quit IRC
[18:18:55] *** antollinim__ has quit IRC
[18:48:14] *** magesh_away has quit IRC
[18:56:45] *** lanceball is now known as lance|afk
[19:16:56] *** kcbabo has joined #switchyard
[19:16:57] *** kcbabo has joined #switchyard
[19:22:03] <tfennelly> kcbabo: hey... I think we should prob change to using slf4j
[19:22:26] <tfennelly> kcbabo: and not use log4j directly
[19:22:44] <kcbabo> tfennelly:  i'm certainly open to that
[19:23:21] <tfennelly> kcbabo: I just say it coz it seems like loads of other jboss projects (that we're using) use it... so might just clean us up a bit
[19:23:43] <tfennelly> kcbabo: and seems to make sense in its own right anyway
[19:24:11] <kcbabo> tfennelly:  from what I hear it's much more flexible in terms of what logging implementation you want to use
[19:24:48] <tfennelly> kcbabo: right... an use anything really
[19:29:48] <tfennelly> kcbabo: downside to it for us though is that the different versions seem to be incompatible, which is giving me a pita atm
[19:32:08] <kcbabo> tfennelly:  yeah, that could be problematic
[19:34:41] <tfennelly> kcbabo: e.g. jbpm uses version 1.5.8 of the api, which doesn't work with version 1.6.1 or the slf4j-log4j
[19:35:02] <kcbabo> tfennelly:  wow
[19:35:20] <tfennelly> kcbabo: the versions need to line up
[19:35:33] <tfennelly> and with maven.... you know how it handles the transitive deps
[19:36:21] <tfennelly> kcbabo: problem I'm having might also go away if I wasn't using slf4j-log4j
[19:37:24] <tfennelly> kcbabo: I'm using it in an effort to filter out slf4j logs in the same log4j config I'm using to filter log4j logs
[19:42:42] <tfennelly> kcbabo: you and I or you and someone else?
[19:42:57] <tfennelly> kcbabo: I don't recall talking about it
[19:43:21] <tfennelly> kcbabo: ah... wrong window :)
[19:43:34] <tfennelly> kcbabo: growl notifications
[19:54:09] *** tfennelly has quit IRC
[19:54:49] *** kcbabo is now known as kcbabo_brb
[19:58:38] *** tfennelly has joined #switchyard
[20:20:26] *** echelog-2 has joined #switchyard
[20:37:43] *** lance|afk is now known as lanceball
[20:59:04] *** tfennelly has quit IRC
[21:13:50] *** kcbabo_brb is now known as kcbabo
[21:23:45] <kcbabo> igarashitm:  hey tomo
[21:24:18] <igarashitm> kcbabo: hi Keith
[21:25:10] <kcbabo> igarashitm:  hey - were you going to handle the removal of AS6 from the release build?
[21:25:16] <kcbabo> igarashitm:  can't remember if we discussed that or not
[21:25:49] <igarashitm> kcbabo: not yet, you've assigned to me though
[21:26:14] <kcbabo> igarashitm:  okie dokie
[21:26:22] <kcbabo> igarashitm:  but you're OK with doing it, right?
[21:26:30] <igarashitm> kcbabo: sure
[21:26:59] <kcbabo> igarashitm:  cool, thanks
[21:27:03] <kcbabo> igarashitm:  just wanted to make sure
[21:27:35] <igarashitm> kcbabo: yep, so I should finish it before 0.3 release?
[21:27:38] *** rcernich is now known as rcernich_away
[21:28:12] <igarashitm> kcbabo: I've raised a JIRA related to XSLT quickstart,
[21:28:16] <igarashitm> kcbabo: https://issues.jboss.org/browse/SWITCHYARD-506
[21:29:35] <kcbabo> igarashitm:  definitely before 0.3 release
[21:29:45] <kcbabo> igarashitm:  since we won't provide an AS6 distribution
[21:30:02] <igarashitm> kcbabo: ok, will do
[21:30:07] <kcbabo> igarashitm:  it should really just b a matter of removing the AS6 module definitions from the release pom.xml
[21:30:28] <kcbabo> igarashitm:  I think about it every time I run a release build now - it could be 90 seconds faster without AS6 ;-)
[21:31:06] <igarashitm> kcbabo: long long time.. ;)
[21:31:45] <igarashitm> kcbabo: I'll take a look asap
[21:32:59] <igarashitm> kcbabo: and can I ask you some another?
[21:33:46] <igarashitm> kcbabo: can I move MockService into core or component ?
[21:33:55] <kcbabo> igarashitm:  hmm .. that one we need to talk about
[21:34:26] <igarashitm> kcbabo: need to start a thread at dev forum ?
[21:34:34] <kcbabo> igarashitm:  that would be good
[21:34:42] <igarashitm> kcbabo: ok, will do
[21:34:45] <kcbabo> igarashitm:  you actually need a component that can be configured via switchyard.xml ?
[21:34:56] <kcbabo> igarashitm:  vs. something that you can add via the API?
[21:35:06] <igarashitm> kcbabo: yes, I think that would be useful for users
[21:35:16] <kcbabo> igarashitm:  there's already a Mock provider in the test kit
[21:35:32] <kcbabo> igarashitm:  OK, another alternative would be to use a Mock endpoint with the camel component
[21:35:45] <igarashitm> kcbabo: ah, via API... I didn't think about it
[21:35:55] <kcbabo> igarashitm:  I'm actually interested in testing that out more and seeing how we can better integrate with the Camel test support
[21:36:07] <kcbabo> igarashitm:  so both of those options would be worth discussing in the forum
[21:36:42] <igarashitm> kcbabo: ok
[21:37:32] <igarashitm> kcbabo: mock service will be useful not only test, but create small service which only use transformer
[21:39:25] <kcbabo> igarashitm:  sure - it all depends on how you are trying to test I guess
[21:39:38] <kcbabo> igarashitm:  you can create a unit test with a mock service using the test api today
[21:39:44] <kcbabo> igarashitm:  just using MockProvider
[21:40:26] <kcbabo> igarashitm:  but if you wanted to test based on a switchyard.xml where the service implementation is mocked, then you would need something more
[21:40:56] <kcbabo> igarashitm:  that's where you would probably need something like a mock: endpoint with the camel component or a mock component in SwitchYard
[21:42:05] <igarashitm> kcbabo: ah, my usecase is a quickstart for XSLT transform, so I think I need to demonstrate with switchyard.xml
[21:43:08] <kcbabo> igarashitm:  yeah, so far we've been using an implementation.bean to do that work
[21:43:11] <igarashitm> kcbabo: I just try to create minimal usecase of XSLT transform, so think about transform the body of SOAP request into the body of SOAP response directly
[21:43:19] <kcbabo> igarashitm:  since the quickstart is really an application
[21:43:35] <kcbabo> igarashitm:  but a mock: endpoint from Camel would also do the trick I think
[21:44:19] <kcbabo> igarashitm:  in any case, I think you have a valid use case so we should make sure we have something that satisfies it
[21:45:09] <igarashitm> kcbabo: ok, Camel's one will be the one I need, I'll take a look later
[21:46:15] <igarashitm> kcbabo: if Camel mock is easy to use, I don't need other MockService
[21:46:31] <kcbabo> igarashitm:  I think that's the best approach to take
[21:46:57] <kcbabo> igarashitm:  let's see if what we have works and if it doesn't, we will either fix/enhance it so that it does, or add something new as a last resort
[21:47:21] <kcbabo> igarashitm:  I would definitely like to see the Camel test stuff used more, so this would be a good thing to investigate
[21:47:58] <igarashitm> kcbabo: got it, thanks
[22:00:19] <igarashitm> kcbabo: sorry, probably I didn't understand all of your advice... so you means I can use bean service for my usecase... simple XSLT quickstart?
[22:01:43] <igarashitm> kcbabo: I've tried it but was hard to get the SOAP body as XML in the bean service
[22:02:33] <kcbabo> igarashitm:  ah, there's a way you can do that
[22:02:34] <igarashitm> kcbabo: I may have some mistake
[22:03:52] <kcbabo> igarashitm:  if you want XML in the bean service, just set the input type name using the @OperationType annotation on the method
[22:03:59] <kcbabo> igarashitm:  set the input type name = the XML element name
[22:04:22] <kcbabo> igarashitm:  and the parameter type for the method can be String or Element
[22:04:25] <kcbabo> igarashitm:  that should do it
[22:04:58] <igarashitm> kcbabo: wow, that's it, I've missed that :)
[22:05:03] <igarashitm> kcbabo: thanks
[22:05:52] <kcbabo> igarashitm:  yeah, I think there's a test somewhere that uses that
[22:06:00] <kcbabo> igarashitm:  not sure if any quickstarts use it right now though
[22:06:54] <igarashitm> kcbabo: ok, now I can grep with the keyword, "OperationType", thanks Keith!
[22:07:27] *** antollinim has joined #switchyard
[22:07:55] <antollinim> tcunning: hi Tom, I just want to report my status :)
[22:07:57] <kcbabo> igarashitm:  my pleasure :-)
[22:08:20] <antollinim> tcunning: I have been struggling with the same issue the whole day
[22:08:51] <antollinim> tcunning: I am "debugging" dependencies using http://www.jboss.org/tattletale. Awesome tool
[22:09:18] <antollinim> tcunning: I discovered it today, maybe it can be useful for you too
[22:10:07] <tcunning> antollinim: cool - should we get the changes to forge/common/pom.xml and forge/plugins/pom.xml in soon?
[22:10:10] <antollinim> tcunning: no actual results yet, still investigation
[22:10:46] <tcunning> antollinim: i talked to lincoln, and he added the forge api to what the dependencies see
[22:10:58] <tcunning> antollinim: so we shouldn't have the issue with forge-common anymore
[22:11:01] <antollinim> tcunning: I tried all plugin commands and not all of them work
[22:11:24] <antollinim> tcunning: ok, I will rebase and try again then
[22:11:55] <tcunning> antollinim: i think all that we really need is to get the provided scope on the forge dependencies
[22:12:23] <tcunning> antollinim: once that's in i'll put the xalan changes in, and then lincoln suggest we scope out log4j
[22:15:16] <antollinim> tcunning: ok, if you commit your changes to your topic branch, please let me know so I can take a look at them
[22:15:35] <tcunning> antollinim: will do
[22:36:27] *** vinicius has quit IRC
[22:42:38] *** ldimaggi has quit IRC
[23:13:39] *** rcernich_away is now known as rcernich
[23:20:53] *** bfitzpat has quit IRC
[23:46:34] *** PeteRoyle has joined #switchyard
[23:51:14] *** igarashitm has quit IRC
[23:52:40] *** antollinim has quit IRC

top