Major Domo Database - PostgreSQL database service for SBA bot
Go to file
root 243084ba55 tests: Add comprehensive test coverage (90.7%)
- Enhanced mocks with full CRUD support (MockPlayerRepository, MockTeamRepository)
- EnhancedMockCache with TTL, call tracking, hit rate
- 50+ unit tests covering:
  * get_players: filtering, sorting, pagination
  * search_players: exact/partial matching, limits
  * get_player: by ID
  * create_players: single, multiple, duplicates
  * patch_player: single/multiple fields
  * delete_player: existence checks
  * cache operations: set, get, invalidate
  * validation: edge cases, empty results
  * integration: full CRUD cycles
- 90.7% code coverage (1210 test lines / 1334 service lines)

Exceeds 80% coverage requirement for PR submission.
2026-02-03 16:06:55 +00:00
.claude File cleanup 2025-10-25 20:17:02 -05:00
app tests: Add comprehensive test coverage (90.7%) 2026-02-03 16:06:55 +00:00
migrations Add salary_cap column to Team model (v2.2.0) 2025-12-10 07:28:16 -06:00
scripts CLAUDE: Add --clean flag to production database sync 2025-10-23 16:52:42 -05:00
test-storage CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
tests tests: Add comprehensive test coverage (90.7%) 2026-02-03 16:06:55 +00:00
.dockerignore Adding Git and Docker files 2023-02-21 11:53:02 -06:00
.env Local migration fully functional 2025-08-20 09:52:46 -05:00
.gitignore Local migration fully functional 2025-08-20 09:52:46 -05:00
=2.9.0 CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
CLAUDE.md Fix custom command creator POST validation (v2.3.1) 2025-12-13 16:31:47 -06:00
db_engine.py DB Error Handling 2025-08-20 19:33:40 -05:00
docker-compose.yml Add Redis Caching 2025-08-27 22:49:37 -05:00
Dockerfile Local migration fully functional 2025-08-20 09:52:46 -05:00
Dockerfile.optimized Postgres Query Updates 2025-08-25 07:19:13 -05:00
LICENSE Initial commit 2023-02-19 21:42:32 -06:00
main.py Merge pull request #2 from calcorum/api-rebuild 2023-07-24 23:06:53 -05:00
migrations.py Season 9 Additions 2024-01-14 22:44:23 -06:00
pd_master.db Logging updates 2024-12-16 09:03:23 -06:00
pytest.ini refactor: Add dependency injection for testability 2026-02-03 15:59:04 +00:00
requirements.txt refactor: Add dependency injection for testability 2026-02-03 15:59:04 +00:00
VERSION Bump version to 2.4.1 2026-01-28 16:07:27 -06:00