Commit Graph

1031 Commits

Author SHA1 Message Date
Hope Casey-Allen 37c18ce676 Merge branch 'callback_test_coverage_1' of github.com:hcaseyal/grpc into callback_test_coverage_1 2018-12-03 13:56:22 -08:00
Hope Casey-Allen f0cb7e6bdc Remove log lines 2018-12-03 13:55:06 -08:00
hcaseyal cf14bd13fb
Merge branch 'master' into callback_test_coverage_1 2018-12-03 10:16:35 -08:00
Hope Casey-Allen c12aabc6a7 Clang format 2018-12-03 10:14:46 -08:00
Vijay Pai 6bca0313d8
Merge pull request #17144 from vjpai/server_streaming
C++ callback API for streaming servers
2018-12-03 09:52:28 -08:00
Yang Gao 09add58eca
Merge pull request #17359 from yang-g/test_env
Create a class for test environment and migrate most of the tests to use it.
2018-11-30 16:48:18 -08:00
Vijay Pai 09ba4b4047 Test client-side callback streaming with callback server 2018-11-30 16:17:16 -08:00
Vijay Pai 2a0c0d7ad6 Streaming API for callback servers 2018-11-30 16:14:21 -08:00
Hope Casey-Allen 4a6e165328 Add service definition to sync server 2018-11-30 10:26:31 -08:00
yang-g e75fc243da change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
Vijay Pai 2b5d45ab38 Fix clang-tidy and golden file issues 2018-11-30 04:13:41 -08:00
Vijay Pai ea1156da3f Stop exposing streaming object class 2018-11-30 04:13:40 -08:00
Vijay Pai dac2066a1c Make StartCall() a releasing operation so that you can pile up ops 2018-11-30 04:13:40 -08:00
Vijay Pai 60949a8232 Revert an order change 2018-11-30 04:13:40 -08:00
Vijay Pai 5dcfc8be96 More review comments 2018-11-30 04:13:40 -08:00
Vijay Pai 85128c7f41 Improve test readability at suggestion of @ghemawat 2018-11-30 04:13:40 -08:00
Vijay Pai d7eb26648d Client callback streaming 2018-11-30 04:13:40 -08:00
Hope Casey-Allen 470ea17843 Debugging unimplemented error in CheckClientInitialMetadata 2018-11-29 15:57:53 -08:00
Mark D. Roth 217de89085 Don't ignore empty serverlists from the grpclb balancer. 2018-11-29 07:39:15 -08:00
Yash Tibrewal f7bb5fa9d9
Merge pull request #17232 from yashykt/cleanup1
Remove the std::unique_ptr for interceptor creators, instead use move semantics everywhere
2018-11-16 13:25:50 -08:00
Yash Tibrewal 626f1c9d53 Remove the std::unique_ptr, instead use move semantics everywhere 2018-11-15 16:49:43 -08:00
Mark D. Roth d18458720c Don't reset channel state on resolver failure when LB policy exists. 2018-11-15 09:36:49 -08:00
Vijay Pai 637e4ea9fb
Merge pull request #17197 from vjpai/ctx_clear
Properly clear metadata and other structs when reusing ServerContext in callback API
2018-11-13 13:57:33 -08:00
Vijay Pai 0e29d7b9bc Properly clear metadata and other structs when reusing ServerContext 2018-11-13 12:44:56 -08:00
Vijay Pai a192fc6880 Fix clang-tidy issues 2018-11-11 14:32:55 -08:00
Yash Tibrewal 193b4b57ec
Merge pull request #17072 from yashykt/interceptor_cancellation
Interceptors should see a Cancellation notification
2018-11-06 14:56:24 -08:00
ncteisen 1b8bf9f190 Add blank line 2018-11-02 17:22:59 -04:00
ncteisen e7d59f718f clang format 2018-11-02 16:56:12 -04:00
ncteisen 131eedaa40 Add test 2018-11-02 16:55:06 -04:00
Yash Tibrewal 3ac7f2d24c
Merge pull request #17053 from yashykt/global_interceptor
Add global client interceptor factory
2018-11-02 08:56:16 -07:00
Yash Tibrewal b732e9c403 Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests 2018-11-01 16:14:40 -07:00
Yash Tibrewal e2361a4751 Add server interceptors in end2end_test 2018-11-01 14:06:43 -07:00
Yash Tibrewal d736b1d309 Refactor tests slightly 2018-11-01 12:30:40 -07:00
Yash Tibrewal 3ec20b75ed Add tests for global interceptor 2018-10-31 14:21:25 -07:00
Vijay Pai 47d0d5bf1f Merge branch 'master' into server_callback 2018-10-30 12:29:35 -07:00
Mark D. Roth 36ac496c35
Merge pull request #17046 from markdroth/health_check_client_fix
Fix handling of call context in health check call batch payload.
2018-10-30 07:03:28 -07:00
Mark D. Roth 3465dd0cbf
Merge pull request #17010 from grpc/revert-16996-revert-16912-fail_rpcs_on_transient_failure
Revert "Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.""
2018-10-30 06:38:15 -07:00
Mark D. Roth 8352f9d274 Fix handling of call context in health check call batch payload. 2018-10-29 14:11:08 -07:00
Vijay Pai 84e763f10a Experimental C++ server callback unary API 2018-10-29 13:41:25 -07:00
Yash Tibrewal 85ddf5c713 Get ClientContext included with ChannelInterface, and slight more cleanup 2018-10-29 00:14:05 -07:00
Yash Tibrewal 01313976e1
Merge pull request #16842 from yashykt/interceptors
Experimental API for Client and Server Interception
2018-10-28 23:36:59 -07:00
Yash Tibrewal d21a175b28 Revert "Add dummy interceptors to end2end_test and async_end2end_test"
This reverts commit d075719477.
2018-10-27 19:36:49 -07:00
Yash Tibrewal d075719477 Add dummy interceptors to end2end_test and async_end2end_test 2018-10-27 00:22:22 -07:00
Yash Tibrewal a55d60056b Fix build 2018-10-26 17:16:17 -07:00
Yash Tibrewal 1ea195b6f3 Reviewer comments except for void * fixed 2018-10-26 16:11:48 -07:00
ncteisen bc44c5e353 Add GetServer to channelz cpp 2018-10-26 12:58:04 -07:00
Yash Tibrewal cc21d32c77 Some cleanup 2018-10-26 00:13:55 -07:00
Yash Tibrewal 560963bd8b Add sync unknown method test 2018-10-25 22:25:49 -07:00
Yash Tibrewal 312feb4202 Adding generic rpc and unimplemented rpc test for server interceptors 2018-10-25 21:43:49 -07:00
Yash Tibrewal 3896dabb85 Merge branch 'master' into interceptors 2018-10-25 19:50:10 -07:00