You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2024/08/27 16:11:00 UTC
[jira] [Created] (NIFI-13684) Set Runtime Cluster Status Response Code based on Connection
David Handermann created NIFI-13684:
---------------------------------------
Summary: Set Runtime Cluster Status Response Code based on Connection
Key: NIFI-13684
URL: https://issues.apache.org/jira/browse/NIFI-13684
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Reporter: David Handermann
Assignee: David Handermann
Recent improvements to the bootstrap and runtime process handling including the introduction of an HTTP management server to return application health and status.
The {{/health/cluster}} path returns different status values based on cluster connection status, but the initial implementation returns HTTP 200 regardless of the connection status. This behavior should be changed to return more specific HTTP response codes for unhealthy connection states, such that connected and connecting status continue to return HTTP 200, but other states return an error code of HTTP 503.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)