Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
feat: add mtls feature to http and grpc transport provider (#1249)
* feat: add mtls support to grpc and http transport
- Loading branch information
Showing
with
1,045 additions
and 15 deletions.
- +44 −3 gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java
- +17 −2 gax-grpc/src/test/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProviderTest.java
- +5 −1 gax-grpc/src/test/java/com/google/api/gax/grpc/SettingsTest.java
- +41 −5 gax-httpjson/src/main/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProvider.java
- +19 −1 gax-httpjson/src/test/java/com/google/api/gax/httpjson/InstantiatingHttpJsonChannelProviderTest.java
- +4 −0 gax/BUILD.bazel
- +33 −3 gax/src/main/java/com/google/api/gax/rpc/ClientContext.java
- +57 −0 gax/src/main/java/com/google/api/gax/rpc/StubSettings.java
- +50 −0 gax/src/main/java/com/google/api/gax/rpc/mtls/ContextAwareMetadataJson.java
- +197 −0 gax/src/main/java/com/google/api/gax/rpc/mtls/MtlsProvider.java
- +122 −0 gax/src/test/java/com/google/api/gax/rpc/ClientContextTest.java
- +94 −0 gax/src/test/java/com/google/api/gax/rpc/mtls/AbstractMtlsTransportChannelTest.java
- +233 −0 gax/src/test/java/com/google/api/gax/rpc/mtls/MtlsProviderTest.java
- +90 −0 gax/src/test/java/com/google/api/gax/rpc/testing/FakeMtlsProvider.java
- +30 −0 gax/src/test/resources/com/google/api/gax/rpc/mtls/mtlsCertAndKey.pem
- +9 −0 gax/src/test/resources/com/google/api/gax/rpc/mtls/mtls_context_aware_metadata.json
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
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.