Hi all,
With the implementation of the Robot API under way we have pushed out the
interface under which all robot operations will be implemented [0]. While we
are working on the event generation for robots in the passive API we would
like to ask you (the community) for help with implementing the operations
that robots must be able to perform. The list of operations indicated by
their value in OperationType class and roughly sorted on difficulty are
listed below. You can pick whatever you like, be it easy or something you
would like robots to do as soon as everything is in place.
- WAVELET_ADD_PARTICIPANT_NEWSYNTAX("wavelet.addParticipant"),
- WAVELET_REMOVE_PARTICIPANT_NEWSYNTAX("wavelet.removeParticipant")
- WAVELET_REMOVE_SELF("wavelet.removeSelf")
- WAVELET_CREATE("wavelet.create")
- ROBOT_CREATE_WAVELET("robot.createWavelet") Active API variant of
wavelet.create, should use the same code
- ROBOT_FETCH_WAVE("robot.fetchWave") Active API
- BLIP_CONTINUE_THREAD("blip.continueThread")
- BLIP_CREATE_CHILD("blip.createChild")
- BLIP_DELETE("blip.delete")
- DOCUMENT_DELETE("document.delete")
- DOCUMENT_DELETE_ANNOTATION("document.deleteAnnotation")
- DOCUMENT_APPEND_MARKUP("document.appendMarkup")
- DOCUMENT_APPEND_STYLED_TEXT("document.appendStyledText")
- DOCUMENT_INSERT("document.insert")
- DOCUMENT_MODIFY("document.modify")
- DOCUMENT_REPLACE("document.replace")
- DOCUMENT_APPEND_ELEMENT("document.appendElement")
- DOCUMENT_DELETE_ELEMENT("document.deleteElement")
- DOCUMENT_INSERT_ELEMENT("document.insertElement")
- DOCUMENT_INSERT_ELEMENT_AFTER("document.insertElementAfter")
- DOCUMENT_INSERT_ELEMENT_BEFORE("document.insertElementBefore")
- DOCUMENT_MODIFY_ELEMENT_ATTRS("document.modifyElementAttrs")
- DOCUMENT_REPLACE_ELEMENT("document.replaceElement")
- DOCUMENT_APPEND_INLINE_BLIP("document.appendInlineBlip")
- DOCUMENT_INSERT_INLINE_BLIP("document.insertInlineBlip")
-
DOCUMENT_INSERT_INLINE_BLIP_AFTER_ELEMENT("document.insertInlineBlipAfterElement")
- DOCUMENT_SET_ANNOTATION("document.setAnnotation")
- DOCUMENT_SET_ANNOTATION_NORANGE("document.setAnnotationNoRange")
- DOCUMENT_APPEND("document.append")
- WAVELET_APPEND_DATADOC("wavelet.appendDatadoc")
- WAVELET_SET_DATADOC("wavelet.setDatadoc")
- ROBOT_NOTIFY("robot.notify")
We suggest that you don't attempt the following operations yet since
their semantics are currently difficult to represent using the open source
code:
- BLIP_SET_AUTHOR("blip.setAuthor")
- BLIP_SET_CREATION_TIME("blip.setCreationTime")
- WAVELET_SET_TITLE("wavelet.setTitle")
- WAVELET_MODIFY_TAG("wavelet.modifyTag")
- WAVELET_MODIFY_PARTICIPANT_ROLE("wavelet.modifyParticipantRole")
- ROBOT_FOLDER_ACTION("robot.folderAction")
- ROBOT_FETCH_MY_PROFILE("robot.fetchMyProfile")
- ROBOT_FETCH_PROFILES("robot.fetchProfiles")
- ROBOT_SEARCH("robot.search")
And to be somewhat complete, we have an implementation for the following
operation which will hopefully be released in the next weeks.
- WAVELET_APPEND_BLIP("wavelet.appendBlip")
Feel free to group operations that belong to each other in one class if
you feel like implementing multiple, e.g. adding and removing participants.
Make sure you include unit tests.
If you'd like to contribute send mail to the group so we can avoid doing
double work and help each other out with implementation details. You can
find instructions on sending your change for code review, etc, at
https://sites.google.com/a/waveprotocol.org/wave-protocol/code/submitting-code
.<https://sites.google.com/a/waveprotocol.org/wave-protocol/code/submitting-code>Any
other starter projects, if you'd like to do something else, can be
found
here [1].
Greetings,
Lennard
[0]
http://code.google.com/p/wave-protocol/source/browse/src/org/waveprotocol/wave/examples/fedone/robots/operations/OperationService.java
<http://code.google.com/p/wave-protocol/source/browse/src/org/waveprotocol/wave/examples/fedone/robots/operations/OperationService.java>
[1]
http://sites.google.com/a/waveprotocol.org/wave-protocol/code/starter-projects<https://sites.google.com/a/waveprotocol.org/wave-protocol/code/starter-projects>
--
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.