A Java framework to support applications utilising CQRS and Event Sourcing architectures.
The Integraion Tests expect a running Postgres database, with the correct users and databases configured. The integration tests can be skipped if no local Postgres database is installed
To run with the Integration Tests then your postgress should be configured so, with the folowing user:
Parameter | Vaule |
---|---|
host | localhost |
port | 5432 |
username | framework |
password | framework |
You will then need to create three databases owned by the new framework user:
If you do not have access to a local posgres database then the Integration Tests can be skipped. To skip, set the following property when running Maven:
mvn clean install -Drun.it=false
Clone the following CJSCommonPlatform projects into the same directory level:
Run the install-dependencies.sh script from the microservice_framework directory. This will checkout and install the required versions of each project.
./install-dependencies.sh
mvn clean verify
Note: this will run the integration tests that require a running Postgres DB
mvn clean verify -Drun.it=false
Note: this will run only the unit tests of the project