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 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

      DatabaseChangeLog deserializeChangelog(String sigla, String json)
    • generateChangelog

      DatabaseChangeLog generateChangelog(String sigla, List<PadraoChangesetDTO> dtos, LiquibaseServiceImpl.DatabaseType databaseType)