core-java icon indicating copy to clipboard operation
core-java copied to clipboard

Provide an API to add interceptors to the default Spine services

Open Vladyslav-Kuksiuk opened this issue 4 months ago • 0 comments

Currently, there is no way to attach ServerInterceptor's directly to the standard Spine services (e.g., QueryService, CommandService, SubscriptionService) during building the io.spine.server.Server.

Current Workaround

  1. Build the io.spine.server.Server with bounded contexts.
  2. Extract the configured Spine services.
  3. Add Spine services to the io.grpc.Server wrapping the necessary ones with interceptors.

Vladyslav-Kuksiuk avatar Sep 30 '24 11:09 Vladyslav-Kuksiuk