Skip to content

Fix card fetching to respect tarot-service page size limit#9

Merged
butvinm merged 1 commit intomasterfrom
fix-cards-pagination-error
Dec 24, 2025
Merged

Fix card fetching to respect tarot-service page size limit#9
butvinm merged 1 commit intomasterfrom
fix-cards-pagination-error

Conversation

@butvinm
Copy link
Member

@butvinm butvinm commented Dec 24, 2025

No description provided.

The tarot-service has a max page size of 50, but buildCardCache and
fetchCard were requesting all 78 cards at once, causing BAD_GATEWAY
errors. Changed to paginated fetching.

Also updated gateway-service.yml to use the new property path
spring.cloud.gateway.server.webflux.routes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

Code Coverage Report

Overall Project 78.43% -0.95% 🍏
Files changed 47.95%

Module Coverage
divination-service 76.23% -1.55%
Files
Module File Coverage
divination-service DivinationService.kt 92.86% 🍏
SpreadMapper.kt 32.91% -12.14%

@butvinm butvinm merged commit 0fc4de6 into master Dec 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant