Andrew Luo created ATLAS-3508:
---------------------------------
Summary: API for getting the active instance as a HTTP status code
(503 or 200)
Key: ATLAS-3508
URL: https://issues.apache.org/jira/browse/ATLAS-3508
Project: Atlas
Issue Type: Improvement
Affects Versions: 2.0.0
Reporter: Andrew Luo
**Currently, Atlas exposes the active instance using the web API
/api/atlas/admin/status. However, this returns the status using a string
embedded in the body of the response rather than a HTTP error code. For
haproxy, this works but requires a sufficient buffer size for the response. On
the other hand, for certain proxies (envoy in particular), this is not
supported. This proposes to add a new API to return the status of the instance
as an HTTP error code: 200 for active, 503 for passive
--
This message was sent by Atlassian Jira
(v8.3.4#803005)