Matt Burgess created NIFI-8328:
----------------------------------

             Summary: Pass FlowFile attributes to RestLookupService
                 Key: NIFI-8328
                 URL: https://issues.apache.org/jira/browse/NIFI-8328
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: Matt Burgess


Currently RestLookupService's user-defined properties are used to define header 
values for the REST call, but they are determined when the controller service 
is enabled, and thus cannot use FlowFile attributes. This could be done when 
the lookup is performed, thereby allowing FlowFile attributes in the header 
property expressions.

Also the documentation is incorrect, it does not provide an Expression Language 
Scope so defaults to "None", but evaluateAttributeExpressions() is called on 
the user-defined properties. The documentation should match the behavior.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to