This module provides an implementation of a generic DB data provider.
Prerequisites:
- Install MySql server 5.7.
- Import
automation.sql
dump. - Update
mysql-data-source.xml
with validconnection.url
,connection.username
andconnection.password
. - Create a separate maven run configuration for this particular module with the following goals:
clean test
Technical details:
- DB operations are managed via
Hibernate
ORM. - Users pool is managed by
vibur-object-pool
library. - Users' injections are handled by
AspectJ
library.
Please note that actual data is hardcoded, so you'll see expected assertion errors (one of them is random, depending on pulled user).