nifi/nifi-registry/nifi-registry-toolkit
exceptionfactory 972667461b
NIFI-10580 This closes #6867. Upgraded SLF4J from 1.7.36 to 2.0.6
- 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>
2023-01-23 11:38:10 -07:00
..
nifi-registry-toolkit-assembly NIFI-10580 This closes #6867. Upgraded SLF4J from 1.7.36 to 2.0.6 2023-01-23 11:38:10 -07:00
nifi-registry-toolkit-persistence NIFI-11041 Convert nifi-registry to use JUnit5 - Part 1 2023-01-20 14:23:23 -06:00
README.md NIFI-8528 Migrate NiFi Registry into NiFi codebase (#5065) 2021-05-26 09:34:55 -04:00
pom.xml NIFI-10854-RC1 prepare for next development iteration 2022-11-22 19:22:47 -07: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