Commit Graph

126 Commits

Author SHA1 Message Date
yang-g cc5910228d manual revert of #8901 2017-01-11 11:10:43 -08:00
Craig Tiller f3ed2bf8ca Fix interop 2017-01-10 17:01:26 -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
Noah Eisen 45ebd355cd Fix clang format 2016-10-28 16:08:04 -07:00
Noah Eisen ca5cdf454c Add unimplemented_service test case for cpp interop client 2016-10-27 18:01:37 -07:00
Noah Eisen 32eee7739b Changed name of rpc method to fit with the conventional naming. Also fixed type in interop client flag help message 2016-10-19 10:04:38 -07:00
Noah Eisen cece9c7368 manually fixed merge conflict. caused by the addition of a different new interop test 2016-10-12 15:04:45 -07:00
makdharma 5ef0c0041f Merge pull request #8101 from makdharma/cacheable_unary
Add interop test for Cacheable Unary Calls
2016-10-12 10:53:56 -07:00
Noah Eisen a27eb1d07a added the unimplemented_call test to interop_client.cc. Next step is to call this from the driver program, run_interop_tests.py 2016-09-28 12:19:52 -07:00
Makarand Dharmapurikar 1ed0b8e3d7 Add interop test for Cacheable Unary Calls
modified interop test spec doc
added CacheableUnaryCall to test.proto
modified server and client implmenentations to support new method
2016-09-14 15:01:16 -07:00
David Garcia Quintas 6b11462da1 removed codegen/alloc.h 2016-07-27 14:49:53 -07:00
David Garcia Quintas 34f1b555ae better test_case flag help formating 2016-06-16 16:51:20 -07:00
David Garcia Quintas 74686ce7c4 Completed interop spec, as well as code for c++ 2016-06-09 15:33:33 -07:00
Sree Kuchibhotla ad0f792254 Interop client that is resilient to server restarts 2016-05-05 15:39:36 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
yang-g 364be644d0 copyright of course 2016-02-22 10:04:43 -08:00
yang-g c10348a555 Add custom_metadata test case 2016-02-19 16:05:10 -08:00
yang-g a006b5f33b change default value of use_test_ca 2015-10-07 13:14:35 -07:00
yang-g 92981d5c3d remove flag use_prod_roots in interop test and add use_test_ca per the interop test spec 2015-10-06 14:45:01 -07:00
Jan Tattermusch 1f8efa266d Merge pull request #3386 from yang-g/enable_ssl
enable_ssl to use_tls
2015-10-02 13:37:30 -07:00
yang-g 035cf093de enable_ssl to use_tls 2015-10-01 11:39:24 -07:00
Craig Tiller 71a0f9d3b0 Fix clang-format script 2015-09-28 17:22:01 -07:00
yang-g 78bddc66b7 Add empty_stream test case 2015-09-21 10:32:17 -07:00
yang-g 867d0c132c Fix auth tests 2015-09-02 14:33:15 -07:00
Julien Boeuf 421738b529 Addressing comments, round 2. 2015-08-27 16:34:44 -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
David Garcia Quintas 2e1bb1bf4d Reverted unnecessary changes to server 2015-08-10 14:22:35 -07:00
David Garcia Quintas cd37d5852b Added new tests for compression 2015-08-09 16:16:53 -07:00
Abhishek Kumar e1c867dbee Added interop test for status_code_with_message 2015-08-05 11:04:45 -07:00
yang-g 5bf510bba1 add per_rpc_creds test case in interop test 2015-07-14 10:54:29 -07:00
yang-g be5f059219 Add oauth2_auth_token test case in interop test 2015-07-13 11:11:50 -07:00
yang-g 69563b9124 Add timeout interop test case 2015-07-10 15:32:11 -07:00
Craig Tiller c8667056d5 Merge pull request #1367 from yang-g/interop
Add two scenarios in interop test
2015-04-28 17:09:56 -07:00
Yang Gao 68d615737b Add two scenarios in interop test 2015-04-24 14:42:42 -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
Nicolas Noble d35b7107f8 Merge pull request #1291 from yang-g/headers
Wrap ParseCommandLineFlags in InitTest
2015-04-16 15:50:58 -07:00
Yang Gao 103837ee6b Wrap ParseCommandLineFlags in InitTest 2015-04-15 15:23:54 -07:00
Yang Gao eaccf90aef Return 1 when test_case is not supported in interop test 2015-04-15 14:05:07 -07:00
Yang Gao a40020788f Split interop client and server into components 2015-04-09 23:25:21 -07:00
Nicolas "Pixel" Noble 0caebbfcfe Splitting gRPC service class codegen into its own set of files. 2015-04-09 23:08:51 +02:00
Yang Gao 1fc046902c sync to head and run clang-format again 2015-03-19 07:23:08 -07:00
Yang Gao 3c220dfc32 Print out status when it is not ok in interop tests 2015-03-17 11:47:54 -07:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
Yang Gao 7d6b184f57 add a jwt test case for interop test 2015-03-11 14:51:50 -07:00
Yang Gao f859510340 Merge branch 'master' into jwt 2015-03-11 14:31:00 -07:00
Craig Tiller 61691f92c3 Merge github.com:grpc/grpc into credit 2015-03-02 08:51:52 -08:00
Yang Gao 25770b02d6 add jwt token creds test_case 2015-02-27 15:30:58 -08:00
Craig Tiller cf133f41f8 Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00
Craig Tiller 29f1314282 Merge github.com:grpc/grpc into credit 2015-02-26 11:23:01 -08:00
Julien Boeuf 597a4f2273 Verifying the peer name on the X509 Certs correctly.
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
  the SANs. Will fix the test cert another time...
