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

Introduce ServiceDescriptor and MethodDescriptor #6

Closed
aseovic opened this issue Mar 7, 2019 · 0 comments
Closed

Introduce ServiceDescriptor and MethodDescriptor #6

aseovic opened this issue Mar 7, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request server Server-related issue
Milestone

Comments

@aseovic
Copy link
Owner

aseovic commented Mar 7, 2019

We need to refactor builder API to use ServiceDescriptor and MethodDescriptor, which should capture all relevant information necessary to fully configure each service method.

ServiceDescriptor

  • service name
  • method descriptors
  • interceptors that should be applied to all service methods
  • default metrics configuration
  • health check handler
  • service-level security configuration

MethodDescriptor

  • method name
  • handler
  • method-level interceptors
  • metrics configuration override
  • method-level security configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server Server-related issue
Projects
None yet
Development

No branches or pull requests

2 participants