How team-reboot-academy/super-strategy-service works
Super-Strategy Service is described as a trading-strategy service, but the sampled runtime and README expose only its health-reporting capability. The visible workflow is an HTTP health request, aggregated component checks, an overall status report, and a JSON response. The graph focuses on that implemented workflow; other strategy capabilities cannot be established from the available evidence.
Main entry points: HealthCheckService.java Health check service · HealthController.java Health controller · HealthResponseDto.java Health response DTO · SystemHealthReport.java Health report
Components 11
Health API
- Health controller
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/HealthController.java - Health response DTO
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/HealthResponseDto.java - Component DTO
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/ComponentHealthDto.java
Health orchestration
- Health use case
src/main/java/ru/omsu/superstrategyservice/health/core/port/in/GetHealthStatusUseCase.java - Health check service
src/main/java/ru/omsu/superstrategyservice/health/application/HealthCheckService.java
Health model
- Indicator port
src/main/java/ru/omsu/superstrategyservice/health/core/port/out/ComponentHealthIndicator.java - Health report
src/main/java/ru/omsu/superstrategyservice/health/core/model/SystemHealthReport.java - Component health model
src/main/java/ru/omsu/superstrategyservice/health/core/model/ComponentHealth.java - Health status types
src/main/java/ru/omsu/superstrategyservice/health/core/model
Health indicators
- Runtime self-check
src/main/java/ru/omsu/superstrategyservice/health/adapter/out/RuntimeSelfCheckAdapter.java
Other components
- HTTP caller
Connections 12
- HTTP caller → Health controller: requests health
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/HealthController.java - Health controller → Health use case: executes
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/HealthController.java - Health check service → Health use case: implements
src/main/java/ru/omsu/superstrategyservice/health/application/HealthCheckService.java - Health check service → Indicator port: checks indicators
src/main/java/ru/omsu/superstrategyservice/health/application/HealthCheckService.java - Runtime self-check → Indicator port: implements
src/main/java/ru/omsu/superstrategyservice/health/adapter/out/RuntimeSelfCheckAdapter.java - Runtime self-check → Component health model: returns status
src/main/java/ru/omsu/superstrategyservice/health/adapter/out/RuntimeSelfCheckAdapter.java - Health check service → Component health model: collects checks
src/main/java/ru/omsu/superstrategyservice/health/application/HealthCheckService.java - Health check service → Health report: creates report
src/main/java/ru/omsu/superstrategyservice/health/application/HealthCheckService.java - Health report → Health status types: derives status
src/main/java/ru/omsu/superstrategyservice/health/core/model/SystemHealthReport.java - Health controller → Health response DTO: maps report
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/HealthController.java - Health response DTO → Component DTO: maps components
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/HealthResponseDto.java - Health response DTO → Health report: reads report
src/main/java/ru/omsu/superstrategyservice/health/adapter/in/web/HealthResponseDto.java