Github user pvillard31 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/389#discussion_r61487043
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpResponse.java
 ---
    @@ -169,6 +174,7 @@ public void onTrigger(final ProcessContext context, 
final ProcessSession session
                 return;
             }
     
    +        session.getProvenanceReporter().send(flowFile, 
flowFile.getAttribute(HTTP_REQUEST_URI), 
stopWatch.getElapsed(TimeUnit.MILLISECONDS));
    --- End diff --
    
    @markap14 Request URI will be the URI requested and handled at 
HandleHttpRequest level. If I set a HandleHttpRequest and a HandleHttpResponse, 
then I send a GET request to, let's say, http://<nifi>:80/test, then the 
Request URI will be /test.
    I definitely agree with you: we could add more details, but I was not sure 
about what we want to provide as information regarding the request that has 
been made initially. Should we use the IP address of the NiFi instance that 
received the request? Or information related to the client of the request?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to