Commit Graph

43 Commits

Author SHA1 Message Date
Craig Tiller ea389c00c2
Adjust include order per style guide (#27175)
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Esun Kim e0d8c498a6 C++ cast for others 2020-11-30 17:36:21 -08:00
capstan 27c0b32668 Retire flags 2020-11-06 18:35:55 +01:00
capstan 131579d52d Roll forward of commit 7883b51: Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.

This reverts commit da66b7d14e.

NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
2020-11-06 16:07:19 +01:00
Nathan Herring da66b7d14e
Revert "Abseil Flags" 2020-10-24 15:19:55 -07:00
capstan 7883b5133d Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.
2020-10-23 19:36:33 +02:00
Alexander Polcyn f57879ac56 Flag protect new logs 2020-07-22 21:22:05 -07:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
Alexander Polcyn 0a452b9d19 Allow configuring default service configs in grpc_cli 2020-06-02 10:51:29 -07:00
Thomas Etter f5c9fd94a5 do not write unnecessary new lines in the grpc_cli as the formatters already write them 2020-05-09 13:34:03 +02:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08: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 02139a05dc Add CliCredentials, config_grpc_cli.h 2016-08-15 11:34:21 -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
Yuchen Zeng 9cb9445155 Addressed review comments 2016-07-20 16:39:31 -07:00
Yuchen Zeng c68640f05c Read from stdin
Read from stdin if the request text and binary file are not provided
2016-07-07 16:42:32 -07:00
Yuchen Zeng a17c8d993d Fix typos 2016-07-07 11:40:05 -07:00
Yuchen Zeng c24e0ee4f0 Update docs 2016-07-07 11:32:25 -07:00
Yuchen Zeng 256cc7aa03 Support server reflection in CLI 2016-07-07 11:09:49 -07:00
yang-g df012d048a Add proto file support in grpc_cli 2016-05-18 16:15:15 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
Craig Tiller 1b4e33029e Consolidate C++ proto files under src/proto
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
yang-g 730055d962 implementation fix 2015-08-27 12:29:45 -07:00
yang-g e21908fcee impl 2015-08-25 13:47:51 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g 8c2be9f228 Remove ChannelInterface and replace it with Channel 2015-08-19 16:28:09 -07:00
Craig Tiller aeedff1ef8 Use a character literal instead of grpc::string 2015-06-22 12:31:53 -07:00
Yang Gao 763afe1fd6 merge with upstream 2015-06-16 13:19:07 -07:00
Yang Gao 102eccb632 Support sending and showing received metadata in grpc_cli 2015-06-16 00:43:25 -07:00
Yang Gao a89389283f support per call credentials in c++ 2015-05-14 11:51:07 -07:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Yang Gao 103837ee6b Wrap ParseCommandLineFlags in InitTest 2015-04-15 15:23:54 -07:00
Yang Gao b946b5ea74 Refactor and add a unit test 2015-03-27 13:20:59 -07:00
Yang Gao 166f9d00ce add back mis-deleted method string 2015-03-26 23:06:45 -07:00
Yang Gao ced2b89f55 Finish grpc_cli 2015-03-26 22:59:54 -07:00
Yang Gao a5e20d35c9 a stub of the cli tool 2015-03-25 09:55:20 -07:00