Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagopa/pagopa-node-technical-support-worker
Worker for technical support about Nodo dei Pagamenti
https://github.com/pagopa/pagopa-node-technical-support-worker
pagopa-nodo-dei-pagamenti
Last synced: about 18 hours ago
JSON representation
Worker for technical support about Nodo dei Pagamenti
- Host: GitHub
- URL: https://github.com/pagopa/pagopa-node-technical-support-worker
- Owner: pagopa
- Created: 2023-04-29T09:19:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T07:14:42.000Z (10 months ago)
- Last Synced: 2024-04-12T14:29:52.295Z (10 months ago)
- Topics: pagopa-nodo-dei-pagamenti
- Language: Java
- Homepage:
- Size: 366 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Node tech support API
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=pagopa_pagopa-node-technical-support-worker&metric=alert_status)](https://sonarcloud.io/dashboard?id=pagopa_pagopa-node-technical-support-worker)
---
## API Documentation ๐
See the [OpenAPI 3 here.](https://editor.swagger.io/?url=https://raw.githubusercontent.com/pagopa/pagopa-node-technical-support-worker/main/openapi/openapi.json)---
## Technology Stack
- Maven
- Java 17
- Quarkus
---## Develop Locally ๐ป
### Prerequisites
- git
- maven
- jdk-11### Setup
With skdman,in terminal:`sdk install java 17.0.7-graal`
`sdk use java 17.0.7-graal`
or download **java 17.0.7-graal** and set as java home
### Build & Run (docker)
Build the image with`./build-and-run.sh build`
Needed env variables:
```
COSMOS_BIZ_ENDPOINT
COSMOS_BIZ_KEY
COSMOS_NEG_BIZ_ENDPOINT
COSMOS_NEG_BIZ_KEY
RE_TABLE_STORAGE_CONN_STRING
RE_COSMOS_CONNECTION_STRING
```
Run application with`./build-and-run.sh run`
### Generate openapi file
Generate openapi.json file in **./openapi/openapi.json**`./build-and-run.sh generate_openapi`
### Run the project
Run in development mode with command
`quarkus dev`### Quarkus Profiles
`dev` active in development
`test` active in tests
`openapi` active only for openapi generation
`prod` default for run
### Testing ๐งช
#### Unit testing
To run the **Junit** tests:
`mvn clean verify`
---
## Contributors ๐ฅ
Made with โค๏ธ by PagoPa S.p.A.### Mainteiners
See `CODEOWNERS` file