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

(Updated March 31, 2016, 3:36 a.m.)


Review request for Aurora and Bill Farner.


Repository: aurora


Description
-------

AURORA-1493: create ELB-friendly endpoint to detect leading scheduler. The fix 
is to add a new endpoint - "/leaderhealth" which returns http status code 200 
(OK) if the instance is the leader. If the instance is not the leader but a 
leading exists, returns 500 (Internal server error). If there is no leader at 
all, returns 503 (Service unavailable)


Diffs (updated)
-----

  src/main/java/org/apache/aurora/scheduler/http/LeaderHealth.java PRE-CREATION 
  src/test/java/org/apache/aurora/scheduler/http/LeaderHealthTest.java 
PRE-CREATION 

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


Testing
-------

Added new unit test


Thanks,

Ashwin Murthy

Reply via email to