mirror of https://github.com/apache/nifi.git
62eb565daf
This closes #5694 Signed-off-by: Paul Grey <greyp@apache.org> |
||
---|---|---|
.. | ||
nifi-registry-toolkit-assembly | ||
nifi-registry-toolkit-persistence | ||
README.md | ||
pom.xml |
README.md
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