refactored names of activable profiles
POM changed -> no activeByDefault profile
deleted a hardcoded dataSource.properties
refactored DataSourceProperties
formatted comments in SQL files in order to support HSQLDB
persistence tests associated with the @InTest profile
refactoring of:
- pom.xml: db.connectionUrl -> db.connectionUrlPrefix and db.name
- DataSourceProperties.java: renamed to DataSourcePropertyLoader, @Value annotations removed (did not work)
SQL files migrated to classes which implement SpringJdbcMigration
-> introduced a dynamic loading of these classes during tests via a net.sf.extcos library
added spring.profile.active setup for web app
because of tests (HSQLDB):
- DataSourceConfig split partly in MainDataSourceConfig and TestDataSourceConfig
- tests in MySQL pass
- tests in HSQLDB fail