Package pro.taskana.common.test.config
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSourcecreateDataSourceForH2()static DataSourcegetDataSource()static StringgetSchemaName()
-
-
-
Method Detail
-
getDataSource
public static DataSource getDataSource()
-
getSchemaName
public static String getSchemaName()
-
createDataSourceForH2
public static DataSource createDataSourceForH2()
-
-