project-hatohol/hatohol — pull request #348 by kou (2014-08-08 04:16:49+00:00)
Title: [server][hapi][json] Support receiving event

JSON must be the following format:

{
"type": "event",
"body": {
{
"id": ,
"timestamp": ,
"hostName": ,
"message":
}
}
}

The format may be changed in the future. It is an experimental
specification.

TODO:

* Extract JSON message processing code (such as getting and
validating) as another class.