I added a framework message event and post these events to the event bus. This pull request is for issue
I followed the pattern for existing events and and for the framework message class parameters I just used what is provided as part of the framework message (i.e. the executor ID, the slave ID and the message). Here's the case class:
For my own testing and inspecting events I created a simple HTTP endpoint application based on the Play Framework which can be used to receive and log POSTed JSON data. Here's the application: https://github.com/marc-barry/HTTP-JSON-Validator.
Just run the Play! application and configure Marathon to post messages to the endpoint:
The http_enpoints command line argument is just the endpoint of the Play! application which accepts and validates JSON.