Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

gax-grpc: allow custom direct path service config#879

Closed
creamsoup wants to merge 4 commits intogoogleapis:masterfrom
creamsoup:allow_providing_service_config_for_direct_path
Closed

gax-grpc: allow custom direct path service config#879
creamsoup wants to merge 4 commits intogoogleapis:masterfrom
creamsoup:allow_providing_service_config_for_direct_path

Conversation

@creamsoup
Copy link
Copy Markdown

@creamsoup creamsoup commented Feb 21, 2020

this change allows gax-grpc users to specify service config for (mostly) more advanced direct path configuration. e.g. using different load balancing policy. by default, behavior remains same as today.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 21, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 22, 2020

Codecov Report

Merging #879 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #879      +/-   ##
============================================
- Coverage     78.63%   78.54%   -0.09%     
+ Complexity     1163     1159       -4     
============================================
  Files           203      203              
  Lines          5143     5113      -30     
  Branches        413      402      -11     
============================================
- Hits           4044     4016      -28     
+ Misses          925      923       -2     
  Partials        174      174              
Impacted Files Coverage Δ Complexity Δ
...n/java/com/google/api/gax/grpc/GrpcStatusCode.java 90.90% <0.00%> (-4.55%) 20.00% <0.00%> (ø%)
...gle/api/gax/httpjson/HttpJsonTransportChannel.java 43.75% <0.00%> (-3.31%) 5.00% <0.00%> (ø%)
.../com/google/api/gax/grpc/GrpcTransportChannel.java 57.14% <0.00%> (-1.95%) 9.00% <0.00%> (ø%)
...m/google/api/gax/batching/FlowControlSettings.java 76.92% <0.00%> (-1.65%) 2.00% <0.00%> (ø%)
...ava/com/google/api/gax/retrying/RetrySettings.java 29.78% <0.00%> (-1.47%) 2.00% <0.00%> (ø%)
...le/api/gax/grpc/GrpcUnaryRequestParamCallable.java 88.88% <0.00%> (-1.12%) 2.00% <0.00%> (-1.00%)
...m/google/api/gax/httpjson/HttpRequestRunnable.java 53.19% <0.00%> (-0.98%) 5.00% <0.00%> (ø%)
.../java/com/google/longrunning/OperationsClient.java 72.41% <0.00%> (-0.92%) 15.00% <0.00%> (-1.00%)
...om/google/longrunning/stub/GrpcOperationsStub.java 88.75% <0.00%> (-0.91%) 10.00% <0.00%> (-1.00%)
...oogle/api/gax/httpjson/HttpJsonDirectCallable.java 87.50% <0.00%> (-0.74%) 4.00% <0.00%> (ø%)
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a95d395...86b6207. Read the comment docs.

@creamsoup creamsoup marked this pull request as ready for review February 25, 2020 20:32
@creamsoup creamsoup requested a review from chingor13 February 25, 2020 20:34
@creamsoup
Copy link
Copy Markdown
Author

cc @WeiranFang

}

@SuppressWarnings("unchecked")
private static List<Map<String, ?>> checkAndJsonListOfObjects(Object listObject) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't sound right: checkAndJsonListOfObjects?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops i was debating checkAndGet or check, somehow the and survived. thanks!

@dapengzhang0
Copy link
Copy Markdown
Contributor

Closed in preference of #1235.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants