-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Dynamic Routing Headers for HttpJson (#1667)
* feat: Add RequestParamsExtractor to HttpJsonCallSettings * feat: Add RequestParamsCallable classes * feat: Update HttpJsonCallableFactory to use new RequestParamCallables * feat: Add RequestParam to CallOptions * feat: Add RequestParam header for HttpJson * feat: Add initial Dynamic Routing Header showcase test * feat: Ignore empty string for Request Param * feat: Regenerate test client code * feat: Do not generate HttpBinding logic for REST * feat: Add Dynamic Routing Header showcase test cases * feat: Move header key value to constant * feat: Add URLEncoding for header * feat: Update showcase interceptor name * feat: Generate HttpJson Dyanmic Routing Header Stub * feat: Fix Request Params Test * feat: Update variable names * feat: Add gRPC Dynamic Routing Header showcase test * feat: Clean up IT showcase test * chore: Add comments for RequestBuilderParams * feat: Generate test client code with Implict Routing Headers * feat: Regenerate test client code * fix: Generate httpjson golden test case * chore: Fix format issues * chore: Regenerate integration golden tests * chore: Add more tests for RequestParamsBuilder * chore: Update docs for showcase test * chore: Refactor TestClientInitializer to include interceptors * chore: Add null assertions for showcase test * chore: Remove String.valueOf check for routing params * chore: Remove String.valueOf check for routing params * chore: Regenerate the showcase clients * chore: Address pr comments * chore: Update Dynamic Routing Header test cases * chore: Use PercentEscaper for percent encoding * chore: Empty commit * chore: Migrate transport specific code to abstract class * chore: Address pr comments * chore: Address pr comments * chore: Use HttpJsonMetadata for headers * chore: Revert call options changes * chore: Set default request header map * chore: Move encoding logic to RequestUrlParamsEncoder * chore: Fix lint issues * chore: Add clirr ignore for RequestUrlParamsEncoder * chore: Address PR comments * chore: Address PR comments
- Loading branch information
Showing
64 changed files
with
2,704 additions
and
1,136 deletions.
There are no files selected for viewing
318 changes: 316 additions & 2 deletions
318
...google/api/generator/gapic/composer/common/AbstractTransportServiceStubClassComposer.java
Large diffs are not rendered by default.
Oops, something went wrong.
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.