To run tests execute: mvn clean install
To see the coverage reports, go to /target/site/jacoco/index.html.
This project includes the persistent layer, as offered by the FénixFramework. This part of the project requires to create databases in mysql as defined in esources/fenix-framework.properties of each module.
See the lab about the FénixFramework for further details.
To use a containerized version of mysql, follow these stesp:
docker-compose -f local.dev.yml up -d docker exec -it mysql sh
Once logged into the container, enter the mysql interactive console
mysql --password
And create the 6 databases for the project as specified in the esources/fenix-framework.properties.
To launch a server execute in the module's top directory: mvn clean spring-boot:run
To launch all servers execute in bin directory: startservers
To stop all servers execute: bin/shutdownservers
To run jmeter (nogui) execute in project's top directory: mvn -Pjmeter verify. Results are in target/jmeter/results/, open the .jtl file in jmeter, by associating the appropriate listeners to WorkBench and opening the results file in listener context