Hi Matt,

On Sun, Oct 31, 2010 at 10:10 AM, Matt Richards <[email protected]> wrote:

> I'd like to start testing the Robot API in Wave in a Box if its
> possible. Are the operations far enough along where the robot is able to
> accomplish anything user visible?


If you apply [0] Echoey will work. I hope to get this code tested and
submitted in the upcoming week. Robots can already reply and make new blips
using [2].


>
> I saw there was an echoey robot example submitted a while back, how can I
> get this setup to test with? Do I need to use GAE?  I'm not very clear on
> how self hosted robots can be setup.
>
>
You don't have to run in on appengine, you can run it on anything that can
host a Java Servlet (Apache, Jetty, etc). In fact this version is not really
suited for appengine thanks to the cached dictionary that is being used, if
you replace that with a normal hashmap you build up every request then you
can push it to appengine, such a version is actually running on [1].

To use the appengine version you should go to:

http://yourserver+port/robot/register/create

fill in a username for your robot and point it to [1]. Now when you add that
username to a wave the robot will be called. Make sure that you are running
the memory or mongodb accountstore otherwise registration will not work. And
don't forget to patch in [0].

Hope this helps,
Lennard

[0] http://codereview.waveprotocol.org/221001/show
[1] http://echoey-wave.appspot.com/
[2]
http://code.google.com/p/wave-protocol/source/browse/src/org/waveprotocol/box/server/robots/operations/BlipOperationServices.java

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to