Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagopa/pagopa-stand-in-manager
Manage business logic about ingress and egress from stand-in mode
https://github.com/pagopa/pagopa-stand-in-manager
pagopa-nodo-dei-pagamenti pagopa-stand-in
Last synced: 6 days ago
JSON representation
Manage business logic about ingress and egress from stand-in mode
- Host: GitHub
- URL: https://github.com/pagopa/pagopa-stand-in-manager
- Owner: pagopa
- Created: 2023-11-14T09:14:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T05:40:14.000Z (5 months ago)
- Last Synced: 2024-09-16T06:56:00.942Z (5 months ago)
- Topics: pagopa-nodo-dei-pagamenti, pagopa-stand-in
- Language: Java
- Homepage:
- Size: 283 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# StandIn Manager
[![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)Monitors the events of nodo-dei-pagamenti for station problems and activates/deactivates the standIn for that station.
---
## Technology Stack
- Java 11
- Spring Boot
- Spring Web
- Hibernate
- JPA
- ...
- TODO---
## Start Project Locally ๐
### Prerequisites
- docker
- cosmosdb emulator
- dataexplorer emulator### 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