mirror of https://github.com/apache/nifi.git
dfa683af0e
NIFI-8528 Migrate NiFi Registry fully codebase into NiFi as a module. No changes except certain dependency scopes to preserve the NiFi Registry original by overriding the new parent (nifi). - Version adjustments. Removed distinct checkstye rules form nifi-registry. (Using nifi's instead.) - Made some tests Windows-compatible. - Consolidated LICENSE, NOTICE and README.md. - Fixed CryptoKeyLoaderGroovyTest.groovy. - Disable frontend-maven-plugin on Windows. - Skipping all goals of the frontend-maven-plugin on Windows. - Registry integration tests not to run in github jobs (same as the original settings). Skip all registry tests (build and run) on Windows. - Removed Husky from registry. |
||
---|---|---|
.. | ||
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