Skip to content

Conversation

asadaaron
Copy link
Collaborator

This PR introduces changes from the feat-add-basic-platform-kpi-#428 branch.

📝 Summary

📁 Files Changed ( 4 files)

apps/backend/src/rhesis/backend/app/routers/__init__.py
apps/backend/src/rhesis/backend/app/routers/auth.py
apps/backend/src/rhesis/backend/app/routers/kpi.py
apps/backend/src/rhesis/backend/app/services/kpi_service.py

📋 Commit Details

b4a13506 - feat: add KPI service and router for platform metrics (Md Asaduzzaman Miah, 2025-09-29 10:46)

✅ Checklist

  • Code follows the project's style guidelines
  • Self-review of code has been performed
  • Code is commented, particularly in hard-to-understand areas
  • Corresponding changes to documentation have been made
  • Tests have been added/updated for new functionality
  • All tests pass locally

🧪 Testing

📸 Screenshots (if applicable)

🔗 Related Issues

@asadaaron asadaaron self-assigned this Sep 29, 2025
…ntrol and error handling

- Added superuser access requirement for the /platform-metrics endpoint.
- Implemented detailed error handling for database errors and internal server issues.
- Removed redundant error response creation from KPIService, simplifying the metrics retrieval process.
@asadaaron asadaaron marked this pull request as draft September 29, 2025 13:01
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