Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagopa/pagopa-platform-authorizer-config
A microservice that provides a set of APIs to manage authorization records for the Authorizer system.
https://github.com/pagopa/pagopa-platform-authorizer-config
pagopa-platform-authorizer pagopa-shared
Last synced: about 15 hours ago
JSON representation
A microservice that provides a set of APIs to manage authorization records for the Authorizer system.
- Host: GitHub
- URL: https://github.com/pagopa/pagopa-platform-authorizer-config
- Owner: pagopa
- Created: 2023-08-04T09:23:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T05:44:04.000Z (5 months ago)
- Last Synced: 2024-09-16T06:57:50.151Z (5 months ago)
- Topics: pagopa-platform-authorizer, pagopa-shared
- Language: Java
- Homepage: https://pagopa.atlassian.net/wiki/spaces/IQCGJ/pages/763494490/Design+Review+Authorizer+Configurator
- Size: 278 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Template for Quarkus Microservice project
[![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)
## TODO List
- Add a description
- Generate an index with this tool: https://ecotrust-canada.github.io/markdown-toc/
- Find and solve all the TODOs in this template (e.g. in `.github` folder, `pom.xml` and so on)---
## API Documentation ๐
See the [OpenAPI 3 here.](https://editor.swagger.io/?url=https://raw.githubusercontent.com/pagopa/pagopa-platform-authorizer-config/main/openapi/openapi.json)---
## Technology Stack
- Java 17
- Quarkus
- other...
---## Running the infrastructure ๐
### Prerequisites
- docker
- docker-compose### Run docker container
The docker compose runs:
- ELK
- elasticsearch
- logstash
- [kibana](http://localhost:5601/)
- Monitoring
- alertmanager
- [prometheus](http://localhost:9090/),
- [grafana](http://localhost:3000/) (user: ```admin```, password: ```admin```)
- Tracing
- otel-collector
- [jaeger](http://localhost:16686/)To run locally, from the main directory, execute
`sh run-local-infra.sh `From `./docker` directory
`sh ./run_docker.sh local|dev|uat|prod`โน๏ธ 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
Add integration test in `.integration-test` and write here how to execute them#### Performance testing
Add performance test using [k6](https://k6.io/) in `.performance-test` and write here how to execute them (e.g. `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