Nathan Herring
e1d94dfe60
GoogleDefaultCredentials use SSL under the covers; include that case.
2018-07-19 21:32:11 +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
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
ncteisen
bbee13661c
Add channelz subchannel support
2018-07-19 08:15:49 -07:00
ncteisen
b86a744751
Expose GetChannel and GetTopChannels Core API
2018-07-18 15:03:31 -07:00
ncteisen
f87b9551c2
Merge branch 'master' of https://github.com/grpc/grpc into channelz-get-top-channels
2018-07-18 07:45:59 -07:00
ncteisen
97066fd0e4
Support for GetTopChannels
2018-07-16 23:29:29 -07:00
Alexander Polcyn
f3c3c55fad
Allow choosing google default credentials in the C++ interop clients
2018-07-13 18:23:14 -07:00
ncteisen
8db7788d46
Merge branch 'master' of https://github.com/grpc/grpc into serialization
2018-06-28 00:12:02 -07:00
ncteisen
bacd625d37
Add end2end test for codegen_generic
2018-06-20 07:59:05 -07:00
ncteisen
68d4f50f77
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-19 14:00:52 -07:00
adelez
5bdd9a8cb9
Revert "Revert "Add suppressions to sanitizers for bazel builds""
2018-06-15 16:31:21 -07:00
ncteisen
c14e95fc63
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-15 11:13:46 -04:00
ncteisen
8e75b48bcd
Add expception for util dir
2018-06-14 14:58:09 -04:00
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
2018-06-14 14:58:09 -04:00
Nicolas Noble
43557fee0b
Revert "Add suppressions to sanitizers for bazel builds"
2018-06-14 10:49:11 -07:00
ncteisen
f92460e539
Merge branch 'master' of https://github.com/grpc/grpc into channelz
2018-06-13 23:00:07 -07:00
Adele Zhou
4cd659505c
Add data param to grpc_cc_library
2018-06-13 15:36:28 -07: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
ncteisen
9a1bb05181
Build out the channelz unit test
2018-06-05 16:59:25 -07:00
ncteisen
c3c6e064b3
Add basic support for GetChannel
2018-06-05 16:59:25 -07:00
ncteisen
b69f1f6aac
Update channelz proto
2018-06-05 16:59:25 -07:00
Ara Ayvazyan
8d06d097bc
Fix broken ByteBuffer copy ctor
2018-05-22 20:47:35 -07:00
Yihua Zhang
0dcbb83420
add alts to interop tests
2018-04-20 08:50:45 -07:00
Yang Gao
c2233789bb
Merge pull request #15008 from yang-g/secure_is_not_unsecure
...
Depend on unsecure target
2018-04-11 09:17:57 -07:00
Adele Zhou
3f322e1088
Fix a memory leak
2018-04-10 17:07:33 -07:00
yang-g
ed89d71a71
Depend on unsecure target
2018-04-10 16:11:41 -07:00
ncteisen
cf5b2666e1
Make GrpcProtoBufferReaderWriter public
2018-04-06 07:05:27 -07:00
ncteisen
6e22d21608
Fix small build issues
2018-03-19 15:56:28 -07:00
ncteisen
3b42f83068
Revert "Revert "Channel Tracing Implementation; Part 1""
...
This reverts commit f2bea3725f .
2018-03-19 13:22:35 -07:00
Noah Eisen
f2bea3725f
Revert "Channel Tracing Implementation; Part 1"
2018-03-19 12:05:18 -07:00
Noah Eisen
1571abdb7f
Merge pull request #13883 from ncteisen/channel-tracing
...
Channel Tracing Implementation; Part 1
2018-03-16 07:55:43 -10:00
ncteisen
b93a006d64
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-03-15 13:46:28 -10:00
Vijay Pai
ba46afe3e2
Delete status_test that has no coverage; replace with static_asserts
2018-03-15 11:30:59 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
ncteisen
0c6024b94d
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
2018-03-07 10:17:15 -08:00
ncteisen
09703ea300
Add severity
2018-03-07 00:34:37 -08:00
ncteisen
97a3dbeb36
Move C++ to util, call it from core test
2018-03-07 00:00:14 -08:00
Vijay Pai
7fed69b7ad
Use static_cast rather than reinterpret_cast whenever possible
2018-03-05 16:35:10 -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
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Vijay Pai
32748c1b2a
Merge branch 'master' into gpr_review3
2018-02-08 10:06:23 -08:00
Carl Mastrangelo
16cca9f4c1
Check return values from ServiceReflection calls, and print a more helpful message
2018-02-06 12:29:01 -08:00
Vijay Pai
3b7ae55f77
More uses of 1-phase Call
2018-02-05 16:49:22 -08:00
Vijay Pai
4c0640ebd6
Merge branch 'master' into gpr_review3
2018-02-02 09:12:11 -08:00
Adele Zhou
2294031d6a
Fix echo.proto path under bazel
2018-02-01 11:49:22 -08:00
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
2018-01-25 20:11:38 -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
487ee31b9e
Address review comments
2017-12-14 14:57:38 -08:00
Yuchen Zeng
243505060a
Support access token credential in grpc_cli
2017-12-14 11:42:16 -08:00
Yuchen Zeng
5bd81fefe6
Merge pull request #13721 from y-zeng/cli_metadata
...
Add escape sequences for the grpc_cli metadata flag
2017-12-13 11:52:59 -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
Sree Kuchibhotla
ca398ee74a
Merge branch 'master' into cv-wait-monotonic
2017-12-08 10:19:56 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Sree Kuchibhotla
54961bb9e1
Change the code to use MONOTONIC clocks when calling gpr_cv_wait (condition varialbes in linux support MONOTONIC clock type)
2017-12-04 12:50:27 -08:00
Yash Tibrewal
10f2790f7f
Merge branch 'master' into execctx
2017-11-30 10:54:42 -08:00
Vijay Pai
1fece54633
Add all tests to test/cpp/util bazel BUILD file
2017-11-28 23:39:00 -08:00
Yash Tibrewal
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
2017-11-28 18:06:23 -08:00
Craig Tiller
e31e200dec
Fix after merge
2017-11-13 14:04:47 -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
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
yang-g
903981adb6
Catch out of order error code
2017-10-25 10:46:35 -07:00
Craig Tiller
8c96701cf5
Ensure that we respect requested channel args in all cases
2017-10-20 12:25:36 -07: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
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
2017-09-21 13:12:52 -07:00
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
2017-09-14 17:55:42 +02:00
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
2017-09-07 15:18:07 -07:00
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
2017-08-30 19:18:37 +02:00
Vijay Pai
ce58cf8c44
Add Slice constructors to match all grpc_slice cases
2017-08-04 07:48:48 -07:00
Vijay Pai
81522c8ebe
Add unsecure libraries to bazel build targets
2017-08-02 19:44:32 -07:00
Vijay Pai
4280725bb3
Clean up grpc++_unsecure so that it doesn't require secure content anymore
2017-07-30 23:53:27 -07:00
Guantao Liu
1932a50e50
Merge pull request #11787 from guantaol/qps_driver
...
Add a new metric and enable internal credential types in QPS Driver
2017-07-18 17:46:57 -07:00
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
2017-07-18 11:07:43 -07:00
Guantao Liu
e72b5d6ab8
Merge remote-tracking branch 'upstream/master' into qps_driver to resolve conflicts.
2017-07-13 18:29:18 -07:00
Nicolas Noble
9877189e45
Merge pull request #11310 from nicolasnoble/import
...
Import mutations.
2017-07-13 13:39:58 -07:00
Guantao Liu
abe3cf51f0
Add a new metric 'Queries/CPU-sec'.
...
Enable internal credential types.
2017-07-12 17:36:30 -07:00
ncteisen
9bee3086c3
Make stream responses togglable via context
2017-07-05 10:33:21 -07:00
Nicolas "Pixel" Noble
5d80dc4985
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-06-26 22:01:11 +02: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
4d5c3102a1
fix remaining license notices
2017-06-08 11:22:41 +02:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
7bc55fdaa3
Merge remote-tracking branch 'ctiller/build-wtf' into import
2017-05-26 00:32:47 +02:00
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
2017-05-19 01:53:56 +02:00
Craig Tiller
a753371f05
Rework well_known_protos attr, and some other fixes
2017-05-16 13:09:33 -07:00
Nicolas "Pixel" Noble
88b1d82b3d
Merge failure - missing grpc_cc_binary.
2017-05-12 16:58:06 +02:00
Nicolas "Pixel" Noble
eb36b8ac77
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-05-11 23:24:37 +02:00
Nicolas "Pixel" Noble
f4f16798fe
Fixing test_util...
2017-05-11 07:55:10 +02:00
Nicolas "Pixel" Noble
d70dbca6c0
Making test_util & co public.
2017-05-09 19:12:29 +02:00
Nicolas "Pixel" Noble
fec014b937
Adding metrics_server.
2017-05-09 01:11:11 +02:00
Nicolas "Pixel" Noble
1c7cdd5f23
Fixing test_util target.
2017-05-09 00:20:09 +02:00
Nicolas "Pixel" Noble
987267f633
Fixing grpc_cli_libs.
2017-05-08 23:46:22 +02:00
Nicolas "Pixel" Noble
684fe378e1
Adding "grpc_cli_libs" back.
2017-05-05 21:19:19 +02:00
zhimingxie
60f35722de
fix truncate bug in grpc_cli
2017-05-02 17:40:03 +08:00
Ivan Vučica
38279ea2e0
Bazel rule for building grpc_cli.
2017-04-27 13:32:42 +01:00
Vijay Pai
a935ae1505
Fix build rules for grpc++_unsecure, test that it builds properly
2017-04-20 22:21:01 +00:00
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
2017-04-13 02:03:22 +02:00
yang-g
66d40c63f7
Fix BUILD dependency, copyright and cmake
2017-04-12 10:18:10 -07:00
yang-g
eceec8eaf6
Add helper function to supply and parse error_details from Status.
2017-04-11 16:07:24 -07: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
Nicolas "Pixel" Noble
b02dd01584
Fixing qps & benchmark.
2017-03-24 21:56:51 +01:00
Sree Kuchibhotla
43bca1be48
Add BUILD file for end2end tests too
2017-02-22 16:37:27 -08:00
David Garcia Quintas
388b24d5a1
Added gflags dependency to test_config
2017-02-21 14:58:32 -08:00
Nicolas "Pixel" Noble
abd887012f
Initial test/cpp/util/BUILD file.
2017-02-17 21:56:10 +01:00
Jan Tattermusch
26623b3d77
Merge pull request #9456 from jtattermusch/cmake_convenience_targets
...
Big improvements to CMake build
2017-02-02 09:26:17 -08:00
Jan Tattermusch
bd0b0546a6
windows compilation fixes
2017-02-02 00:01:09 +01:00
yang-g
ded7f8250c
Minor fixes
2017-02-01 10:49:51 -08:00
Yuchen Zeng
08a215f72c
Merge pull request #8066 from y-zeng/cli_main_fork
...
gRPC CLI stream RPC support
2017-01-31 10:34:04 -08: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
yang-g
cc5910228d
manual revert of #8901
2017-01-11 11:10:43 -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
Craig Tiller
3b45b8d60b
Revert "Test credentials provider update"
2016-11-29 12:31:14 -08:00
yang-g
a7ef49bf6a
Support custom credential type in interop
2016-11-23 10:55:03 -08:00
yang-g
8e9fc9bd0e
Test credentials provider update
2016-11-22 23:12:49 -08:00
Yuchen Zeng
7647b2eb0a
Merge pull request #8761 from y-zeng/fix_conflict
...
Fix symbol conflicts in grpc_tool_test
2016-11-15 21:17:00 -08:00
Yuchen Zeng
0377f7a6f7
Fix symbol conflict
2016-11-15 18:50:19 -08:00
Vijay Pai
aaefa958d7
Merge pull request #8638 from vjpai/conform
...
Improve C++11 conformance
2016-11-10 14:57:05 -08:00
Craig Tiller
32df467f11
Merge github.com:grpc/grpc into grpc_slice
2016-11-04 08:21:56 -07:00
Vijay Pai
d75e7fec01
Fix a comment
2016-11-04 07:51:25 -07:00
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
2016-11-01 17:16:55 -07: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
Craig Tiller
28b72428a8
clang-format
2016-10-26 21:15:29 -07:00
Craig Tiller
618e67d655
s/GPR_SLICE/GRPC_SLICE/g
2016-10-26 21:08:10 -07:00
Craig Tiller
b37d53ebc0
Bulk update #includes
2016-10-26 16:16:35 -07:00
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
2016-10-26 16:16:06 -07:00
Yuchen Zeng
169c985f67
Remove generated pb files
2016-10-14 15:58:09 -07:00
Yuchen Zeng
a2e50c5b85
Merge pull request #8190 from y-zeng/proto_db
...
Improve ProtoReflectionDescriptorDatabase
2016-10-05 13:39:02 -07:00
Yuchen Zeng
d7c8c2bf94
Merge remote-tracking branch 'upstream/master' into proto_db
2016-10-04 16:34:40 -07:00
David Garcia Quintas
f042481403
s/std::string/grpc::string
2016-10-04 13:33:46 -07:00
Yuchen Zeng
9070ab6610
Merge pull request #8247 from y-zeng/proto_db_check_service
...
Handle partially exposed reflection service in gRPC CLI
2016-10-03 11:24:22 -07:00
Yuchen Zeng
7cd90c6816
Print more information about ambiguous method names
2016-09-29 18:31:19 -07:00
Yuchen Zeng
6679d78997
Handle partially exposed reflection service
2016-09-29 15:47:37 -07:00
Yuchen Zeng
a4aebf873e
Remove unused inclusion
2016-09-28 13:20:18 -07:00
Yuchen Zeng
15bc4627de
Rename variables ... again
2016-09-27 16:22:35 -07:00
Yuchen Zeng
e529ea3928
Rename variables
2016-09-27 16:18:11 -07:00
Nicolas Noble
3af0908140
Merge pull request #7928 from yang-g/void_cast
...
Prevent some compilers compaining unused return value
2016-09-26 16:02:04 -07:00
Yuchen Zeng
27170357ab
Improve ProtoReflectionDescriptorDatabase
2016-09-23 14:14:18 -07:00
Yuchen Zeng
84d55b30cc
clang-format
2016-09-21 16:19:20 -07:00
Yuchen Zeng
1724ef07f3
Fix portibality issues
2016-09-21 14:15:27 -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