Skip to content

Spring application to manage cache regarding Nodo dei Pagamenti db configuration

Notifications You must be signed in to change notification settings

pagopa/pagopa-api-config-cache

Repository files navigation

pagoPA API-Config Cache

Quality Gate Status

API-Config Cache aims to generate customized cache data stored on the Redis cache for the specific stakeholder needs.


API Documentation 📖

See the OpenApi 3 link.


Technology Stack

  • Java 11
  • Spring Boot
  • Spring Web
  • Hibernate
  • JPA
  • Redis

Start project locally 🚀 TODO

Prerequisites

  • docker

Run docker container

from ./docker directory

sh ./run_docker.sh dev

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

mvn spring-boot:start -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


Contributors 👥

Made with ❤️ by PagoPa S.p.A.

Mainteiners

See CODEOWNERS file