Skip to content

pagopa/pagopa-canone-unico

Repository files navigation

Canone Unico


Technology Stack 📚

  • Java 11
  • Azure functions

Canone Unico consists of 3 Azure functions:

  • CuCsvParsing validates and parses the CSV content in the input blob storage
  • CuCreateDebtPosition calls GPD service to create a debt position for each element in the queue
  • CuGenerateOutputCsv every day creates a report in the output blob storage

schema


Start Project Locally 🚀

Prerequisites

  • Docker
  • [Optional] Python 3 (required for GPD mock service)

Run docker container

Under root folder typing:

docker run -t canone-unico

NOTE: to create a GPD mock run in the mock directory: python gpd.py


Develop Locally 💻

Prerequisites

Run the project

Under root folder typing:

mvn azure-functions:run


NOTE: to create a GPD mock run in the mock directory: python gpd.py

Testing 🧪

Prerequisites

  • maven

Unit testing

Under root folder typing:

mvn clean verify


Mainteiners 👨‍💻

See CODEOWNERS file