Commit Graph
8 Commits
Author SHA1 Message Date
lobo 22bc036c9c fix(security): close the Steam test endpoint, /internal and Prometheus to the public
/api/steam/test/{steamId} let anyone query any Steam profile with our API key. /internal/** had no controller but was open for any future one. Actuator now exposes only health, without details. The management block was also indented under endpoints, so show-details never applied.
2026-09-24 10:24:34 +02:00
Andreas Dahm f8d39bcda6 Changed from JWT token to public/privat key 2026-05-12 08:57:12 +02:00
Andreas Dahm fb3a5140b8 Added more insight to the games of a user
Build, Test & Push Core Service / quality-check (push) Failing after 9s
Build, Test & Push Core Service / docker (push) Has been skipped
2026-05-04 15:14:25 +02:00
Andreas Dahm 9d8bb674d6 Added new endpoints to sync the list of games from steam if a user logged in.
Build, Test & Push Core Service / quality-check (push) Failing after 31s
Build, Test & Push Core Service / docker (push) Has been skipped
2026-05-04 11:47:26 +02:00
lobo 2e3896b00d Add owned-games DTO and full profile support
Build, Test & Push Core Service / quality-check (push) Successful in 10s
Build, Test & Push Core Service / docker (push) Successful in 1m44s
Introduce SteamOwnedGamesResponse and SteamProfileAndGamesResponse DTOs and extend SteamApiService with getOwnedGames(...) and getFullPlayerProfile(...) to fetch and combine player summary and owned games. Update SteamTestController to return the combined profile/games response. Remove redundant Steam service URL entries from application.yml. Add SteamApiServiceTest to cover player summary, owned games (including null fields), and the combined profile flow; service falls back to empty lists on errors.
2026-04-19 15:15:15 +02:00
lobo bba756728d Add Steam API client, service, controller
Build, Test & Push Core Service / quality-check (push) Successful in 9s
Build, Test & Push Core Service / docker (push) Successful in 1m44s
Introduce Steam integration: add SteamClientConfig (RestClient bean), SteamApiService (calls GetPlayerSummaries and returns a Player DTO), SteamPlayerSummaryResponse DTO, and SteamTestController (/api/steam/test/{steamId}) for quick testing. Update SecurityConfig to permit the test endpoint and adjust the SecurityFilterChain bean signature. Add Steam API settings: base-url in application.yml and a dev API key in application-dev.yml. Includes basic error logging and optional response handling when no player is found.
2026-04-19 11:38:31 +02:00
lobo 04dcab45da Initial project setup: CI, Docker & configs
Build, Test & Push Core Service / quality-check (push) Successful in 42s
Build, Test & Push Core Service / docker (push) Successful in 2m4s
Add project bootstrap for build, CI/CD, and local development. Introduces Maven Wrapper (mvnw, mvnw.cmd, .mvn/wrapper), multi-stage Dockerfile, docker-compose files (compose.yaml, docker-compose.dev.yml), .env, banner and README. Adds Gitea Actions workflow to build, test and push container images. Update application.yml (port -> 8090, virtual threads, API versioning, management/actuator/prometheus settings, Steam API config) and add application-dev.yml for local overrides. Extend pom.xml with caching, observability (actuator, micrometer/prometheus), testing/dev dependencies (testcontainers, devtools, additional spring test modules) to support CI and local testing.
2026-04-19 10:44:29 +02:00
lobo a941000425 Initial commit 2026-04-18 12:08:17 +02:00