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

Enhance InvokeHTTP process - Send content through body variable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.15.3
    • None
    • Core Framework
    • None

    Description

      Hey,

      could you please implement an attribute in the InvokeHTTP processor where the processor sends a "body attribute" as raw content instead of the current content triggering an InvokeHTTP processor.

      The process of sending JSON files through the processor currently is:
      1. ReplaceText with content if needed

      2. Call Invoke HTTP

      3. Read Reponse variable or the new content created

      3. ReplaceText with enriched content

      Yes I know in Nifi 1.16 there is are two new processor for enrichment which needs then to be merged again. However, by working with a lot of RESTful services its quite a pain always to replace the content. The data lineage and provenance increases a lot as well.

      imho better process in some use case:

      1. InvokeHTTP with attibute as body
      2. Read the "original" route instead of the response and read response adde attribute. (feature already available)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              djakupovic Denis Jakupovic
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: