Timea Barna created NIFI-11327:
----------------------------------
Summary: Add Export/Import All - NiFi CLI - NiFi Registry
Key: NIFI-11327
URL: https://issues.apache.org/jira/browse/NIFI-11327
Project: Apache NiFi
Issue Type: Improvement
Reporter: Timea Barna
Assignee: Timea Barna
In NiFi Toolkit, in the CLI, we currently have the following commands available:
registry list-buckets
registry list-flows
registry list-flow-versions
registry export-flow-version
We should have a command registry export-all-flows that does the following:
List all the buckets, for each bucket, list all flows, for each flow, list all
versions and export each version. All files should be landing in a target
directory provided as an argument of the function.
We also current have the following commands:
registry create-bucket
registry create-flow
registry import-flow-version
We should have a commend registry import-all-flows that does the following:
It takes a directory as input (the one created by the export-all-flows
command), and goes through the files to create the corresponding buckets, flows
and flows versions.
The original author and flow id need to be kept.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)