Commit Graph

46 Commits

Author SHA1 Message Date
xtao 7766912dda fix more detected mu/cv leaks 2019-02-16 00:00:50 +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 29c131f790 Refactored based on code review 2018-10-13 19:17:26 +01:00
Feso 44cecbb2f7 grpc_cli json support 2018-10-03 00:50:57 +01:00
Nathan Herring c7fae8812f clang tidy 2018-07-19 23:45:46 +02:00
Nathan Herring 3ed81c8d65 Introduce --ssl_target flag to grpc_cli.
This allows the client to specify the host name of the remote server for the purposes of TLS certificate validation, useful for test certificates and machines with ephemeral IP
addresses with no associated DNS entries that have been assigned TLS certificates.
2018-07-19 18:30:27 +02:00
Yang Gao 045e4f9889 Merge pull request #13796 from y-zeng/cli_token
Report more error messages in grpc_cli
2018-06-08 11:41:01 -07:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Carlos Valera efce74b525 Print trailing metadata in the "grpc_cli call" command.
This often includes important debugging information when the RPC returns
a non-OK status.
2018-02-21 16:03:00 -08:00
Yuchen Zeng 33aaffa639 clang_format 2017-12-15 11:03:50 -08:00
Yuchen Zeng 6ac62118b7 Report more error messages in grpc_cli 2017-12-14 19:12:42 -08:00
Yuchen Zeng 19889d79e4 Add escape sequences for the grpc_cli metadata flag 2017-12-11 20:58:12 -08:00
Craig Tiller e31e200dec Fix after merge 2017-11-13 14:04:47 -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 5dd2f48e24 Fix windows build 2017-09-29 14:52:33 -07:00
Yuchen Zeng b5eaf7734c gRPC CLI batch mode 2017-09-29 14:51:10 -07:00
yang-g 32e1678327 Still create channel if remotedb is false. Just do not use it in the file parsing 2017-06-19 17:01:30 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Alena Varkockova 7b9cb834ff Print out some cli error message for getservices
Currently, when you cann grpc_cli ls on an endpoint that does not have service reflection, the cli just silently ends without printing out any error or message.

This PR should fix that.
2017-04-02 22:02:09 +02:00
Jan Tattermusch bd0b0546a6 windows compilation fixes 2017-02-02 00:01:09 +01: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 f9329217b1 Support client streaming 2016-12-15 15:54:39 -08:00
Yuchen Zeng a84cdb8c81 Add parse, tobinary, totext commands 2016-12-14 15:41:18 -08:00
yang-g 6c8de363ca Use user provided method name when using binary files in cli 2016-12-08 23:05:50 -08:00
Yuchen Zeng a4aebf873e Remove unused inclusion 2016-09-28 13:20:18 -07:00
Yuchen Zeng 84d55b30cc clang-format 2016-09-21 16:19:20 -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 a964cbafba Merge remote-tracking branch 'upstream/master' into cli_type_fork 2016-09-16 16:07:16 -07:00
Yuchen Zeng 2579bf3941 Fix ListServices args 2016-09-16 16:02:34 -07:00
Yuchen Zeng 8d5f5e080b Fix portability issues 2016-09-12 11:18:26 -07:00
Yuchen Zeng 3951f2e05b Merge remote-tracking branch 'upstream/master' into cli_list 2016-09-12 11:11:32 -07:00
Yuchen Zeng 75e3ce645c Fix portability issues 2016-09-12 11:11:29 -07:00
Yuchen Zeng 7176a828c5 Use --protofiles 2016-08-29 17:04:50 -07:00
Yuchen Zeng 20d6a10483 Use grpc::protobuf 2016-08-29 10:54:52 -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 2bf9913323 Fix wrongly included header 2016-08-15 18:34:43 -07:00
Yuchen Zeng 02139a05dc Add CliCredentials, config_grpc_cli.h 2016-08-15 11:34:21 -07:00
Yuchen Zeng 4272cac7ae Rewrite ProtoFileParser 2016-08-12 15:25:46 -07:00
Yuchen Zeng e7068c836e Remove references to string_ref_helper 2016-07-25 17:30:45 -07:00
Yuchen Zeng 28263275f0 Remove unnecessary dependencies 2016-07-25 14:38:07 -07:00
Yuchen Zeng 29ca79be89 Command processing, validation 2016-07-25 12:00:08 -07:00