Commit Graph

426 Commits

Author SHA1 Message Date
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
Hope Casey-Allen 9d2b3f35b9 Fix another problem in grpc_tool_test 2018-12-04 09:32:50 -08:00
Hope Casey-Allen b7f283b06f Fix bazel rbe tests 2018-12-03 16:04:30 -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
Jan Tattermusch e5f9f5ef46 disable grpc_tool_test on msan 2018-11-14 16:40:35 +01:00
Hope Casey-Allen e42afb0d63 Make namespace more explicit. 2018-11-07 19:48:14 -08:00
Noah Eisen 5cf95f0b52
Merge pull request #16991 from ncteisen/channelz-get-server-core
Channelz part 10: GetServer
2018-10-26 12:18:59 -07:00
ncteisen 693f46841a Add GetServer to core 2018-10-24 17:31:30 -07:00
ncteisen 4fa389b137 Unifying grpc build hacks 2018-10-24 17:25:51 -07: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
Yang Gao 191766c0f2
Merge pull request #16766 from gfecher/master
grpc_cli json support
2018-10-16 09:12:58 -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 d74162f83a Merge remote-tracking branch 'upstream/master' 2018-10-04 21:31:14 +01:00
Spencer Fang e6b1edf42a Split grpc_cli target into two targets
Let's have a util target that contains everything except for the CLI
front end. This way, users can depend on the util classes without
any risk of CLI flag collisions.
2018-10-04 12:00:28 -07:00
Feso 44cecbb2f7 grpc_cli json support 2018-10-03 00:50:57 +01:00
Nathan Herring d55ef6cc03 Fix inverted logic for --call_creds=none.
Fixes #16622. Follow up to change 6e3938c. Thanks to @bluecmd for pointing it out.
2018-10-01 10:13:04 +02:00
Yang Gao 8bce2a643b
Merge pull request #16299 from Capstan/cli-client-cert
Add flags to use client certs for cli.
2018-09-13 08:39:50 -07:00
Nathan Herring 916a686ef3 Revert "Use grpc_slice_unref_internal"
This reverts commit 147826a909.
2018-09-11 09:32:06 +02:00
Nathan Herring 2d8c682cac Revert "Missing #include"
This reverts commit 234fdc6fbf.
2018-09-11 09:31:39 +02:00
ncteisen ef1a390d1d Merge branch 'master' of https://github.com/grpc/grpc into channelz-server 2018-09-10 11:19:53 -07:00
Noah Eisen 2edfddb66f
Merge pull request #16055 from ncteisen/channelz-subchannels
Channelz Part 4: Add Subchannel Support
2018-09-10 11:12:52 -07:00
Nathan Herring 0cf90ae506
Merge branch 'master' into cli-client-cert 2018-09-10 10:54:30 +02:00
Yang Gao 179b4e81a0
Merge pull request #16297 from Capstan/cli-call-creds
Create a --call_creds flag for grpc_cli.
2018-09-09 23:20:48 -07:00
ncteisen 5946ae5eff Merge branch 'channelz-subchannels' into channelz-server 2018-09-08 10:19:26 -07:00
ncteisen 2f76fd452e Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-09-08 10:15:51 -07:00
Noah Eisen 99680244c4
Merge pull request #16209 from ncteisen/bugprone-undefined-memory-manipulation
Clang Tidy: Bugprone Undefined Memory Manipulation
2018-08-31 10:07:25 -07:00
ncteisen f8a4aae119 Fix all instances of bugprone-undefined-memory-manipulation 2018-08-29 14:24:02 -07:00
ncteisen 6076b1d798 Merge branch 'channelz-subchannels' into channelz-server 2018-08-28 12:55:40 -07:00
ncteisen 4b5b019d56 Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-08-28 12:53:57 -07:00
Nathan Herring 234fdc6fbf Missing #include 2018-08-21 23:28:45 +02:00
Nathan Herring 147826a909 Use grpc_slice_unref_internal 2018-08-21 23:16:22 +02:00
Josh Haberman 8a80364a9f Cleaned up BUILD file, which fixed a dependency problem with protobuf. 2018-08-16 06:50:10 -07:00
ncteisen 3aa987a29a Add channelz server support 2018-08-14 17:26:40 -07:00
ncteisen c850354423 Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-08-11 21:19:14 -04:00
Nathan Herring c173b196d6 Add flags to use client certs for cli.
This allows `grpc_cli` to act with the specific client identity when using SSL. It does _not_ however set the cert when using Google Default Credentials, as it does not have the necessary options to provide a client cert and key.
2018-08-09 11:29:05 -05:00
Nathan Herring 6e3938c829 This replaces mutually-exclusive flags for a single selector flag which defines the call credentials to composite over any channel credentials. It is the call credentials version of #16204.
Fixes issue #16205.
2018-08-09 11:11:37 -05:00
Nathan Herring e1a0f235e1 Shorten flag value to gdc. 2018-08-07 15:27:40 -07:00
Nathan Herring 3b2b237b3b Make `google_default_credentials` be an additional channel type. 2018-08-07 09:22:33 -07:00
ncteisen 6dfc4dd49a Merge branch 'master' of https://github.com/grpc/grpc into channelz-subchannels 2018-08-02 17:25:09 -07: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 0fee91e002 More clang format 2018-07-21 08:21:18 +02:00
Nathan Herring 6f1604b1eb Fixup: Use a more exact logic for google default credentials. 2018-07-20 15:23:04 +02:00
Nathan Herring adb8581456 clang format 2018-07-19 23:49:02 +02:00
Nathan Herring c7fae8812f clang tidy 2018-07-19 23:45:46 +02:00
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