These are chat archives for fwbrasil/zoot

1st
Mar 2015
William Boxhall
@williamboxhall
Mar 01 2015 13:22
@fwbrasil it seems that Zoot does not support having multiple "controllers" per service. I supply only one controller to new FinagleServer(Server[MyController](myController))
it would be nice to be able to go new FinagleServer(firstController, secondController, third...). For example my service has multiple REST resources that I wish to express as different Api traits
Flavio W. Brasil
@fwbrasil
Mar 01 2015 13:24
Yeah, that's a bad limitation
The idea was mix all.traits together in only one api class
But I don't like this approach anymore
William Boxhall
@williamboxhall
Mar 01 2015 13:58
I'm trying to wedge support for com.twitter.util.Future in to Zoot
think im in a bit over my head, but what the hey
William Boxhall
@williamboxhall
Mar 01 2015 14:21
@fwbrasil is there an easy way for me to run the Zoot-Sample?
actually maybe it's just easier if i publish zoot locally and point my own sample project at it
William Boxhall
@williamboxhall
Mar 01 2015 14:45
damn
@fwbrasil seems to swallow exception messages, makes it difficult to debug
William Boxhall
@williamboxhall
Mar 01 2015 14:58
i think
actually its something wrong with my sample project swallowing errors
William Boxhall
@williamboxhall
Mar 01 2015 15:04
@fwbrasil , what is the type of Filter in this example? https://github.com/fwbrasil/zoot#filters
com.twitter.finagle.Filter?
William Boxhall
@williamboxhall
Mar 01 2015 15:37
@fwbrasil I could use a hand when you're around mate
William Boxhall
@williamboxhall
Mar 01 2015 15:50
aw man there is a Zoot filter, I just couldn't see it :(
williamboxhall @williamboxhall facepalm
Flavio W. Brasil
@fwbrasil
Mar 01 2015 15:50
Hehe
William Boxhall
@williamboxhall
Mar 01 2015 15:52
i spent like an hour faffing about
oh well :)
@fwbrasil i was having a go at allowing Zoot to support twitter futures
and i got something compiling but when i went to test it, my sample app is just swallowing all exceptions
so now i am on a detour fixing my sample app to print exceptions :)
William Boxhall
@williamboxhall
Mar 01 2015 16:43
man @fwbrasil I don't like the scala future
the twitter future api is better
future.onSuccess is quite different for the two
William Boxhall
@williamboxhall
Mar 01 2015 16:50
@fwbrasil I am having trouble catching exceptions in the filter chain: williamboxhall/clump-zoot-sample#2