Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Mar 16, 2022
1 parent 730f82f commit d241478
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
+ [Prerequisites](#prerequisites-1)
+ [Run the project](#run-the-project)
* [Testing 🧪](#testing---)
- [Unit testing](#unit-testing)
- [Integration testing](#integration-testing)
- [Load testing](#load-testing)
+ [Prerequisites](#prerequisites-2)
+ [Unit testing](#unit-testing)
* [Mainteiners 👨‍💻](#mainteiners------)

---
Expand All @@ -21,13 +20,24 @@
- Java 11
- Azure functions

Canone Unico consists of 3 Azure functions:

- **CuCsvParsing** validates and parse the CSV content in the blob storage
- **CuCreateDebtPosition** calls [GPD](https://github.com/pagopa/pagopa-debt-position) service to create a debt position
for each element in the CSV
- **CuGenerateOutputCsv** every day creates a report in the blob storage

![schema]()


---

## Start Project Locally 🚀

### Prerequisites

- docker
- Docker
- (Optional) Python 3

### Run docker container

Expand All @@ -37,6 +47,8 @@ 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 💻
Expand All @@ -47,6 +59,7 @@ docker run -t canone-unico
- [Azurite](https://docs.microsoft.com/it-it/azure/storage/common/storage-use-azurite?tabs=visual-studio)
- create a `local.setting.json` file (see: `local.setting.json.example`)
- (Optional) [Azure Storage Explorer](https://azure.microsoft.com/it-it/features/storage-explorer/)
- (Optional) Python 3

### Run the project

Expand All @@ -56,6 +69,8 @@ Under root folder typing:

---

_NOTE: to create a **GPD mock** run in the mock directory:_ `python gpd.py`

## Testing 🧪

### Prerequisites
Expand All @@ -67,7 +82,7 @@ Under root folder typing:

### Unit testing

Under `payments` folder typing:
Under root folder typing:

`mvn clean verify`

Expand Down
Binary file added docs/schema-infrastructure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d241478

Please sign in to comment.