Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pagopa/pagopa-nodo-verifyko-to-tablestorage

Dumping verify payment on KO events from event-hub to Azure Table Storage
https://github.com/pagopa/pagopa-nodo-verifyko-to-tablestorage

pagopa-biz-events pagopa-nodo-dei-pagamenti pagopa-nodo-verify-ko

Last synced: about 18 hours ago
JSON representation

Dumping verify payment on KO events from event-hub to Azure Table Storage

Awesome Lists containing this project

README

        

# pagoPA Functions nodo-verifyko-to-tablestorage

Java nodo-verifyko-to-tablestorage Azure Function.
The function aims to dump verify KO event sent via Azure Event Hub to a CosmosDB, with a TTL of 120 days, and to an Azure Table Storage with a TTL of 10 years.

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=pagopa_pagopa-nodo-verifyko-to-tablestorage&metric=alert_status)](https://sonarcloud.io/dashboard?id=pagopa_pagopa-nodo-verifyko-to-tablestorage)

---

## Run locally with Docker
`docker build -t pagopa-functions-nodo-verifyko-to-tablestorage .`

`docker run -it -rm -p 8999:80 pagopa-functions-nodo-verifyko-to-tablestorage`

### Test
`curl http://localhost:8999/example`

## Run locally with Maven

`docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite`

`mvn clean package`

`mvn azure-functions:run`

### Test
`curl http://localhost:7071/example`

---