Repository navigation
Tags: AlphaSudo/EventDebug
Tags
production-ready: apply all code review improvements Security: - Add API request limit caps (MAX_LIMIT=1000) on all list endpoints - Add HTTPS warning for Basic Auth in README and Security section - Add CORS warning comment to K8s ConfigMap wildcard origin Performance: - Replace long[] polling position with AtomicLong in LiveTailWebSocket - Use shared JsonUtil.mapper() in ExportEngine instead of per-instance ObjectMapper Architecture: - PgEventStoreReader now implements AutoCloseable for try-with-resources support - Replace System.out emoji in ServeCommand with SLF4J log statements Docker / Kubernetes: - Remove obsolete 'version: 3.8' from docker-compose.yml - Add app container health check (curl /api/health) to docker-compose.yml - App now waits for postgres+kafka health before starting (condition: service_healthy) - Add K8s resource limits/requests (cpu: 100m-500m, memory: 256Mi-512Mi) - Add K8s readiness + liveness HTTP probes targeting /api/health - Change imagePullPolicy from Always to IfNotPresent Project files: - Add LICENSE (MIT) - Add CHANGELOG.md (v1.0.0 release notes) - Add CONTRIBUTING.md (build, test, code-style, PR guide) - Remove unused Dockerfile.runtime Documentation (README): - Update docker-compose commands to modern 'docker compose' (no hyphen) - Document health-check startup delay for first run (~15-30s) - Add HTTPS requirement note for Basic Auth - Document 1,000 record API limit with pagination guidance - Add Project Info table linking LICENSE, CHANGELOG, CONTRIBUTING, example config