Chris Sampson created NIFI-13908:
------------------------------------
Summary: NiFi Toolkit shouldn't throw an error if a Policy is not
found (to be consistent with Registry)
Key: NIFI-13908
URL: https://issues.apache.org/jira/browse/NIFI-13908
Project: Apache NiFi
Issue Type: Improvement
Affects Versions: 2.0.0-M4
Reporter: Chris Sampson
The NiFi Toolkit's {{get-access-policy}} throws an Error if the wanted Policy
is not found for {{nifi}} (although it returns an empty result for the same
command in {{registry}}).
It would seem better to return an empty result for {{nifi}}, as it is valid for
an Access Policy to not yet exist for a resource & action, which can then be
created.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)