mirror of
https://github.com/apache/nifi.git
synced 2025-02-06 18:18:27 +00:00
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.
1.5 KiB
1.5 KiB
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