Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/musabbozkurt/brokerage-provider
PostgreSQL, Kafka, Zipkin, Prometheus, Grafana, and Redis Integrations with Spring Boot 3, Java 21 and Docker. Integration Tests with Testcontainers for Controller. Unit Tests for Controller, Service, and Mapper with Junit 5, and Mockito
https://github.com/musabbozkurt/brokerage-provider
docker-co flyway grafana java-21 junit5 kafka micrometer mockito postgresql prometheus spring-boot-3 spring-boot-starter-webflux springdoc-openapi testcontainers zipkin
Last synced: 30 days ago
JSON representation
PostgreSQL, Kafka, Zipkin, Prometheus, Grafana, and Redis Integrations with Spring Boot 3, Java 21 and Docker. Integration Tests with Testcontainers for Controller. Unit Tests for Controller, Service, and Mapper with Junit 5, and Mockito
- Host: GitHub
- URL: https://github.com/musabbozkurt/brokerage-provider
- Owner: musabbozkurt
- Created: 2024-02-26T08:34:07.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-26T08:57:02.000Z (11 months ago)
- Last Synced: 2024-11-09T21:45:00.557Z (3 months ago)
- Topics: docker-co, flyway, grafana, java-21, junit5, kafka, micrometer, mockito, postgresql, prometheus, spring-boot-3, spring-boot-starter-webflux, springdoc-openapi, testcontainers, zipkin
- Language: Java
- Homepage:
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Prerequisites
* `Java 21` should be installed --> `export JAVA_HOME=$(/usr/libexec/java_home -v 21)`
* `Docker` should be installed
* `Maven` should be installed
* `pgAdmin`/`DBeaver` can be installed (Optional)-----
### How to start the application
* First way
* Run [./scripts/run.sh](scripts%2Frun.sh) script
* Second way
* Run `docker-compose up -d` command to start the services
* Run `mvn clean install` or `mvn clean package`
* Run `mvn spring-boot:run` or `./mvnw spring-boot:run`-----
### How to test the application
* Swagger Url: http://localhost:8001/swagger-ui.html
* Actuator Url: http://localhost:8001/actuator
* Metric Url: http://localhost:8001/actuator/metrics
* Run `mvn test` command to run all the tests-----
### `docker-compose` contains the followings
* Kafka UI: http://localhost:9091/
* Zipkin: http://localhost:9411/
* Prometheus: http://localhost:9090/graph
* Grafana: http://localhost:3000/
* `Email or username: admin`
* `Password: admin`
* PostgreSQL DB connection details
* `POSTGRES_USER: postgres`
* `POSTGRES_PASSWORD: postgres`
* `Port: 5432`-----