Joseph Witt created NIFI-97:
-------------------------------

             Summary: NCM code needs to be refactored
                 Key: NIFI-97
                 URL: https://issues.apache.org/jira/browse/NIFI-97
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Joseph Witt


WebClusterManager is too complex.

Specific Refactorings include:

applyRequests has 4 different overridden signatures.  Instead, have a single 
applyRequest that takes a NodeRequest object perhaps with a builder.  This will 
include either an 'object entity' or 'map<string,string> parameters' as well 
ass an optional Set<NodeIdentifier> and should also include the URI and the 
HTTP method and headers.

MergeResponses.

Need to rename property 'nifi.cluster.manager.flow.retrieval.delay'.  It is no 
used any time that we request that a node retry later as well as when we retry 
to issue reconnection request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to