-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17255/
-----------------------------------------------------------

(Updated Jan. 30, 2014, 10:13 p.m.)


Review request for mesos, Benjamin Hindman and Jeff Currier.


Bugs: https://issues.apache.org/jira/browse/MESOS-880
    
https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/MESOS-880


Repository: mesos-git


Description
-------

Add observe endpoint to master.

    This changes adds a new HTTP endpoint of observe to master.
    This allows clients to report health via an HTTP POST.
    Values are:
      MONITOR = Monitor for which health is being reported.
      HOSTS = Comma seperated list of hosts.
      LEVEL = OK for healthy, anything else for unhealthy.

    This also contains a small fix to alphabetize the existing
    endpoints / help strings.

    SEE:  https://issues.apache.org/jira/browse/MESOS-880

    Review: https://reviews.apache.org/r/17255


Diffs (updated)
-----

  src/Makefile.am c30706846bca1fa3287291e39f46a23713ad1ba4 
  src/master/http.cpp fb15483953a593bfec4e60884219dc8c4e8d565c 
  src/master/master.hpp 7649737283f5f5d786ac40504e943a3be4c1d62b 
  src/master/master.cpp 77872ece66601043ddeb280cceba5a7676e8a6be 
  src/tests/health_tests.cpp PRE-CREATION 

Diff: https://reviews.apache.org/r/17255/diff/


Testing (updated)
-------

make check
added unit tests in a new health_test.cpp file


Thanks,

Charlie Carson

Reply via email to