Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pagopa/pagopa-poc-micronaut

PoC micronaut microservice
https://github.com/pagopa/pagopa-poc-micronaut

pagopa-shared

Last synced: 6 days ago
JSON representation

PoC micronaut microservice

Awesome Lists containing this project

README

        

# POC Micronaut - Reporting Organization Enrollment

This project is a Micronaut application for the development of the microservice [ReportingOrgsEnrollment](https://github.com/pagopa/pagopa-reporting-orgs-enrollment).

The aim of this project is the feasibility assessment of referred microservice through Micronaut.

---
## Api Documentation ๐Ÿ“–
See the [OpenApi 3 here.](https://editor.swagger.io/?url=https://raw.githubusercontent.com/pagopa/pagopa-poc-micronaut/main/openapi/openapi.json)

---

## Technology Stack
- Java 11
- Micronaut
- [Azure Table Storage API](https://learn.microsoft.com/en-us/java/api/overview/azure/data-tables-readme?view=azure-java-stable)
---

## Start Project Locally ๐Ÿš€

### Prerequisites
- docker

### Run docker container

`docker-compose -f ./docker-compose-local.yml up -d`

---

## Develop Locally ๐Ÿ’ป

### Prerequisites
- git
- maven
- jdk-11

### Run the project

Start the springboot application with this command:

`mvn mn:run`

### 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