Package br.com.davinti.vitruvio.spi
Interface LiquibaseService
- All Known Implementing Classes:
LiquibaseServiceImpl
public interface LiquibaseService
Serviço de migrations de bancos de dados.
Utilizado para sincronização entre clientes do produto padrão.
- Author:
- Tiago Inaba
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyMigrations(DatabaseChangeLog databaseChangeLog) voidapplyMigrations(DatabaseChangeLog databaseChangeLog, String logTableName) DatabaseChangeLogdeserializeChangelog(String sigla, String json) DatabaseChangeLoggenerateChangelog(String sigla, List<PadraoChangesetDTO> dtos, LiquibaseServiceImpl.DatabaseType databaseType) serializeChangelog(String sigla, List<PadraoChangesetDTO> dtos, LiquibaseServiceImpl.DatabaseType databaseType)
-
Method Details
-
applyMigrations
void applyMigrations(DatabaseChangeLog databaseChangeLog) throws LiquibaseException - Throws:
LiquibaseException
-
applyMigrations
void applyMigrations(DatabaseChangeLog databaseChangeLog, String logTableName) throws LiquibaseException - Throws:
LiquibaseException
-
serializeChangelog
String serializeChangelog(String sigla, List<PadraoChangesetDTO> dtos, LiquibaseServiceImpl.DatabaseType databaseType) throws IOException - Throws:
IOException
-
deserializeChangelog
-
generateChangelog
DatabaseChangeLog generateChangelog(String sigla, List<PadraoChangesetDTO> dtos, LiquibaseServiceImpl.DatabaseType databaseType)
-