CJSCommonPlatform / microservice_framework_version_6

A Java framework to support applications utilising CQRS and Event Sourcing architectures
Other
23 stars 33 forks source link
cqrs event-sourcing framework java jee jee7 messaging

Microservice Framework

Build Status Coverage Status

A Java framework to support applications utilising CQRS and Event Sourcing architectures.

Modules

Integration Tests

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:

Skipping Integration Tests

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

How to build and deploy locally without access to build repository

Project dependencies

Clone the following CJSCommonPlatform projects into the same directory level:

Run dependency installation script

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

Finally build and verify the Microservice Framework.

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