119 Commits

Author SHA1 Message Date
211a7b7ec0 credentials/alts: Update ALTS "New" APIs (#1921) 2018-03-19 09:07:54 -07:00
3ae2a613bc interop: Add use_alts flag to client and server binaries (#1896) 2018-03-07 10:21:48 -08:00
5190b068e2 ALTS: Simplify "New" APIs (#1895)
ALTS NewClientALTS and NewServerALTS APIs are in the grpc/credentials/alts package. Having the term ALTS in the API names is redundant. This PR removes it.
2018-03-07 09:14:47 -08:00
a1de3b2bd6 alts: Change ALTS proto package name (#1886) 2018-02-26 18:05:53 -08:00
2e7e633fea Add ALTS code (#1865) 2018-02-26 17:02:59 -08:00
6c48c7f5c8 interop test: Expect io.EOF from stream.Send() (#1858) 2018-02-12 14:41:34 -08:00
f4b523765c status: add Code convenience function (#1754) 2017-12-18 15:00:50 -08:00
4e393e0b21 grpc: fix deprecation comments to conform to standard (#1691) 2017-12-18 09:23:42 -08:00
865013bc17 *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 2017-11-06 10:24:20 -08:00
faebfcb7bf Remove single-entry var blocks (#1589) 2017-10-18 09:59:23 -07:00
5131c1f096 Use proto3 in interop tests and end2end tests (#1574) 2017-10-12 14:05:19 -07:00
4b49faaf06 Make interop client dial blocking (#1559)
This should not be necessary once the new balancer API is done.

Currently interop clients don't use balancer. With a non-blocking dial, the first failfast RPC will fail because there's no connection available.
This is a known bug, and will be fixed by the new balancer APIs.

This is a temp fix to make interop tests pass.
2017-10-03 16:57:48 -07:00
a68137c927 Revert "Added localhost to net.Listen() calls to avoid macOS firewall dialog." (#1541)
This reverts commit c67cd636f91e849f8677733bcdd60ea8c15d4aa6.
2017-09-27 00:01:17 -07:00
c67cd636f9 Added localhost to net.Listen() calls to avoid macOS firewall dialog. (#1539) 2017-09-26 10:19:45 -07:00
956d689a24 Use Type() method for OAuth tokens instead of accessing TokenType field. (#1537)
This covers the case where the TokenType field is empty, and thus
calling the Type() method will return "Bearer".
2017-09-25 11:38:05 -07:00
25b4a426b4 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
66c9ed803b Add flags for tls file path (#1419) 2017-08-03 15:23:02 -07:00
b31f0c6036 Assign testdata path to correct variable (#1397) 2017-07-27 16:02:51 -07:00
e64ff5d75c Do not call testdata.Path when defining flags (#1394) 2017-07-27 14:00:18 -07:00
ca9e0c3458 Add testdata package and unify testdata to only one dir (#1297) 2017-07-25 10:24:45 -07:00
3c33c26290 add license for some proto files (#1322) 2017-06-27 09:54:34 -07:00
ddbf6c46a6 autofix license notice 2017-06-08 14:42:19 +02:00
0c1d39df28 Separate incoming and outgoing metadata in context
This will prevent the incoming RPCs' metadata from appearing in outgoing RPCs
unless it is explicitly copied, e.g.:

incomingMD, ok := metadata.FromContext(ctx)
if ok {
  ctx = metadata.NewContext(ctx, incomingMD)
}

Fixes #1148
2017-04-07 11:54:56 -07:00
4acc9108c1 Merge pull request #1022 from ncteisen/http_interop
Add Go Client to Test Negative HTTP2 Conditions
2017-02-10 15:46:57 -08:00
97c325c956 Replace "127.0.0.1" with "localhost" to support IPv6-only environments. 2017-02-07 16:08:24 -08:00
a050dbc887 Fix and modify logging. 2017-02-06 18:01:02 -08:00
9d8ac14538 Add Go interop http2 client 2017-01-10 15:05:15 -08:00
ec1de5b416 call cancel on context in DoTimeoutOnSleepingServer 2017-01-05 13:01:42 -08:00
97b8c7c529 Set failfast to false for stress tests. 2016-12-27 16:56:55 -08:00
f45b8d1e94 fix the flakiness of timeout_on_sleeping_server interop test 2016-11-23 11:35:48 -08:00
0d9891286a Merge pull request #967 from ncteisen/advanced_go_interop_tests
Go Advanced Interop Tests
2016-11-11 13:29:59 -08:00
2769b6cafd Fix comments from github 2016-11-10 16:50:37 -08:00
86765df8f8 Add comments and no longer export helper func 2016-11-02 15:19:21 -07:00
687c958422 Reimplement unimplemented_method and address gofmt issues 2016-11-02 14:53:28 -07:00
5b6bca7d0c Add unimplemented test cases to Go interop client
Add UnimplementedService/UnimplementedCall and
TestService/UnimplementedCall to test.proto then regenerated the proto
file.
2016-11-02 09:49:56 -07:00
dc220c92c0 Add support for custom metadata to Go interop code
Write custom_metadata test case in Go interop client and add support for
metadata echoing in Go interop server.
2016-11-02 09:20:52 -07:00
883bfc7bc8 pb.go file update 2016-10-28 12:37:56 -07:00
727a60e4d1 update server reflection code to comply with the change to the grpc generator 2016-10-21 18:06:55 -07:00
951b6cc1da Code review changes. 2016-09-30 07:44:08 -07:00
5823568fcb Code review changes. 2016-09-29 07:24:20 -07:00
23e20165e0 Code review changes. 2016-09-28 13:53:27 -07:00
6fd077118b Merge remote-tracking branch 'upstream/master' into status_interop_test 2016-09-28 13:48:46 -07:00
18f8a8be26 set interop default server_host_override to empty string 2016-09-09 10:24:20 -07:00
44e75c33ee Code review changes. 2016-08-26 12:59:51 -07:00
121344c9ee Code review changes. 2016-07-07 11:32:46 -07:00
de2db99c84 Code review changes. 2016-07-07 07:39:32 -07:00
f9584a00cf Move the server-side handling code from StreamingOutputCall to FullDuplexCall. 2016-07-01 09:32:29 -07:00
fa1bb7b833 For FullDuplex() call, check error from stream.Recv() instead of stream.CloseSend(). 2016-07-01 09:12:45 -07:00
7a971bb142 Fix check for error string. 2016-07-01 09:04:20 -07:00
0eec1573d0 Fix NULL pointer dereference. 2016-07-01 08:50:57 -07:00