Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagopa/pagopa-api-config-cache
Spring application to manage cache regarding Nodo dei Pagamenti db configuration
https://github.com/pagopa/pagopa-api-config-cache
pagopa-apiconfig
Last synced: 6 days ago
JSON representation
Spring application to manage cache regarding Nodo dei Pagamenti db configuration
- Host: GitHub
- URL: https://github.com/pagopa/pagopa-api-config-cache
- Owner: pagopa
- Created: 2023-02-20T15:07:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T22:30:00.000Z (about 2 months ago)
- Last Synced: 2024-12-18T23:22:14.767Z (about 2 months ago)
- Topics: pagopa-apiconfig
- Language: HCL
- Homepage:
- Size: 1.58 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# pagoPA API-Config Cache
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=pagopa_pagopa-api-config-cache&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=pagopa_pagopa-api-config-cache)
API-Config Cache aims to generate customized cache data stored on the Redis cache for the specific stakeholder needs.
- [Technology Stack](#technology-stack)
- [Start project locally ๐ `TODO`](#start-project-locally-----todo-)
* [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)
- [Contributors ๐ฅ](#contributors---)
* [Mainteiners](#mainteiners)---
## API Documentation ๐
See the OpenApi 3 [link](https://editor.swagger.io/?url=https://raw.githubusercontent.com/pagopa/pagopa-api-config-cache/main/openapi/openapi.json).
---
## 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 `
---
## 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