Commit 041c1cb
authored
Ps009 (#11)
* feat: implement datadragon and player sync
1. Data Dragon Service - Busca dados estáticos da Riot
2. Região Configurável - Não mais hardcoded, usa player.region
3. Champion Mapping - Funcionando corretamente agora
4. 8 Novos API Endpoints - Para dados da Riot
5. 5 Rake Tasks - Gerenciamento de cache e sync
6. Suite de Testes - Criada para SyncPlayerFromRiotJob
* chore: add admin bypass ruleset
* feat(players): extract riot sync service
- Create Players::Services::RiotSyncService
- Extract Riot API logic from controller
- Support import, sync, search operations
- Add retry logic for better success
* feat(players): extract stats service
- Create Players::Services::StatsService (90 lines)
- Extract statistics calculation
- Calculate win rate, KDA, recent form
- Make stats reusable and testable
* refactor(players): migrate controller to module
- Move to Players::Controllers namespace
- Reduce from 750 to 350 lines (-53%)
- Use services for business logic
- Create proxy for backwards compatibility
* refactor(players): migrate serializers and jobs
- Move serializers to Players module
- Move jobs to Players module
- Organize all players domain code
* refactor(auth): migrate authentication module
- Move AuthController to module
- Move User and Organization serializers
- JwtService already in module
- Create proxy controller
* refactor: migrate matches, schedules, team goals
- Migrate 3 core business modules
- Organize by domain functionality
- Create proxies for all
* refactor: migrate analytics module
- Migrate 7 analytics controllers
- Organize performance analysis
- Maintain namespace structure
* refactor: migrate scouting module
- Migrate scouting controllers
- Move serializers and jobs
- Organize talent discovery
* refactor: migrate riot integration
- Migrate 2 Riot controllers
- Move 2 services to module
- Consolidate Riot API functionality
* refactor: migrate vod reviews and dashboard
- Migrate VOD Reviews (2 controllers)
- Migrate Dashboard module
- Organize video review features
* refactor: migrate dashboard to modular arc
- Migrate Dashboard module
* docs: finalize migration and update gitignore
- Update gitignore for backups
- Complete modular architecture migration1 parent 11bb663 commit 041c1cb
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
| 237 | + | |
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
244 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
0 commit comments