Package com.totvs.tjf.migration
Class FlywayMigrationServiceStandard
java.lang.Object
com.totvs.tjf.migration.FlywayMigrationServiceStandard
- All Implemented Interfaces:
com.totvs.tjf.migration.context.FlywayMigrationService
,org.springframework.beans.factory.InitializingBean
public class FlywayMigrationServiceStandard
extends Object
implements com.totvs.tjf.migration.context.FlywayMigrationService, org.springframework.beans.factory.InitializingBean
Class responsible for migrating and creating schemas.
-
Constructor Summary
ConstructorsConstructorDescriptionFlywayMigrationServiceStandard
(DataSource dataSource, com.totvs.tjf.tenant.context.schema.SchemaUtils schemaUtils, com.totvs.tjf.migration.context.FlywayMigrationProperties properties, com.totvs.tjf.repository.context.aggregate.MultiDataSourceProperties multiTenant) -
Method Summary
-
Constructor Details
-
FlywayMigrationServiceStandard
public FlywayMigrationServiceStandard(DataSource dataSource, com.totvs.tjf.tenant.context.schema.SchemaUtils schemaUtils, com.totvs.tjf.migration.context.FlywayMigrationProperties properties, com.totvs.tjf.repository.context.aggregate.MultiDataSourceProperties multiTenant)
-
-
Method Details
-
getPredefinedSchemas
- Specified by:
getPredefinedSchemas
in interfacecom.totvs.tjf.migration.context.FlywayMigrationService
-
validateDynamically
- Specified by:
validateDynamically
in interfacecom.totvs.tjf.migration.context.FlywayMigrationService
-
migrate
- Specified by:
migrate
in interfacecom.totvs.tjf.migration.context.FlywayMigrationService
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-