[
https://issues.apache.org/jira/browse/NIFIREG-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240456#comment-16240456
]
ASF GitHub Bot commented on NIFIREG-47:
---------------------------------------
Github user markap14 commented on a diff in the pull request:
https://github.com/apache/nifi-registry/pull/33#discussion_r149114864
--- Diff:
nifi-registry-client/src/main/java/org/apache/nifi/registry/client/impl/JerseyBucketClient.java
---
@@ -140,7 +150,8 @@ public Fields getFields() throws NiFiRegistryException,
IOException {
target = target.queryParam("sort", sortParam.toString());
}
- return Arrays.asList(target.request().get(Bucket[].class));
+ return getRequestBuilder(target).get(List.class);
--- End diff --
I think this should be done as above in the other getAll() call no? Getting
a Bucket[] and then returning emptyList or Arrays.asList?
> Add ability to specify proxied user in nifi-registry-client
> -----------------------------------------------------------
>
> Key: NIFIREG-47
> URL: https://issues.apache.org/jira/browse/NIFIREG-47
> Project: NiFi Registry
> Issue Type: Improvement
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Trivial
>
> We need to be able to specify an optional proxied user per operation in the
> nifi-registry-client.
> For example, NiFi will make a call using the server certificate, but wants to
> retrieve all of the buckets on behalf of an end user in NiFi.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)