Class DataSourceGenerator

java.lang.Object
pro.taskana.common.test.config.DataSourceGenerator

public final class DataSourceGenerator extends Object
The DataSourceGenerator provides the proper DataSource for all Integration tests.

Additionally the property schemaName can be defined. If that property is missing, or the file doesn't exist the schemaName TASKANA will be used.

  • Method Details

    • getDataSource

      public static DataSource getDataSource()
    • getSchemaName

      public static String getSchemaName()
    • createDataSourceForH2

      public static DataSource createDataSourceForH2()