Github user pvillard31 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/389#discussion_r61540826
--- 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 Would you agree with a URI as below?
< http|https >://< ip client >@<ip server>:< port >/< target >
That would give something like:
http://[email protected]:/test
This way, the URI could be the same on both HandleHttpRequest and
HandleHttpResponse. What do you think?
I can fix URI in both processors using this JIRA (with an update) or open a
new one.
---
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.
---