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

[jira] [Created] (NIFI-10535) MiNiFi C2 Service - Remove heartbeat, config request content type restriction

Ferenc Erdei created NIFI-10535:
-----------------------------------

             Summary: MiNiFi C2 Service - Remove heartbeat, config request content type restriction
                 Key: NIFI-10535
                 URL: https://issues.apache.org/jira/browse/NIFI-10535
             Project: Apache NiFi
          Issue Type: Improvement
          Components: MiNiFi
            Reporter: Ferenc Erdei


h2. Background

The MiNiFi C2 Server now supports the C2 protocol, but the /config/heartbeat endpoint is tight to the acceptValue which causes incorrect behavior when using MiNiFi CPP.
h2. Task

We should find a way to serve the /config/heartbeat endpoint with different accept header types than the /config endpoint. Eg.: request heartbeats in JSON and configuration content in YAML (as this is the only supported configuration format atm. by agents)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)