org.openmetadata.service.migration.mysql.v117.Migration Maven / Gradle / Ivy
package org.openmetadata.service.migration.mysql.v117;
import static org.openmetadata.service.migration.utils.V114.MigrationUtil.fixTestSuites;
import static org.openmetadata.service.migration.utils.V117.MigrationUtil.fixTestCases;
import lombok.SneakyThrows;
import org.openmetadata.service.migration.api.MigrationProcessImpl;
import org.openmetadata.service.migration.utils.MigrationFile;
public class Migration extends MigrationProcessImpl {
public Migration(MigrationFile migrationFile) {
super(migrationFile);
}
@Override
@SneakyThrows
public void runDataMigration() {
// testcases coming from dbt for case-sensitive services are not properly linked to a table
fixTestCases(handle, collectionDAO);
// Try again the 1.1.6 test suite migration
fixTestSuites(collectionDAO);
}
}