Skip to content

fix: migrate rating endpoints from ratings-api to reporting-api#3499

Open
aleixhub wants to merge 2 commits into
mainfrom
migrate-rating-endpoints-to-reporting-api
Open

fix: migrate rating endpoints from ratings-api to reporting-api#3499
aleixhub wants to merge 2 commits into
mainfrom
migrate-rating-endpoints-to-reporting-api

Conversation

@aleixhub

Copy link
Copy Markdown
Contributor

Eliminates direct DB dependency for rating endpoints by proxying through the reporting-api instead of the standalone ratings service.

  • Redirect GET/POST /api/ratings/request/{id} to reporting-api
  • Redirect GET /api/ratings/catalogitem/{uuid}/history to reporting-api
  • Add new GET /api/ratings/catalogitem/{uuid} (average rating) endpoint
  • Add new GET /api/ratings/list (paginated listing) endpoint
  • Use bearer token auth for all reporting-api calls
  • Remove unused provision and workshop rating endpoints from ratings service
  • Clean up unused schema imports (RatingProvisionCreateSchema, WorkshopRequestSchema)

aleixhub and others added 2 commits July 13, 2026 12:28
Eliminates direct DB dependency for rating endpoints by proxying
through the reporting-api instead of the standalone ratings service.

- Redirect GET/POST /api/ratings/request/{id} to reporting-api
- Redirect GET /api/ratings/catalogitem/{uuid}/history to reporting-api
- Add new GET /api/ratings/catalogitem/{uuid} (average rating) endpoint
- Add new GET /api/ratings/list (paginated listing) endpoint
- Use bearer token auth for all reporting-api calls
- Remove unused provision and workshop rating endpoints from ratings service
- Clean up unused schema imports (RatingProvisionCreateSchema, WorkshopRequestSchema)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…g-api

The catalog-manager operator was calling the ratings service directly
for catalog item average ratings. Now calls reporting-api with bearer
token auth and removes unused ratings_api config from Babylon class.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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