This is an automated email from the ASF dual-hosted git repository. mattyb149 pushed a change to branch support/nifi-1.x in repository https://gitbox.apache.org/repos/asf/nifi.git
from 6af99af9eb NIFI-11843 Upgraded Box SDK from 4.1.0 to 4.2.0 add 03c8808897 NIFI-11845 Added support for migrating H2 2.1 and 1.4 to 2.2 No new revisions were added by this update. Summary of changes: nifi-h2/nifi-h2-database-migrator/pom.xml | 7 +- .../h2/database/migration/DatabaseExporter.java | 127 +++++++++++++++++++++ .../h2/database/migration/DatabaseRepackager.java | 110 ++++++++++++++++++ .../migration/DatabaseStatementRunner.java | 55 +++++++++ .../h2/database/migration/DatabaseVersion.java | 70 ++++++++++++ .../database/migration/DatabaseVersionReader.java | 110 ++++++++++++++++++ .../h2/database/migration/H2DatabaseMigrator.java | 107 ----------------- .../h2/database/migration/H2DatabaseUpdater.java | 86 ++++++-------- .../migration/DatabaseVersionReaderTest.java | 79 +++++++++++++ .../database/migration/TestH2DatabaseUpdater.java | 95 +++++++++------ .../test/resources/{ => 1.4}/nifi-flow-audit.mv.db | Bin .../src/test/resources/2.1/nifi-flow-audit.mv.db | Bin 0 -> 65536 bytes .../src/test/resources/2.2/nifi-flow-audit.mv.db | Bin 0 -> 33072 bytes .../pom.xml | 4 +- .../pom.xml | 6 +- nifi-h2/pom.xml | 3 +- 16 files changed, 658 insertions(+), 201 deletions(-) create mode 100644 nifi-h2/nifi-h2-database-migrator/src/main/java/org/apache/nifi/h2/database/migration/DatabaseExporter.java create mode 100644 nifi-h2/nifi-h2-database-migrator/src/main/java/org/apache/nifi/h2/database/migration/DatabaseRepackager.java create mode 100644 nifi-h2/nifi-h2-database-migrator/src/main/java/org/apache/nifi/h2/database/migration/DatabaseStatementRunner.java create mode 100644 nifi-h2/nifi-h2-database-migrator/src/main/java/org/apache/nifi/h2/database/migration/DatabaseVersion.java create mode 100644 nifi-h2/nifi-h2-database-migrator/src/main/java/org/apache/nifi/h2/database/migration/DatabaseVersionReader.java delete mode 100644 nifi-h2/nifi-h2-database-migrator/src/main/java/org/apache/nifi/h2/database/migration/H2DatabaseMigrator.java create mode 100644 nifi-h2/nifi-h2-database-migrator/src/test/java/org/apache/nifi/h2/database/migration/DatabaseVersionReaderTest.java rename nifi-h2/nifi-h2-database-migrator/src/test/resources/{ => 1.4}/nifi-flow-audit.mv.db (100%) create mode 100644 nifi-h2/nifi-h2-database-migrator/src/test/resources/2.1/nifi-flow-audit.mv.db create mode 100644 nifi-h2/nifi-h2-database-migrator/src/test/resources/2.2/nifi-flow-audit.mv.db copy nifi-h2/{nifi-h2-database => nifi-h2-database-v14}/pom.xml (96%) rename nifi-h2/{nifi-h2-database => nifi-h2-database-v21}/pom.xml (96%)