[
https://issues.apache.org/jira/browse/NIFI-4528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221436#comment-16221436
]
ASF GitHub Bot commented on NIFI-4528:
--
GitHub user jtstorck opened a pull request:
https://github.com/apache/nifi/pull/2228
NIFI-4528 The ref attribute in the request to view content sent by th…
…e client will now be inspected for the proxy context path. If found, it
will be removed so the request can be successfully made within the cluster.
To test this PR:
Start a NiFi cluster
Start a proxy that points to one of the nodes in the NiFi cluster
From the NiFi UI, create a flow with a GenerateFlowFile processor creating
text flowfiles sent to a downstream processor. No need to start the downstream
processor.
List the queue contents
Click the info icon of a flowfile in the queue
Click View
You should successfully see the content of the flowfile in the Content
Viewer UI.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jtstorck/nifi NIFI-4528
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/2228.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2228
commit 23d9249323a9ebcae1adef8db90d130bd41673de
Author: Jeff Storck
Date: 2017-10-26T23:16:43Z
NIFI-4528 The ref attribute in the request to view content sent by the
client will now be inspected for the proxy context path. If found, it will be
removed so the request can be successfully made within the cluster.
> Viewing content does not work when request made from proxy to a NiFi cluster
>
>
> Key: NIFI-4528
> URL: https://issues.apache.org/jira/browse/NIFI-4528
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
>Affects Versions: 1.4.0
>Reporter: Jeff Storck
>Assignee: Jeff Storck
>
> Viewing flowfile content from the UI does not work through a proxy to a NiFi
> cluster. The ref attribute contains the proxy context path information, but
> that attribute is used to make the request within the cluster, and fails.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)