Skip to content

pagopa/pagopa-nodo-verifyko-to-tablestorage

Repository files navigation

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


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