chore(backend): rename lastSyncTimestamp to since across Ping sync API for consistency

- Updated parameter name in `PingController`, `PingApi`, and related tests to align with SyncManager conventions.
This commit is contained in:
2026-02-01 17:56:18 +01:00
parent 5ff720f875
commit 7401df11a6
4 changed files with 143 additions and 51 deletions
@@ -0,0 +1,33 @@
C4Container
title Container Diagram for Meldestelle System
Person(user, "User", "Meldestelle Staff")
System_Boundary(c1, "Meldestelle Platform") {
Container(webapp, "Single Page App / Desktop App", "Kotlin/Compose", "Provides UI for users")
Container(gateway, "API Gateway", "Spring Cloud Gateway", "Entry point, Routing, Resilience")
Container(ping_service, "Ping Service", "Spring Boot", "Handles Ping/Pong & Sync Tests")
ContainerDb(ping_db, "Ping DB", "PostgreSQL", "Stores Ping Events")
ContainerDb(valkey, "Cache", "Valkey (Redis)", "Session Store, Rate Limiting")
Container(consul, "Service Discovery", "Consul", "Service Registry")
Container(zipkin, "Tracing", "Zipkin", "Distributed Tracing")
}
System_Ext(keycloak, "Keycloak", "IAM")
Rel(user, webapp, "Uses", "HTTPS")
Rel(webapp, gateway, "API Requests", "JSON/HTTPS")
Rel(webapp, keycloak, "Auth", "OIDC")
Rel(gateway, ping_service, "Proxies", "HTTP")
Rel(gateway, consul, "Discover", "HTTP")
Rel(gateway, valkey, "Rate Limit", "Redis Protocol")
Rel(ping_service, ping_db, "Persist", "JDBC")
Rel(ping_service, zipkin, "Trace", "HTTP")
Rel(ping_service, consul, "Register", "HTTP")
@@ -0,0 +1,21 @@
C4Context
title System Context Diagram for Meldestelle System
Person(user, "Meldestelle User", "Nutzer der Web/Desktop App")
System_Boundary(meldestelle, "Meldestelle System") {
System(webapp, "Web/Desktop App", "Kotlin Multiplatform (Compose)", "Frontend für Benutzer")
System(gateway, "API Gateway", "Spring Cloud Gateway", "Routing, Auth, Rate Limiting")
System(ping, "Ping Service", "Spring Boot", "Tracer Bullet / Health Check Service")
System(keycloak, "Identity Provider", "Keycloak", "Authentifizierung & Autorisierung")
}
System_Ext(mail, "Mail Server", "SMTP", "Versendet E-Mails")
Rel(user, webapp, "Uses", "HTTPS")
Rel(webapp, gateway, "API Calls", "HTTPS/JSON (OAuth2)")
Rel(webapp, keycloak, "Authenticates", "OIDC")
Rel(gateway, ping, "Routes to", "HTTP")
Rel(gateway, keycloak, "Validates Token", "JWT")
UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="1")