Class LiquibaseTestProducer


  • public class LiquibaseTestProducer
    extends LiquibaseProducer
    Override default Producer as we do not want to use liquibase in test env
    Author:
    maxence
    • Constructor Detail

      • LiquibaseTestProducer

        public LiquibaseTestProducer()
    • Method Detail

      • createConfig

        @Produces
        @Specializes
        public liquibase.integration.cdi.CDILiquibaseConfig createConfig()
        Liquibase configuration which indicates liquibase should not run
        Overrides:
        createConfig in class LiquibaseProducer
        Returns:
        the config
      • create

        @Produces
        @Specializes
        public liquibase.resource.ResourceAccessor create()
        Give liquibase access to our classloader
        Overrides:
        create in class LiquibaseProducer
        Returns:
        the classloader