Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pagopa/pagopa-wisp-converter-technical-support

A service that permits to handle converted WISP requests for technical support
https://github.com/pagopa/pagopa-wisp-converter-technical-support

pagopa-nodo-dei-pagamenti pagopa-wisp-converter

Last synced: about 18 hours ago
JSON representation

A service that permits to handle converted WISP requests for technical support

Awesome Lists containing this project

README

        

# Template for Java Spring Microservice project

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=TODO-set-your-id&metric=alert_status)](https://sonarcloud.io/dashboard?id=TODO-set-your-id)
[![Integration Tests](https://github.com/pagopa//actions/workflows/integration_test.yml/badge.svg?branch=main)](https://github.com/pagopa//actions/workflows/integration_test.yml)

TODO: add a description

TODO: generate a index with this tool: https://ecotrust-canada.github.io/markdown-toc/

TODO: resolve all the TODOs in this template

---

## Api Documentation ๐Ÿ“–

See the [OpenApi 3 here.](https://editor.swagger.io/?url=https://raw.githubusercontent.com/pagopa/pagopa-wisp-converter-technical-support/main/openapi/openapi.json)

---

## Technology Stack

- Java 11
- Spring Boot
- Spring Web
- Hibernate
- JPA
- ...
- TODO

---

## Start Project Locally ๐Ÿš€

### Prerequisites

- docker

### Run docker container

from `./docker` directory

`sh ./run_docker.sh local`

โ„น๏ธ Note: for PagoPa ACR is required the login `az acr login -n `

---

## Develop Locally ๐Ÿ’ป

### Prerequisites

- git
- maven
- jdk-11

### Run the project

Start the springboot application with this command:

`mvn spring-boot:run -Dspring-boot.run.profiles=local`

### Spring Profiles

- **local**: to develop locally.
- _default (no profile set)_: The application gets the properties from the environment (for Azure).

### Testing ๐Ÿงช

#### Unit testing

To run the **Junit** tests:

`mvn clean verify`

#### Integration testing

From `./integration-test/src`

1. `yarn install`
2. `yarn test`

#### Performance testing

install [k6](https://k6.io/) and then from `./performance-test/src`

1. `k6 run --env VARS=local.environment.json --env TEST_TYPE=./test-types/load.json main_scenario.js`

---

## Contributors ๐Ÿ‘ฅ

Made with โค๏ธ by PagoPa S.p.A.

### Mainteiners

See `CODEOWNERS` file