Commit Graph

35 Commits

Author SHA1 Message Date
Hope Casey-Allen 9d2b3f35b9 Fix another problem in grpc_tool_test 2018-12-04 09:32:50 -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
Yang Gao 6bfb966271
Revert "Revert "grpc_cli json support"" 2018-10-16 15:49:46 -07:00
David G. Quintas a464b4ce39
Revert "grpc_cli json support" 2018-10-16 14:42:37 -07:00
Feso 00bb2a035e Reformatted code as per clang-format 2018-10-16 00:14:09 +01:00
Feso 44cecbb2f7 grpc_cli json support 2018-10-03 00:50:57 +01:00
Nathan Herring 9ddb23442b Clang format. 2018-08-01 13:08:03 +02:00
Nathan Herring ab8b628b31 Create a --channel_creds_type flag for grpc_cli.
This replaces several mutually-exclusive flags for a single selector flag which defines
the base channel type. It also allows child classes to selectively override the defaults
and provide additional channel types (e.g., LOAS in the mono repo).

Fixes issue #16060.
2018-08-01 12:41:37 +02:00
Nathan Herring adb8581456 clang format 2018-07-19 23:49:02 +02:00
Nathan Herring 8c7ce557f8 Add simple test for --ssl_target.
This cribs from test_credentials_provider.cc, but without using `grpc::ChannelArguments`, as the grpc CLI is responsible for setting that according to the flag.
2018-07-19 18:37:51 +02:00
Adele Zhou 3f322e1088 Fix a memory leak 2018-04-10 17:07:33 -07:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Adele Zhou 2294031d6a Fix echo.proto path under bazel 2018-02-01 11:49:22 -08:00
Yuchen Zeng 2455b3d33d Fix tsan issue 2017-12-12 11:09:39 -08:00
Yuchen Zeng 19889d79e4 Add escape sequences for the grpc_cli metadata flag 2017-12-11 20:58:12 -08:00
Craig Tiller be98d24841 clang-format after nullptr changes 2017-11-10 15:26:57 -08:00
Craig Tiller 4ac2b8e585 Enable clang-tidy as a sanity check, fix up all known failures 2017-11-10 14:14:17 -08:00
Yuchen Zeng b5eaf7734c gRPC CLI batch mode 2017-09-29 14:51:10 -07:00
ncteisen 9bee3086c3 Make stream responses togglable via context 2017-07-05 10:33:21 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Yuchen Zeng 8d2d70ca99 Support bidirectional stream RPC
Add bidistream test

Add bad request tests

Replace deprecated DynamicMessageFactory constructor
2017-01-30 14:31:24 -08:00
Yuchen Zeng d37f642f35 Support server streaming
Skip unparsable input

Add tests for uni-directional stream calls

Simplify client stream handling
2016-12-15 16:10:37 -08:00
Yuchen Zeng a84cdb8c81 Add parse, tobinary, totext commands 2016-12-14 15:41:18 -08:00
Yuchen Zeng 0377f7a6f7 Fix symbol conflict 2016-11-15 18:50:19 -08:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Yuchen Zeng 24129f010c Merge remote-tracking branch 'upstream/master' into cli_list 2016-09-21 14:10:47 -07:00
Yuchen Zeng 734fd71ef8 Fix CliCredentials reference 2016-09-16 16:10:53 -07:00
Yuchen Zeng b4bca54aa2 Clang-format 2016-09-15 11:38:36 -07:00
Yuchen Zeng 94d786fd4c Add type command 2016-08-26 16:23:29 -07:00
Yuchen Zeng 387afd70d3 Add list command 2016-08-26 14:25:21 -07:00
Yuchen Zeng 02139a05dc Add CliCredentials, config_grpc_cli.h 2016-08-15 11:34:21 -07:00
Yuchen Zeng 68ca351126 Fix sanity issues 2016-07-26 16:48:46 -07:00
Yuchen Zeng f4046cdced Fix thread leak 2016-07-26 12:22:42 -07:00
Yuchen Zeng 29ca79be89 Command processing, validation 2016-07-25 12:00:08 -07:00