Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-97

NCM code needs to be refactored

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • Core Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: