Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagopa/pagopa-biz-pm-ingestion
Ingestion PM events to Biz+
https://github.com/pagopa/pagopa-biz-pm-ingestion
pagopa-biz-events
Last synced: 6 days ago
JSON representation
Ingestion PM events to Biz+
- Host: GitHub
- URL: https://github.com/pagopa/pagopa-biz-pm-ingestion
- Owner: pagopa
- Created: 2024-07-03T14:10:44.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-07T09:41:42.000Z (2 months ago)
- Last Synced: 2024-12-10T17:12:41.479Z (2 months ago)
- Topics: pagopa-biz-events
- Language: Java
- Homepage:
- Size: 407 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# PM Ingestion for Biz Events
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=pagopa-pagopa-biz-pm-ingestion&metric=alert_status)](https://sonarcloud.io/dashboard?id=pagopa-pagopa-biz-pm-ingestion)
[![Integration Tests](https://github.com/pagopa/pagopa-biz-pm-ingestion/actions/workflows/integration_test.yml/badge.svg?branch=main)](https://github.com/pagopa/pagopa-biz-pm-ingestion/actions/workflows/integration_test.yml)Micro-Service to ingest transaction from PM to BIZ Events
- [PM Ingestion for Biz Events](#pm-ingestion-for-biz-events)
* [Api Documentation ๐](#api-documentation---)
* [Technology Stack](#technology-stack)
* [Start Project Locally ๐](#start-project-locally---)
+ [Prerequisites](#prerequisites)
+ [Run docker container](#run-docker-container)
* [Develop Locally ๐ป](#develop-locally---)
+ [Prerequisites](#prerequisites-1)
+ [Run the project](#run-the-project)
+ [Spring Profiles](#spring-profiles)
+ [Testing ๐งช](#testing---)
- [Unit testing](#unit-testing)
- [Integration testing](#integration-testing)
- [Performance testing](#performance-testing)
* [Contributors ๐ฅ](#contributors---)
+ [Maintainers](#maintainers)---
## Api Documentation ๐
See the [OpenApi 3 here.](https://editor.swagger.io/?url=https://raw.githubusercontent.com/pagopa/pagopa-biz-pm-ingestion/refs/heads/main/openapi/openapi.json)
---
## Technology Stack
- Java 17
- Spring Boot
- Spring Web
- Hibernate
- JPA---
## 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.
### Maintainers
See `CODEOWNERS` file