B23admin / b23-flowlib

0 stars 0 forks source link

FLOW-16 - add option to change flow versions for one or multiple process groups in NiFi #98

Closed v-allen closed 2 years ago

v-allen commented 2 years ago

This will update a process groups to either the latest version or a version specified for each process. This is due to a flow can be transferred in the registry but it doesn't update the NiFi flows. The option flag is "--change-version and tasks multiple strings of either "process_group:version" to change the flow to a specific older version or "process_group" which will change it to the latest version.

For example:

flowlib --change-version "process_group_1:2" "process_group_2" --nifi-endpoint http://172.17.0.1:8080 --container nifi-arm

The process_group_1 will be changes to version 2 in the NiFi flow and the process_group_2 will be changed to the latest version.