use of org.apache.nifi.registry.bucket.BucketItem in project nifi-registry by apache.
the class JerseyItemsClient method getAll.
@Override
public List<BucketItem> getAll() throws NiFiRegistryException, IOException {
return executeAction("", () -> {
WebTarget target = itemsTarget;
final BucketItem[] bucketItems = getRequestBuilder(target).get(BucketItem[].class);
return bucketItems == null ? Collections.emptyList() : Arrays.asList(bucketItems);
});
}
Aggregations