Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move MeshMS implementation into servald #28

Closed
quixotique opened this issue Oct 19, 2012 · 1 comment
Closed

Move MeshMS implementation into servald #28

quixotique opened this issue Oct 19, 2012 · 1 comment
Assignees
Milestone

Comments

@quixotique
Copy link
Member

The MeshMS logic should all be implemented as part of servald, so that it becomes a “core Serval service.” A command-line and monitor API must be designed to support all the MeshMS functions needed by Batphone. The objectives of this work are:

  • definition and development of the new MeshMS API should be driven by a new, complete test suite called meshms;
  • the new API should permit the elimination of the Batphone message database, so that Rhizome functions as the persistent message store;
  • the current Java implementation in https://github.com/servalproject/batphone/blob/development/src/org/servalproject/rhizome/Rhizome.java should be used as the reference for the MeshMS message log format, and interoperability between the original Java and new servald implementations should be proven, ie, messages sent by one can be received by the other;
  • the new implementation should make use of Rhizome journaling functions to prevent message log payloads from growing indefinitely.

As part of this work, the Rhizome manifest management code in servald will need to be refactored into a more formal, efficient and object-oriented form.

@ghost ghost assigned quixotique Oct 19, 2012
@quixotique
Copy link
Member Author

This work was completed by the merge commit 8a1c0a3. The new service manifest field value "MeshMS2" replaces the prior "MeshMS1".

Three automated test cases were developed.

The Rhizome manifest code was not refactored as much as hoped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant