Class MigrationUtil


  • public class MigrationUtil
    extends Object
    • Method Detail

      • updateFQNHashForEntity

        public static <T extends EntityInterface> void updateFQNHashForEntity​(org.jdbi.v3.core.Handle handle,
                                                                              Class<T> clazz,
                                                                              EntityDAO<T> dao,
                                                                              int limitParam)
      • updateFQNHashForEntityWithName

        public static <T extends EntityInterface> void updateFQNHashForEntityWithName​(org.jdbi.v3.core.Handle handle,
                                                                                      Class<T> clazz,
                                                                                      EntityDAO<T> dao,
                                                                                      int limitParam)
      • readAndProcessEntity

        public static <T extends EntityInterface> void readAndProcessEntity​(org.jdbi.v3.core.Handle handle,
                                                                            String updateSql,
                                                                            Class<T> clazz,
                                                                            EntityDAO<T> dao,
                                                                            boolean withName,
                                                                            int limitParam)
      • dataMigrationFQNHashing

        public static void dataMigrationFQNHashing​(org.jdbi.v3.core.Handle handle,
                                                   CollectionDAO collectionDAO,
                                                   int limitParam)
      • updateFQNHashTagUsage

        public static void updateFQNHashTagUsage​(CollectionDAO collectionDAO)
      • performSqlExecutionAndUpdate

        public static void performSqlExecutionAndUpdate​(org.jdbi.v3.core.Handle handle,
                                                        MigrationDAO migrationDAO,
                                                        List<String> queryList,
                                                        String version)
      • testSuitesMigration

        public static void testSuitesMigration​(CollectionDAO collectionDAO)
        Test Suites Migration in 1.0.x -> 1.1.4 1. This is the first time users are migrating from User created TestSuite to System created native TestSuite Per Table 2. Our Goal with this migration is to list all the test cases and create .testSuite with executable set to true and associate all of the respective test cases with new native test suite.
        Parameters:
        collectionDAO -