2015-02-23 16:41:26 -08:00
Craig Tiller 47c83fdaf7 Credentials prototyping
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
2015-02-23 09:58:22 -08:00
Nicolas "Pixel" Noble 7e80efcb3d Making the usage of gflags uniform across distributions. 2015-02-20 03:13:38 +01:00
Nicolas "Pixel" Noble ba6082080c Fixing gflags' include path. 2015-02-20 02:48:03 +01:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 857680be2c Compile fixes 2015-02-13 15:19:48 -08:00
Craig Tiller f8ac5d846c Fixup callers with new api 2015-02-09 16:24:20 -08:00
Nicolas "Pixel" Noble 3f36f5e316 Few minor fixes.
Fixing a few issues in case you *cough* have a different local implementation of
protobuf, gtest and gflags for some weird reason.
2015-02-06 20:45:54 +01:00
Yang Gao 2b80e6f1a8 format 2015-01-27 15:06:50 -08:00
Yang Gao aec1d0b391 make the flag name shorter 2015-01-27 15:02:14 -08:00
Yang Gao bd18be2f33 add compute engine credentials support 2015-01-27 14:29:19 -08:00
Yang Gao d785904d0a resolve comments 2015-01-27 11:26:56 -08:00
Yang Gao 3bc377c5b8 Let each test case create its own channel. 2015-01-26 10:55:25 -08:00
Yang Gao c38dda4b90 add service_account support into interop client 2015-01-26 00:09:23 -08:00
Nicolas "Pixel" Noble 3d4cba4901 kNumResponseMessages is an int, so i is doing signedness mismatch. 2015-01-22 23:42:15 +01:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
chenw 6edb547c99 Enable streaming test case for gRPC client in GCE.
Change on 2015/01/08 by chenw <chenw@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83549959
2015-01-09 17:50:09 -08:00
chenw ebb4e6dcc6 Add Flags to override host and enable prod ssl root.
Change on 2014/12/22 by chenw <chenw@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82679415
2014-12-29 17:19:19 -08:00
yangg 59dfc90f57 Client side implementation of creating channel with credentials.
The old test_ssl_channel related code is deleted and the new create channel
call is used for interop tests.
	Change on 2014/12/19 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82540921
2014-12-29 16:59:06 -08:00
chenw 69ca59fa74 Add slow client consumer test case for flow control test.
The client will sleep 500 milliseconds before read next message in reponse streaming.
	Change on 2014/12/16 by chenw <chenw@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82265748
2014-12-16 17:20:09 -08:00
yangg abd90a6c30 Use '\0' instead of '0' in payload as java client actually checks that.
Change on 2014/12/12 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82023559
2014-12-15 14:25:44 -08:00
temiola 33a2168453 Fixes package prefixes
Fixes how module names for messages with package prefixes are rendered.

- detected while prototyping with beefcake
- fixed on the internal beefcake fork here
[]

This change replicates that fix for the official code generator.

TODO: add a test; what's normal done to test features like this the proto
codebase? Add another test.proto/golden file?
	Change on 2014/12/11 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81916292
2014-12-12 16:05:15 -08:00
chenw a8fd44adf8 Build CPP interop client in Git-on-[] as well as in [].
To build client in Git-on-[]:
# regenerate Makefile
net/grpc/tools/buildgen/generate_projects.sh
# generate .pb.h and .pb.cc
protoc --cpp_out=. --grpc_out=. --plugin=protoc-gen-grpc=[]-bin/net/grpc/compiler/cpp_plugin  net/grpc/cpp/test/interop/test.proto net/grpc/cpp/test/interop/empty.proto net/grpc/cpp/test/interop/messages.proto
# Complile and link
net/grpc/tools/build_grpc_dev.sh bins/interop_client

To test against GFE/ESF:
# bring up server
[] build net/grpc/testing/interop:server_components_env
[]-bin/net/grpc/testing/interop/server_components_env --manual --rpc_port=25000
# start client
/tmp/grpc-codebase/bins/interop_client --enable_ssl=true --server_port="server ssl port listening port"

To test [] build against GFE/ESF:
[] run net/grpc/cpp:interop_client  --  --enable_ssl=true --server_port="server ssl port listening port"
	Change on 2014/12/10 by chenw <chenw@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81821921
2014-12-11 15:11:44 -08:00