A service that permits to handle nodoInviaRPT and nodoInviaCarrelloRPT request from WISP, interfacing them with GPD system
See the OpenApi 3 here.
- Java 17
- Spring Boot
- Hibernate
- Azure CosmosDB
- Redis Cache
- Maven
- JDK17
In order to get the latest updated sources and to correctly execute the application, it is necessary to
generate the source classes from WSDL and XSD definition. For doing so, move in scripts
folder and
execute the following command:
sh update-specs.sh
After the execution, the newly generated classes are added in target/generated-sources/jaxb
folder.
The application now can be run and all the class references are correctly resolved.
Start the Spring Boot application with this command:
mvn spring-boot:run -Dspring-boot.run.profiles=local
To run the Junit tests:
mvn clean verify
For automatic execution of simple tests for checking the correct workflow between the various components, execute the
following commands from ./integration-test/system-test
:
sh run.sh dev TESTCASE SUBKEY
A more wide information about this test can be found in Readme file in the same folder.
For classical integration tests with Cucumber, execute the following commands from ./integration-test/cucumber/src
:
yarn install
yarn test
A report with the results will appears at this link.
install k6 and then from ./performance-test/src
k6 run --env VARS=local.environment.json --env TEST_TYPE=./test-types/load.json main_scenario.js
Made with ❤️ by PagoPa S.p.A.
See CODEOWNERS
file