You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ruben Laguna (Jira)" <ji...@apache.org> on 2020/12/16 09:07:00 UTC

[jira] [Commented] (NIFI-7922) Add support for GET request in ListenHTTP for health check

    [ https://issues.apache.org/jira/browse/NIFI-7922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250182#comment-17250182 ] 

Ruben Laguna commented on NIFI-7922:
------------------------------------

Is GET really supported? The [documentation|https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.12.1/org.apache.nifi.processors.standard.ListenHTTP/index.html] still say "Only HEAD and POST requests are supported. GET, PUT, and DELETE will result in an error and the HTTP response status code 405."

> Add support for GET request in ListenHTTP for health check
> ----------------------------------------------------------
>
>                 Key: NIFI-7922
>                 URL: https://issues.apache.org/jira/browse/NIFI-7922
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Peter Gyori
>            Assignee: Peter Gyori
>            Priority: Major
>             Fix For: 1.13.0
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> Add support for GET request in ListenHTTP processor, so that when put behind a load balancer, the LB can make a health check to verify that the service is available.
> The health check service should be available on <ListenHTTP_service_URI>/healthcheck.
> It should be available via the listening port specified in the processor's property, but it should optionally be configured to be available on a different port.
> Accessing the health check service via a dedicated port should use 1-way SSL at most, even if the main service uses 2-way SSL, since some load balancers do not support client certificate handling:
>  - If the processor is set not to use SSL, SSL should not be used on the health check port, either.
>  - If the processor is set to use one-way SSL, one-way SSL should be used on the health check port.
>  - If the processor is set to use two-way SSL, one-way SSL should be used on the health check port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)