Microservice to manage PagoPA Backoffice
See the OpenApi 3 here.
- Java 17
- Spring Boot
- Spring Web
- Hibernate
- JPA
- maven 3
- git
- maven
- jdk-17
Start the springboot application with this command:
mvn spring-boot:run -Dspring.profiles.active=local
👀 You need to put in your local environment some variables
An example local environment file could be found at ./docker/.env.local
To build & startup project locally use the following command:
see documentation here
If you have access to azure dev, you can use ./infra/sops.sh
script to decrypt ./infra/env/dev/encrypted_env
to
create a valid env file.
You need to have sops installed.
Running docker with local target will generate/overwrite a local .env file cloning the ./docker/.env.local
file
- local: to develop locally.
- 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
Made with ❤️ by PagoPa S.p.A.
See CODEOWNERS
file