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

[controller] Add StoreGrpcService for store related gRPC endpoints and reduce boilerplate #1454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sushantmane
Copy link
Collaborator

@sushantmane sushantmane commented Jan 17, 2025

Add StoreGrpcService and refactor gRPC server configuration

  • Introduced StoreGrpcServiceImpl for store-related gRPC endpoints (update, get, delete ACLs).
  • Added VeniceUnauthorizedAccessException to handle unauthorized access scenarios.
  • Refactored VeniceGrpcServerConfig to support multiple BindableService instances.
  • Updated VeniceGrpcServer to register multiple services and interceptors.
  • Added StoreRequestHandler to process store-specific gRPC requests.
  • Introduced ControllerGrpcServerUtils for common gRPC request handling and error responses.
  • Added unit tests for StoreRequestHandler and enhanced existing gRPC server tests.

How was this PR tested?

UT and E2E tests

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

…d reduce boilerplate

Add checkResourceCleanupForStoreCreation to gRPC

Move create store to store grpc service
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