nifi/nifi-registry/nifi-registry-toolkit
tpalfy dfa683af0e
NIFI-8528 Migrate NiFi Registry into NiFi codebase (#5065)
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.
2021-05-26 09:34:55 -04:00
..
nifi-registry-toolkit-assembly NIFI-8528 Migrate NiFi Registry into NiFi codebase (#5065) 2021-05-26 09:34:55 -04:00
nifi-registry-toolkit-persistence NIFI-8528 Migrate NiFi Registry into NiFi codebase (#5065) 2021-05-26 09:34:55 -04:00
README.md NIFI-8528 Migrate NiFi Registry into NiFi codebase (#5065) 2021-05-26 09:34:55 -04:00
pom.xml NIFI-8528 Migrate NiFi Registry into NiFi codebase (#5065) 2021-05-26 09:34:55 -04:00

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

  1. Shutdown registry
  2. (Optional but recommended) Backup your registry by zipping/tarring the directory up
  3. Copy providers.xml -> providers-to.xml
  4. Edit providers-to.xml to reflect what you'd like to migrate to (e.g. git)
  5. In registry home as working directory, run persistence-toolkit.sh -t providers-to.xml
  6. Rename providers-to.xml -> providers.xml
  7. Start registry back up