PagoPA service for citizen/corporate spontaneous payments
Spring application exposes API to manage the Spontaneous Payments.
See the OpenApi 3 here.
In local env typing following url on browser for ui interface:
http://localhost:8080/swagger-ui/index.html
or that for yaml
version
http://localhost:8080/v3/api-docs/
- Java 11
- Spring Boot
- Spring Web
- Hibernate
- JPA
- Spring cosmos api
- docker
- Cosmos emulator
Under main project folder typing :
docker-compose up --build
NOTE : before that compile
gpd
service withmvn clean package
command
If all right, eventually you'll see something like that:
...
...
mvn spring-boot:run -Dspring-boot.run.profiles=local
- git
- maven
- jdk-11
- docker
- cosmosdb emulator
The easiest way to develop locally is start only db container and run spring-boot application.
...
Launch the script in utilities
folder:
To start CosmosDB
sh cosmos_start.sh <port> <java_home>
To init db/containers
python cosmos_init_db.py
NOTE : install
pip install python-dotenv && pip install azure-cosmos
and copy env filecp .env.exmaple .env
Typing mvn clean verify
, if all right you'll see following stuffs
Todo
Todo
To emulate a paDemandPaymentNotice under utilities
folder typing :
sh paDemandPaymentNotice.sh
Made with ❤️ from PagoPa S.p.A.
See CODEOWNERS
file