Apache NiFi Registry Toolkit
This submodule is a landing zone for command line utilities that can be used for maintenance/automation of registry actions.
It currently only contains a migration tool for changing flow persistence providers.
Build
mvn clean install
Flow Persistence Provider migrator usage
- Shutdown registry
- (Optional but recommended) Backup your registry by zipping/tarring the directory up
- Copy providers.xml -> providers-to.xml
- Edit providers-to.xml to reflect what you'd like to migrate to (e.g. git)
- In registry home as working directory, run persistence-toolkit.sh -t providers-to.xml
- Rename providers-to.xml -> providers.xml
- Start registry back up