Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rest_gateway] Enhanced logging and error handling for gRPC gateway initialization #1585

Conversation

ramonfigueiredo
Copy link
Collaborator

  • Added log messages for JWT validation, gRPC handler registration, and other rest_gateways logs
  • Modified jwtMiddleware to log successful token validation and access requests
  • Refactored gRPC handler registration into a centralized function
    • Created registerGRPCHandlers function to streamline and consolidate the registration of multiple gRPC service handlers
    • Simplified code structure by using a loop to register each handler, improving maintainability and readability
    • Added logging for individual handler registration success and errors to facilitate debugging

…nitialization

(cherry picked from commit 23f3830e8636985de99e7d2791bff37edec26db1)
@ramonfigueiredo ramonfigueiredo marked this pull request as ready for review November 14, 2024 21:51
@ramonfigueiredo
Copy link
Collaborator Author

@DiegoTavares @bcipriano

FYI ...

Minor changes merged to the rest_gateway branch!

@ramonfigueiredo ramonfigueiredo merged commit 1087dc1 into AcademySoftwareFoundation:rest_gateway Nov 14, 2024
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