Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Support
router-api
annotations for gRPC services (#912)
Motivation: gRPC should support annotations that help to configure the execution strategy per service or per route. Also, gRPC should compute the effective execution strategy based on the main execution strategy from the builder configuration and from the route configuration. Modifications: - Parse annotations from `route-api` module; - Compute the difference between execution strategy on the builder and on the route; - Add tests to verify that offloading works correctly for different execution strategy configurations; - Add tests to verify that misconfiguration of `route-api` annotations will be explained to the user; - Adjust gRPC codegen for new features; - Change `difference` functions to compare with `noOffloadsStrategy` by configuration, not by reference; - Make `NoOffloadsHttpExecutionStrategy` no op; - Fix tests; Result: gRPC routes correctly compute per-route execution strategy configuration.
- Loading branch information
1 parent
464554a
commit 6bb2722b1643016c6c808bf8d0ae972bf7f222de
Showing
40 changed files
with
1,859 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.