Hi Orlin,
thanks, I've subscribed to the list, neat.
> Where is the place to find the various (already implemented)
> listeners / participants?
You can find the documentation about participants at :
http://openwferu.rubyforge.org/participants.html
Their source is at :
http://github.com/jmettraux/ruote/tree/5348d68477c619f29e89032a1e3efae889f5722c/lib/openwfe/participants
http://github.com/jmettraux/ruote/tree/5348d68477c619f29e89032a1e3efae889f5722c/lib/openwfe/extras/participants
The ruote 2.0 participants are incubating at :
http://github.com/jmettraux/ruote/tree/c11afe2670cfecfe3d6d5cb3d6c10f76c6d63882/lib/ruote/part
The listeners have unfortunately no dedicated doc page, but their source is at :
http://github.com/jmettraux/ruote/tree/5348d68477c619f29e89032a1e3efae889f5722c/lib/openwfe/listeners
http://github.com/jmettraux/ruote/tree/5348d68477c619f29e89032a1e3efae889f5722c/lib/openwfe/extras/listeners
There is a piece of doc that takes the big view on participants +
listeners, but it's not yet complete :
http://openwferu.rubyforge.org/part.html
Just for the fun, I wrote a webhook participant that posts to a URL
(given via the workitem), (it's ruote 2.0 ish) :
Here is a target for a hook (maybe I'm getting it wrong, but it's
midnight for me) :
It's sinatra-ish, it launches a process instance based on the info
found on the body of a post. This somehow stands for a listener
example. If you're interested, I can show you an example of a listener
that instead of launching new process instance, resumes an already
existing one, and later correlation.
> As far as polling - what do you think about an EventMachine proxy?
> Just caught up with some of the GoGaRuCo talks (esp. Building Custom
> Web Proxies in Ruby)...
>
> http://gogaruco.com/downloads/Wrap2009.pdf (page 12)
> http://pivotallabs.com/talks/55-building-custom-web-proxies-in-ruby
> http://www.slideshare.net/igrigorik/ruby-proxies-for-scale-performance-and-monitoring-gogaruco-igvitacom-1396734
>
> Something like em-ruote-proxy or em-ruote-hooks - to make ruote more
> immediately useful for webhooks? It could simplify ruote for webhooks
> use (like an openweb api adapter) or at least do the polling for the
> latency-sensitive hooks (those that are tied to a UI).
All of this is excellent. But somehow as I'm busy rewriting ruote from
scratch, maybe that last mile is up to you to walk ;
I'm building ruote in Ruby since I know smart guys like you will do
that last mile and since they're smart, they know how to walk and what
shoes fit them, and with Ruby, it's easy to just throw away (and
rewrite) and old pair (the segway/ruote is disposable as well :) )
Kenneth in production is using Curb (http://curb.rubyforge.org/) to
stress his ruote-rest farm.
> So there is ruote-kit coming... How soon could that be? Any overlap
> with the webhooks / polling stuff. Would it include openid / oauth
> (similar to cloudkit)?
You'd have to ask to Kenneth, he's busy working on daemon-kit
(http://github.com/kennethkalmer/daemon-kit/) right now. Maybe you
could pair with him. The cloudkit is an excellent piece of software.
Glad to help, best regards,
--
John Mettraux - http://jmettraux.wordpress.com