Starting with new repository
|This is work-in-progress document for feature still in development!|
Most of the content was migrated to official document here.
The rest left in this document is mostly for developers.
Running tests with new repository
New repository has its own tests in
repo-sql-impl-test are not usable for new repository at all, but the module contains
support for running later integration tests with the new repository.
To run integration tests (e.g. from
story modules) with the new repo,
you have to enable Maven profile named
Under the hood it adds JVM argument
-Dtest.config.file=test-config-new-repo.xml for Surefire
and Failsafe test plugins.
This JVM argument also has to be used in IDEA run configurations for tests with new repository.
-Dmidpoint.repository.jdbc*=… arguments can be added to point to the non-default database.
test-config-new-repo.xml in midPoint project for the default values.
Dedicated Postgres database must be running just like for normal operation.