Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagopa/pagopa-gpd-upload-function
Set of azure functions related to debt positions massive upload
https://github.com/pagopa/pagopa-gpd-upload-function
pagopa-gpd pagopa-gpd-upload
Last synced: 6 days ago
JSON representation
Set of azure functions related to debt positions massive upload
- Host: GitHub
- URL: https://github.com/pagopa/pagopa-gpd-upload-function
- Owner: pagopa
- License: mit
- Created: 2023-12-12T10:35:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T08:41:16.000Z (10 months ago)
- Last Synced: 2024-04-12T15:35:18.365Z (10 months ago)
- Topics: pagopa-gpd, pagopa-gpd-upload
- Language: Java
- Homepage:
- Size: 318 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# GPD Upload Functions
[![Code Review](https://github.com/pagopa/pagopa-gpd-upload-function/actions/workflows/code_review.yml/badge.svg)](https://github.com/pagopa/pagopa-gpd-upload-function/actions/workflows/code_review.yml)
[![Integration Tests](https://github.com/pagopa/pagopa-gpd-upload/actions/workflows/integration_test.yml/badge.svg)](https://github.com/pagopa/pagopa-gpd-upload/actions/workflows/integration_test.yml)A set of Azure functions related to debt positions massive upload.
## Functions
| Function | Trigger | Description |
|---------------------|--------------|-------------------------------------------|
| ValidationFunction | QueueTrigger | Validate Blob on CreatedEvent |
| ServiceFunction | QueueTrigger | Perform CRUD operations on debt-positions |---
## Run locally with Docker
`docker build -t pagopa-functions-template .``docker run -p 8999:80 pagopa-functions-template`
### Test
`curl http://localhost:8999/example`## Run locally with Maven and Azurite
Use the [Azurite](https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azurite?tabs=visual-studio%2Cblob-storage) emulator for local Azure Storage development
```
docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 \
mcr.microsoft.com/azure-storage/azurite
```
#### Maven
```
mvn clean package
mvn azure-functions:run
``````
mvn -f pom.xml clean package -Dmaven.test.skip=true && mvn -e azure-functions:run
```
### Test
`curl http://localhost:7071/example`---