You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2014/12/07 03:55:14 UTC

[jira] [Updated] (NIFI-97) NCM code needs to be refactored

     [ https://issues.apache.org/jira/browse/NIFI-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Witt updated NIFI-97:
----------------------------
    Component/s: Core Framework

> NCM code needs to be refactored
> -------------------------------
>
>                 Key: NIFI-97
>                 URL: https://issues.apache.org/jira/browse/NIFI-97
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            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)