Kevin Doran created NIFI-15784:
----------------------------------

             Summary: UploadRequestReplicator should copy all request request 
headers on replicated requests
                 Key: NIFI-15784
                 URL: https://issues.apache.org/jira/browse/NIFI-15784
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Kevin Doran
            Assignee: Kevin Doran


ConnectorRequestContext is used to provide NiFi API HTTP Request contextual 
information (such as headers) to the ConnectorConfigurationProvider, if 
configured.

When Connector Assets are uploaded, those requests use the 
StandardUploadRequestReplicator instead of the ThreadPoolRequestReplicator. 
Unlike the ThreadPoolRequestReplicator, the StandardUploadRequestReplicator 
does not copy all headers. 

There might be a good reason for this, but because 
ConnectorConfigurationProvider can manage assets referenced by the Connector's 
working configuration, the ConnectorRequestContext is incomplete for asset 
methods in ConnectorConfigurationProvider. 

This ticket is to explore and implement a solution.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to