Skip to content

Manage business logic about ingress and egress from stand-in mode

Notifications You must be signed in to change notification settings

pagopa/pagopa-stand-in-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2df8eb0 Β· Mar 20, 2025
Nov 14, 2023
Mar 20, 2025
Feb 5, 2024
Nov 14, 2023
Nov 14, 2023
Mar 20, 2025
Feb 12, 2024
Jan 12, 2024
Jan 11, 2024
Mar 20, 2025
Nov 14, 2023
Mar 20, 2025
Nov 14, 2023
Mar 20, 2025
Nov 14, 2023
Nov 14, 2023
Nov 14, 2023
Dec 19, 2023
Nov 27, 2023
Dec 5, 2023
Mar 20, 2025

Repository files navigation

StandIn Manager

Quality Gate Status Integration Tests

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 <acr-name>


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