Spring Application that exposes a subset of the APIs to manage configuration for EC/PSP on the Nodo dei Pagamenti, needed by PagoPA SelfCare application.
See the OpenApi 3 here.
- Java 17
- Spring Boot
- Spring Web
- Hibernate
- JPA
- docker
from ./docker
directory
sh ./run_docker.sh dev
ℹ️ Note: for PagoPa ACR is required the login az acr login -n <acr-name>
- git
- maven
- jdk-11
Start the springboot application with this command for local test:
mvn spring-boot:run -Dspring.profiles.active=local
or, for H2 tests:
mvn spring-boot:run -Dspring.profiles.active=h2
Using the spring profile local
, the Spring application connects to the H2 in-memory DB.
For access to H2 console, use this url: http://localhost:8080/h2-console/
- local: to develop locally, pointing to DEV database.
- h2: to develop locally, pointing to local H2 database.
- default (no profile set): The application gets the properties from the environment (for Azure).
To run the Junit tests:
mvn clean verify
From ./integration-test/src
yarn install
yarn test
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