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

Bring HashContent inline with HashService and rename legacy components

    XMLWordPrintableJSON

Details

    Description

      As documented in NIFI-5147 and PR 2980, the HashAttribute processor and HashContent processor are lacking some features, do not offer consistent algorithms across platforms, etc.

      I propose the following:

      • Rename HashAttribute (which does not provide the service of calculating a hash over one or more attributes) to HashAttributeLegacy
      • Renamed CalculateAttributeHash to HashAttribute to make semantic sense
      • Rename HashContent to HashContentLegacy for users who need obscure digest algorithms which may or may not have been offered on their platform
      • Implement a processor HashContent with similar semantics to the existing processor but with consistent algorithm offerings and using the common HashService offering

      With the new component versioning features provided as part of the flow versioning behavior, silently disrupting existing flows which use these processors is no longer a concern. Rather, Any flow currently using the existing processors will either:

      1. continue normal operation
      1. require flow manager interaction and provide documentation about the change
      1. migration notes and upgrade instructions will be provided

      Attachments

        Issue Links

          Activity

            People

              alopresto Andy LoPresto
              alopresto Andy LoPresto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: