https://github.com/josdem/status-catcher-service
Keep applications status in memory
https://github.com/josdem/status-catcher-service
github-actions gradle java junit5 spotless springdoc swagger
Last synced: 2 months ago
JSON representation
Keep applications status in memory
- Host: GitHub
- URL: https://github.com/josdem/status-catcher-service
- Owner: josdem
- Created: 2023-07-24T18:36:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T18:51:43.000Z (over 2 years ago)
- Last Synced: 2025-03-10T20:47:53.704Z (over 1 year ago)
- Topics: github-actions, gradle, java, junit5, spotless, springdoc, swagger
- Language: Java
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Status Catcher Service
----------------------------------------------
[](https://github.com/josdem/status-catcher/actions)
[](https://sonar.josdem.io/dashboard?id=com.josdem.catcher%3Astatus-catcher-service)
Is an API that keeps application status using [Spring Webflux Framework](https://docs.spring.io/spring/docs/current/spring-framework-reference/web-reactive.html) and [Junit5](https://junit.org/junit5/)
for testing.
#### To run tests
```bash
gradle test
```
#### To run a single test
```bash
gradle test --tests ${testName}
```
where:
- `${testName}` is your test name
#### To run the project
```bash
gradle bootRun
```
#### To enable interceptor filter
```bash
gradle bootRun -Dinterceptor.enabled=true
```
#### To run tests with Jacoco and Sonarqube
```bash
gradle jacocoTestReport sonar test
```
#### Swagger
http://localhost:8080/swagger-ui.html
#### Read this as reference
- https://josdem.io/techtalk/spring/spring_webflux_basics/
- https://josdem.io/techtalk/spring/spring_webflux_server/
- https://josdem.io/techtalk/java/junit5/