mirror of
https://github.com/apache/nifi.git
synced 2025-02-09 11:35:05 +00:00
- Upgraded Logback from 1.2.11 to 1.3.5 - Updated Logback DelayingShutdownHook to DefaultShutdownHook - Disabled Spring Boot Logging System in favor of standard Logback initialization - Excluded logback-classic from ZooKeeper and other dependencies to avoid conflicts when running tests - Excluded spring-boot-starter-logging to avoid failures related to Logback 1.2 and Spring Boot 2.7 - Removed ZooKeeperMigratorTest.groovy based on Apache Curator test server usage of Logback 1.2 NIFI-10580 Added logback-core as explicit dependency - Set logback-core as provided in root configuration - Added logback-core as compile dependency in assembly configurations Signed-off-by: Joe Witt <joewitt@apache.org>
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