Renders a Keycloak resilience status dashboard showing server availability, circuit breaker state, sync queue depth, active session statistics, and recent errors.
KEYCLOAKSTATUS — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — package name (uses active package if empty).Param2 — report type: "summary" (default), "detailed", or "sync_queue".Returns a self-contained HTML fragment with embedded CSS. Summary mode renders status cards for server availability, circuit breaker state, operating mode, and pending sync count, plus session statistics. Detailed mode adds timestamp metrics and embeds the sync queue view. The sync_queue mode renders a table of all pending, processing, and failed sync operations from sys_keycloak_sync_queue.
Requires ObjKeycloakResilient to be importable at render time. Queries sys_usersession for session statistics grouped by SessionType and AuthMode. The report includes inline CSS only — no external JS libraries. Generates a timestamp footer showing when the report was produced.